/* ================================================================
   LANDING PAGE STYLES — 51 Insights
   Hero, dashboard, ticker, bento, research preview, testimonial, IaaS, CTA
   ================================================================ */

/* Light mode — landing-specific overrides */
[data-theme="light"] .hero h1 .gradient-text {
    background: linear-gradient(135deg, #0A06E5 0%, #2563eb 50%, #0A06E5 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
[data-theme="light"] .hero-glow { background: radial-gradient(ellipse, rgba(10,6,229,0.06) 0%, transparent 70%); }
[data-theme="light"] .hero-terminal {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 20px 60px rgba(0,0,0,0.12), 0 0 120px rgba(10,6,229,0.04);
}
[data-theme="light"] .dash-chart-bar { background: rgba(10,6,229,0.15); }
[data-theme="light"] .dash-chart-bar:hover { background: rgba(37,99,235,0.3); }
[data-theme="light"] .dash-tab.active { background: rgba(0,0,0,0.05); }
[data-theme="light"] .dash-sidebar-item:hover { background: rgba(0,0,0,0.04); }
[data-theme="light"] .dash-sidebar-item.active { background: rgba(10,6,229,0.08); }
[data-theme="light"] .bento-card { box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(0,0,0,0.06); }
[data-theme="light"] .bento-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(0,0,0,0.08); }
[data-theme="light"] .bento-card--terminal { background: linear-gradient(180deg, rgba(22,163,74,0.03) 0%, var(--surface) 100%); }
[data-theme="light"] .bento-card--research { background: linear-gradient(180deg, rgba(37,99,235,0.03) 0%, var(--surface) 100%); }
[data-theme="light"] .bento-product-name--terminal {
    background: rgba(22,163,74,0.06); color: #16a34a; box-shadow: inset 0 0 0 1px rgba(22,163,74,0.15);
}
[data-theme="light"] .bento-product-name--research {
    background: rgba(37,99,235,0.06); color: #2563eb; box-shadow: inset 0 0 0 1px rgba(37,99,235,0.15);
}
[data-theme="light"] .bento-expand-check { background: rgba(22,163,74,0.1); }
[data-theme="light"] .bento-expand-check svg { color: #16a34a; }
[data-theme="light"] .bento-hero-left,
[data-theme="light"] .bento-hero-right { background: linear-gradient(180deg, rgba(10,6,229,0.04) 0%, transparent 50%), var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(0,0,0,0.06); }
[data-theme="light"] .bento-hero-left::before { background: linear-gradient(90deg, transparent, #16a34a 30%, rgba(22,163,74,0.5) 70%, transparent); }
[data-theme="light"] .bento-hero-right::before { background: linear-gradient(90deg, transparent, #2563eb 30%, #0A06E5 70%, transparent); }
[data-theme="light"] .bento-third { box-shadow: 0 1px 2px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(0,0,0,0.05); }
[data-theme="light"] .coverage-card { box-shadow: 0 1px 2px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(0,0,0,0.06); }
[data-theme="light"] .coverage-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(0,0,0,0.08); }
[data-theme="light"] .trust-logo { color: #999; }
[data-theme="light"] .trust-logo:hover { color: #555; }
[data-theme="light"] .research-preview { box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(0,0,0,0.06); }
[data-theme="light"] .research-preview-badge { background: rgba(10,6,229,0.08); color: #0A06E5; }
[data-theme="light"] .research-preview-tag { background: rgba(0,0,0,0.04); }
[data-theme="light"] .research-preview-unlock { background: rgba(10,6,229,0.06); border-color: rgba(10,6,229,0.15); color: #0A06E5; }
[data-theme="light"] .testimonial-quote::before { background: linear-gradient(90deg, #0A06E5, #2563eb); }
[data-theme="light"] .iaas-section { background: var(--surface); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .iaas-grid { background: rgba(0,0,0,0.06); }
[data-theme="light"] .iaas-card-icon--research { background: rgba(10,6,229,0.06); box-shadow: inset 0 0 0 1px rgba(10,6,229,0.12); }
[data-theme="light"] .iaas-card-icon--intel { background: rgba(37,99,235,0.06); box-shadow: inset 0 0 0 1px rgba(37,99,235,0.12); }
[data-theme="light"] .iaas-card-icon--competitive { background: rgba(22,163,74,0.06); box-shadow: inset 0 0 0 1px rgba(22,163,74,0.12); }
[data-theme="light"] .final-cta-glow { background: radial-gradient(ellipse, rgba(10,6,229,0.04) 0%, transparent 70%); }
[data-theme="light"] .dash-card-change.negative { color: var(--brand-red); }
[data-theme="light"] .ticker-change.down { color: var(--brand-red); }

/* Theme transition — landing-specific elements */
html[data-theme] .bento-card, html[data-theme] .iaas-card, html[data-theme] .iaas-section,
html[data-theme] .coverage-card, html[data-theme] .research-preview, html[data-theme] .hero-terminal {
    transition: background-color 0.3s ease, color 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    padding: 140px 0 40px;
    position: relative;
    overflow: hidden;
}
.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}
.hero-eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand-green);
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.0;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--brand-light) 0%, #fff 50%, var(--brand-light) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.hero-sub {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero Terminal Preview */
.hero-terminal {
    margin-top: 64px;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 0 0 1px var(--border-subtle),
        0 20px 60px rgba(0,0,0,0.5),
        0 0 120px rgba(10,6,229,0.08);
}
.hero-terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--elevated);
    border-bottom: 1px solid var(--border-subtle);
}
.hero-terminal-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border-default);
}
.hero-terminal-dot:nth-child(1) { background: #ff5f57; }
.hero-terminal-dot:nth-child(2) { background: #febc2e; }
.hero-terminal-dot:nth-child(3) { background: #28c840; }
.hero-terminal-url {
    flex: 1;
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-faint);
}
.hero-terminal-body {
    background: var(--surface);
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

/* Hero ambient glow */
.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(10,6,229,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ================================================================
   DASHBOARD MOCKUP
   ================================================================ */
.dash {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 420px;
}
.dash-sidebar {
    background: var(--elevated);
    border-right: 1px solid var(--border-subtle);
    padding: 16px 12px;
}
.dash-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.2s var(--ease-out);
    cursor: default;
}
.dash-sidebar-item:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
}
.dash-sidebar-item.active {
    background: rgba(10,6,229,0.12);
    color: var(--text-primary);
}
.dash-sidebar-icon {
    width: 16px; height: 16px;
    border-radius: 4px;
    background: var(--border-subtle);
    flex-shrink: 0;
}
.dash-sidebar-item.active .dash-sidebar-icon {
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
}
.dash-sidebar-section {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 12px 6px;
}

.dash-main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    background: var(--elevated);
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    width: 280px;
}
.dash-search-icon {
    width: 14px; height: 14px;
    color: var(--text-faint);
}
.dash-search span {
    font-size: 12px;
    color: var(--text-faint);
}
.dash-tabs {
    display: flex;
    gap: 2px;
}
.dash-tab {
    font-size: 11px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}
.dash-tab.active {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}

/* Dashboard content panels */
.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    flex: 1;
}
.dash-card {
    background: var(--elevated);
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.dash-card-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.dash-card-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}
.dash-card-change {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--brand-green);
    margin-top: 4px;
}
.dash-card-change.negative { color: var(--brand-red); }

/* Mini chart bars */
.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 40px;
    margin-top: auto;
    padding-top: 12px;
}
.dash-chart-bar {
    flex: 1;
    border-radius: 2px;
    background: rgba(10,6,229,0.3);
    min-height: 4px;
    transition: background 0.2s var(--ease-out);
}
.dash-chart-bar:hover { background: rgba(88,199,247,0.5); }

/* Company row in dashboard */
.dash-table {
    grid-column: span 2;
}
.dash-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 8px;
    padding: 8px 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-faint);
}
.dash-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 8px;
    padding: 10px 12px;
    font-size: 12px;
    align-items: center;
    border-bottom: 1px solid var(--border-faint);
    transition: background 0.2s var(--ease-out);
}
.dash-table-row:hover { background: rgba(255,255,255,0.02); }
.dash-table-row:last-child { border-bottom: none; }
.dash-company {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 500;
}
.dash-company-icon {
    width: 22px; height: 22px;
    border-radius: var(--radius-sm);
    background: var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
}
.dash-table-cell {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
}
.dash-table-cell.green { color: var(--brand-green); }
.dash-table-cell.blue { color: var(--brand-light); }
.dash-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dash-score-bar {
    width: 40px; height: 4px;
    border-radius: 2px;
    background: var(--border-subtle);
    overflow: hidden;
}
.dash-score-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

