:root {
    --bg-dark: #09045f;
    --bg-dark-2: #160f7d;
    --bg-light: #f4f5fb;
    --card: rgba(255,255,255,0.08);
    --text: #101530;
    --text-light: #eef1ff;
    --muted-light: rgba(238,241,255,0.82);
    --accent: #2fd4ff;
    --accent-2: #465bff;
    --border: rgba(255,255,255,0.14);
    --shadow: 0 20px 45px rgba(9, 4, 95, 0.22);
    --radius: 24px;
    --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #ffffff;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 21, 48, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: #122152;
}
.brand img { width: 48px; height: 48px; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #293764;
    font-weight: 600;
}
.main-nav a:hover { color: var(--accent-2); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--accent-2), #2232d1 80%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(70, 91, 255, 0.35);
}
.btn-secondary {
    border-color: rgba(255,255,255,0.45);
    color: #fff;
    background: transparent;
}
.btn-block { width: 100%; }

.section-dark {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 75%);
    color: var(--text-light);
}
.section-light {
    background: var(--bg-light);
    color: var(--text);
}

.hero,
.problem,
.benefits,
.features,
.pricing,
.demo {
    padding: 5.5rem 0;
}

.hero-grid,
.split-grid,
.demo-grid,
.feature-layout {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
.hero-grid,
.split-grid,
.demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-layout { grid-template-columns: 1.15fr 0.85fr; }

.hero-copy h1,
.section-copy h2,
.section-heading h2 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-copy h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); max-width: 11ch; }
.section-copy h2,
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }

.eyebrow {
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--accent);
}
.tagline {
    margin: 1rem 0 1rem;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 800;
    color: var(--accent);
}
.hero-text,
.section-copy p,
.section-heading p,
.feature-item p,
.card p,
.check-list li,
.demo-form span,
.microcopy {
    line-height: 1.7;
    font-size: 1.03rem;
}
.hero-text { max-width: 38rem; color: var(--muted-light); }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 1rem;
}
.microcopy { margin: 0; color: rgba(255,255,255,0.7); font-size: 0.92rem; }

.hero-media img,
.section-media img,
.feature-visual img,
.demo-visual img {
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.hero-media img { background: rgba(255,255,255,0.05); }

.section-heading {
    max-width: 48rem;
    margin-bottom: 2rem;
}
.section-heading p { margin: 0.8rem 0 0; }

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.card {
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.card img {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 1rem;
}
.card h3,
.feature-item h3 { margin: 0 0 0.4rem; font-size: 1.28rem; }
.card p { margin: 0; color: var(--muted-light); }

.feature-list {
    display: grid;
    gap: 1rem;
}
.feature-item {
    background: #fff;
    border-radius: 18px;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(16, 21, 48, 0.08);
    box-shadow: 0 10px 24px rgba(16, 21, 48, 0.08);
}
.feature-item p { margin: 0; color: #485475; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.9rem;
}
.check-list li {
    position: relative;
    padding-left: 2rem;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 800;
}

.form-wrap {
    background: linear-gradient(180deg, #111d65 0%, #09045f 100%);
    color: var(--text-light);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.demo-form {
    display: grid;
    gap: 1rem;
}
.form-row { display: grid; gap: 1rem; }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-form label { display: grid; gap: 0.45rem; }
.demo-form span { font-size: 0.92rem; color: rgba(255,255,255,0.78); }
.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 0.95rem 1rem;
    font: inherit;
    outline: none;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    border-color: rgba(47, 212, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(47, 212, 255, 0.18);
}
.demo-form option { color: #111; }
.honeypot { position: absolute; left: -9999px; }
.alert {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-weight: 600;
}
.alert.success { background: rgba(58, 194, 110, 0.18); border: 1px solid rgba(58, 194, 110, 0.4); }
.alert.error { background: rgba(220, 70, 70, 0.18); border: 1px solid rgba(220, 70, 70, 0.4); }

.site-footer {
    background: #fff;
    border-top: 1px solid rgba(16, 21, 48, 0.08);
    padding: 1.25rem 0;
}
.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer-wrap p { margin: 0; color: #455173; }
.footer-brand { font-size: 1.25rem; }
.footer-brand img { width: 40px; height: 40px; }

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .main-nav { display: none; }
    .hero-grid,
    .split-grid,
    .demo-grid,
    .feature-layout,
    .benefit-grid,
    .two-up { grid-template-columns: 1fr; }
    .reverse-mobile .section-media { order: -1; }
}

@media (max-width: 640px) {
    .hero,
    .problem,
    .benefits,
    .features,
    .pricing,
    .demo { padding: 4rem 0; }
    .nav-wrap { padding: 0.8rem 0; }
    .brand { font-size: 1.2rem; }
    .brand img { width: 40px; height: 40px; }
    .nav-cta { display: none; }
    .footer-wrap { flex-direction: column; text-align: center; }
    .btn { width: 100%; }
}
