/* ============================================================
   CyberScore – Welcome page
   Standalone stylesheet. No dependency on app.css.
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --cs-bg-deep:       #060c18;
    --cs-bg-dark:       #0a1628;
    --cs-bg-card:       #0e1e38;
    --cs-bg-card-hover: #112244;
    --cs-bg-section:    #081222;

    --cs-blue:          #0ea8ff;
    --cs-cyan:          #00d4ff;
    --cs-blue-dim:      #0569cc;
    --cs-accent:        #e63946;
    --cs-accent-hover:  #c62d39;

    --cs-text:          #c8d8e8;
    --cs-text-dim:      #7a90a8;
    --cs-text-light:    #ffffff;
    --cs-text-muted:    #4a6080;

    --cs-border:        rgba(14, 168, 255, 0.18);
    --cs-border-bright: rgba(14, 168, 255, 0.5);
    --cs-glow:          0 0 24px rgba(14, 168, 255, 0.25);
    --cs-glow-strong:   0 0 40px rgba(14, 168, 255, 0.4);

    --cs-font:          'Montserrat', 'Segoe UI', system-ui, sans-serif;
    --cs-radius:        12px;
    --cs-radius-sm:     8px;
    --cs-transition:    0.25s ease;
}

/* ── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--cs-font);
    background-color: var(--cs-bg-deep);
    color: var(--cs-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--cs-blue); text-decoration: none; }
a:hover { color: var(--cs-cyan); }

/* ── Grid background pattern ────────────────────────────────── */
.cs-grid-bg {
    background-image:
        linear-gradient(rgba(14, 168, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 168, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.cs-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    background: rgba(6, 12, 24, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cs-border);
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.cs-nav__inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cs-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--cs-text-light);
    white-space: nowrap;
}

.cs-nav__brand-icon {
    color: var(--cs-blue);
    font-size: 1.4rem;
}

.cs-nav__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.cs-nav__links a {
    color: var(--cs-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--cs-transition);
}

.cs-nav__links a:hover { color: var(--cs-cyan); }

.cs-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.3rem;
    border-radius: var(--cs-radius-sm);
    font-family: var(--cs-font);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all var(--cs-transition);
    white-space: nowrap;
    text-decoration: none;
}

.cs-btn--primary {
    background: linear-gradient(135deg, #0ea8ff 0%, #00d4ff 100%);
    color: #060c18;
}

.cs-btn--primary:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #0ea8ff 100%);
    color: #060c18;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(14, 168, 255, 0.45);
}

.cs-btn--outline {
    background: transparent;
    color: var(--cs-blue);
    border: 1px solid var(--cs-border-bright);
}

.cs-btn--outline:hover {
    background: rgba(14, 168, 255, 0.1);
    color: var(--cs-cyan);
    border-color: var(--cs-cyan);
}

.cs-btn--ghost {
    background: transparent;
    color: var(--cs-text);
    border: 1px solid var(--cs-border);
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.cs-btn--ghost:hover {
    background: rgba(14, 168, 255, 0.08);
    color: var(--cs-text-light);
    border-color: var(--cs-border-bright);
}

.cs-btn--lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

/* ── Section wrapper ────────────────────────────────────────── */
.cs-section {
    padding: 90px 1.5rem;
}

.cs-section--dark { background: var(--cs-bg-dark); }
.cs-section--deeper { background: var(--cs-bg-section); }
.cs-section--card-bg { background: var(--cs-bg-deep); }

.cs-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.cs-container--pricing {
    max-width: 1480px;
}

.cs-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cs-blue);
    margin-bottom: 0.75rem;
}

.cs-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--cs-text-light);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.cs-section-sub {
    font-size: 1.05rem;
    color: var(--cs-text-dim);
    max-width: 620px;
}

/* ── Hero ───────────────────────────────────────────────────── */
.cs-hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    padding: 80px 1.5rem;
    background: var(--cs-bg-deep);
    position: relative;
    overflow: hidden;
}

.cs-hero__glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 168, 255, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.cs-hero__glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.07) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    top: auto;
    right: auto;
}

.cs-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.cs-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cs-cyan);
    background: rgba(0, 212, 255, 0.08);
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.12);
    animation: cs-badge-glow 3s ease-in-out infinite;
}