@media (max-width: 900px) {
    .hero-terminal { overflow: hidden; }
    .hero-terminal-body { min-height: 0; height: 230px; overflow: hidden; }
    .dash {
        grid-template-columns: 220px 1fr;
        transform: scale(0.55);
        transform-origin: top left;
        width: 182%;
    }
    .dash-sidebar { display: block; }
    .dash-grid { grid-template-columns: 1fr 1fr 1fr; }
    .dash-table { grid-column: span 2; }
}

/* ================================================================
   LIVE DATA TICKER
   ================================================================ */
.ticker {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.ticker-track {
    display: flex;
    gap: 48px;
    animation: scroll 30s linear infinite;
    width: max-content;
    will-change: transform;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    white-space: nowrap;
}
.ticker-name { color: var(--text-muted); }
.ticker-value { color: var(--text-primary); font-weight: 500; }
.ticker-change { font-size: 11px; }
.ticker-change.up { color: var(--brand-green); }
.ticker-change.down { color: var(--brand-red); }
.ticker-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--border-default);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust {
    padding: 48px 0;
    position: relative;
    z-index: 2;
}
.trust-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 28px;
}
.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
    overflow: hidden;
}
.trust-logos-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-logos-track .trust-logo[aria-hidden="true"] {
    display: none;
}
@keyframes trust-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.trust-logo {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-faint);
    letter-spacing: -0.02em;
    transition: color 0.2s var(--ease-out);
    white-space: nowrap;
}
.trust-logo:hover {
    color: var(--text-secondary);
    text-shadow: 0 0 20px rgba(255,255,255,0.04);
}

