/* ─── Variables ─── */
:root {
    --primary:   #6366f1;
    --green:     #10b981;
    --bg:        #07070a;
    --bg2:       #0d0d12;
    --card:      rgba(255,255,255,.04);
    --border:    rgba(255,255,255,.08);
    --text:      #e4e4e7;
    --muted:     #71717a;
    --font:      'Outfit', sans-serif;
    --mono:      'Space Mono', monospace;
    --nav-h:     64px;
    --r:         20px;
    --max:       1160px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* Subtle grid overlay */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 52px 52px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 10px; }

/* ─── Navbar ─── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.navbar.scrolled {
    background: rgba(7,7,10,.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    height: var(--nav-h);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex; align-items: center; gap: 9px;
    font-weight: 800; font-size: 1.15rem; letter-spacing: -.3px;
    color: #fff; text-decoration: none; text-transform: uppercase;
}
.brand-img  { width: 24px; height: 24px; object-fit: contain; border-radius: 5px; }
.brand-icon { color: var(--primary); font-size: 1.1rem; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    color: var(--muted); font-weight: 600; font-size: .9rem;
    text-decoration: none; padding: 8px 16px; border-radius: 10px;
    transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.nav-links .btn-signup {
    background: var(--primary); color: #fff; border-radius: 10px;
}
.nav-links .btn-signup:hover { opacity: .85; }

/* Burger */
.burger {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; background: none; border: none; cursor: pointer;
    width: 36px; height: 36px; padding: 4px;
}
.burger span {
    display: block; height: 2px; background: #fff; border-radius: 2px;
    transition: .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none; flex-direction: column;
    background: rgba(10,10,14,.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 28px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--text); font-weight: 600; font-size: 1rem;
    text-decoration: none; padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border: none; color: var(--primary); margin-top: 4px; }

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 60px) 28px 80px;
    position: relative; overflow: hidden;
}
.hero-glow {
    position: absolute; border-radius: 50%;
    filter: blur(120px); pointer-events: none;
}
.hero-glow-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,.18), transparent 70%);
    top: -100px; left: 50%; transform: translateX(-50%);
}
.hero-glow-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(217,70,239,.12), transparent 70%);
    bottom: 0; right: 10%;
}

.hero-inner {
    max-width: 860px;
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 28px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.25);
    color: var(--green);
    font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    padding: 7px 16px; border-radius: 999px;
}
.pulse-dot {
    width: 7px; height: 7px; background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    color: #fff;
}
.text-grad {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #e879f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-p {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 580px;
}

.hero-btns {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: #000;
    font-weight: 800; font-size: 1rem;
    padding: 15px 32px; border-radius: 14px;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
    background: var(--primary); color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99,102,241,.35);
}
.btn-primary i { font-size: 1.05rem; }
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--muted);
    font-weight: 700; font-size: 1rem;
    padding: 15px 32px; border-radius: 14px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: color .15s, border-color .15s;
}
.btn-outline:hover { color: #fff; border-color: rgba(255,255,255,.25); }

/* Service chips cloud */
.service-cloud {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    max-width: 640px;
}
.svc-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 16px; border-radius: 999px;
    font-size: .82rem; font-weight: 700;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    opacity: 0;
    animation: chipFade .5s ease forwards;
    animation-delay: var(--d, 0s);
    white-space: nowrap;
    backdrop-filter: blur(8px);
}
.svc-chip i { font-size: .9rem; }

