/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:          #0a0e17;
    --bg2:         #0d1220;
    --surface:     #111827;
    --border:      #1e2d40;
    --accent:      #00c2ff;
    --accent-dim:  rgba(0, 194, 255, 0.08);
    --text:        #e8edf5;
    --muted:       #5a7089;
    --success:     #00e5a0;
    --warning:     #ffb547;
    --error:       #ff4d6d;

    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;

    --font-head:   'Syne', sans-serif;
    --font-body:   'DM Sans', sans-serif;

    --max-width:   1100px;
    --section-pad: 96px 24px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }


/* ══════════════════════════════════════════
   LANDING NAV
══════════════════════════════════════════ */
.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 48px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.nav-brand span { color: var(--accent); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-ghost {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all 0.2s;
}
.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border);
}

.btn-accent-sm {
    background: var(--accent);
    color: #0a0e17;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    transition: opacity 0.2s;
}
.btn-accent-sm:hover { opacity: 0.85; }

.btn-primary-lg {
    display: inline-block;
    background: var(--accent);
    color: #0a0e17;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    transition: opacity 0.2s, transform 0.15s;
    letter-spacing: 0.2px;
}
.btn-primary-lg:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}
.btn-primary-lg:active { transform: scale(0.98); }

.btn-ghost-lg {
    display: inline-block;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    padding: 16px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.btn-ghost-lg:hover {
    color: var(--text);
    border-color: var(--muted);
}


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    padding: 120px 24px 100px;
    text-align: center;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(0,194,255,0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(0,100,255,0.04) 0%, transparent 50%);
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    background: var(--accent-dim);
    border: 1px solid rgba(0,194,255,0.2);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-title .accent { color: var(--accent); }

.hero-sub {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 13px;
    color: var(--muted);
}


/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.section {
    padding: var(--section-pad);
    border-top: 1px solid var(--border);
}

.section-alt {
    background: var(--bg2);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
    color: var(--text);
    max-width: 560px;
}


/* ══════════════════════════════════════════
   STEPS
══════════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
    border-color: rgba(0,194,255,0.3);
    transform: translateY(-2px);
}

.step-number {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.step-title {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.step-body {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}


/* ══════════════════════════════════════════
   MODULES
══════════════════════════════════════════ */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.module-chip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: border-color 0.2s;
}

.module-chip:hover {
    border-color: rgba(0,194,255,0.25);
}

.module-chip-name {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.module-chip-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}


/* ══════════════════════════════════════════
   FRAMEWORKS
══════════════════════════════════════════ */
.frameworks-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.framework-badge {
    background: var(--accent-dim);
    border: 1px solid rgba(0,194,255,0.2);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.frameworks-note {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 640px;
}


/* ══════════════════════════════════════════
   CTA
══════════════════════════════════════════ */
.cta-section {
    background-image:
        radial-gradient(ellipse at 50% 100%, rgba(0,194,255,0.06) 0%, transparent 60%);
}

.cta-inner {
    text-align: center;
}

.cta-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--text);
}

.cta-sub {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 36px;
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 48px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
}

.footer-brand span { color: var(--accent); }

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--muted);
}

.footer-links a:hover { color: var(--text); }

.footer-note {
    font-size: 12px;
    color: var(--muted);
    width: 100%;
    text-align: center;
    margin-top: 8px;
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
    .landing-nav {
        padding: 16px 20px;
    }

    .hero {
        padding: 80px 20px 60px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .section {
        padding: 60px 20px;
    }

    .site-footer {
        padding: 32px 20px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-lg,
    .btn-ghost-lg {
        text-align: center;
    }
}