/* ===================================================
   ASSIGNMENT HELPING PENS — Premium Motion Graphics
   =================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--bg); }

/* ---------- Tokens ---------- */
:root {
    --bg: #07091c;
    --bg-2: #0a0e27;
    --bg-3: #0f1437;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-2: rgba(255, 255, 255, 0.07);
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #e6e8f5;
    --text-dim: #9aa0c3;
    --text-muted: #6b7194;
    --gold: #c9a35a;
    --gold-2: #f3d68b;
    --gold-3: #e8c477;
    --gold-soft: rgba(201, 163, 90, 0.12);
    --accent: #6b7cff;
    --accent-2: #a78bfa;
    --grad-gold: linear-gradient(135deg, #c9a35a 0%, #f3d68b 50%, #c9a35a 100%);
    --grad-dark: linear-gradient(180deg, #07091c 0%, #0a0e27 100%);
    --grad-card: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 20px 60px -20px rgba(201, 163, 90, 0.4);
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --container: 1280px;
}

/* ---------- Custom Cursor ---------- */
.cursor, .cursor-follower {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
}
.cursor {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    mix-blend-mode: difference;
    transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
}
.cursor-follower {
    width: 38px; height: 38px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.cursor.is-hover { width: 16px; height: 16px; background: var(--gold-2); }
.cursor-follower.is-hover { width: 60px; height: 60px; background: rgba(201, 163, 90, 0.1); border-color: var(--gold-2); }
.cursor.is-text { width: 4px; height: 4px; }
.cursor-follower.is-text { width: 80px; height: 80px; background: var(--gold); border-color: var(--gold); }
@media (max-width: 1024px) {
    .cursor, .cursor-follower { display: none; }
    body { cursor: auto; }
    a, button, input, select, textarea { cursor: auto; }
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: var(--grad-gold);
    z-index: 200;
    box-shadow: 0 0 12px rgba(243, 214, 139, 0.6);
    transition: width 0.1s linear;
}

/* ---------- Noise Overlay ---------- */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 150;
    opacity: 0.025;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
}

/* ---------- Container & Section ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

.section-head { max-width: 760px; margin-bottom: 80px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-tag {
    display: inline-block;
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    position: relative;
    padding-left: 36px;
}
.section-tag::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 24px; height: 1px;
    background: var(--gold);
    transform: translateY(-50%);
}
.section-tag--light { color: var(--gold-2); }
.section-tag--light::before { background: var(--gold-2); }

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
}
.section-title em {
    font-style: italic;
    font-weight: 500;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-sub {
    margin-top: 24px;
    color: var(--text-dim);
    font-size: 18px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================================================
   PRELOADER
   =================================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 1000;
    display: grid;
    place-items: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner {
    text-align: center;
    position: relative;
}
.preloader__logo {
    width: 100px; height: 100px;
    margin: 0 auto 40px;
    position: relative;
    display: grid; place-items: center;
}
.preloader__pen {
    width: 100%; height: 100%;
    animation: preloaderSpin 2s var(--ease-in-out) infinite;
}
@keyframes preloaderSpin {
    0%, 100% { transform: rotate(0) scale(1); }
    50% { transform: rotate(180deg) scale(0.9); }
}
.preloader__pulse {
    position: absolute;
    inset: -20px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    animation: preloaderPulse 1.5s var(--ease-out) infinite;
}
@keyframes preloaderPulse {
    0% { transform: scale(0.7); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}
.preloader__text {
    display: flex;
    gap: 14px;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 500;
    color: #fff;
    margin-bottom: 40px;
}
.preloader__text span {
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.preloader__text span::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateY(100%);
    animation: preloaderText 1.4s var(--ease-out) infinite;
}
.preloader__text span:nth-child(2)::before { animation-delay: 0.1s; }
.preloader__text span:nth-child(3)::before { animation-delay: 0.2s; }
@keyframes preloaderText {
    0%, 100% { transform: translateY(100%); }
    50% { transform: translateY(0); }
}
.preloader__bar {
    width: 240px; height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto 20px;
    overflow: hidden;
}
.preloader__bar-fill {
    height: 100%;
    width: 0%;
    background: var(--grad-gold);
    transition: width 0.3s linear;
}
.preloader__counter {
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 0.2em;
}

/* ===================================================
   NAV
   =================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}
.nav.is-scrolled {
    background: rgba(7, 9, 28, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.nav__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav__logo {
    display: flex; align-items: center; gap: 14px;
    flex-shrink: 0;
}
.nav__logo-mark {
    width: 44px; height: 44px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    display: grid; place-items: center;
    padding: 8px;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__logo:hover .nav__logo-mark { border-color: var(--gold); transform: rotate(-6deg); }
.nav__logo-mark svg { width: 100%; height: 100%; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px; font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
.nav__logo-sub {
    font-family: 'Space Grotesk', monospace;
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 2px;
}
.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav__link {
    position: relative;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.3s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav__link span { position: relative; z-index: 1; }
.nav__link::before {
    content: ''; position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: var(--gold-soft);
    border-radius: 8px;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease), height 0.4s var(--ease);
    z-index: 0;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::before { width: 100%; height: 100%; }
.nav__link--cta {
    background: var(--grad-gold);
    background-size: 200% 100%;
    color: var(--bg);
    border-radius: 10px;
    padding: 10px 20px;
    margin-left: 8px;
    font-weight: 600;
    transition: background-position 0.5s var(--ease), transform 0.3s var(--ease);
}
.nav__link--cta::before { display: none; }
.nav__link--cta:hover { color: var(--bg); background-position: 100% 0; transform: translateY(-1px); }
.nav__link--cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav__link--cta:hover svg { transform: translateX(3px); }

.nav__toggle {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
}
.nav__toggle span {
    width: 18px; height: 1.5px;
    background: #fff;
    transition: all 0.3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav__toggle { display: flex; }
    .nav__menu {
        position: fixed;
        top: 72px; left: 16px; right: 16px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid var(--line-2);
        border-radius: var(--r-md);
        padding: 16px;
        gap: 4px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s var(--ease);
    }
    .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav__link { width: 100%; padding: 14px 18px; }
    .nav__link--cta { width: 100%; justify-content: center; margin-left: 0; }
    .nav__logo-text { display: none; }
}

/* ===================================================
   HERO
   =================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(107, 124, 255, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(201, 163, 90, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 70%),
        var(--grad-dark);
}
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero__particles {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}
.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 18s ease-in-out infinite;
}
.hero__orb--1 { top: 10%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(107,124,255,0.4), transparent 70%); }
.hero__orb--2 { bottom: -10%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,163,90,0.3), transparent 70%); animation-delay: -6s; }
.hero__orb--3 { top: 40%; right: 20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(167,139,250,0.25), transparent 70%); animation-delay: -12s; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero__container {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}
.hero__badge-dot {
    width: 8px; height: 8px;
    background: #5aff8a;
    border-radius: 50%;
    box-shadow: 0 0 12px #5aff8a;
    animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero__pay {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    background: linear-gradient(135deg, rgba(201, 163, 90, 0.12), rgba(243, 214, 139, 0.06));
    border: 1px solid var(--gold);
    border-radius: 14px;
    margin-bottom: 32px;
    max-width: 640px;
    position: relative;
    overflow: hidden;
}
.hero__pay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(243, 214, 139, 0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: payShine 3.5s ease-in-out infinite;
}
@keyframes payShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}
.hero__pay-icon {
    width: 44px; height: 44px;
    background: var(--grad-gold);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--bg);
    flex-shrink: 0;
    position: relative; z-index: 1;
}
.hero__pay-icon svg { width: 22px; height: 22px; }
.hero__pay-text { position: relative; z-index: 1; line-height: 1.4; }
.hero__pay-text strong {
    color: var(--gold-2);
    font-size: 15px;
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}
.hero__pay-text span {
    color: var(--text);
    font-size: 13px;
}
.hero__pay-text em {
    color: var(--gold-2);
    font-style: normal;
    font-weight: 600;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(48px, 8vw, 120px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 32px;
}
.hero__line {
    display: block;
    overflow: hidden;
}
.hero__word {
    display: inline-block;
    transform: translateY(110%);
    animation: wordUp 1.1s var(--ease-out) forwards;
    animation-delay: var(--d, 0.2s);
}
.hero__line:nth-child(1) .hero__word { --d: 0.3s; }
.hero__line:nth-child(2) .hero__word { --d: 0.5s; }
.hero__line:nth-child(2) .hero__word:nth-child(2) { --d: 0.6s; }
.hero__line:nth-child(3) .hero__word { --d: 0.7s; }
.hero__line:nth-child(3) .hero__word:nth-child(2) { --d: 0.8s; }
@keyframes wordUp { to { transform: translateY(0); } }
.hero__word--italic { font-style: italic; font-weight: 500; }
.hero__word--gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: wordUp 1.1s var(--ease-out) forwards, goldShine 4s linear infinite;
    animation-delay: 0.8s, 2s;
}
@keyframes goldShine { to { background-position: 200% 0; } }

.hero__sub {
    max-width: 640px;
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 48px;
}
.hero__sub em {
    color: #fff;
    font-style: normal;
    font-weight: 500;
    border-bottom: 1px solid var(--gold);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 80px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}
.hero__stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__stat-label {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 8px;
    letter-spacing: 0.04em;
}
@media (max-width: 768px) {
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: 'Space Grotesk', monospace;
}
.hero__scroll-line {
    width: 1px; height: 60px;
    background: var(--line-2);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::before {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 50%;
    background: var(--grad-gold);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { to { top: 100%; } }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    overflow: hidden;
    transition: transform 0.4s var(--ease);
    white-space: nowrap;
    isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.btn--primary .btn__bg { background: var(--grad-gold); background-size: 200% 100%; transition: background-position 0.5s var(--ease); }
.btn--primary:hover .btn__bg { background-position: 100% 0; }
.btn--primary { color: var(--bg); }
.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    box-shadow: 0 0 0 0 rgba(243, 214, 139, 0.6);
    z-index: -1;
    transition: box-shadow 0.5s var(--ease);
}
.btn--primary:hover::after { box-shadow: 0 0 0 14px transparent; }
.btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid var(--line-2);
}
.btn--ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--panel-2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
    z-index: -1;
    border-radius: 100px;
}
.btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--full { width: 100%; justify-content: center; }
.btn__icon { width: 18px; height: 18px; display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

/* ===================================================
   MARQUEE
   =================================================== */
.marquee {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: var(--bg-2);
    position: relative;
}
.marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee__track {
    display: flex;
    gap: 32px;
    animation: marquee 40s linear infinite;
    width: max-content;
}
.marquee__group {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}
.marquee__group span {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    font-style: italic;
    color: var(--text);
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}
.marquee__group span:hover { color: var(--gold); }
.marquee__dot {
    color: var(--gold) !important;
    font-style: normal !important;
    font-size: 18px !important;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===================================================
   ABOUT
   =================================================== */
.about { padding: 140px 0; position: relative; }
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
@media (max-width: 900px) {
    .about__grid { grid-template-columns: 1fr; gap: 60px; }
}

.about__media-wrap {
    position: relative;
    aspect-ratio: 5/6;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
}
.about__media-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(201, 163, 90, 0.3), transparent 60%);
    z-index: 0;
    animation: orbFloat 12s ease-in-out infinite;
}
.about__svg {
    position: relative;
    z-index: 1;
    width: 100%; height: 100%;
    padding: 30px;
    animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.about__floating {
    position: absolute;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-2);
    border-radius: var(--r-md);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: floatY 4s ease-in-out infinite;
}
.about__floating--1 { top: 30px; right: -20px; }
.about__floating--2 { bottom: 30px; left: -20px; animation-delay: -2s; }
.about__float-num {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.about__float-icon {
    width: 44px; height: 44px;
    background: var(--gold-soft);
    border-radius: 12px;
    display: grid; place-items: center;
    color: var(--gold);
}
.about__float-text {
    font-size: 13px;
    line-height: 1.3;
    color: var(--text);
}

.about__lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
}
.about__lead strong { color: var(--gold); }
.about__text {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 48px;
}
.about__text strong { color: #fff; font-weight: 500; }

.about__promise {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(201, 163, 90, 0.1), rgba(201, 163, 90, 0.02));
    border: 1px solid var(--gold);
    border-radius: var(--r-md);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    --reveal-delay: 150ms;
}
.about__promise::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--grad-gold);
}
.about__promise-icon {
    width: 52px; height: 52px;
    background: var(--grad-gold);
    border-radius: 14px;
    display: grid; place-items: center;
    color: var(--bg);
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}
.about__promise-icon svg { width: 26px; height: 26px; }
.about__promise-body { flex: 1; }
.about__promise-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--gold-2);
    margin-bottom: 6px;
    font-weight: 700;
}
.about__promise-body p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}
.about__promise-body strong { color: #fff; font-weight: 600; }

.about__pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.pillar {
    padding: 24px;
    background: var(--grad-card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: all 0.4s var(--ease);
    --reveal-delay: 0ms;
}
.pillar:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    background: rgba(201, 163, 90, 0.05);
}
.pillar__icon {
    width: 48px; height: 48px;
    background: var(--gold-soft);
    border-radius: 12px;
    display: grid; place-items: center;
    color: var(--gold);
    margin-bottom: 16px;
    transition: all 0.4s var(--ease);
}
.pillar:hover .pillar__icon { background: var(--grad-gold); color: var(--bg); transform: rotate(-6deg); }
.pillar h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: #fff; margin-bottom: 8px; font-weight: 600; }
.pillar p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ===================================================
   SERVICES
   =================================================== */
.services {
    padding: 140px 0;
    background: var(--bg-2);
    position: relative;
}
.services::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%; max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1100px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }

.service-card {
    position: relative;
    padding: 36px 28px;
    background: var(--grad-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all 0.5s var(--ease);
    --reveal-delay: 0ms;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201, 163, 90, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.service-card:hover::before { opacity: 1; }
.service-card__num {
    position: absolute;
    top: 24px; right: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-2);
    transition: color 0.5s var(--ease), -webkit-text-stroke-color 0.5s var(--ease);
}
.service-card:hover .service-card__num { -webkit-text-stroke-color: var(--gold); }
.service-card__icon {
    width: 56px; height: 56px;
    background: var(--gold-soft);
    border-radius: 14px;
    display: grid; place-items: center;
    color: var(--gold);
    margin-bottom: 24px;
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
}
.service-card:hover .service-card__icon {
    background: var(--grad-gold);
    color: var(--bg);
    transform: rotate(-8deg) scale(1.1);
}
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
    position: relative; z-index: 1;
}
.service-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative; z-index: 1;
}
.service-card__list {
    margin-bottom: 24px;
    position: relative; z-index: 1;
}
.service-card__list li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.8;
}
.service-card__list li::before {
    content: '→';
    position: absolute;
    left: 0; top: 0;
    color: var(--gold);
    font-size: 12px;
}
.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    padding-top: 16px;
    border-top: 1px solid var(--line);
    transition: gap 0.3s var(--ease);
    position: relative; z-index: 1;
}
.service-card:hover .service-card__cta { gap: 14px; }
.service-card__cta svg { width: 14px; height: 14px; }