/* ================================================================
   DUAL PRODUCT SHOWCASE — Bento Grid
   ================================================================ */
.products {
    padding: 100px 0 80px;
}
.products-header {
    text-align: center;
    margin-bottom: 56px;
}
.products-header .section-desc {
    margin: 0 auto;
    max-width: 560px;
}

.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}
.bento-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.35s var(--ease-out);
}
.bento-card:hover {
    box-shadow: inset 0 0 0 1px var(--border-default), 0 8px 40px rgba(0,0,0,0.3), 0 0 60px rgba(10,6,229,0.04);
}

/* Card sizes */
.bento-hero-left,
.bento-hero-right {
    min-height: 380px;
    background: linear-gradient(180deg, rgba(10,6,229,0.05) 0%, transparent 50%), var(--surface);
    box-shadow: inset 0 0 0 1px var(--border-subtle), 0 4px 24px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}
.bento-hero-left { grid-column: span 7; }
.bento-hero-right { grid-column: span 5; }

/* Refined gradient accent line at top of hero cards */
.bento-hero-left::before,
.bento-hero-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    border-radius: 0 0 1px 1px;
}
.bento-hero-left::before {
    background: linear-gradient(90deg, transparent, var(--brand-green) 30%, rgba(152,234,101,0.5) 70%, transparent);
}
.bento-hero-right::before {
    background: linear-gradient(90deg, transparent, var(--brand-light) 30%, var(--brand) 70%, transparent);
}
.bento-hero-left:hover,
.bento-hero-right:hover {
    box-shadow: inset 0 0 0 1px var(--border-default), 0 8px 40px rgba(0,0,0,0.3), 0 0 60px rgba(10,6,229,0.06);
}
.bento-third {
    grid-column: span 4;
    min-height: 240px;
    padding: 24px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--border-faint);
    opacity: 0.85;
    transition: opacity 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.bento-third:hover {
    opacity: 1;
    box-shadow: inset 0 0 0 1px var(--border-subtle), 0 4px 20px rgba(0,0,0,0.15);
}
.bento-half { grid-column: span 6; min-height: 260px; }

