:root {
    --bg: #08111f;
    --bg-soft: #0d1728;
    --bg-card: rgba(255,255,255,0.055);
    --bg-card-strong: rgba(255,255,255,0.09);
    --text: #eef4ff;
    --muted: #a9b8d4;
    --line: rgba(255,255,255,0.12);
    --brand: #6d5dfc;
    --brand-2: #25d6a2;
    --warn: #ffcc66;
    --danger: #ff7b7b;
    --shadow: 0 24px 80px rgba(0,0,0,0.32);
    --radius: 24px;
    --radius-small: 16px;
    --max: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% -10%, rgba(109,93,252,0.45), transparent 32rem),
        radial-gradient(circle at 80% 10%, rgba(37,214,162,0.16), transparent 28rem),
        linear-gradient(180deg, #07101d 0%, #09111d 42%, #08101a 100%);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
    margin: 0 0 1.05rem;
}

strong {
    color: var(--text);
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--brand);
    color: white;
    padding: 10px 14px;
    z-index: 100;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(8,17,31,0.76);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: white;
    box-shadow: 0 10px 35px rgba(109,93,252,0.35);
}

.brand-text {
    font-size: 1.25rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    color: var(--muted);
    font-weight: 650;
    padding: 9px 12px;
    border-radius: 999px;
}

.site-nav a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.07);
}

.site-nav .nav-cta {
    color: white;
    background: linear-gradient(135deg, var(--brand), #8c7cff);
    margin-left: 6px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    margin: 4px auto;
}

.hero {
    padding: 90px 0 58px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: 42px;
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c7c1ff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.eyebrow::before,
.section-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--brand-2);
    box-shadow: 0 0 0 6px rgba(37,214,162,0.1);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.055em;
}

h1 {
    font-size: clamp(2.65rem, 7vw, 5.8rem);
    max-width: 980px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    max-width: 860px;
}

h3 {
    font-size: 1.25rem;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    max-width: 780px;
    margin-top: 24px;
}

.hero-actions,
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 800;
    cursor: pointer;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--brand), #8c7cff);
    border-color: transparent;
    box-shadow: 0 16px 40px rgba(109,93,252,0.28);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

.btn-ghost {
    color: var(--text);
    background: transparent;
}

.btn-small {
    min-height: 38px;
    padding: 0 14px;
    font-size: .9rem;
}

.hero-helper {
    margin-top: 18px;
    max-width: 760px;
    font-size: .98rem;
}

.hero-panel {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.scan-card {
    background: rgba(4,9,18,0.45);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
}

.scan-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.status-pill {
    color: #102016;
    background: var(--brand-2);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .75rem;
    font-weight: 900;
}

.signal-list {
    display: grid;
    gap: 10px;
}

.signal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
}

.signal span {
    color: var(--muted);
}

.score {
    font-weight: 900;
}

.score.good { color: var(--brand-2); }
.score.warn { color: var(--warn); }
.score.bad { color: var(--danger); }

.panel-note {
    margin-top: 16px;
    font-size: .92rem;
}

.section {
    padding: 68px 0;
}

.section-muted {
    background: rgba(255,255,255,0.025);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section > .container > p,
.section-intro {
    max-width: 850px;
    margin-top: 18px;
    font-size: 1.08rem;
}

.feature-grid,
.product-grid,
.report-grid,
.use-grid,
.steps-grid,
.value-grid,
.resource-grid {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-grid {
    grid-template-columns: repeat(3, 1fr);
}

.report-grid,
.steps-grid,
.value-grid,
.resource-grid {
    grid-template-columns: repeat(3, 1fr);
}

.use-grid {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.product-card,
.report-card,
.use-card,
.step-card,
.value-card,
.resource-card,
.content-card {
    border: 1px solid var(--line);
    background: var(--bg-card);
    border-radius: var(--radius-small);
    padding: 22px;
}

.product-card,
.report-card,
.use-card,
.resource-card {
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.product-card:hover,
.report-card:hover,
.use-card:hover,
.resource-card:hover {
    transform: translateY(-3px);
    background: var(--bg-card-strong);
    border-color: rgba(255,255,255,0.22);
}

.feature-card strong,
.report-card strong,
.use-card strong,
.resource-card strong {
    display: block;
    margin-bottom: 8px;
}

.feature-card span,
.report-card span,
.use-card span,
.resource-card span,
.product-fit {
    color: var(--muted);
}

.product-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(109,93,252,0.95), rgba(37,214,162,0.85));
    font-weight: 900;
}

.product-card h3 {
    margin-bottom: 10px;
}

.product-card a,
.text-link {
    color: #c8c1ff;
    font-weight: 850;
}

.step-number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(109,93,252,0.18);
    color: #cbc5ff;
    font-weight: 900;
    margin-bottom: 14px;
}

.final-cta {
    text-align: center;
}

.final-cta h2,
.final-cta p,
.final-cta .hero-actions {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.page-hero {
    padding: 76px 0 36px;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.7rem);
}

.breadcrumbs {
    color: var(--muted);
    font-weight: 700;
    font-size: .92rem;
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: #cbc5ff;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.sidebar-card {
    position: sticky;
    top: 96px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: rgba(255,255,255,0.055);
    padding: 22px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    color: var(--muted);
    padding-left: 28px;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-2);
    font-weight: 900;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(2,6,13,0.5);
    padding: 46px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .8fr 1.1fr;
    gap: 28px;
}

.footer-grid h3 {
    font-size: 1rem;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.footer-grid a {
    display: block;
    color: var(--muted);
    margin: 7px 0;
}

.footer-grid a:hover {
    color: var(--text);
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-button {
    display: inline-flex !important;
    color: white !important;
    background: rgba(109,93,252,0.22);
    border: 1px solid rgba(109,93,252,0.5);
    padding: 10px 13px;
    border-radius: 999px;
    font-weight: 800;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: .9rem;
}

.cookie-banner {
    position: fixed;
    z-index: 70;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--line);
    background: rgba(8,17,31,0.96);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
}

.cookie-banner p {
    margin: 4px 0 0;
    font-size: .92rem;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    margin-top: 24px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 740px;
}

th, td {
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 14px;
    color: var(--muted);
    vertical-align: top;
}

th {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 980px) {
    .hero-grid,
    .content-layout {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .product-grid,
    .report-grid,
    .steps-grid,
    .value-grid,
    .resource-grid,
    .use-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sidebar-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, var(--max));
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: rgba(8,17,31,0.98);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 12px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        border-radius: 12px;
    }

    .site-nav .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .hero {
        padding: 58px 0 42px;
    }

    .feature-grid,
    .product-grid,
    .report-grid,
    .steps-grid,
    .value-grid,
    .resource-grid,
    .use-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-actions .btn {
        flex: 1;
    }
}
