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

:root {
    --gold: #f8d04f;
    --gold-dim: rgba(248, 208, 79, 0.65);
    --gold-faint: rgba(248, 208, 79, 0.08);
    --gold-border: rgba(248, 208, 79, 0.18);
    --navy-deep: #090f1d;
    --navy: #0f172a;
    --navy-mid: #1a2540;
    --navy-light: #1e293b;
    --text-muted: rgba(248, 230, 150, 0.55);
    --text-body: rgba(248, 230, 150, 0.82);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--navy);
    color: var(--gold);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 15, 29, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(248, 208, 79, 0.1);
    overflow: hidden;
}

.nb-shimmer {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(248, 208, 79, 0) 20%,
        rgba(248, 208, 79, 0.7) 50%,
        rgba(248, 208, 79, 0) 80%,
        transparent 100%);
    background-size: 200% 100%;
    animation: nb-shimmer 4s ease-in-out infinite;
}
@keyframes nb-shimmer {
    0%   { background-position: -200% 0; opacity: 0.4; }
    50%  { opacity: 1; }
    100% { background-position: 200% 0; opacity: 0.4; }
}

.nb-stars { position: absolute; inset: 0; pointer-events: none; }
.nb-star {
    position: absolute;
    width: 2px; height: 2px;
    background: #f8d04f;
    border-radius: 50%;
    opacity: 0;
    animation: nb-twinkle var(--d) ease-in-out infinite var(--delay);
}
@keyframes nb-twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50%       { opacity: var(--op); transform: scale(1); }
}

.nb-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nb-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}
.nb-logo-img {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(248, 208, 79, 0.1);
    border: 1px solid rgba(248, 208, 79, 0.25);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden; flex-shrink: 0;
}
.nb-logo-img img { width: 100%; height: 100%; object-fit: contain; }
.nb-logo:hover .nb-logo-img {
    border-color: rgba(248, 208, 79, 0.6);
    background: rgba(248, 208, 79, 0.15);
    box-shadow: 0 0 12px rgba(248, 208, 79, 0.2);
}
.nb-logo-text {
    font-family: "Montserrat", sans-serif;
    font-size: 1.15rem; font-weight: 700;
    color: #f8d04f; letter-spacing: 0.02em;
    transition: opacity 0.2s;
}
.nb-logo:hover .nb-logo-text { opacity: 0.85; }

.nb-links { display: flex; align-items: center; gap: 4px; }
.nb-link {
    position: relative;
    font-family: "Inter", sans-serif;
    font-size: 0.875rem; font-weight: 500;
    color: rgba(248, 230, 150, 0.65);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    letter-spacing: 0.025em;
    transition: color 0.2s ease, background 0.2s ease;
}
.nb-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px; height: 1.5px;
    background: #f8d04f;
    border-radius: 2px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nb-link:hover { color: #f8d04f; background: rgba(248, 208, 79, 0.06); }
.nb-link:hover::after { transform: translateX(-50%) scaleX(1); }

.nb-actions { display: flex; align-items: center; gap: 10px; }
.nb-sep { width: 1px; height: 18px; background: rgba(248, 208, 79, 0.15); }
.nb-login {
    font-family: "Inter", sans-serif;
    font-size: 0.875rem; font-weight: 500;
    color: rgba(248, 230, 150, 0.75);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgba(248, 208, 79, 0.2);
    letter-spacing: 0.025em;
    transition: all 0.25s ease;
}
.nb-login:hover {
    color: #f8d04f;
    border-color: rgba(248, 208, 79, 0.5);
    background: rgba(248, 208, 79, 0.06);
}
.nb-signup {
    font-family: "Montserrat", sans-serif;
    font-size: 0.84rem; font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 8px;
    background: #f8d04f;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
    position: relative; overflow: hidden;
}
.nb-signup::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.4s ease;
}
.nb-signup:hover::before { left: 100%; }
.nb-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 208, 79, 0.4);
    background: #fad84f;
}
.nb-signup:active { transform: translateY(0); }