/* ===================================================
   PROCESS
   =================================================== */
.process { padding: 140px 0; }
.process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
@media (max-width: 900px) { .process__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 500px) { .process__grid { grid-template-columns: 1fr; } }

.process-step {
    position: relative;
    padding: 0 24px;
    text-align: left;
    --reveal-delay: 0ms;
}
.process-step__num {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}
.process-step__line {
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 24px;
    width: 60px;
    transition: width 0.5s var(--ease);
}
.process-step:hover .process-step__line { width: 100%; }
.process-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}
.process-step p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.6;
}
@media (min-width: 901px) {
    .process-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        top: 30px; right: -14px;
        color: var(--line-2);
        font-size: 24px;
    }
}

/* ===================================================
   SUBJECTS
   =================================================== */
.subjects {
    padding: 140px 0;
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.subjects::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(107, 124, 255, 0.1), transparent 70%);
    pointer-events: none;
}
.subjects__cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1000px;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.4s var(--ease);
    --reveal-delay: 0ms;
}
.chip:hover {
    background: var(--grad-gold);
    color: var(--bg);
    border-color: var(--gold);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-gold);
}
.chip--gold {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold);
}
.chip--gold:hover { background: var(--grad-gold); color: var(--bg); }

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials { padding: 140px 0; }
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }

.t-card {
    position: relative;
    padding: 36px 32px;
    background: var(--grad-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: all 0.5s var(--ease);
    --reveal-delay: 0ms;
}
.t-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.t-card::before {
    content: '"';
    position: absolute;
    top: -10px; right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    color: var(--gold);
    opacity: 0.15;
    line-height: 1;
}
.t-card__stars {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}
.t-card p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    margin-bottom: 28px;
    font-weight: 400;
}
.t-card__person {
    display: flex; align-items: center; gap: 14px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.t-card__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    flex-shrink: 0;
}
.t-card__name { font-size: 15px; font-weight: 600; color: #fff; }
.t-card__role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===================================================
   CONTACT
   =================================================== */
.contact { padding: 140px 0; background: var(--bg-2); position: relative; overflow: hidden; }
.contact::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 800px; height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201, 163, 90, 0.08), transparent 60%);
    pointer-events: none;
}
.contact__card {
    position: relative;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
        var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    overflow: hidden;
}
@media (max-width: 900px) {
    .contact__card { grid-template-columns: 1fr; padding: 40px 28px; gap: 40px; }
}
.contact__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 163, 90, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 163, 90, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
    pointer-events: none;
}
.contact__bg-orb {
    position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201, 163, 90, 0.15), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}
.contact__left, .contact__form { position: relative; z-index: 1; }
.contact__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}
.contact__title em { font-style: italic; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact__sub {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}
.contact__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: all 0.4s var(--ease);
    color: #fff;
    text-decoration: none;
}
.contact__item:not(.contact__item--static):hover {
    background: var(--gold-soft);
    border-color: var(--gold);
    transform: translateX(8px);
}
.contact__item-icon {
    width: 48px; height: 48px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    display: grid; place-items: center;
    color: var(--gold);
    flex-shrink: 0;
}
.contact__item-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.contact__item-value {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}
.contact__item-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--gold);
    margin-left: 4px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer__muted {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
    margin-left: 2px;
}
.contact__item-arrow {
    width: 18px; height: 18px;
    color: var(--text-muted);
    margin-left: auto;
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.contact__item:not(.contact__item--static):hover .contact__item-arrow { transform: translateX(4px); color: var(--gold); }

.contact__form { display: flex; flex-direction: column; gap: 18px; }
.contact__form-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.field { position: relative; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a35a' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field select option { background: var(--bg-2); color: #fff; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(201, 163, 90, 0.04);
}
.field label, .field__select-label {
    position: absolute;
    left: 20px; top: 18px;
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.25s var(--ease);
    background: transparent;
    padding: 0 6px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label,
.field__select-label {
    top: -8px;
    font-size: 12px;
    color: var(--gold);
    background: var(--bg-3);
}

.contact__form-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 80px 0 32px;
    position: relative;
}
.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer__top { grid-template-columns: 1fr; } }

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
}
.footer__logo svg { width: 40px; height: 40px; }
.footer__brand p { color: var(--text-dim); font-size: 15px; line-height: 1.7; max-width: 360px; margin-bottom: 24px; }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a {
    width: 42px; height: 42px;
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    display: grid; place-items: center;
    color: var(--text-dim);
    transition: all 0.3s var(--ease);
}
.footer__socials a:hover { background: var(--grad-gold); color: var(--bg); border-color: var(--gold); transform: translateY(-3px); }
.footer__socials svg { width: 18px; height: 18px; }

.footer__col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer__col ul li { margin-bottom: 12px; }
.footer__col ul li a, .footer__col ul li span { color: var(--text-dim); font-size: 14px; transition: color 0.3s var(--ease); }
.footer__col ul li a:hover { color: var(--gold); }
.footer__contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer__contact li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer__contact li span, .footer__contact li a { line-height: 1.5; }

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ===================================================
   FLOATING WHATSAPP
   =================================================== */
.float-wa {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    z-index: 90;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s var(--ease);
}
.float-wa:hover { transform: scale(1.1); }
.float-wa svg { width: 28px; height: 28px; }
.float-wa__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: floatWaPulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes floatWaPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
    .about, .services, .process, .subjects, .testimonials, .contact { padding: 80px 0; }
    .section-head { margin-bottom: 50px; }
    .hero { padding: 110px 0 60px; }
    .hero__scroll { display: none; }
    .marquee__group span { font-size: 24px; }
    .float-wa { width: 54px; height: 54px; bottom: 20px; right: 20px; }
    .float-wa svg { width: 24px; height: 24px; }
}
