/* =========================
   TOKENS / ROOT VARIABLES
   ========================= */
:root {
    --bg: #06101e;
    --bg-soft: #0d1f36;
    --bg-deep: #09162a;
    --bg-layer-1: radial-gradient(70vw 60vh at 8% -10%, rgba(90, 185, 255, 0.2), transparent 60%);
    --bg-layer-2: radial-gradient(50vw 40vh at 92% 12%, rgba(47, 120, 224, 0.16), transparent 62%);
    --bg-layer-3: linear-gradient(180deg, #06101e 0%, #071426 42%, #08192f 100%);
    --card: rgba(14, 33, 58, 0.9);
    --card-strong: rgba(18, 42, 71, 0.96);
    --card-glass: rgba(13, 30, 52, 0.62);
    --line: rgba(115, 163, 220, 0.22);
    --line-strong: rgba(127, 190, 255, 0.38);
    --control-border: rgba(117, 203, 255, 0.46);
    --control-border-strong: rgba(123, 240, 188, 0.62);
    --text: #eef5ff;
    --muted: #afc1dd;
    --muted-2: #95abcd;
    --primary: #69c1ff;
    --primary-strong: #2d95e9;
    --accent: #7bf0bc;
    --accent-gradient: linear-gradient(135deg, #7ae6ff, #5ab3ff 48%, #7bf0bc);
    --warning: #ffd36f;
    --danger: #ff8f8f;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
    --shadow-soft: 0 16px 34px rgba(3, 10, 19, 0.26);
    --glow: 0 0 44px rgba(101, 194, 255, 0.32);
    --radius: 20px;
    --radius-sm: 14px;
    --space-section: 96px;
}

/* =========================
   RESET / BASE
   ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background:
        var(--bg-layer-1),
        var(--bg-layer-2),
        var(--bg-layer-3);
}

body.lightbox-open,
body.nav-open {
    overflow: hidden;
}

main {
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #8ad2ff;
}

.main-nav a,
.footer-grid a,
.news-card a,
.article-card a {
    position: relative;
}

.main-nav a::after,
.footer-grid a::after,
.news-card a::after,
.article-card a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(116, 201, 255, 0), rgba(116, 201, 255, 0.9), rgba(116, 201, 255, 0));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.footer-grid a:hover::after,
.news-card a:hover::after,
.article-card a:hover::after {
    transform: scaleX(1);
}

img {
    max-width: 100%;
    display: block;
}

img.is-zoomable {
    cursor: zoom-in;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.section {
    padding: var(--space-section) 0;
}

.section-muted {
    background: linear-gradient(180deg, rgba(10, 24, 42, 0.78), rgba(9, 23, 39, 0.9));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1,
h2,
h3,
h4 {
    font-family: 'Sora', sans-serif;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.9rem);
}

h2 {
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    margin-bottom: 18px;
}

h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

p {
    color: var(--muted);
}

.lead {
    font-size: 1.12rem;
    max-width: 64ch;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #abd6ff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 700;
}

.eyebrow-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6ce0ff, #7bf0bc);
    box-shadow: 0 0 16px rgba(110, 223, 255, 0.65);
}

/* =========================
   HEADER / NAVIGATION
   ========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    backdrop-filter: blur(16px);
    background: rgba(6, 16, 30, 0.72);
    border-bottom: 1px solid rgba(112, 162, 223, 0.18);
}

.nav-wrap {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: auto;
    height: 192px;
    filter: drop-shadow(0 2px 6px rgba(4, 10, 18, 0.55));
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.main-nav a {
    color: #dbe8fb;
    font-weight: 600;
}

.main-nav a.is-active {
    color: #f3f9ff;
}

.main-nav a.is-active::after {
    transform: scaleX(1);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(123, 240, 188, 0.95);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(123, 240, 188, 0.12);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(9, 24, 40, 0.88);
}

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

/* =========================
   BUTTONS / UI CONTROLS
   ========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid var(--control-border);
    background: var(--accent-gradient);
    color: #06111f;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
    color: #06111f;
    border-color: var(--control-border-strong);
    box-shadow: 0 16px 30px rgba(53, 148, 234, 0.28), var(--glow);
}

.btn-ghost {
    background: rgba(10, 26, 46, 0.42);
    color: var(--text);
    border-color: var(--control-border);
    box-shadow: none;
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--control-border-strong);
    background: rgba(14, 34, 58, 0.56);
}

.btn-nav {
    min-height: 42px;
    padding: 10px 16px;
}

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

/* =========================
   HERO / LAYOUT GRIDS
   ========================= */
.hero {
    --mx: 50%;
    --my: 40%;
    padding: 88px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    left: calc(var(--mx) - 120px);
    top: calc(var(--my) - 120px);
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(110, 206, 255, 0.16), transparent 70%);
    pointer-events: none;
    transition: left 0.18s ease, top 0.18s ease;
}

.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.contact-box,
.split-shot,
.story-grid,
.comparison-layout,
.cta-band {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
}

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

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

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

.contact-box,
.comparison-layout {
    grid-template-columns: 1fr 1.18fr;
}

.story-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}

