/* ===== CSS Custom Properties ===== */
:root {
    --color-bg: #0d0d1a;
    --color-bg-2: #11112b;
    --color-surface: rgba(255, 255, 255, 0.04);
    --color-surface-hover: rgba(255, 255, 255, 0.07);
    --color-gold: #c9a227;
    --color-gold-light: #e4c06a;
    --color-gold-dim: rgba(201, 162, 39, 0.15);
    --color-purple: #8b5cf6;
    --color-purple-dim: rgba(139, 92, 246, 0.15);
    --color-text: #f0eee8;
    --color-muted: rgba(240, 238, 232, 0.55);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-gold: rgba(201, 162, 39, 0.3);

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-gold: 0 0 30px rgba(201, 162, 39, 0.2);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);

    --transition: 0.3s ease;
    --container: 1100px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== Container ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Section base ===== */
.section { padding: 96px 0; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 17px;
    color: var(--color-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--sm { padding: 8px 18px; font-size: 14px; }

.btn--gold {
    background: linear-gradient(135deg, var(--color-gold), #a87e1a);
    color: #0d0d1a;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}
.btn--gold:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    box-shadow: 0 6px 30px rgba(201, 162, 39, 0.5);
    transform: translateY(-1px);
}

.btn--outline {
    border: 1px solid var(--color-border-gold);
    color: var(--color-gold);
    background: transparent;
}
.btn--outline:hover {
    background: var(--color-gold-dim);
    border-color: var(--color-gold);
}

.btn--ghost {
    color: var(--color-text);
    background: transparent;
    border: 1px solid var(--color-border);
}
.btn--ghost:hover {
    background: var(--color-surface);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ===== Reveal animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background var(--transition), backdrop-filter var(--transition);
}
.header.scrolled {
    background: rgba(13, 13, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo__symbol {
    font-size: 22px;
    color: var(--color-gold);
    line-height: 1;
}
.logo__text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-text);
}
.logo--sm .logo__symbol { font-size: 18px; }
.logo--sm .logo__text { font-size: 18px; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__stars {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 20% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero__stars::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 40% 8%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 85% 55%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 60%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 75%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 85%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 90%, rgba(255,255,255,0.6) 0%, transparent 100%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gold);
    background: var(--color-gold-dim);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    margin-bottom: 28px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(56px, 9vw, 88px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--color-text);
}
.hero__title em {
    font-style: italic;
    color: var(--color-gold);
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.hero__stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-gold);
}
.hero__stat-label {
    font-size: 13px;
    color: var(--color-muted);
}
.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
}
.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Features ===== */
.features { background: var(--color-bg-2); }

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-card:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), 0 0 20px rgba(201, 162, 39, 0.1);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-gold-dim);
    border: 1px solid var(--color-border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
}

.feature-card__text {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
    flex: 1;
}

.feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gold);
    transition: gap var(--transition);
}
.feature-card__link:hover { gap: 10px; }

/* ===== How it works ===== */
.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 48px;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

.step__number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-gold);
    opacity: 0.25;
    margin-bottom: 20px;
}

.step__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.step__text {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
}

.step__connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-dim), var(--color-gold-dim));
    border-top: 1px dashed var(--color-border-gold);
    flex-shrink: 0;
    margin-top: 40px;
}

.how__cta { text-align: center; }

/* ===== Numbers 1-9 ===== */
.numbers { background: var(--color-bg-2); }

.numbers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.number-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 20px 24px;
    text-align: center;
    transition: all var(--transition);
}
.number-card:hover {
    border-color: var(--color-border-gold);
    background: var(--color-surface-hover);
    transform: translateY(-3px);
}

.number-card__circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold);
    margin: 0 auto 16px;
    background: var(--color-gold-dim);
    box-shadow: 0 0 16px rgba(201, 162, 39, 0.15);
}

.number-card__name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.number-card__meaning {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.5;
}

.numbers__hint {
    text-align: center;
    font-size: 14px;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.numbers__hint i { color: var(--color-gold); }

/* ===== FAQ ===== */
.faq__list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item.open {
    border-color: var(--color-border-gold);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition);
}
.faq-item__question:hover { color: var(--color-gold); }
.faq-item.open .faq-item__question { color: var(--color-gold); }

.faq-item__icon {
    font-size: 14px;
    color: var(--color-gold);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
    padding: 0 24px 20px;
}
.faq-item__answer p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}

/* ===== CTA Banner ===== */
.cta-banner__inner {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-lg);
    padding: 72px 40px;
    text-align: center;
}

.cta-banner__symbol {
    font-size: 48px;
    color: var(--color-gold);
    display: block;
    margin-bottom: 20px;
    opacity: 0.6;
}

.cta-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.cta-banner__text {
    font-size: 18px;
    color: var(--color-muted);
    margin-bottom: 36px;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer__copy {
    font-size: 14px;
    color: var(--color-muted);
}
.footer__copy a:hover { color: var(--color-gold); }

.footer__disclaimer {
    font-size: 12px;
    color: rgba(240, 238, 232, 0.3);
    max-width: 500px;
    text-align: center;
    line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .features__grid { grid-template-columns: 1fr; }
    .numbers__grid { grid-template-columns: repeat(3, 1fr); }
    .steps { flex-direction: column; align-items: center; gap: 0; }
    .step { padding: 24px 0; }
    .step__connector { width: 2px; height: 40px; margin: 0; border-top: none; border-left: 1px dashed var(--color-border-gold); }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }

    .hero { min-height: 95vh; padding: 100px 0 60px; }
    .hero__stats { gap: 16px; }
    .hero__stat-divider { display: none; }

    .numbers__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { justify-content: center; }
    .cta-banner__inner { padding: 48px 24px; }
}

@media (max-width: 480px) {
    .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hero__title { font-size: 48px; }
    .container { padding: 0 16px; }
    .feature-card { padding: 28px 20px; }
    .step { padding: 16px 0; }
    .step__number { font-size: 48px; }
}