/* gradient border — flowing energy via mask trick */
.cs-hero__badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        90deg,
        rgba(0, 212, 255, 0.08) 0%,
        rgba(0, 212, 255, 0.55) 38%,
        rgba(200, 245, 255, 0.85) 50%,
        rgba(0, 212, 255, 0.55) 62%,
        rgba(0, 212, 255, 0.08) 100%
    );
    background-size: 300% 100%;
    background-repeat: no-repeat;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: cs-badge-border-flow 6s linear infinite;
    pointer-events: none;
}

/* shimmer sweep */
.cs-hero__badge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(0, 212, 255, 0.18) 50%,
        transparent 70%
    );
    transform: translateX(-120%);
    animation: cs-badge-shimmer 5.5s ease-in-out infinite;
    pointer-events: none;
}

.cs-hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cs-cyan);
    animation: cs-pulse 2s infinite;
}

.cs-hero__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--cs-text-light);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.cs-hero__title span {
    background: linear-gradient(135deg, var(--cs-blue), var(--cs-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cs-hero__sub {
    font-size: 1.1rem;
    color: var(--cs-text-dim);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.7;
}

.cs-hero__cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cs-hero__visual {
    position: relative;
}

.cs-hero__mockup {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 1.25rem;
    box-shadow: var(--cs-glow), 0 32px 64px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.cs-hero__mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 168, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cs-mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cs-border);
}

.cs-mockup-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
    animation: cs-pulse 2s infinite;
    flex-shrink: 0;
}

.cs-mockup-url {
    margin-left: 0.5rem;
    font-size: 0.7rem;
    color: var(--cs-text-muted);
    font-family: monospace;
}

.cs-mockup-stat {
    background: rgba(14, 168, 255, 0.06);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cs-mockup-stat__label {
    font-size: 0.75rem;
    color: var(--cs-text-dim);
}

.cs-mockup-stat__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cs-blue);
}

.cs-mockup-stat__badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-weight: 600;
}

.cs-mockup-stat__badge--ok {
    background: rgba(25, 135, 84, 0.2);
    color: #4ade80;
}

.cs-mockup-stat__badge--warn {
    background: rgba(255, 193, 7, 0.2);
    color: #fbbf24;
}

.cs-mockup-stat__badge--crit {
    background: rgba(220, 53, 69, 0.2);
    color: #f87171;
}

.cs-mockup-progress {
    margin-top: 0.75rem;
}

.cs-mockup-progress__label {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--cs-text-dim);
    margin-bottom: 0.3rem;
}

.cs-mockup-progress__bar {
    height: 4px;
    background: rgba(14, 168, 255, 0.15);
    border-radius: 100px;
    overflow: hidden;
}

.cs-mockup-progress__fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan));
    animation: cs-progress-load 1.5s ease forwards;
}

/* ── RAT mockup (hero visual) ───────────────────────────────── */
.cs-rat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    background: rgba(14, 168, 255, 0.06);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    margin-bottom: 0.75rem;
}

.cs-rat-header__title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cs-text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cs-rat-header__title i {
    color: var(--cs-blue);
}

.cs-rat-header__appetite {
    font-size: 0.7rem;
    color: var(--cs-text-muted);
    white-space: nowrap;
}

.cs-rat-header__appetite strong {
    color: var(--cs-cyan);
}

.cs-rat-layout {
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 0.75rem;
    align-items: start;
}

/* Asset cards */
.cs-rat-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cs-rat-card {
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    overflow: hidden;
}