.split-shot {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-surface {
    position: absolute;
    z-index: -1;
    left: -24px;
    top: -30px;
    width: min(520px, 96%);
    height: 280px;
    border-radius: 24px;
    border: 1px solid rgba(122, 195, 255, 0.2);
    background:
        linear-gradient(125deg, rgba(18, 45, 77, 0.68), rgba(8, 23, 39, 0.28)),
        repeating-linear-gradient(0deg, rgba(124, 188, 255, 0.06) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(90deg, rgba(124, 188, 255, 0.06) 0 1px, transparent 1px 22px);
    box-shadow: var(--shadow-soft), var(--glow);
    pointer-events: none;
}

.hero-copy h1 {
    max-width: 11ch;
    margin-bottom: 18px;
}

.hero-copy p.lead {
    max-width: 60ch;
}

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

.hero-badges {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.float-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(131, 194, 255, 0.35);
    background: rgba(10, 27, 47, 0.74);
    color: #ddedff;
    padding: 7px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: badgeFloat 6s ease-in-out infinite;
}

.float-badge:nth-child(2) {
    animation-delay: 0.7s;
}

.float-badge:nth-child(3) {
    animation-delay: 1.3s;
}

.float-badge:nth-child(4) {
    animation-delay: 1.9s;
}

@keyframes badgeFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.metrics {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.metric {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 25, 44, 0.64);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.metric:hover {
    transform: translateY(-2px);
    border-color: rgba(136, 198, 255, 0.48);
    box-shadow: var(--shadow-soft);
}

.metric strong {
    display: block;
    color: var(--text);
    font-size: 1.34rem;
}

.metric span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-images {
    position: relative;
    min-height: 470px;
}

.hero-glow {
    position: absolute;
    inset: 10% 6% 12% 10%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(72, 164, 255, 0.28), transparent 70%);
    filter: blur(16px);
}

.hero-images::before {
    content: '';
    position: absolute;
    inset: 4% 2% 14% 2%;
    border-radius: 28px;
    border: 1px solid rgba(120, 183, 250, 0.2);
    background: linear-gradient(160deg, rgba(9, 25, 44, 0.68), rgba(8, 20, 35, 0.2));
    pointer-events: none;
}

.hero-shot {
    position: absolute;
    border-radius: 22px;
    border: 1px solid rgba(133, 188, 255, 0.34);
    box-shadow: var(--shadow);
}

.hero-shot.first {
    width: 74%;
    top: 58px;
    left: 0;
    transform: rotate(-5deg);
    animation: heroFloatLeft 6.8s ease-in-out infinite;
}

.hero-shot.second {
    width: 72%;
    top: 6px;
    right: 0;
    transform: rotate(8deg);
    animation: heroFloatRight 7.6s ease-in-out infinite;
}

@keyframes heroFloatLeft {
    0%,
    100% {
        transform: rotate(-5deg) translateY(0);
    }
    50% {
        transform: rotate(-5deg) translateY(-12px);
    }
}

@keyframes heroFloatRight {
    0%,
    100% {
        transform: rotate(8deg) translateY(0);
    }
    50% {
        transform: rotate(8deg) translateY(12px);
    }
}

/* =========================
   CHIPS / BADGES / SURFACES
   ========================= */
.logo-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.logo-chip,
.badge-row span,
.footer-badges span,
.stat-chip,
.pill-list span {
    border: 1px solid var(--control-border);
    background: rgba(10, 26, 46, 0.52);
    border-radius: 999px;
    padding: 9px 14px;
    color: #d8e8fd;
    font-size: 0.9rem;
}

.badge-row,
.pill-list,
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================
   CARDS / CONTENT BLOCKS
   ========================= */
.card,
.panel,
.feature-card,
.pricing-card,
.legal-card,
.story-card,
.module-card,
.step-card,
.quote-card,
.screenshot-card,
.comparison-card,
.info-band,
.featured-article {
    background: linear-gradient(160deg, rgba(14, 33, 58, 0.95), rgba(8, 21, 38, 0.98));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 20px 44px rgba(4, 12, 22, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.panel:hover,
.feature-card:hover,
.pricing-card:hover,
.story-card:hover,
.module-card:hover,
.step-card:hover,
.quote-card:hover,
.comparison-card:hover,
.info-band:hover {
    transform: translateY(-4px);
    border-color: rgba(134, 197, 255, 0.44);
    box-shadow: 0 22px 52px rgba(4, 12, 22, 0.35);
}

.feature-card,
.module-card,
.step-card,
.quote-card,
.comparison-card,
.screenshot-card {
    height: 100%;
}

.glass-card {
    background: var(--card-glass);
    backdrop-filter: blur(12px);
}

.gradient-border {
    border-color: rgba(126, 201, 255, 0.48);
    box-shadow: inset 0 0 0 1px rgba(126, 201, 255, 0.2);
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.glow-badge {
    box-shadow: var(--glow);
}

.section-divider {
    height: 1px;
    border: 0;
    margin: 20px 0 2px;
    background: linear-gradient(90deg, rgba(122, 195, 255, 0), rgba(122, 195, 255, 0.55), rgba(122, 195, 255, 0));
}

.module-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.module-card .thumb,
.image-panel,
.shot-stack,
.screen-frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(10, 23, 40, 0.92);
}

.module-card .thumb img,
.image-panel img,
.shot-stack img,
.screen-frame img {
    width: 100%;
}

.module-card .link-row,
.section-head,
.stacked-stats,
.list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.story-card p + p,
.panel p + p,
.quote-card p + p {
    margin-top: 12px;
}

.bullet-list,
.feature-card ul,
.panel ul,
.pricing-card ul,
.legal-card ul,
.check-list,
.module-list {
    list-style: none;
    margin-top: 12px;
}

.bullet-list li,
.feature-card li,
.panel li,
.pricing-card li,
.legal-card li,
.check-list li,
.module-list li {
    position: relative;
    padding-left: 22px;
    margin: 8px 0;
    color: #d1e1f9;
}

.bullet-list li::before,
.feature-card li::before,
.panel li::before,
.pricing-card li::before,
.legal-card li::before,
.check-list li::before,
.module-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #74c9ff;
    font-weight: 700;
}

.section-head {
    align-items: end;
    justify-content: space-between;
    margin-bottom: 26px;
}

.section-head p,
.section-head .lead {
    max-width: 58ch;
}

.story-stats {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-stat {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    background: rgba(7, 20, 36, 0.6);
}

.story-stat strong {
    display: block;
    font-size: 1.34rem;
    color: var(--text);
}

.timeline {
    border-left: 2px solid rgba(101, 169, 235, 0.45);
    padding-left: 18px;
}

.timeline-item {
    position: relative;
    margin-bottom: 18px;
}

.timeline-item span {
    display: block;
    margin-bottom: 6px;
    color: #acd8ff;
    font-weight: 700;
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.price {
    font-family: 'Sora', sans-serif;
    color: var(--text);
    font-size: 1.92rem;
    margin: 14px 0 20px;
}

.price-note {
    margin-top: 10px;
    color: #cde0fa;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}

.compare-table th,
.compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(85, 120, 165, 0.22);
    text-align: left;
}

.compare-table th {
    background: rgba(17, 40, 69, 0.92);
    color: var(--text);
}

.highlight-row td {
    background: rgba(14, 33, 58, 0.56);
}

.shot-stack {
    position: relative;
    min-height: 420px;
    background:
        radial-gradient(circle at 50% 30%, rgba(82, 157, 255, 0.22), transparent 58%),
        rgba(10, 22, 38, 0.92);
}

.shot-stack .floating {
    position: absolute;
    box-shadow: var(--shadow);
    border-radius: 18px;
}

.shot-stack .floating.one {
    width: 72%;
    top: 48px;
    left: 28px;
    transform: rotate(-4deg);
}

.shot-stack .floating.two {
    width: 64%;
    bottom: 32px;
    right: 24px;
    transform: rotate(7deg);
}

.pricing-hero-collage {
    min-height: 500px;
    padding: 18px;
}

.pricing-hero-collage .floating {
    border: 1px solid rgba(115, 164, 220, 0.26);
    background: rgba(7, 18, 33, 0.92);
}

.pricing-hero-collage .floating.main {
    width: 74%;
    top: 58px;
    left: 38px;
    transform: rotate(-2deg);
    z-index: 3;
}

.pricing-hero-collage .floating.one {
    width: 46%;
    top: 10px;
    left: 12px;
    transform: rotate(-6deg);
    z-index: 2;
}

.pricing-hero-collage .floating.two {
    width: 44%;
    top: 20px;
    right: 12px;
    transform: rotate(5deg);
    z-index: 4;
}

.pricing-hero-collage .floating.three {
    width: 48%;
    bottom: 64px;
    left: 10px;
    transform: rotate(-4deg);
    z-index: 4;
}

.pricing-hero-collage .floating.four {
    width: 46%;
    bottom: 60px;
    right: 12px;
    transform: rotate(4deg);
    z-index: 2;
}

.pricing-pills {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 92px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 5;
}

.pricing-pills span {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(121, 183, 247, 0.34);
    background: rgba(8, 24, 44, 0.72);
    color: #d7eafd;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.pricing-hero-collage figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    border-radius: 14px;
    border: 1px solid rgba(121, 183, 247, 0.22);
    background: rgba(7, 20, 36, 0.78);
    padding: 12px 14px;
    color: #d4e6fb;
    font-size: 0.9rem;
    z-index: 6;
}

.pricing-hero-collage figcaption strong {
    display: block;
    color: #f1f7ff;
    margin-bottom: 3px;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.screen-frame figcaption {
    padding: 14px;
    color: #d5e5fb;
    font-size: 0.94rem;
    border-top: 1px solid rgba(95, 138, 190, 0.16);
}

.screen-frame strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
}

.quote-card {
    display: grid;
    gap: 16px;
}

.quote-card blockquote {
    color: var(--text);
    font-size: 1.06rem;
}

.quote-card cite {
    color: #bdd5f0;
    font-style: normal;
}

/* =========================
   FORMS / FAQ
   ========================= */
.contact-box {
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

input,
textarea,
select {
    width: 100%;
    background: rgba(8, 20, 36, 0.94);
    color: #eff6ff;
    border: 1px solid rgba(80, 118, 164, 0.42);
    border-radius: 14px;
    padding: 14px;
    font: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(96, 186, 255, 0.28);
    border-color: rgba(104, 190, 255, 0.72);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 0.94rem;
}

.check-row input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.form-alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
}

.form-alert.success {
    border: 1px solid rgba(90, 198, 141, 0.4);
    background: rgba(55, 148, 95, 0.16);
    color: #c6f7d6;
}

.form-alert.error {
    border: 1px solid rgba(195, 78, 78, 0.44);
    background: rgba(195, 78, 78, 0.14);
    color: #ffd4d4;
}

.faq-list,
.steps-grid {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(12, 28, 48, 0.72);
    padding: 18px;
}

.faq-item h3 {
    margin-bottom: 8px;
}

.faq-item.is-collapsible h3 {
    margin-bottom: 0;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.faq-trigger::after {
    content: '+';
    color: #a9d8ff;
    font-size: 1.2rem;
    line-height: 1;
}

.faq-item.is-open .faq-trigger::after {
    content: '-';
}

.faq-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.24s ease, opacity 0.24s ease, margin-top 0.24s ease;
}

.faq-item.is-open .faq-content {
    max-height: 220px;
    opacity: 1;
    margin-top: 10px;
}

/* =========================
   BLOG / NEWS / COMMUNITY
   ========================= */
.hero-large {
    padding-bottom: 84px;
}

.trial-layout,
.content-hub-grid,
.community-grid {
    display: grid;
    gap: 24px;
}

.trial-layout,
.community-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
}

.content-hub-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.card-stack,
.news-preview-grid,
.article-grid,
.roadmap-grid,
.rating-board,
.chat-log {
    display: grid;
    gap: 14px;
}

.mini-plan-card,
.news-card,
.article-card {
    background: linear-gradient(160deg, rgba(14, 33, 58, 0.92), rgba(8, 21, 38, 0.98));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
}

.mini-plan-card.accent {
    border-color: rgba(123, 240, 188, 0.38);
    background: linear-gradient(160deg, rgba(13, 40, 44, 0.92), rgba(7, 26, 32, 0.98));
}

.mini-plan-label,
.news-tag,
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mini-plan-label,
.news-tag {
    color: #cfe5ff;
}

.status-badge {
    color: #d8ecff;
    font-size: 0.76rem;
    letter-spacing: 0.07em;
}

.status-done {
    border-color: rgba(120, 232, 180, 0.45);
    background: rgba(39, 112, 82, 0.28);
    color: #c8ffdf;
}

.status-progress {
    border-color: rgba(111, 190, 255, 0.5);
    background: rgba(34, 93, 148, 0.3);
    color: #d0ecff;
}

.status-consider {
    border-color: rgba(255, 209, 118, 0.5);
    background: rgba(120, 88, 29, 0.28);
    color: #ffe9bb;
}

.status-feedback {
    border-color: rgba(202, 174, 255, 0.46);
    background: rgba(85, 57, 133, 0.28);
    color: #eedcff;
}

.news-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-hero-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.06fr 0.94fr;
    align-items: stretch;
}

.featured-article {
    display: grid;
    gap: 12px;
}

.article-excerpt {
    color: #d5e6fb;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #c4d9f2;
    font-size: 0.86rem;
}

.article-meta span {
    border: 1px solid rgba(114, 165, 224, 0.28);
    background: rgba(10, 26, 46, 0.45);
    border-radius: 999px;
    padding: 5px 10px;
}

.article-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.social-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.release-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.release-strip .feature-card {
    padding: 18px;
}

.release-strip .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.release-strip .feature-card p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

.article-prose h2 {
    margin-top: 20px;
}

.article-prose h2:first-child {
    margin-top: 0;
}

.news-card h3,
.article-card h2 {
    margin-bottom: 10px;
}

.news-card a,
.article-card a {
    display: inline-flex;
    margin-top: 12px;
    font-weight: 700;
}

.article-grid,
.roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rating-board {
    margin-top: 20px;
}

.rating-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(7, 20, 36, 0.58);
}

.rating-line span {
    color: var(--text);
    font-weight: 600;
}

.rating-line strong {
    color: #bfe1ff;
    font-size: 0.92rem;
}

.chat-panel {
    display: grid;
    gap: 18px;
}

.chat-demo {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 20, 36, 0.72);
    padding: 18px;
}

.chat-log {
    max-height: 320px;
    overflow: auto;
    padding-right: 4px;
}

.chat-bubble {
    max-width: 92%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    color: #e6f1ff;
}

.chat-bubble.bot {
    background: rgba(13, 33, 58, 0.96);
    justify-self: start;
}

.chat-bubble.user {
    background: rgba(32, 96, 148, 0.78);
    border-color: rgba(126, 192, 255, 0.38);
    justify-self: end;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.chat-option {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(10, 26, 46, 0.52);
    color: var(--text);
    padding: 10px 14px;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.chat-option:hover {
    transform: translateY(-1px);
    border-color: var(--line-strong);
}

.page-hero {
    padding: 84px 0 34px;
}

.page-hero .lead {
    max-width: 72ch;
}

.page-solo,
.page-team {
    --mode-accent: #72e6c5;
    --mode-accent-soft: rgba(114, 230, 197, 0.18);
    --mode-accent-border: rgba(114, 230, 197, 0.28);
}

.page-team {
    --mode-accent: #9a8cff;
    --mode-accent-soft: rgba(154, 140, 255, 0.18);
    --mode-accent-border: rgba(154, 140, 255, 0.28);
}

.page-solo .kicker .eyebrow-dot,
.page-team .kicker .eyebrow-dot {
    background: var(--mode-accent);
    box-shadow: 0 0 14px var(--mode-accent-border);
}

.page-solo .shot-stack,
.page-team .shot-stack {
    background:
        radial-gradient(circle at 50% 30%, var(--mode-accent-soft), transparent 58%),
        rgba(10, 22, 38, 0.92);
    border-color: var(--mode-accent-border);
}

.page-solo .shot-stack .floating,
.page-team .shot-stack .floating,
.page-solo .screen-frame,
.page-team .screen-frame {
    border-color: var(--mode-accent-border);
    box-shadow: 0 16px 34px rgba(3, 10, 19, 0.26), 0 0 20px var(--mode-accent-soft);
}

.page-solo .mode-badges span,
.page-team .mode-badges span {
    border-color: var(--mode-accent-border);
    background: var(--mode-accent-soft);
}

.page-solo .feature-card,
.page-solo .pricing-card,
.page-solo .quote-card,
.page-solo .panel,
.page-team .feature-card,
.page-team .pricing-card,
.page-team .quote-card,
.page-team .panel {
    border-left: 2px solid var(--mode-accent-border);
}

.page-solo .bullet-list li::before,
.page-solo .feature-card li::before,
.page-solo .panel li::before,
.page-solo .pricing-card li::before,
.page-team .bullet-list li::before,
.page-team .feature-card li::before,
.page-team .panel li::before,
.page-team .pricing-card li::before {
    color: var(--mode-accent);
}

.page-solo .pricing-card .btn.btn-ghost,
.page-team .pricing-card .btn.btn-ghost,
.page-solo .mode-switch-card .btn.btn-ghost,
.page-team .mode-switch-card .btn.btn-ghost {
    border-color: var(--mode-accent-border);
}

.page-solo .pricing-card .btn.btn-ghost:hover,
.page-team .pricing-card .btn.btn-ghost:hover,
.page-solo .mode-switch-card .btn.btn-ghost:hover,
.page-team .mode-switch-card .btn.btn-ghost:hover {
    box-shadow: 0 0 0 1px var(--mode-accent-border);
}

.mode-switch-card {
    position: relative;
    overflow: hidden;
}

.page-solo .mode-switch-card::before,
.page-team .mode-switch-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mode-accent), transparent);
}

