*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brand: #4f46e5;
    --brand-dark: #3730a3;
    --brand-light: #e0e7ff;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --white: #ffffff;
    --surface: #f8fafc;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

/* ── NAV ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: 60px;
    display: flex; align-items: center; padding: 0 5%;
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #fff;
    font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.nav-logo .logo-badge {
    background: var(--brand); color: #fff;
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 900; letter-spacing: -0.5px;
}
.nav-links {
    display: flex; align-items: center; gap: 4px;
    margin-left: auto; margin-right: 20px;
}
.nav-links a {
    color: var(--text-light); text-decoration: none;
    font-size: 13.5px; padding: 6px 14px;
    border-radius: 6px; transition: all 0.15s;
}
.nav-links a:hover { color: #fff; background: var(--dark-2); }
.nav-cta {
    background: var(--brand); color: #fff !important;
    font-weight: 600; border-radius: 8px !important;
    padding: 7px 18px !important;
}
.nav-cta:hover { background: var(--brand-dark) !important; color: #fff !important; }
.nav-wa {
    display: flex; align-items: center; gap: 6px;
    background: #25d366 !important; color: #fff !important;
    font-weight: 600; border-radius: 8px !important;
    padding: 7px 14px !important;
}
.nav-wa:hover { background: #1ebe5d !important; color: #fff !important; }
.footer-copy a { color: var(--text-light); text-decoration: none; }
.footer-copy a:hover { color: #fff; }
.nav-version {
    background: rgba(79,70,229,0.25); color: #a5b4fc;
    font-size: 11px; font-weight: 700; padding: 3px 10px;
    border-radius: 20px; letter-spacing: 0.04em; flex-shrink: 0;
}

/* ── HERO ── */
.hero {
    background: var(--dark);
    padding: 160px 5% 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,70,229,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(79,70,229,0.15); border: 1px solid rgba(79,70,229,0.3);
    color: #a5b4fc; font-size: 12.5px; font-weight: 600;
    padding: 5px 14px; border-radius: 20px;
    margin-bottom: 28px; letter-spacing: 0.03em;
}
.hero-badge span { color: #4ade80; }
.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900; color: #fff;
    line-height: 1.1; letter-spacing: -0.03em;
    margin-bottom: 20px;
    position: relative;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #818cf8, #4f46e5);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem; color: var(--text-light);
    max-width: 560px; margin: 0 auto 40px;
    line-height: 1.75; position: relative;
}
.hero-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; flex-wrap: wrap; position: relative;
}
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14.5px; font-weight: 600;
    padding: 12px 24px; border-radius: 10px;
    text-decoration: none; transition: all 0.2s; cursor: pointer;
    border: none; font-family: inherit;
}
.btn-primary {
    background: var(--brand); color: #fff;
    box-shadow: 0 0 0 0 rgba(79,70,229,0);
}
.btn-primary:hover {
    background: var(--brand-dark);
    box-shadow: 0 8px 24px rgba(79,70,229,0.4);
    transform: translateY(-1px);
}
.btn-secondary {
    background: rgba(255,255,255,0.08); color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.14); color: #fff;
    transform: translateY(-1px);
}
.btn-donate {
    background: linear-gradient(135deg, #ec4899, #f97316);
    color: #fff;
}
.btn-donate:hover {
    box-shadow: 0 8px 24px rgba(236,72,153,0.35);
    transform: translateY(-1px);
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--dark-2);
    border-top: 1px solid var(--dark-3);
    border-bottom: 1px solid var(--dark-3);
    padding: 20px 5%;
    display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    letter-spacing: -0.02em; display: block;
}
.stat-label { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ── SECTION BASE ── */
.section { padding: 90px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
    display: inline-block;
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--brand);
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800; color: var(--text);
    line-height: 1.2; letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.section-header p {
    font-size: 1.05rem; color: var(--text-muted);
    max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* ── FEATURES ── */
.features { background: var(--white); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px; padding: 28px;
    transition: all 0.2s;
}
.feature-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 8px 30px rgba(79,70,229,0.08);
    transform: translateY(-2px);
}
.feature-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--brand-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--brand); stroke: var(--brand); }
.feature-card h3 {
    font-size: 1rem; font-weight: 700; color: var(--text);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.9rem; color: var(--text-muted); line-height: 1.65;
}

/* ── QUICK START ── */
.quickstart { background: var(--surface); }
.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.qs-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px; padding: 28px;
    position: relative;
}
.qs-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    margin-bottom: 16px;
}
.qs-step h3 {
    font-size: 0.95rem; font-weight: 700; color: var(--text);
    margin-bottom: 8px;
}
.qs-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.qs-step code {
    background: var(--dark); color: #a5b4fc;
    padding: 2px 8px; border-radius: 5px;
    font-size: 0.8rem; font-family: 'Fira Code', 'Cascadia Code', Consolas, monospace;
}

/* ── DONATE ── */
.donate {
    background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
    padding: 90px 5%;
    text-align: center;
}
.donate h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800; color: #fff;
    margin-bottom: 14px; letter-spacing: -0.02em;
}
.donate p {
    font-size: 1rem; color: var(--text-light);
    max-width: 500px; margin: 0 auto 32px; line-height: 1.7;
}
.hearts { font-size: 1.5rem; margin-bottom: 16px; }

/* ── FOOTER ── */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--dark-2);
    padding: 40px 5%;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #fff;
    font-weight: 700; font-size: 1rem;
}
.footer-logo .logo-badge {
    background: var(--brand); color: #fff;
    width: 28px; height: 28px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 900;
}
.footer-links {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-light); text-decoration: none;
    font-size: 13px; padding: 5px 12px; border-radius: 6px;
    transition: all 0.15s;
}
.footer-links a:hover { color: #fff; background: var(--dark-2); }
.footer-copy {
    color: var(--dark-3); font-size: 12.5px;
    width: 100%; text-align: center; margin-top: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 120px 5% 70px; }
    .stats-bar { gap: 30px; }
    .footer { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