.cs-rat-card--danger { border-left: 3px solid #f87171; }
.cs-rat-card--success { border-left: 3px solid #4ade80; }

.cs-rat-card__header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.65rem;
    background: rgba(14, 168, 255, 0.04);
    border-bottom: 1px solid var(--cs-border);
}

.cs-rat-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cs-rat-status-dot--danger  { background: #f87171; box-shadow: 0 0 6px rgba(248, 113, 113, 0.6); }
.cs-rat-status-dot--success { background: #4ade80; box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); }

.cs-rat-card__name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cs-text-light);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cs-rat-card__scores {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cs-rat-score-label {
    font-size: 0.65rem;
    color: var(--cs-text-muted);
}

.cs-rat-score-label strong { color: var(--cs-text); }
.cs-rat-score-label--residual strong { color: var(--cs-cyan); }

.cs-rat-card__body {
    padding: 0.5rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Value row (criticality / probability / impact / risk) */
.cs-rat-value-row {
    display: flex;
    gap: 0.35rem;
}

.cs-rat-val-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(14, 168, 255, 0.05);
    border: 1px solid var(--cs-border);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    min-width: 38px;
}

.cs-rat-val-block--risk {
    background: rgba(220, 53, 69, 0.12);
    border-color: rgba(248, 113, 113, 0.3);
}

.cs-rat-val-block--safe {
    background: rgba(25, 135, 84, 0.12);
    border-color: rgba(74, 222, 128, 0.3);
}

.cs-rat-val-label {
    font-size: 0.55rem;
    color: var(--cs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.cs-rat-val-content {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cs-text-light);
}

/* Threat / vuln chips */
.cs-rat-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
}

.cs-rat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 100px;
    border: 1px solid var(--cs-border);
    color: var(--cs-text-dim);
    background: rgba(14, 168, 255, 0.05);
    white-space: nowrap;
}

.cs-rat-chip--label {
    background: none;
    border: none;
    color: var(--cs-text-muted);
    font-size: 0.6rem;
    padding: 0;
    font-weight: 400;
}

.cs-rat-chip--danger {
    background: rgba(220, 53, 69, 0.12);
    border-color: rgba(248, 113, 113, 0.3);
    color: #f87171;
}

.cs-rat-chip--warning {
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.cs-rat-chip--success {
    background: rgba(25, 135, 84, 0.12);
    border-color: rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.cs-rat-chip__val {
    opacity: 0.7;
    font-weight: 400;
}

/* Sidebar */
.cs-rat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cs-rat-sidebar__section {
    background: rgba(14, 168, 255, 0.04);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    padding: 0.6rem 0.65rem;
}

.cs-rat-sidebar__title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--cs-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.cs-rat-sidebar__appetite {
    display: block;
    font-size: 0.58rem;
    color: var(--cs-text-muted);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    margin-top: 0.1rem;
}

.cs-rat-sidebar__counter {
    font-size: 1rem;
    font-weight: 800;
    color: var(--cs-blue);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.cs-rat-progress-bar {
    height: 4px;
    background: rgba(14, 168, 255, 0.15);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.cs-rat-progress-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan));
    animation: cs-progress-load 1.5s ease forwards;
}

.cs-rat-sidebar__label {
    font-size: 0.6rem;
    color: var(--cs-text-muted);
}

.cs-rat-asset-chips {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cs-rat-asset-chip {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    border: 1px solid var(--cs-border);
    color: var(--cs-text-dim);
}

.cs-rat-asset-chip--danger {
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.cs-rat-asset-chip--success {
    background: rgba(25, 135, 84, 0.08);
    border-color: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

/* ── Benefit cards ──────────────────────────────────────────── */
.cs-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.cs-card {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 2rem 1.5rem;
    transition: all var(--cs-transition);
    position: relative;
    overflow: hidden;
}

.cs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cs-blue), transparent);
    opacity: 0;
    transition: opacity var(--cs-transition);
}

.cs-card:hover {
    border-color: var(--cs-border-bright);
    background: var(--cs-bg-card-hover);
    box-shadow: var(--cs-glow);
    transform: translateY(-4px);
}

.cs-card:hover::before { opacity: 1; }

.cs-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--cs-radius-sm);
    background: rgba(14, 168, 255, 0.1);
    border: 1px solid rgba(14, 168, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--cs-blue);
    margin-bottom: 1.25rem;
    transition: all var(--cs-transition);
}

.cs-card:hover .cs-card__icon {
    background: rgba(14, 168, 255, 0.18);
    box-shadow: 0 0 20px rgba(14, 168, 255, 0.3);
    color: var(--cs-cyan);
}

.cs-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cs-text-light);
    margin-bottom: 0.6rem;
}

.cs-card__text {
    font-size: 0.875rem;
    color: var(--cs-text-dim);
    line-height: 1.65;
}

/* ── Feature list ───────────────────────────────────────────── */
.cs-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 3rem;
    margin-top: 2.5rem;
}

.cs-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(14, 168, 255, 0.06);
}

.cs-feature-item__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(14, 168, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--cs-blue);
    font-size: 0.65rem;
    margin-top: 0.1rem;
}