.mini-hero {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mini-hero .screen-frame {
    min-height: 220px;
}

/* =========================
   FOOTER / SOCIAL / COOKIES
   ========================= */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: rgba(5, 12, 22, 0.95);
}

.footer-grid {
    padding: 48px 0 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 22px;
}

.footer-title {
    color: #e5f0ff;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li {
    margin-bottom: 7px;
}

.social-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
}

.social-links li {
    margin-bottom: 0;
}

.social-intro {
    margin-bottom: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: rgba(10, 26, 46, 0.52);
    border-radius: 999px;
    padding: 7px 12px;
    color: #d8e8fd;
    font-size: 0.9rem;
    line-height: 1.2;
}

.social-links a:hover {
    border-color: var(--line-strong);
}

.social-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    filter: brightness(0) saturate(100%) invert(87%) sepia(10%) saturate(671%) hue-rotate(181deg) brightness(102%) contrast(102%);
}

.footer-social {
    grid-column: span 2;
}

.footer-bottom {
    padding: 18px 0 22px;
    border-top: 1px solid rgba(84, 118, 160, 0.18);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(9, 22, 39, 0.96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

.legal-card {
    gap: 12px;
}

.text-page {
    padding-top: 72px;
}

.content-narrow,
.legal-card.legal-page {
    width: min(860px, 92vw);
}

.legal-page {
    display: grid;
    gap: 26px;
    padding: 34px;
}

.legal-page h1 {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    margin-bottom: 8px;
}

.legal-page h2 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    margin: 18px 0 10px;
}

.legal-page h3 {
    font-size: 1.02rem;
    margin: 12px 0 6px;
}

.legal-page p,
.legal-page li {
    font-size: 0.98rem;
    line-height: 1.8;
}

.legal-page p + p {
    margin-top: 12px;
}

.legal-page ul,
.legal-page ol {
    margin-top: 10px;
}

.legal-page ol {
    padding-left: 22px;
    color: #d1e1f9;
}

.legal-page ol li {
    padding-left: 4px;
}

.legal-page ol li::before {
    content: none;
}

.legal-intro {
    max-width: 68ch;
    color: #d9e7fb;
}

.legal-meta,
.contact-card {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border: 1px solid rgba(127, 190, 255, 0.2);
    border-radius: 18px;
    background: rgba(9, 24, 41, 0.72);
}

.legal-meta strong,
.contact-card strong {
    color: #f1f7ff;
}

.legal-callout {
    padding: 16px 18px;
    border-left: 3px solid rgba(123, 240, 188, 0.75);
    border-radius: 16px;
    background: rgba(10, 24, 40, 0.82);
}

/* =========================
   LIGHTBOX / REVEAL
   ========================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(4, 9, 18, 0.94);
    backdrop-filter: blur(10px);
}

.lightbox[hidden] {
    display: none !important;
}

.lightbox-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: min(96vw, 1600px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    border: 1px solid rgba(133, 188, 255, 0.28);
    box-shadow: 0 36px 84px rgba(0, 0, 0, 0.58);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(130, 170, 220, 0.3);
    border-radius: 999px;
    background: rgba(9, 21, 40, 0.88);
    color: #f2f7ff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="left"] {
    transform: translateX(-28px);
}

[data-reveal="right"] {
    transform: translateX(28px);
}

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible {
    transform: translateX(0);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px) {
    .main-nav {
        gap: 14px;
        font-size: 0.96rem;
    }

    .footer-grid,
    .grid-4,
    .release-strip,
    .news-preview-grid,
    .article-grid,
    .roadmap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .nav-wrap {
        min-height: 158px;
    }

    .brand img {
        height: 144px;
    }

    .hero-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .mode-grid,
    .contact-box,
    .story-grid,
    .split-shot,
    .comparison-layout,
    .trial-layout,
    .content-hub-grid,
    .community-grid,
    .footer-grid,
    .form-row,
    .screen-grid,
    .mini-hero,
    .logo-strip,
    .metrics,
    .news-preview-grid,
    .article-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero-grid,
    .article-list-grid,
    .social-strip,
    .release-strip {
        grid-template-columns: 1fr;
    }

    .hero-images {
        min-height: 300px;
    }

    .hero-shot.first,
    .hero-shot.second {
        position: relative;
        width: 100%;
        top: 0;
        right: auto;
        left: auto;
        transform: none;
        animation: none;
    }

    .hero-shot.second {
        margin-top: 14px;
    }

    .shot-stack {
        min-height: auto;
        padding: 16px;
        display: grid;
        gap: 16px;
    }

    .shot-stack .floating {
        position: relative;
        width: 100% !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .pricing-hero-collage {
        min-height: auto;
        padding: 14px;
    }

    .pricing-pills,
    .pricing-hero-collage figcaption {
        position: static;
    }

    .pricing-pills {
        margin-top: 4px;
    }

    .pricing-hero-collage figcaption {
        margin-top: 8px;
    }

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

    .main-nav {
        position: absolute;
        top: 158px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 4vw 18px;
        background: rgba(6, 16, 30, 0.98);
        border-bottom: 1px solid var(--line);
        max-height: calc(100vh - 158px);
        overflow-y: auto;
    }

    .main-nav a {
        padding: 12px 8px;
    }

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

    .footer-bottom,
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social {
        grid-column: span 1;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .lightbox {
        padding: 18px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-shot.first,
    .hero-shot.second,
    .float-badge,
    .faq-content,
    [data-reveal] {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
