:root {
    --bg: #071019;
    --bg-alt: #0b1522;
    --surface: rgba(11, 21, 34, 0.72);
    --surface-strong: #102033;
    --line: rgba(96, 165, 250, 0.25);
    --text: #ebf4ff;
    --muted: #9eb2cb;
    --primary: #5fb3ff;
    --primary-strong: #2d8cff;
    --accent: #2ee8c9;
    --danger: #ff7a7a;
    --success: #5dd8a8;
    --radius: 14px;
    --shadow: 0 16px 32px rgba(1, 4, 10, 0.35);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background: radial-gradient(900px 500px at 90% -20%, rgba(45, 140, 255, 0.22), transparent 70%), var(--bg);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: "Space Grotesk", sans-serif; line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
a { color: inherit; text-decoration: none; }

.site-bg {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(95, 179, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 179, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 28%, transparent 80%);
    z-index: -1;
}

.container { width: min(1440px, 92%); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.section-top { padding-top: 5.6rem; }
.compact-section { padding: 3.2rem 0; }
.about-values { padding-top: 0rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; }
.lead { color: var(--muted); max-width: 70ch; }

.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(7, 16, 25, 0.84);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.brand-name { font-size: 1.16rem; letter-spacing: 0.01em; }
.brand-name sup { font-size: 0.58em; margin-left: 0.12em; vertical-align: super; }
.brand-logo { width: 52px; height: 52px; border-radius: 5px; box-shadow: 0 0 0px rgba(95, 179, 255, 0.28); }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav a { color: var(--muted); font-weight: 600; }
.site-nav a.btn { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--text); }
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin-top: 0.45rem;
    background: rgba(10, 19, 30, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.45rem;
    z-index: 30;
}
.dropdown-menu a {
    display: block;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(45, 140, 255, 0.16); color: var(--text); }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }

.btn {
    border: none;
    border-radius: 999px;
    padding: 0.78rem 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(45, 140, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn:hover { filter: brightness(1.08); }
.btn-small { padding: 0.6rem 1rem; }
.btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }

.hero-grid, .cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}
.hero-card, .card, .demo-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-card { padding: 1.5rem; }
.metrics { display: grid; gap: 1rem; }
.metrics article span { font-size: 1.7rem; font-family: "Space Grotesk", sans-serif; color: var(--accent); }
.metrics article p { margin: 0.35rem 0 0; color: var(--muted); }
.hero-actions { display: flex; gap: 0.8rem; margin: 1.25rem 0; flex-wrap: wrap; }
.mini-list { padding-left: 1.1rem; color: var(--muted); margin: 0; }

.card-grid { display: grid; gap: 1rem; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 1.2rem; }
.card p { color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.steps article { padding: 1rem; background: rgba(16, 32, 51, 0.6); border-radius: 10px; border: 1px solid var(--line); }
.steps p { margin: 0; color: var(--muted); }
.maintenance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.maintenance-card {
    background: rgba(16, 32, 51, 0.45);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.maintenance-card h3 {
    margin: 0;
    padding: 0.6rem 0.9rem;
    font-size: 1.25rem;
    background: #062260;
}
.maintenance-card p { margin: 0; padding: 0.6rem 0.9rem 0; color: var(--muted); }
.maintenance-card p strong { color: var(--text); }
.maintenance-card ul { margin: 0; padding: 0.2rem 1.9rem 1rem; color: var(--muted); }
.maintenance-card li { margin-bottom: 0.2rem; }

.section-contrast { background: linear-gradient(180deg, rgba(16, 32, 51, 0.4), rgba(16, 32, 51, 0.15)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1rem; }
.logos-grid span { padding: 0.8rem; text-align: center; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); }

.faq-list details { border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem; margin-bottom: 0.7rem; background: rgba(16, 32, 51, 0.45); }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { color: var(--muted); margin: 0.65rem 0 0; }

.demo-form { padding: 1.1rem; }
.demo-form label { display: block; margin: 0.2rem 0 0.25rem; font-weight: 600; font-size: 0.95rem; }
.demo-form input, .demo-form textarea {
    width: 100%;
    background: rgba(7, 16, 25, 0.76);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 10px;
    color: var(--text);
    padding: 0.72rem;
    font: inherit;
    margin-bottom: 0.7rem;
}
.demo-form input:focus, .demo-form textarea:focus { outline: 2px solid rgba(46, 232, 201, 0.35); border-color: var(--accent); }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.consent-row { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); font-size: 0.93rem; margin-bottom: 0.9rem; }
.consent-row input { width: auto; margin-top: 0.25rem; }
.consent-row a { color: var(--primary); text-decoration: underline; }

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.alert { padding: 0.85rem 1rem; border-radius: 10px; margin: 1rem 0; border: 1px solid; }
.alert.success { border-color: rgba(93, 216, 168, 0.45); background: rgba(93, 216, 168, 0.12); }
.alert.error { border-color: rgba(255, 122, 122, 0.45); background: rgba(255, 122, 122, 0.1); }

.pricing-card .price { font-size: 1.4rem; font-family: "Space Grotesk", sans-serif; margin: 0.5rem 0; }
.pricing-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.pricing-card.featured { border-color: rgba(46, 232, 201, 0.45); }
.pricing-meta { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }
.comparison-title { margin-top: 2.2rem; }
.table-wrap {
    margin-top: 1rem;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(16, 32, 51, 0.35);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}
.comparison-table th,
.comparison-table td {
    text-align: left;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.22);
}
.comparison-table th {
    background: rgba(6, 34, 96, 0.85);
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
}
.comparison-table th:not(:first-child) { text-align: center; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table td:not(:first-child) {
    text-align: center;
    font-weight: 600;
}

.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 1.5rem; background: rgba(7, 16, 25, 0.5); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1rem; }
.footer-grid p, .footer-grid a { color: var(--muted); display: block; margin-bottom: 0.5rem; }
.footer-bottom { margin-top: 1.5rem; color: var(--muted); font-size: 0.9rem; }

.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: 0.4rem; border-radius: 8px; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--text); margin: 4px 0; }

@media (max-width: 980px) {
    .hero-grid, .cta-grid, .card-grid.two, .card-grid.three, .steps, .logos-grid, .footer-grid, .maintenance-grid {
        grid-template-columns: 1fr;
    }
    .section-top { padding-top: 5rem; }
}

@media (max-width: 760px) {
    .menu-toggle { display: inline-block; }
    .site-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1rem 4%;
        background: #09121d;
        border-bottom: 1px solid var(--line);
    }
    .site-nav.open { display: flex; }
    .nav-dropdown { width: 100%; display: block; }
    .dropdown-menu {
        display: block;
        position: static;
        min-width: 0;
        margin-top: 0.35rem;
        background: rgba(15, 27, 41, 0.5);
        box-shadow: none;
    }
    .grid-two { grid-template-columns: 1fr; }
}

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

.hero-grid > *,
.card,
.steps article,
.faq-list details,
.cta-band .demo-form {
    animation: fadeUp 400ms ease both;
}