.cs-feature-item__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cs-text-light);
    margin-bottom: 0.15rem;
}

.cs-feature-item__desc {
    font-size: 0.8rem;
    color: var(--cs-text-dim);
}

/* ── Headline strike accent ─────────────────────────────────── */
.cs-headline-strike {
    position: relative;
    color: var(--cs-cyan);
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.cs-headline-strike::after {
    content: '';
    position: absolute;
    left: -4%;
    right: -4%;
    top: 52%;
    height: 3px;
    background: var(--cs-accent);
    border-radius: 3px;
    transform: rotate(-3deg);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.45);
}

/* ── Stat strip ─────────────────────────────────────────────── */
.cs-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 2.5rem auto 0;
    max-width: 880px;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(14, 168, 255, 0.06), rgba(0, 212, 255, 0.04));
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
}

.cs-stat-strip__item {
    text-align: center;
    padding: 0.25rem 0.5rem;
    border-right: 1px solid var(--cs-border);
}

.cs-stat-strip__item:last-child { border-right: 0; }

.cs-stat-strip__item strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--cs-blue), var(--cs-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.cs-stat-strip__item span {
    font-size: 0.78rem;
    color: var(--cs-text-dim);
}

/* ── How it works: workflow timeline ────────────────────────── */
.cs-flow {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 3rem 0 4rem;
    counter-reset: cs-flow;
    position: relative;
}

.cs-flow__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -14px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid var(--cs-border-bright);
    z-index: 2;
}

.cs-flow::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--cs-border-bright) 12%,
        var(--cs-border-bright) 88%,
        transparent 100%);
    z-index: 0;
}

.cs-flow__step {
    position: relative;
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 2rem 1.25rem 1.5rem;
    text-align: center;
    transition: all var(--cs-transition);
    z-index: 1;
}

.cs-flow__step:hover {
    border-color: var(--cs-border-bright);
    box-shadow: var(--cs-glow);
    transform: translateY(-3px);
}

.cs-flow__num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cs-blue), var(--cs-cyan));
    color: var(--cs-bg-deep);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(14, 168, 255, 0.4);
}

.cs-flow__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    border-radius: 12px;
    background: rgba(14, 168, 255, 0.1);
    border: 1px solid var(--cs-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-cyan);
    font-size: 1.3rem;
}

.cs-flow__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cs-text-light);
    margin: 0 0 0.5rem;
}

.cs-flow__text {
    font-size: 0.8rem;
    color: var(--cs-text-dim);
    line-height: 1.55;
    margin: 0;
}

/* ── How it works: 4 modules deep-dive ──────────────────────── */
.cs-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.cs-module {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--cs-transition);
}

.cs-module:hover {
    border-color: var(--cs-border-bright);
    box-shadow: var(--cs-glow);
    transform: translateY(-3px);
}

.cs-module__visual {
    background: linear-gradient(160deg, rgba(14, 168, 255, 0.05) 0%, transparent 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--cs-border);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-module__body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.cs-module__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.cs-module__tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cs-cyan);
    background: rgba(0, 212, 255, 0.08);
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
}

.cs-module__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #2ee06b;
    background: rgba(46, 224, 107, 0.1);
    border: 1px solid rgba(46, 224, 107, 0.25);
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
}

.cs-module__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cs-text-light);
    margin: 0 0 0.6rem;
}

.cs-module__lead {
    font-size: 0.88rem;
    color: var(--cs-text-dim);
    line-height: 1.55;
    margin: 0 0 1rem;
}

.cs-module__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cs-module__list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--cs-text);
}

.cs-module__list .check { color: var(--cs-blue); }

/* ── Module visual: form mockup ─────────────────────────────── */
.cs-mod-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cs-mod-form__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    font-size: 0.8rem;
}

.cs-mod-form__row--accent {
    background: rgba(14, 168, 255, 0.08);
    border-color: var(--cs-border-bright);
}

.cs-mod-form__label {
    color: var(--cs-text-dim);
}

.cs-mod-form__pill {
    font-weight: 700;
    color: var(--cs-text-light);
    background: rgba(14, 168, 255, 0.12);
    padding: 0.1rem 0.55rem;
    border-radius: 100px;
    font-size: 0.72rem;
}

