:root {
    --bg: #0d0f1a;
    --card: #13172a;
    --card-soft: #161a30;
    --primary: #7c4dff;
    --secondary: #16d0ff;
    --text: #e6e9f5;
    --muted: #9ea5c7;
    --accent: linear-gradient(135deg, #7c4dff 0%, #16d0ff 100%);
    --shadow: 0 18px 40px rgba(0,0,0,0.35);
    --radius: 18px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(124,77,255,0.12), transparent 32%),
        radial-gradient(circle at 80% 10%, rgba(22,208,255,0.12), transparent 26%),
        linear-gradient(180deg, rgba(13,15,26,0.08) 0%, rgba(13,15,26,0.88) 68%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0%' stop-color='%2316253f'/%3E%3Cstop offset='100%' stop-color='%230d0f1a'/%3E%3C/linearGradient%3E%3ClinearGradient id='g2' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop offset='0%' stop-color='%23253552' stop-opacity='0.8'/%3E%3Cstop offset='100%' stop-color='%23131a2e' stop-opacity='0.9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g1)' width='1440' height='900'/%3E%3Cpath d='M0 640L180 540C360 440 720 240 1080 280C1260 300 1440 380 1440 380V900H0Z' fill='%230e1322'/%3E%3Cpath d='M0 700L220 520C440 340 760 220 1040 260C1280 292 1440 420 1440 420V900H0Z' fill='url(%23g2)'/%3E%3Cpath d='M0 760L240 600C480 440 780 360 1080 420C1280 460 1440 560 1440 560V900H0Z' fill='%231a233c'/%3E%3C/svg%3E"
    );
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: -1;
    pointer-events: none;
}

main { padding: 0 24px 64px; max-width: 1180px; margin: 0 auto; width: 100%; }
.navbar, .footer-top { max-width: 1180px; margin: 0 auto; width: 100%; }
.footer { padding-left: 24px; padding-right: 24px; }
a { color: var(--text); text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(13, 15, 26, 0.7);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar {
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    background: rgba(124, 77, 255, 0.2);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}
.tagline { color: var(--muted); font-size: 14px; }
.nav-links { display: flex; gap: 16px; align-items: center; }
.nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 500;
    transition: all .2s ease;
}
.nav-links a.active, .nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; }
.nav-cta { display: inline-flex; }
.nav-cta-mobile { display: none; }

.hero, .page-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    padding: 64px 0;
    align-items: center;
}
.hero-copy h1, .page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin: 8px 0; }
.lead { color: var(--muted); max-width: 800px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; color: #9a8dff; font-weight: 700; }
.hero-actions, .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.btn {
    background: var(--accent);
    color: #0d0f1a;
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 50px rgba(22,208,255,0.25); }
.btn-ghost {
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); }

.hero-panel {
    background: radial-gradient(circle at 30% 30%, rgba(124,77,255,0.18), transparent 40%), var(--card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}
.panel-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.panel-list { display: flex; flex-direction: column; gap: 14px; padding: 0; }
.panel-list li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.panel-list div { display: flex; flex-direction: column; gap: 4px; }
.panel-list strong { font-size: 16px; display: block; margin-bottom: 2px; }
.panel-list i { color: #fff; background: rgba(255,255,255,0.08); padding: 10px; border-radius: 12px; }

.section { padding: 32px 0 64px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-header h2 { margin: 0; }
.section-header p { margin: 0; color: var(--muted); max-width: 640px; }

.grid { display: grid; gap: 18px; }
.grid.features { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.two-columns { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.three-columns { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.align-start { align-items: start; }
.grid.features, .grid.two-columns, .grid.three-columns, .testimonial-slider { max-width: 1120px; margin: 0 auto; width: 100%; }

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow);
}
.card.feature .icon, .offer .badge, .price-card .badge { color: #fff; font-weight: 700; }
.feature .icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(124,77,255,0.2); }
.offer .badge, .price-card .badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(124,77,255,0.2); }
.badge-secondary { background: rgba(22,208,255,0.2); }
.offer h3, .price-card h3 { margin: 10px 0; }
.offer ul, .list-check { color: var(--muted); display: grid; gap: 8px; padding-left: 0; }
.price-line { display: flex; justify-content: space-between; background: var(--card-soft); padding: 10px 12px; border-radius: 12px; margin: 8px 0; }
.price-card.accent { border: 1px solid rgba(22,208,255,0.3); background: radial-gradient(circle at 20% 20%, rgba(22,208,255,0.08), var(--card)); }

.trust-row { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.05); padding: 8px 10px; border-radius: 10px; }

.testimonials .testimonial-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.testimonial { position: relative; }
.testimonial .author { margin-top: 12px; color: #fff; font-weight: 600; }

.cta { background: linear-gradient(120deg, rgba(124,77,255,0.2), rgba(22,208,255,0.2)); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 26px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; max-width: 1120px; margin: 0 auto; }

.page-hero.small { padding: 48px 0; }
.pricing .price-card { text-align: left; }

.list-check li::before { content: "✔"; color: #16d0ff; margin-right: 8px; }

.cta-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: center; }
.quick-facts .note { color: var(--muted); font-size: 14px; margin-top: 10px; }

.form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-group { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.form input, .form textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--card-soft);
    color: #fff;
}
.alert { padding: 12px 14px; border-radius: 12px; margin: 12px 0; }
.alert.success { background: rgba(22,208,255,0.15); border: 1px solid rgba(22,208,255,0.4); }
.alert.error { background: rgba(255, 99, 132, 0.15); border: 1px solid rgba(255, 99, 132, 0.4); }
.alert.invalid { background: rgba(255, 206, 86, 0.15); border: 1px solid rgba(255, 206, 86, 0.4); }

.contact-card { background: radial-gradient(circle at 15% 15%, rgba(124,77,255,0.15), var(--card)); }

.footer { padding: 40px 24px; background: #0a0c16; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.footer h4 { margin-bottom: 10px; }
.footer ul { display: grid; gap: 8px; color: var(--muted); }
.footer .contact-inline { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.footer-bottom { margin-top: 24px; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links { display: none; position: absolute; top: 80px; right: 16px; background: #0a0c16; padding: 16px; border-radius: 12px; flex-direction: column; align-items: flex-start; box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .navbar { align-items: center; }
    .nav-cta { display: none; }
    .nav-cta-mobile { display: block; }
}