/* Chip accent colors */
.chip-tg  { border-color: rgba(38,165,228,.3);  background: rgba(38,165,228,.08);  }
.chip-tg  i { color: #26a5e4; }
.chip-wa  { border-color: rgba(37,211,102,.3);  background: rgba(37,211,102,.08);  }
.chip-wa  i { color: #25d366; }
.chip-go  { border-color: rgba(66,133,244,.3);  background: rgba(66,133,244,.08);  }
.chip-go  i { color: #4285f4; }
.chip-ig  { border-color: rgba(228,64,95,.3);   background: rgba(228,64,95,.08);   }
.chip-ig  i { color: #e4405f; }
.chip-dc  { border-color: rgba(88,101,242,.3);  background: rgba(88,101,242,.08);  }
.chip-dc  i { color: #5865f2; }
.chip-tw  { border-color: rgba(255,255,255,.15);background: rgba(255,255,255,.05); }
.chip-tt  { border-color: rgba(255,255,255,.15);background: rgba(255,255,255,.05); }
.chip-fb  { border-color: rgba(24,119,242,.3);  background: rgba(24,119,242,.08);  }
.chip-fb  i { color: #1877f2; }

@keyframes chipFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Stats bar ─── */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 32px 28px;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.stat-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; flex: 1; min-width: 140px; text-align: center;
    padding: 8px 24px;
}
.stat-item strong {
    font-family: var(--mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}
.stat-item span {
    font-size: .78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.stat-sep {
    width: 1px; height: 44px;
    background: var(--border);
    flex-shrink: 0;
}

/* ─── Sections ─── */
.section { padding: 100px 28px; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary);
    margin-bottom: 14px;
}
.section-h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 60px;
}

/* ─── Features grid ─── */
.features-section { background: var(--bg); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 36px 32px;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,.3);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.feat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--c);
    margin-bottom: 20px;
}
.feat-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.feat-card p {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ─── How it works ─── */
.how-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.steps-grid {
    display: flex;
    align-items: center;
    gap: 0;
}
.step-card {
    flex: 1;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 40px 36px;
    position: relative;
    transition: border-color .25s;
}
.step-card:hover { border-color: rgba(99,102,241,.3); }

.step-num {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .08em;
    margin-bottom: 16px;
    opacity: .8;
}
.step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}
.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.step-card p {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.65;
}
.step-arrow {
    font-size: 1.4rem;
    color: rgba(255,255,255,.15);
    flex-shrink: 0;
    padding: 0 20px;
}

/* ─── CTA section ─── */
.cta-section {
    padding: 120px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 800px; height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,.14), transparent 65%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-inner {
    position: relative; z-index: 1;
    max-width: 600px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #fff;
    line-height: 1.1;
}
.cta-inner p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6;
}
.btn-large { font-size: 1.05rem; padding: 18px 40px; border-radius: 16px; }
.cta-note {
    font-size: .8rem;
    color: var(--muted);
    letter-spacing: .02em;
}

/* ─── Footer ─── */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 32px 28px;
}
.footer-inner {
    max-width: var(--max); margin: 0 auto;
    display: flex; align-items: center;
    justify-content: space-between; gap: 20px;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex; align-items: center; gap: 8px;
    font-weight: 800; font-size: 1rem;
    color: #fff; text-transform: uppercase; letter-spacing: .3px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    color: var(--muted); text-decoration: none;
    font-size: .88rem; font-weight: 600;
    transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .8rem; color: var(--muted); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { flex-direction: column; gap: 12px; }
    .step-arrow { transform: rotate(90deg); padding: 8px 0; }
    .stats-bar { gap: 0; }
    .stat-sep { display: none; }
    .stat-item { border-bottom: 1px solid var(--border); padding: 16px 24px; }
    .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .burger { display: flex; }
    .hero { padding-bottom: 60px; }
    .hero-inner { gap: 22px; }
    .hero-p { font-size: 1rem; }
    .section { padding: 70px 20px; }
    .section-h2 { margin-bottom: 40px; }
    .feat-card { padding: 28px 24px; }
    .step-card { padding: 28px 24px; }
    .cta-section { padding: 80px 20px; }
    .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
    .footer-links { justify-content: center; }
    .service-cloud { gap: 8px; }
    .svc-chip { font-size: .75rem; padding: 6px 12px; }
}