.cs-mod-form__pill--accent {
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan));
    color: var(--cs-bg-deep);
}

.cs-mod-form__rg {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.25rem;
}

.cs-rg {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cs-rg--vlow  { background: rgba(46, 224, 107, 0.15); color: #6ce896; }
.cs-rg--low   { background: rgba(99, 213, 159, 0.15); color: #8fdfb4; }
.cs-rg--med   { background: rgba(255, 209, 102, 0.15); color: #ffd166; }
.cs-rg--high  { background: rgba(255, 153, 102, 0.18); color: #ff9966; }
.cs-rg--vhigh { background: rgba(255, 99, 99, 0.18); color: #ff6363; }
.cs-rg--crit  { background: rgba(220, 38, 78, 0.22); color: #f25c80; }

/* ── Module visual: asset tree mockup ───────────────────────── */
.cs-mod-tree {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.cs-mod-tree__col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    padding: 0.6rem 0.5rem;
    min-width: 0;
}

.cs-mod-tree__head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cs-text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cs-mod-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cs-mod-dot--purple { background: #a855f7; }
.cs-mod-dot--gray   { background: #94a3b8; }
.cs-mod-dot--green  { background: #2ee06b; }

.cs-mod-tree__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cs-mod-tree__list li {
    font-size: 0.75rem;
    color: var(--cs-text);
    background: rgba(14, 168, 255, 0.06);
    border-left: 2px solid var(--cs-border-bright);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

/* ── Module visual: threat-control graph mockup ─────────────── */
.cs-mod-graph {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cs-mod-graph__row {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    gap: 0.5rem;
}

.cs-mod-node {
    padding: 0.4rem 0.7rem;
    border-radius: var(--cs-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--cs-border);
}

.cs-mod-node--threat {
    background: rgba(255, 99, 99, 0.12);
    color: #ff8484;
    border-color: rgba(255, 99, 99, 0.3);
}

.cs-mod-node--ctrl {
    background: rgba(14, 168, 255, 0.12);
    color: var(--cs-cyan);
    border-color: var(--cs-border-bright);
}

.cs-mod-node--cve {
    background: rgba(255, 209, 102, 0.12);
    color: #ffd166;
    border-color: rgba(255, 209, 102, 0.3);
}

.cs-mod-line {
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 99, 99, 0.4), rgba(14, 168, 255, 0.4));
    position: relative;
}

.cs-mod-line::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--cs-cyan);
    border-right: 2px solid var(--cs-cyan);
    rotate: 45deg;
}

/* ── Module visual: results & treatment mockup ──────────────── */
.cs-mod-rat {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.cs-mod-rat__card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: var(--cs-radius-sm);
    border: 1px solid var(--cs-border);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.78rem;
}

.cs-mod-rat__card--danger {
    border-left: 3px solid #ff6363;
}

.cs-mod-rat__card--success {
    border-left: 3px solid #2ee06b;
}

.cs-mod-rat__name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--cs-text-light);
}

.cs-mod-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cs-mod-status--danger  { background: #ff6363; box-shadow: 0 0 8px rgba(255, 99, 99, 0.6); }
.cs-mod-status--success { background: #2ee06b; box-shadow: 0 0 8px rgba(46, 224, 107, 0.6); }

.cs-mod-rat__scores {
    display: flex;
    gap: 0.75rem;
    font-size: 0.72rem;
    color: var(--cs-text-dim);
}

.cs-mod-rat__scores strong {
    color: var(--cs-text-light);
    margin-left: 0.25rem;
}

.cs-mod-rat__residual {
    color: var(--cs-cyan);
}

.cs-mod-rat__progress {
    margin-top: 0.5rem;
    padding: 0.7rem 0.8rem;
    background: rgba(14, 168, 255, 0.06);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
}

.cs-mod-rat__progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--cs-text-dim);
    margin-bottom: 0.4rem;
}

.cs-mod-rat__progress-head strong {
    color: var(--cs-text-light);
    font-size: 0.85rem;
}

.cs-mod-rat__bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.cs-mod-rat__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan));
    border-radius: 100px;
}

/* ── Inline CTA ─────────────────────────────────────────────── */
.cs-inline-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(14, 168, 255, 0.08), rgba(0, 212, 255, 0.04));
    border: 1px solid var(--cs-border-bright);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-glow);
}