/* ============================================================
   SHARED SECTION PARTS
============================================================ */
.section-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 18px;
}
.section-label::before {
    content: '';
    display: block;
    width: 24px; height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.section-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 60px;
}

/* ============================================================
   SHARED BUTTONS
============================================================ */
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    background: var(--gold);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.4s ease;
}
.hero-btn-primary:hover::before { left: 100%; }
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(248, 208, 79, 0.45);
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gold);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid var(--gold-border);
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
}
.hero-btn-ghost:hover {
    background: var(--gold-faint);
    border-color: rgba(248, 208, 79, 0.4);
    transform: translateY(-2px);
}

/* ============================================================
   HERO
============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(9,15,29,0.6) 70%, var(--navy) 100%),
        url("./images/web-images/mondstadt-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(248,208,79,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
    transform: translateY(-20px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(248, 208, 79, 0.08);
    border: 1px solid rgba(248, 208, 79, 0.2);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-content h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-content p {
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(248, 208, 79, 0.3);
    animation: fade-bob 2.5s ease-in-out infinite;
}
@keyframes fade-bob {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.8; transform: translateX(-50%) translateY(5px); }
}
.hero-scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(248,208,79,0.4), transparent);
}

/* ============================================================
   FEATURES
============================================================ */
.features {
    padding: 120px 0;
    background-color: var(--navy-light);
    position: relative;
    overflow: hidden;
}
.features::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}
.features::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

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

.card {
    background: rgba(9, 15, 29, 0.6);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    padding: 36px 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(248,208,79,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card:hover {
    border-color: rgba(248, 208, 79, 0.35);
    background: rgba(248, 208, 79, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.card:hover::before { opacity: 1; }

.card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(248, 208, 79, 0.1);
    border: 1px solid rgba(248, 208, 79, 0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    color: var(--gold);
    transition: all 0.3s ease;
}
.card-icon svg { width: 22px; height: 22px; }
.card:hover .card-icon {
    background: rgba(248, 208, 79, 0.15);
    border-color: rgba(248, 208, 79, 0.4);
    box-shadow: 0 0 16px rgba(248,208,79,0.15);
}

.card h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.card p {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.how-it-works {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
}

.steps {
    display: flex;
    align-items: center;
    gap: 0;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-connector {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, rgba(248,208,79,0.3), rgba(248,208,79,0.1));
    flex-shrink: 0;
    margin-bottom: 40px;
    position: relative;
}
.step-connector::after {
    content: '';
    position: absolute;
    right: -5px; top: -3px;
    width: 7px; height: 7px;
    border-top: 1px solid rgba(248,208,79,0.3);
    border-right: 1px solid rgba(248,208,79,0.3);
    transform: rotate(45deg);
}

.step-number {
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(248, 208, 79, 0.12);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: color 0.3s ease;
}
.step:hover .step-number { color: rgba(248, 208, 79, 0.25); }

.step-body h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}
.step-body p {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 260px;
}

/* ============================================================
   CTA
============================================================ */
.cta {
    position: relative;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 40px;
    background:
        linear-gradient(to bottom, var(--navy) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.5) 100%),
        url("./images/web-images/liyue-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.cta-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.cta-inner {
    position: relative;
    text-align: center;
    max-width: 640px;
}
.cta-inner h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.cta-inner p {
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 40px;
}
.cta-actions { margin-bottom: 24px; }

.beta-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    color: rgba(253, 75, 75, 0.85);
    background: rgba(253, 75, 75, 0.07);
    border: 1px solid rgba(253, 75, 75, 0.2);
    padding: 8px 16px;
    border-radius: 6px;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(248, 208, 79, 0.08);
    padding: 24px 40px;
}
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(248, 208, 79, 0.5);
}
.footer-logo img { opacity: 0.4; }
.footer-content p {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    color: rgba(248, 208, 79, 0.3);
    letter-spacing: 0.03em;
}