.bento-label {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.bento-product-name {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
}
.bento-product-name--terminal {
    background: rgba(152,234,101,0.08);
    color: var(--brand-green);
    box-shadow: inset 0 0 0 1px rgba(152,234,101,0.25);
}
.bento-product-name--research {
    background: rgba(88,199,247,0.08);
    color: var(--brand-light);
    box-shadow: inset 0 0 0 1px rgba(88,199,247,0.25);
}
.bento-title {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    line-height: 1.2;
}
.bento-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 360px;
}

/* Bento card accents */
.bento-card--terminal {
    background: linear-gradient(180deg, rgba(152,234,101,0.04) 0%, var(--surface) 100%);
}
.bento-card--terminal::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-green) 30%, rgba(152,234,101,0.5) 70%, transparent);
}
.bento-card--research {
    background: linear-gradient(180deg, rgba(88,199,247,0.04) 0%, var(--surface) 100%);
}
.bento-card--research::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-light) 30%, rgba(88,199,247,0.5) 70%, transparent);
}

/* Subtle visual overlays for product cards */
.bento-card-visual {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    opacity: 0.12;
    transition: opacity 0.2s var(--ease-out);
}
.bento-card:hover .bento-card-visual { opacity: 0.2; }

/* Always-visible feature list in bento hero cards */
.bento-features {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bento-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}
.bento-expand-check {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(152,234,101,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bento-expand-check svg {
    width: 10px; height: 10px;
    color: var(--brand-green);
}

/* Terminal ghost — subtle dashboard mockup in Terminal bento card */
.bento-terminal-ghost {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    border: 1px solid var(--border-faint);
    overflow: hidden;
    opacity: 0.35;
    pointer-events: none;
}
.bento-ghost-bar {
    height: 14px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-faint);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
}
.bento-ghost-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
.bento-ghost-body {
    display: flex;
    height: calc(100% - 14px);
}
.bento-ghost-sidebar {
    width: 44px;
    border-right: 1px solid var(--border-faint);
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.bento-ghost-main {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bento-ghost-row {
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
}
.bento-ghost-cards {
    display: flex;
    gap: 5px;
    flex: 1;
}
.bento-ghost-card {
    flex: 1;
    border: 1px solid var(--border-faint);
    border-radius: 4px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bento-ghost-chart {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    flex: 1;
}
.bento-ghost-chart span {
    flex: 1;
    border-radius: 1px;
    background: rgba(10,6,229,0.2);
}

/* Light mode ghost */
[data-theme="light"] .bento-terminal-ghost {
    border-color: rgba(0,0,0,0.06);
    opacity: 0.3;
}
[data-theme="light"] .bento-ghost-bar {
    background: rgba(0,0,0,0.02);
    border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .bento-ghost-dot { background: rgba(0,0,0,0.12); }
[data-theme="light"] .bento-ghost-sidebar { border-right-color: rgba(0,0,0,0.06); }
[data-theme="light"] .bento-ghost-row { background: rgba(0,0,0,0.06); }
[data-theme="light"] .bento-ghost-card { border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .bento-ghost-chart span { background: rgba(10,6,229,0.15); }

/* Big stat in bento */
.bento-stat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
}
.bento-stat-unit {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 4px;
}
.bento-subtitle {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    margin-top: 6px;
    line-height: 1.35;
}

/* Count-up animation */
@keyframes countFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.bento-stat[data-count] {
    opacity: 0;
    transform: translateY(8px);
}
.bento-stat.counted {
    animation: countFadeIn 0.4s var(--ease-out) forwards;
}

/* Mini list in bento */
.bento-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
}
.bento-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-faint);
    font-size: 13px;
}
.bento-list-item:last-child { border-bottom: none; }
.bento-list-item-name { color: var(--text-secondary); }
.bento-list-item-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Coverage cards */
.coverage-card {
    background: var(--elevated);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    transition: all 0.2s var(--ease-out);
    cursor: default;
}
.coverage-card:hover {
    background: var(--elevated-2);
    box-shadow: inset 0 0 0 1px var(--border-default), inset 2px 0 0 var(--brand);
    transform: translateY(-1px);
}
.coverage-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

@media (max-width: 900px) {
    .coverage-card { min-width: 0; }
    .bento-card[style*="span 12"] div[style*="grid-template-columns:repeat(3"] {
        grid-template-columns: 1fr 1fr !important;
    }
    .bento { grid-template-columns: 1fr !important; }
    .bento-hero-left, .bento-hero-right, .bento-third, .bento-half,
    .bento-card[style*="span"] {
        grid-column: span 1 !important;
        min-height: auto;
    }
    .bento-hero-left, .bento-hero-right {
        min-height: auto;
        padding: 28px 24px;
    }
    .bento-card-visual { display: none; }
}

/* ================================================================
   RESEARCH PRO — Interactive Preview
   ================================================================ */
.research-section {
    padding: 100px 0;
}
.research-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.research-content .section-desc { margin-bottom: 32px; }

/* Feature accordion — hover-based */
.feature-accordion {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.feature-accordion-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: background 0.2s var(--ease-out);
}
.feature-accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    border-radius: var(--radius-md);
}
.feature-accordion-header:hover {
    background: rgba(255,255,255,0.03);
}
.feature-accordion-icon {
    width: 28px; height: 28px;
    border-radius: var(--radius-sm);
    background: var(--elevated);
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.2s var(--ease-out);
}
.feature-accordion-item.active .feature-accordion-icon {
    background: rgba(10,6,229,0.15);
    box-shadow: inset 0 0 0 1px rgba(10,6,229,0.3);
}
.feature-accordion-title {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.feature-accordion-arrow {
    margin-left: auto;
    width: 16px; height: 16px;
    color: var(--text-faint);
    transition: transform 0.3s var(--ease-out);
}
.feature-accordion-item.active .feature-accordion-arrow {
    transform: rotate(180deg);
    color: var(--text-secondary);
}
.feature-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
    opacity: 0;
}
.feature-accordion-item.active .feature-accordion-body {
    max-height: 120px;
    opacity: 1;
}
.feature-accordion-text {
    padding: 0 16px 16px 56px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Research preview card */
.research-preview {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow:
        inset 0 0 0 1px var(--border-subtle),
        0 12px 48px rgba(0,0,0,0.4);
    overflow: hidden;
    position: relative;
}
.research-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light), var(--brand-green));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 1;
}
.research-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-faint);
}
.research-preview-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(10,6,229,0.12);
    color: var(--brand-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.research-preview-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-faint);
}
.research-preview-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-faint);
    cursor: pointer;
    transition: background 0.2s var(--ease-out);
    position: relative;
}
.research-preview-item:hover { background: var(--elevated); }
.research-preview-item:last-child { border-bottom: none; }
.research-preview-title {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 3px;
    line-height: 1.3;
}
.research-preview-meta {
    font-size: 12px;
    color: var(--text-faint);
}
.research-preview-tag {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    background: var(--elevated);
    color: var(--text-muted);
    margin-right: 4px;
}