.cs-inline-cta__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cs-inline-cta__text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cs-text-light);
}

.cs-inline-cta__text span {
    font-size: 0.85rem;
    color: var(--cs-text-dim);
}

.cs-inline-cta__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ── Compliance strip ───────────────────────────────────────── */
.cs-compliance {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(14, 168, 255, 0.04), rgba(0, 212, 255, 0.04));
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    text-align: center;
}

.cs-compliance__head {
    max-width: 620px;
}

.cs-compliance__label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--cs-text-light);
    margin-bottom: 0.5rem;
}

.cs-compliance__sub {
    font-size: 0.85rem;
    color: var(--cs-text-dim);
    margin: 0;
    line-height: 1.55;
}

.cs-compliance__badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.cs-compliance__badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.05rem;
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border-bright);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cs-text-light);
    transition: all var(--cs-transition);
}

.cs-compliance__badges li:hover {
    background: rgba(14, 168, 255, 0.08);
    box-shadow: var(--cs-glow);
}

.cs-compliance__badges i {
    color: var(--cs-cyan);
}

/* ── Billing toggle ─────────────────────────────────────────── */
.cs-billing-toggle {
    display: flex;
    gap: 0.25rem;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 0.3rem;
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: 999px;
}

.cs-billing-toggle__btn {
    border: 0;
    background: transparent;
    color: var(--cs-text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--cs-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cs-billing-toggle__btn:hover { color: var(--cs-text-light); }

.cs-billing-toggle__btn.is-active {
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan));
    color: var(--cs-bg-deep);
}

.cs-billing-toggle__save {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(0, 200, 120, 0.15);
    color: #2ee06b;
    padding: 0.1rem 0.45rem;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.cs-billing-toggle__btn.is-active .cs-billing-toggle__save {
    background: rgba(0, 0, 0, 0.18);
    color: var(--cs-bg-deep);
}

/* ── Pricing ────────────────────────────────────────────────── */
.cs-pricing {
    display: grid;
    grid-template-columns: 1fr 1.08fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
    margin-top: 3rem;
}

.cs-pricing--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.cs-pricing--4 .cs-plan {
    padding: 1.75rem 1.35rem;
}

/* Billing mode visibility */
.cs-pricing[data-billing="monthly"] .cs-price--yearly,
.cs-pricing[data-billing="yearly"] .cs-price--monthly { display: none; }

.cs-plan__note .cs-price--monthly,
.cs-plan__note .cs-price--yearly { display: inline; }
.cs-pricing[data-billing="monthly"] .cs-plan__note .cs-price--yearly,
.cs-pricing[data-billing="yearly"] .cs-plan__note .cs-price--monthly { display: none; }

/* Accent plan (Consultancy) */
.cs-plan--accent {
    background: linear-gradient(160deg, #1a1230 0%, #120a22 100%);
    border-color: rgba(168, 85, 247, 0.45);
    border-width: 2px;
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.18);
}

.cs-plan--accent:hover {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.32);
}

.cs-plan__badge--accent {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff;
}

.cs-btn--accent {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff;
    border: 0;
}

.cs-btn--accent:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 22px rgba(168, 85, 247, 0.35);
}

.cs-plan {
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 2rem 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all var(--cs-transition);
}

.cs-plan::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 212, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 65%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 65%);
    pointer-events: none;
}

.cs-plan::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), transparent 36%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--cs-transition);
}

.cs-plan > * {
    position: relative;
    z-index: 1;
}

.cs-plan:hover {
    border-color: var(--cs-border-bright);
    box-shadow: var(--cs-glow);
}

.cs-plan:hover::after {
    opacity: 1;
}

.cs-plan--featured {
    background: linear-gradient(160deg, #0e2040 0%, #091628 100%);
    border-color: var(--cs-blue-dim);
    border-width: 2px;
    box-shadow: var(--cs-glow);
}

.cs-plan.cs-plan--accent {
    background: linear-gradient(160deg, #17172b 0%, #100d1f 100%);
    border-color: rgba(168, 85, 247, 0.48);
    border-width: 2px;
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.18);
}

.cs-plan.cs-plan--accent::after {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), transparent 38%);
}

.cs-plan--featured:hover {
    box-shadow: var(--cs-glow-strong);
}

