/* ── Landing Page ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0a0a;
    --bg-secondary: #111;
    --bg-tertiary: #1a1a1a;
    --surface: #222;
    --border: #2a2a2a;
    --text: #e8e8e8;
    --text-secondary: #999;
    --text-muted: #666;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
    text-decoration: none;
}
.nav-logo { color: var(--accent); font-size: 24px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s;
    text-decoration: none;
}
.nav-link:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); color: #000; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e8e8e8; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    max-width: 720px;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--accent-glow);
    border: 1px solid rgba(108, 92, 231, 0.25);
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}
.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-light);
}
.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ── Sections ─────────────────────────────────────────────────── */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 16px;
    background: var(--accent-glow);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Features ─────────────────────────────────────────────────── */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
    border-color: rgba(108, 92, 231, 0.4);
    transform: translateY(-4px);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--accent-glow);
    color: var(--accent-light);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── How It Works ─────────────────────────────────────────────── */
.how-it-works {
    padding: 100px 0;
}
.hiw-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.hiw-column {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.hiw-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--accent-light);
}
.hiw-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hiw-step {
    display: flex;
    gap: 16px;
}
.hiw-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent-light);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.hiw-step h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.hiw-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── CTA ──────────────────────────────────────────────────────── */
.cta {
    padding: 80px 0;
}
.cta-box {
    background: linear-gradient(135deg, var(--accent) 0%, #4a3db5 100%);
    border-radius: 20px;
    padding: 64px 48px;
    text-align: center;
}
.cta-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.cta-box p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
}
.footer-text {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-links a:hover { color: var(--accent-light); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .hiw-columns { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 8px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .feature-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .hero-stats { gap: 20px; }
    .cta-box { padding: 40px 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
}
