/* ===== RESET ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
    background:var(--bg-primary);
    color:var(--text-primary);
    font-family:var(--font);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    overflow-x:hidden;
}
h1,h2{font-weight:600;line-height:1.15;letter-spacing:0.06em;color:var(--text-primary)}
h3{font-weight:500;line-height:1.15;letter-spacing:0.06em;color:var(--text-primary)}
h4,h5,h6{font-weight:500;line-height:1.15;letter-spacing:0.06em;color:var(--text-primary)}
p{line-height:1.7;color:var(--text-secondary)}
a{text-decoration:none;color:inherit;transition:color var(--transition)}
ul,ol{list-style:none}
img,video,svg{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}
input,textarea,select{font-family:inherit}
::selection{background:var(--color-gold-faint);color:var(--color-ivory)}

/* Scroll snap removed — natural smooth scrolling preserved */

/* ===== GOLD GRAIN TEXTURE ===== */
.gold-grain {
    position: relative;
    overflow: hidden;
}
.gold-grain::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: overlay;
    opacity: 0.045;
}

/* ===== CINEMATIC SECTION DIVIDER ===== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    color: var(--color-gold-dim);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
}
.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 0.5px;
    background: var(--color-gold-soft);
    opacity: 0.3;
}

/* ===== CORNER BRACKET ORNAMENTS ===== */
.corner-brackets {
    position: relative;
}
.corner-brackets::before,
.corner-brackets::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--color-gold-dim);
    border-style: solid;
    opacity: 0.4;
    pointer-events: none;
}
.corner-brackets::before {
    top: var(--space-lg);
    left: var(--space-lg);
    border-width: 1px 0 0 1px;
}
.corner-brackets::after {
    bottom: var(--space-lg);
    right: var(--space-lg);
    border-width: 0 1px 1px 0;
}

/* Film-perforation strip (decorative card edge detail) */
.video-card-film {
    position: relative;
}
.video-card-film::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 6px;
    background-image: repeating-linear-gradient(
        to bottom,
        var(--color-gold-faint) 0px,
        var(--color-gold-faint) 4px,
        transparent 4px,
        transparent 10px
    );
    border-radius: 1px;
    opacity: 0.5;
}

/* ===== GOLD TEXT ANTIALIASING ===== */
.text-gold,
.logo-ai,
.sidebar-link.upgrade,
.testimonial-stars,
.pricing-badge,
.nav-item.active {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== BACKGROUND DEPTH ORBS ===== */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(100px);
    will-change: transform;
}
.bg-orb-1,.bg-orb-2,.bg-orb-3 { display: none; }

/* ===== NAV CTA (appears on scroll) ===== */
.nav-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ===== UTILITY ===== */
.container{max-width:var(--container);margin:0 auto;padding:0 var(--space-xl)}
.container-wide{max-width:1400px;margin:0 auto;padding:0 var(--space-xl)}
.section{padding:var(--space-4xl) 0}
.section-header{text-align:center;margin-bottom:var(--space-2xl)}
.section-header h2{font-size:clamp(2rem, 4vw, 3.25rem);font-weight:500;margin-bottom:var(--space-xl);letter-spacing:0.06em}
.section-header p{font-size:var(--text-lg);color:var(--text-secondary);max-width:600px;margin:0 auto;line-height:1.7}

/* Pull-quote — for standout lines */
.pull-quote {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    font-weight: 500;
    color: var(--text-secondary);
    border-left: 3px solid var(--neutral-border-hover);
    padding-left: var(--space-xl);
    max-width: 700px;
    margin: var(--space-3xl) auto;
    line-height: 1.6;
    text-align: left;
}
.section + .section,.hero + .section,.about-hero + .section,.community-hero + .section,.page-hero + .section{border-top:0.5px solid rgba(168,136,58,0.15)}
.section-title,.section-header .section-title{font-size:var(--text-5xl);font-weight:500;margin-bottom:var(--space-md);letter-spacing:0.06em}
.section-subtitle,.section-header .section-subtitle{font-size:var(--text-xl);color:var(--text-secondary);max-width:600px;margin:0 auto;line-height:1.7}
.gradient-text{color:var(--color-ivory)}
.text-accent{color:var(--neutral)}
.text-muted{color:var(--text-muted)}
.text-secondary{color:var(--text-secondary)}
.text-center{text-align:center}
.mt-sm{margin-top:var(--space-sm)}
.mt-md{margin-top:var(--space-md)}
.mt-lg{margin-top:var(--space-lg)}
.mt-xl{margin-top:var(--space-xl)}
.mt-2xl{margin-top:var(--space-2xl)}
.mt-3xl{margin-top:var(--space-3xl)}
.mt-4xl{margin-top:var(--space-4xl)}
.mb-sm{margin-bottom:var(--space-sm)}
.mb-md{margin-bottom:var(--space-md)}
.mb-lg{margin-bottom:var(--space-lg)}
.mb-xl{margin-bottom:var(--space-xl)}
.mb-2xl{margin-bottom:var(--space-2xl)}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-2xl)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-2xl)}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-xl)}
.flex-center{display:flex;align-items:center;justify-content:center}
.flex-between{display:flex;align-items:center;justify-content:space-between}
.hidden{display:none!important}