.cs-plan.cs-plan--accent:hover {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.32);
}

.cs-plan__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan));
    color: var(--cs-bg-deep);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.9rem;
    border-radius: 100px;
    white-space: nowrap;
    z-index: 2;
}

.cs-plan__name {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cs-text-dim);
    margin-bottom: 0.75rem;
}

.cs-plan__name::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--cs-blue);
    box-shadow: 0 0 12px rgba(14, 168, 255, 0.7);
}

.cs-plan--accent .cs-plan__name::before {
    background: #ec4899;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.65);
}

.cs-plan__price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cs-text-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.cs-plan__price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--cs-text-dim);
}

.cs-plan__note {
    font-size: 0.75rem;
    color: var(--cs-text-muted);
    margin-bottom: 1.5rem;
}

.cs-plan__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cs-border-bright), transparent);
    margin: 1.25rem 0;
}

.cs-plan__group-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cs-cyan);
    margin: 0.95rem 0 0.45rem;
}

.cs-plan__group-label::before {
    content: "";
    width: 0.55rem;
    height: 1px;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

.cs-plan__group-label--muted {
    color: var(--cs-text-muted);
}

.cs-plan__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 0;
    margin-bottom: 0.25rem;
}

.cs-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.42rem 0;
    border-bottom: 1px solid rgba(122, 144, 168, 0.1);
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--cs-text);
}

.cs-plan__features li:last-child {
    border-bottom: 0;
}

.cs-plan__features:last-of-type {
    margin-bottom: 1.25rem;
}

.cs-plan__features li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border: 1px solid rgba(14, 168, 255, 0.25);
    border-radius: 6px;
    background: rgba(14, 168, 255, 0.08);
    font-size: 0.72rem;
    flex-shrink: 0;
    margin-top: 0.12rem;
}

.cs-plan__features strong {
    color: var(--cs-text-light);
    font-weight: 700;
}

.cs-plan__features .check {
    color: var(--cs-cyan);
    box-shadow: 0 0 14px rgba(14, 168, 255, 0.12);
}

.cs-plan__features .cross {
    color: var(--cs-text-muted);
    background: rgba(122, 144, 168, 0.05);
    border-color: rgba(122, 144, 168, 0.14);
    box-shadow: none;
}

.cs-plan__features .cross ~ * { color: var(--cs-text-muted); }
.cs-plan__features li:has(.cross) { opacity: 0.45; }

.cs-plan__btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.cs-pricing-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--cs-text-muted);
}

/* ── Trust section ──────────────────────────────────────────── */
.cs-trust-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cs-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(14, 168, 255, 0.04);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
}

.cs-pillar__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--cs-radius-sm);
    background: rgba(14, 168, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-blue);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.cs-pillar__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cs-text-light);
    margin-bottom: 0.3rem;
}

.cs-pillar__text {
    font-size: 0.82rem;
    color: var(--cs-text-dim);
    line-height: 1.55;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.cs-cta-banner {
    background: linear-gradient(135deg, #0a1e3a 0%, var(--cs-bg-deep) 100%);
    border-top: 1px solid var(--cs-border);
    border-bottom: 1px solid var(--cs-border);
    padding: 80px 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cs-cta-banner::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 168, 255, 0.08) 0%, transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cs-cta-banner__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--cs-text-light);
    margin-bottom: 0.75rem;
    position: relative;
}

.cs-cta-banner__sub {
    font-size: 1rem;
    color: var(--cs-text-dim);
    margin-bottom: 2rem;
    position: relative;
}

.cs-cta-banner__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

/* ── Footer ─────────────────────────────────────────────────── */
.cs-footer {
    background: var(--cs-bg-section);
    border-top: 1px solid var(--cs-border);
    padding: 56px 1.5rem 32px;
}

.cs-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.cs-footer__brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cs-text-light);
    margin-bottom: 0.5rem;
}

.cs-footer__tagline {
    font-size: 0.82rem;
    color: var(--cs-text-dim);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.cs-footer__version {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: var(--cs-text-muted);
    background: rgba(14, 168, 255, 0.06);
    border: 1px solid var(--cs-border);
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
    font-family: monospace;
}

.cs-footer__col-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cs-text-dim);
    margin-bottom: 1rem;
}