/* Research preview expand panel */
.research-preview-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
    opacity: 0;
}
.research-preview-item:hover .research-preview-expand {
    max-height: 180px;
    opacity: 1;
}
.research-preview-expand-inner {
    padding: 12px 0 4px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}
.research-preview-expand-inner p {
    margin-bottom: 12px;
}
.research-preview-unlock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-light);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(10,6,229,0.12);
    border: 1px solid rgba(10,6,229,0.25);
    transition: all 0.2s var(--ease-out);
    cursor: pointer;
    text-decoration: none;
}
.research-preview-unlock:hover {
    background: rgba(10,6,229,0.2);
}

@media (max-width: 900px) {
    .research-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ================================================================
   TESTIMONIAL
   ================================================================ */
.testimonial-section {
    padding: 80px 0;
}
.testimonial-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-quote {
    font-size: clamp(18px, 2.2vw, 22px);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 28px;
}
.testimonial-quote::before {
    content: '';
    display: block;
    width: 32px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), var(--brand-light), transparent);
    margin: 0 auto 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--elevated);
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}
.testimonial-name {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* ================================================================
   INTELLIGENCE AS A SERVICE
   ================================================================ */
.iaas-section {
    padding: 100px 0;
    background: var(--surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
.iaas-header {
    text-align: center;
    margin-bottom: 56px;
}
.iaas-header .section-desc {
    margin: 0 auto;
    max-width: 600px;
}
.iaas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
}
.iaas-card {
    background: var(--elevated);
    padding: 36px 32px;
    transition: background 0.2s var(--ease-out);
}
.iaas-card:hover {
    background: var(--elevated-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.iaas-card-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 16px;
}
.iaas-card-icon--research {
    background: rgba(10,6,229,0.12);
    box-shadow: inset 0 0 0 1px rgba(10,6,229,0.25);
}
.iaas-card-icon--intel {
    background: rgba(88,199,247,0.1);
    box-shadow: inset 0 0 0 1px rgba(88,199,247,0.2);
}
.iaas-card-icon--competitive {
    background: rgba(152,234,101,0.1);
    box-shadow: inset 0 0 0 1px rgba(152,234,101,0.2);
}
.iaas-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.3;
}
.iaas-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.iaas-card-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.iaas-card-list-item {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.iaas-card-list-item::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--text-faint);
    flex-shrink: 0;
}
.iaas-footer {
    text-align: center;
}

@media (max-width: 900px) {
    .iaas-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta {
    padding: 120px 0;
    position: relative;
}
.final-cta-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}
.final-cta h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 16px;
}
.final-cta-sub {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.65;
}
.final-cta-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.final-cta-stat {
    text-align: center;
}
.final-cta-stat-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
}
.final-cta-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}
.final-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.final-cta-note {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-faint);
}
.final-cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 500px;
    background: radial-gradient(ellipse, rgba(10,6,229,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* ================================================================
   LANDING-SPECIFIC MOBILE
   ================================================================ */
@media (max-width: 900px) {
    .hero { padding: 100px 0 32px; }
    .hero h1 { line-height: 1.05; }
    .hero h1 br { display: none; }
    .hero-sub { font-size: 15px; max-width: 100%; padding: 0 8px; }
    .hero-eyebrow { margin-bottom: 20px; }
    .hero-terminal { margin-top: 40px; border-radius: var(--radius-lg); }
    .ticker { padding: 10px 0; -webkit-overflow-scrolling: touch; }
    .ticker-item { font-size: 11px; gap: 6px; }
    .ticker-track { gap: 28px; will-change: transform; }
    .trust { padding: 36px 0; }
    .trust-logos {
        -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
        mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    }
    .trust-logos-track {
        flex-wrap: nowrap;
        justify-content: flex-start;
        animation: trust-scroll 20s linear infinite;
    }
    .trust-logos-track .trust-logo[aria-hidden="true"] {
        display: inline;
    }
    .trust-logo { font-size: 14px; flex-shrink: 0; }
    .trust-label { font-size: 10px; margin-bottom: 20px; }
    .products { padding: 64px 0 56px; }
    .products-header { margin-bottom: 36px; }
    .bento-card { padding: 24px; }
    .bento-title { font-size: 18px !important; }
    .bento-desc { max-width: 100%; }
    .bento-terminal-ghost { width: 140px; height: 110px; }
    .bento-card[style*="span 12"] div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr 1fr !important; }
    .coverage-card { padding: 14px 16px; }
    .coverage-card-title { font-size: 13px; }
    .research-section { padding: 64px 0; }
    .research-layout { gap: 32px; }
    .research-content .section-desc { margin-bottom: 24px; }
    .feature-accordion-header { min-height: 48px; padding: 12px 14px; }
    .feature-accordion-text { padding: 0 14px 14px 50px; }
    .research-preview-item { min-height: 48px; }
    .research-preview-item.is-tapped .research-preview-expand { max-height: 200px; opacity: 1; }
    .research-preview-unlock { min-height: 44px; padding: 8px 16px; }
    .testimonial-section { padding: 56px 0; }
    .testimonial-card { padding: 0 8px; }
    .testimonial-quote { font-size: 17px; margin-bottom: 20px; }
    .iaas-section { padding: 64px 0; }
    .iaas-header { margin-bottom: 36px; }
    .iaas-card { padding: 28px 24px; }
    .iaas-card-title { font-size: 16px; }
    .final-cta { padding: 72px 0; }
    .final-cta h2 br { display: none; }
    .final-cta-sub { font-size: 15px; }
    .final-cta-stats { gap: 24px 32px; display: grid; grid-template-columns: 1fr 1fr; }
    .final-cta-stat-number { font-size: 24px; }
    .final-cta-buttons { flex-direction: column; align-items: stretch; }
    .final-cta-buttons .btn { width: 100%; }
    .final-cta-stat-number, .dash-card-value, .bento-stat { overflow-wrap: break-word; word-break: break-word; }
    .bento-hero-left, .bento-hero-right { border-radius: var(--radius-lg); }
}
/* 480px — awkward middle ground between phone and small tablet */
@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { width: 100%; }
    .hero-sub { font-size: 15px; }
    .trust-logo { font-size: 13px; }
    .bento-card { padding: 20px; }
    .bento-terminal-ghost { display: none; }
    .bento-title { font-size: 17px !important; }
    .bento-desc { font-size: 13px; }
    .bento-card[style*="span 12"] div[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .iaas-card { padding: 24px 20px; }
    .iaas-card-title { font-size: 15px; }
    .iaas-card-desc { font-size: 13px; }
    .iaas-card-list-item { font-size: 12px; padding: 2px 0; }
    .final-cta-buttons { flex-direction: column; align-items: stretch; }
    .final-cta-buttons .btn { width: 100%; }
    .final-cta-stats { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
    .final-cta-stat-number { font-size: 22px; overflow-wrap: break-word; }
    .research-preview-item { padding: 14px 16px; }
    .research-preview-title { font-size: 13px; }
}

@media (max-width: 375px) {
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 14px; }
    .trust-logos { gap: 16px 24px; }
    .trust-logo { font-size: 12px; }
    .bento-card { padding: 16px; }
    .bento-stat { font-size: 24px; overflow-wrap: break-word; word-break: break-word; }
    .bento-card[style*="span 12"] div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
    .final-cta-stats { gap: 16px 20px; }
    .final-cta-stat-number { font-size: 20px; }
    .iaas-card { padding: 20px 16px; }
    .testimonial-quote { font-size: 16px; }
    .feature-accordion-text { padding: 0 12px 12px 44px; font-size: 12px; }
    .research-preview-header { padding: 12px 16px; }
}
@media (max-width: 320px) {
    .hero { padding-top: 88px; }
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 13px; }
    .bento-stat { font-size: 22px; }
    .bento-card { padding: 14px; }
    .bento-title { font-size: 16px !important; }
    .final-cta-stat-number { font-size: 18px; }
    .iaas-card { padding: 18px 14px; }
    .iaas-card-title { font-size: 14px; }
}
@media (min-width: 376px) and (max-width: 768px) {
    .final-cta-stats { grid-template-columns: 1fr 1fr; }
}