.cs-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cs-footer__links a {
    font-size: 0.85rem;
    color: var(--cs-text-dim);
    transition: color var(--cs-transition);
}

.cs-footer__links a:hover { color: var(--cs-blue); }

.cs-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cs-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cs-footer__copy {
    font-size: 0.78rem;
    color: var(--cs-text-muted);
}

/* ── Mobile toggle ──────────────────────────────────────────── */
.cs-nav__toggle {
    display: none;
    background: none;
    border: 1px solid var(--cs-border);
    color: var(--cs-text);
    padding: 0.35rem 0.6rem;
    border-radius: var(--cs-radius-sm);
    cursor: pointer;
    font-size: 1rem;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes cs-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

@keyframes cs-progress-load {
    from { width: 0; }
}

@keyframes cs-badge-border-flow {
    0%   { background-position: -50% 0; }
    100% { background-position: 150% 0; }
}

/*@keyframes cs-badge-shimmer {*/
/*    0%   { transform: translateX(-120%); }*/
/*    40%  { transform: translateX(220%); }*/
/*    100% { transform: translateX(220%); }*/
/*}*/

@keyframes cs-badge-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.12); }
    50%       { box-shadow: 0 0 18px rgba(0, 212, 255, 0.28); }
}

@keyframes cs-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cs-animate {
    animation: cs-fade-up 0.6s ease forwards;
    opacity: 0;
}

.cs-animate--d1 { animation-delay: 0.1s; }
.cs-animate--d2 { animation-delay: 0.2s; }
.cs-animate--d3 { animation-delay: 0.3s; }
.cs-animate--d4 { animation-delay: 0.4s; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1440px) {
    .cs-pricing--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1024px) {
    .cs-benefits { grid-template-columns: repeat(2, 1fr); }
    .cs-pricing  { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .cs-pricing--4 { grid-template-columns: 1fr; max-width: 480px; }
    .cs-plan--featured { order: -1; }
    .cs-plan--accent { order: -1; }

    .cs-flow {
        grid-template-columns: repeat(2, 1fr);
    }
    .cs-flow::before { display: none; }
    .cs-flow__step::after { display: none !important; }
    .cs-modules { grid-template-columns: 1fr; }
    .cs-stat-strip { grid-template-columns: repeat(2, 1fr); }
    .cs-stat-strip__item:nth-child(2) { border-right: 0; }
}

@media (max-width: 768px) {
    .cs-nav__links  { display: none; }
    .cs-nav__toggle { display: block; }
    .cs-nav__links.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(6, 12, 24, 0.97);
        border-bottom: 1px solid var(--cs-border);
        padding: 1.5rem;
        gap: 1rem;
    }

    .cs-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .cs-hero__sub  { margin-left: auto; margin-right: auto; }
    .cs-hero__cta  { justify-content: center; }

    .cs-section { padding: 64px 1.25rem; }

    .cs-benefits        { grid-template-columns: 1fr; }
    .cs-features        { grid-template-columns: 1fr; gap: 0; }
    .cs-trust-pillars   { grid-template-columns: 1fr; }
    .cs-flow            { grid-template-columns: 1fr; }
    .cs-mod-tree        { grid-template-columns: 1fr; }
    .cs-compliance__badges li { font-size: 0.75rem; padding: 0.45rem 0.85rem; }
    .cs-stat-strip      { grid-template-columns: 1fr; }
    .cs-stat-strip__item { border-right: 0; border-bottom: 1px solid var(--cs-border); padding-bottom: 0.75rem; }
    .cs-stat-strip__item:last-child { border-bottom: 0; padding-bottom: 0; }
    .cs-inline-cta      { flex-direction: column; align-items: stretch; text-align: center; padding: 1.5rem 1.25rem; }
    .cs-inline-cta__actions { justify-content: center; }
    .cs-inline-cta__actions .cs-btn { flex: 1; justify-content: center; }

    .cs-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .cs-footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .cs-hero { padding: 60px 1rem; }
    .cs-footer__inner { grid-template-columns: 1fr; }
    .cs-hero__cta { flex-direction: column; width: 100%; }
    .cs-hero__cta .cs-btn { width: 100%; justify-content: center; }
    .cs-cta-banner__actions .cs-btn { width: 100%; }
    .cs-cta-banner__actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
}
