/* ==========================================================================
   Kodiz Upframe — Design System & Stylesheet
   Palette harmonized with AppIcon (Deep Obsidian Navy + Electric Cyan + Violet)
   ========================================================================== */

:root {
    --bg-canvas: #060913;
    --bg-alt: #090e1d;
    --bg-card: rgba(14, 21, 42, 0.78);
    --bg-card-hover: rgba(20, 30, 58, 0.92);
    --bg-elevated: #111a34;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --cyan: #38bdf8;
    --cyan-bright: #58d5ff;
    --violet: #8b5cf6;
    --violet-soft: #a78bfa;
    --green: #34d399;

    --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #818cf8 55%, #a78bfa 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.16), transparent 65%);

    --border: rgba(148, 163, 184, 0.14);
    --border-strong: rgba(56, 189, 248, 0.34);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --shadow-card: 0 18px 45px rgba(2, 6, 23, 0.55);
    --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.18);
    --transition: 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--cyan-bright);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--cyan);
    color: #060913;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    z-index: 2000;
}

.skip-link:focus {
    left: 16px;
}

.mono {
    font-family: var(--font-mono);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-muted { color: var(--text-secondary); }
.text-cyan { color: var(--cyan-bright); }
.text-center { text-align: center; }

/* Icons */
.icon, .icon-md { width: 22px; height: 22px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; flex-shrink: 0; }
.icon-xs { width: 15px; height: 15px; flex-shrink: 0; }
.icon-apple { width: 22px; height: 22px; flex-shrink: 0; }

/* Ambient Background */
.bg-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.28;
}

.bg-orb--cyan {
    width: 680px;
    height: 680px;
    top: -260px;
    left: -120px;
    background: radial-gradient(circle, #38bdf8, transparent 70%);
}

.bg-orb--violet {
    width: 640px;
    height: 640px;
    top: 120px;
    right: -180px;
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, transparent 75%);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 820px;
}

/* ==========================================================================
   Header & Navigation (Floating Glass Pill Architecture)
   ========================================================================== */
section[id],
.support-block[id] {
    scroll-margin-top: 90px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 9, 19, 0.72);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
    background: rgba(6, 9, 19, 0.9);
    border-bottom-color: rgba(56, 189, 248, 0.18);
    box-shadow: 0 12px 36px rgba(2, 6, 23, 0.55);
}

.header-inner {
    max-width: 1260px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand__icon {
    border-radius: 9px;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.24);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.brand__tag {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.main-nav {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: var(--radius-pill);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-link {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    line-height: 1;
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(148, 163, 184, 0.1);
}

.nav-link.is-active {
    color: var(--text-primary);
    background: rgba(56, 189, 248, 0.14);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius-pill);
    padding: 3px;
}

.lang-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    line-height: 1;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.is-active {
    background: rgba(56, 189, 248, 0.18);
    color: var(--cyan-bright);
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 18px;
    min-height: 38px;
    border-radius: var(--radius-pill);
    background: #f8fafc;
    color: #060913;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.22);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-header-cta:hover {
    transform: translateY(-1px);
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(56, 189, 248, 0.36);
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.mobile-drawer {
    border-top: 1px solid var(--border);
    background: rgba(6, 9, 19, 0.97);
    padding: 16px 0 24px;
}

.mobile-drawer__inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.mobile-link:hover {
    background: rgba(148, 163, 184, 0.08);
}

.mobile-drawer__footer {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   Buttons & Mac App Store CTA
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-sm {
    font-size: 0.86rem;
    padding: 9px 15px;
    min-height: 40px;
}

.btn-lg {
    font-size: 0.96rem;
    padding: 14px 24px;
    min-height: 52px;
}

.btn-block {
    width: 100%;
    padding: 13px 18px;
    min-height: 48px;
    font-size: 0.92rem;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #060913;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(148, 163, 184, 0.3);
}

/* Official-style Mac App Store Button */
.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #060913;
    border-radius: 13px;
    padding: 10px 22px;
    min-height: 54px;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(56, 189, 248, 0.38);
}

.btn-store--sm {
    padding: 8px 16px;
    min-height: 44px;
    border-radius: 11px;
}

.btn-store__icon {
    display: flex;
    align-items: center;
}

.btn-store__text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.btn-store__eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.75;
    letter-spacing: 0.01em;
}

.btn-store__label {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.btn-store--sm .btn-store__label {
    font-size: 0.9rem;
}

/* ==========================================================================
   Hero Section & A/B Comparison Showcase
   ========================================================================== */
.hero {
    padding: 64px 0 84px;
}

.hero-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.26);
    color: var(--cyan-bright);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-bright);
    box-shadow: 0 0 12px var(--cyan-bright);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.82); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 5vw, 3.85rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 22px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    color: var(--text-secondary);
    max-width: 740px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.hero-trial-note {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0 0 34px;
}

.hero-stats {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 700px;
}

.stat-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-pill__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.stat-pill__label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* macOS Window Frame */
.hero-showcase {
    max-width: 1040px;
    margin: 0 auto;
}

.mac-window {
    background: #0b1020;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(56, 189, 248, 0.1);
}

.mac-window__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 16px;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid var(--border);
}

.mac-dots {
    display: flex;
    gap: 7px;
}

.mac-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.mac-dot--red { background: #ff5f57; }
.mac-dot--yellow { background: #febc2e; }
.mac-dot--green { background: #28c840; }

.mac-window__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mac-window__badge,
.live-pill {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, 0.14);
    color: var(--cyan-bright);
    border: 1px solid rgba(56, 189, 248, 0.26);
    flex-shrink: 0;
}

.live-pill {
    background: rgba(52, 211, 153, 0.14);
    color: var(--green);
    border-color: rgba(52, 211, 153, 0.3);
}

/* Interactive A/B Comparison */
.ab-compare {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    user-select: none;
    background: #040711;
}

.ab-compare__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ab-compare__img--after {
    filter: contrast(1.07) saturate(1.12);
    transition: filter 260ms ease;
}

.ab-compare[data-shader="lut"] .ab-compare__img--after {
    filter: contrast(1.14) saturate(1.22) sepia(0.14) hue-rotate(-8deg);
}

.ab-compare[data-shader="crt"] .ab-compare__img--after {
    filter: contrast(1.12) saturate(1.18) brightness(0.96);
}

.ab-crt-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.28) 0px,
            rgba(0, 0, 0, 0.28) 1px,
            transparent 1px,
            transparent 3px
        ),
        radial-gradient(circle at center, transparent 58%, rgba(0, 0, 0, 0.42) 100%);
    transition: opacity 240ms ease;
}

.ab-compare[data-shader="crt"] .ab-crt-overlay {
    opacity: 1;
}

.shader-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(11, 16, 32, 0.96);
    border-top: 1px solid var(--border);
}

.shader-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    min-height: 36px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: rgba(148, 163, 184, 0.06);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition);
}

.shader-btn:hover {
    color: var(--text-primary);
    border-color: rgba(148, 163, 184, 0.28);
}

.shader-btn.is-active {
    background: rgba(56, 189, 248, 0.14);
    border-color: var(--cyan);
    color: var(--cyan-bright);
}

.ab-compare__before-wrap {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--split, 54%)) 0 0);
}

.ab-compare__img--before {
    filter: blur(1.3px) contrast(0.9) saturate(0.8) brightness(0.9);
}

.ab-label {
    position: absolute;
    bottom: 16px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(6, 9, 19, 0.76);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.ab-label--before { left: 16px; color: var(--text-secondary); }
.ab-label--after { right: 16px; color: var(--cyan-bright); border-color: rgba(56, 189, 248, 0.35); }

.hud-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(6, 9, 19, 0.78);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 10px;
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: none;
}

.hud-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.hud-k { color: var(--text-muted); }
.hud-v { color: var(--text-primary); }
.hud-v--cyan { color: var(--cyan-bright); font-weight: 600; }
.hud-v--green { color: var(--green); }

.ab-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split, 54%);
    width: 2px;
    background: var(--cyan-bright);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.85);
    pointer-events: none;
    transform: translateX(-1px);
}

.ab-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(6, 9, 19, 0.9);
    border: 2px solid var(--cyan-bright);
    color: var(--cyan-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.ab-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
}

.showcase-caption {
    text-align: center;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 14px 0 0;
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.section {
    padding: 96px 0;
}

.section--alt {
    background: linear-gradient(180deg, rgba(11, 16, 34, 0.72) 0%, rgba(6, 9, 19, 0.35) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 56px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cyan-bright);
    margin-bottom: 12px;
}

.eyebrow--violet {
    color: var(--violet-soft);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.6vw, 2.65rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
}

.section-desc {
    font-size: 1.04rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   Feature Cards Grid
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
}

.feature-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(56, 189, 248, 0.11);
    border: 1px solid rgba(56, 189, 248, 0.24);
    color: var(--cyan-bright);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tier-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.tier-pill--pro {
    background: rgba(139, 92, 246, 0.16);
    color: var(--violet-soft);
    border-color: rgba(167, 139, 250, 0.32);
}

.tier-pill--cyan {
    background: rgba(56, 189, 248, 0.15);
    color: var(--cyan-bright);
    border-color: rgba(56, 189, 248, 0.32);
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.14rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.feature-card__desc {
    font-size: 0.93rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   Interactive 5 Profiles Widget
   ========================================================================== */
.profiles-widget {
    max-width: 960px;
    margin: 0 auto;
}

.profiles-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.profile-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 12px;
    min-height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.profile-tab:hover {
    color: var(--text-primary);
    border-color: rgba(148, 163, 184, 0.3);
}

.profile-tab.is-active {
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--cyan);
    color: var(--text-primary);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.14);
}

.kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: var(--cyan-bright);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.45);
}

.kbd--lg {
    font-size: 0.84rem;
    padding: 4px 10px;
}

.profiles-panels {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.profile-panel__title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-panel__title-row h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin: 0;
}

.profile-panel__summary {
    color: var(--text-secondary);
    margin: 0 0 24px;
    font-size: 1rem;
}

.pipeline-strip {
    background: rgba(6, 9, 19, 0.65);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 22px;
}

.pipeline-strip__label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pipeline-nodes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pipeline-node {
    font-family: var(--font-mono);
    font-size: 0.84rem;
    padding: 7px 13px;
    border-radius: 9px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.24);
    color: var(--text-primary);
}

.pipeline-arrow {
    color: var(--violet-soft);
    font-weight: 700;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.profile-meta__item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.profile-meta__k {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.profile-meta__v {
    font-weight: 600;
    color: var(--cyan-bright);
}

/* ==========================================================================
   Mac Window Capture — 3-Layer Click-Through Stack
   ========================================================================== */
.layer-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.layer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), border-color var(--transition);
}

.layer-card:hover {
    transform: translateY(-2px);
}

.layer-card--cyan {
    border-color: rgba(56, 189, 248, 0.42);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(14, 21, 42, 0.9) 70%);
}

.layer-card--violet {
    border-color: rgba(167, 139, 250, 0.36);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.11) 0%, rgba(14, 21, 42, 0.88) 70%);
}

.layer-card--slate {
    border-color: rgba(148, 163, 184, 0.2);
}

.layer-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.layer-card__tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--cyan-bright);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.24);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.layer-card--violet .layer-card__tag {
    color: var(--violet-soft);
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(167, 139, 250, 0.28);
}

.layer-card--slate .layer-card__tag {
    color: var(--text-secondary);
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.2);
}

.layer-card__index {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.layer-card__title {
    font-family: var(--font-display);
    font-size: 1.08rem;
    margin: 0 0 6px;
}

.layer-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   Live Subtitle Translation Showcase
   ========================================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.split-copy .section-title,
.split-copy .section-desc {
    text-align: left;
}

.split-copy .section-desc {
    margin-bottom: 28px;
}

.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.bullet-check {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--cyan-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.bullet-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.bullet-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0;
}

.subtitle-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #040711;
}

.subtitle-stage__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subtitle-box {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 8%;
    background: rgba(6, 9, 19, 0.86);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.42);
    border-radius: 12px;
    padding: 12px 18px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
    transition: border-color var(--transition);
}

.subtitle-box[data-mode="en"] {
    border-color: rgba(148, 163, 184, 0.3);
}

.subtitle-box__speaker {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--cyan-bright);
    margin-bottom: 4px;
}

.subtitle-box__text {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
}

.subtitle-controls {
    padding: 14px 16px;
    background: rgba(10, 15, 30, 0.95);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subtitle-toggle-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sub-toggle-btn {
    padding: 10px 12px;
    min-height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(148, 163, 184, 0.06);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--transition);
}

.sub-toggle-btn.is-active {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--violet-soft);
    color: var(--text-primary);
}

.sub-lang-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sub-pair-btn {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: rgba(148, 163, 184, 0.05);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.sub-pair-btn:hover {
    color: var(--text-primary);
}

.sub-pair-btn.is-active {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--cyan);
    color: var(--cyan-bright);
}

.subtitle-alt-hint {
    font-size: 0.74rem;
    color: var(--text-muted);
    text-align: center;
}

.subtitle-metrics {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================================================
   Virtual Camera Streaming Flow
   ========================================================================== */
.stream-flow {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 32px;
}

.stream-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
}

.stream-card__step {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan-bright);
    margin-bottom: 8px;
}

.stream-card__title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    margin: 0 0 6px;
}

.stream-card__sub {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin: 0;
}

.stream-connector {
    display: flex;
    align-items: center;
    color: var(--violet-soft);
    flex-shrink: 0;
}

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

.stream-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(15, 22, 43, 0.55);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
}

.stream-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Performance Benchmarks
   ========================================================================== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kpi-card__value {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
}

.kpi-card__label {
    font-weight: 700;
    font-size: 0.95rem;
}

.kpi-card__sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 4 Frame Generation Engines Grid */
.engines-block {
    margin-bottom: 32px;
}

.engines-block__title {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 18px;
    text-align: center;
    color: var(--text-primary);
}

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

.engine-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform var(--transition), border-color var(--transition);
}

.engine-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
}

.engine-card--primary {
    border-color: rgba(56, 189, 248, 0.38);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.1) 0%, rgba(14, 21, 42, 0.85) 100%);
}

.engine-card__badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(139, 92, 246, 0.15);
    color: var(--violet-soft);
    border: 1px solid rgba(167, 139, 250, 0.28);
}

.engine-card--primary .engine-card__badge {
    background: rgba(56, 189, 248, 0.16);
    color: var(--cyan-bright);
    border-color: rgba(56, 189, 248, 0.32);
}

.engine-card__name {
    font-family: var(--font-display);
    font-size: 1.02rem;
    margin: 2px 0 0;
}

.engine-card__meta {
    font-size: 0.74rem;
    color: var(--cyan-bright);
}

.engine-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 2px 0 0;
    line-height: 1.5;
}

.perf-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.perf-table-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.perf-table-card__head h3 {
    margin: 0;
    font-size: 1.05rem;
}

.badge-soft {
    font-size: 0.74rem;
    color: var(--cyan-bright);
    background: rgba(56, 189, 248, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.data-table th,
.data-table td {
    padding: 14px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.data-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: rgba(6, 9, 19, 0.45);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   Pricing & Matrix
   ========================================================================== */
.trial-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(139, 92, 246, 0.14) 100%);
    border: 1px solid rgba(56, 189, 248, 0.34);
    margin-bottom: 28px;
}

.trial-banner h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 10px 0 6px;
}

.trial-banner p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.price-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
}

.price-card--featured {
    background: linear-gradient(180deg, rgba(20, 32, 64, 0.95) 0%, rgba(13, 19, 38, 0.95) 100%);
    border-color: var(--cyan);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.16);
}

.price-card__badge {
    position: absolute;
    top: -12px;
    right: 18px;
    background: var(--gradient-brand);
    color: #060913;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
}

.price-card__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0 0 12px;
}

.price-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.price-card__amount {
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price-card__period {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.price-card__desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin: 0 0 20px;
    min-height: 42px;
}

.price-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.price-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.price-card__list li svg {
    color: var(--cyan-bright);
    margin-top: 3px;
}

/* Feature Matrix Accordion */
.matrix-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.matrix-toggle {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.matrix-toggle__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--cyan-bright);
    background: rgba(56, 189, 248, 0.1);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
}

.matrix-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.matrix-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 24px 16px;
}

.matrix-filter-btn {
    padding: 7px 14px;
    min-height: 34px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: rgba(148, 163, 184, 0.06);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition);
}

.matrix-filter-btn:hover {
    color: var(--text-primary);
}

.matrix-filter-btn.is-active {
    background: rgba(56, 189, 248, 0.16);
    border-color: var(--cyan);
    color: var(--cyan-bright);
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 720px) {
    .mobile-sticky-cta:not([hidden]) {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 95;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 14px;
        border-radius: 16px;
        background: rgba(9, 14, 29, 0.92);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(56, 189, 248, 0.3);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
    }

    .mobile-sticky-cta__info {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-sticky-cta__icon {
        border-radius: 8px;
    }

    .mobile-sticky-cta__name {
        display: block;
        font-size: 0.86rem;
        line-height: 1.15;
    }

    .mobile-sticky-cta__sub {
        display: block;
        font-size: 0.72rem;
        color: var(--text-secondary);
    }

    .back-to-top {
        bottom: 82px;
        right: 16px;
    }
}

.cell-yes {
    display: inline-flex;
    color: var(--green);
}

.cell-yes--pro {
    color: var(--cyan-bright);
}

.cell-no {
    color: var(--text-muted);
}

.cell-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.cell-text--pro {
    color: var(--cyan-bright);
    font-weight: 600;
}

/* ==========================================================================
   Requirements & Final CTA
   ========================================================================== */
.req-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.req-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
}

.req-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 16px 0 8px;
}

.req-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.section--cta {
    padding-top: 24px;
}

.cta-banner {
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.18), rgba(14, 21, 42, 0.9) 70%);
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 26px;
    padding: 60px 32px;
    box-shadow: var(--shadow-glow);
}

.cta-banner--compact {
    padding: 42px 28px;
    margin-top: 56px;
}

.cta-banner__icon {
    margin: 0 auto 20px;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(56, 189, 248, 0.3);
}

.cta-banner__title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    margin: 0 0 14px;
}

.cta-banner__desc {
    max-width: 640px;
    margin: 0 auto 28px;
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.cta-banner__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ==========================================================================
   Support, Privacy & Terms Pages
   ========================================================================== */
.legal-page {
    padding: 64px 0 96px;
}

.legal-header {
    margin-bottom: 32px;
}

.legal-meta {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0 0 14px;
}

.legal-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    margin: 0 0 8px;
    color: var(--cyan-bright);
}

.legal-section p {
    margin: 0;
    color: var(--text-secondary);
}

.support-block {
    margin-top: 52px;
}

.support-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 22px;
}

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

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(56, 189, 248, 0.14);
    color: var(--cyan-bright);
    font-weight: 700;
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

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

.shortcut-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item__q {
    padding: 18px 22px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
}

.faq-item__q::-webkit-details-marker {
    display: none;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-item__a {
    padding: 0 22px 18px;
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.faq-item__a p {
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(4, 7, 15, 0.92);
    padding: 64px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
    gap: 36px;
    margin-bottom: 44px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 14px 0 16px;
    max-width: 340px;
}

.footer-privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--green);
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.22);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

.footer-heading {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin: 0 0 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--cyan-bright);
}

.footer-store {
    margin-top: 18px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 0;
}

/* Back to Top & 404 Error Page */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(11, 16, 32, 0.88);
    backdrop-filter: blur(12px);
    color: var(--cyan-bright);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition), background var(--transition);
}

.back-to-top[hidden] {
    display: none;
}

.back-to-top:hover {
    transform: translateY(-2px);
    background: rgba(56, 189, 248, 0.18);
}

.error-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 56px 32px;
}

.error-code {
    display: block;
    font-size: clamp(3.2rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
}

.error-actions {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ==========================================================================
   Scroll Reveal Motion
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1), transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pulse-dot { animation: none; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
    }

    .main-nav,
    .btn-header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

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

    .pricing-grid,
    .kpi-grid,
    .engines-grid,
    .req-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .stream-flow {
        flex-direction: column;
    }

    .stream-connector {
        justify-content: center;
        transform: rotate(90deg);
    }

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

@media (max-width: 720px) {
    .hero {
        padding: 40px 0 64px;
    }

    .section {
        padding: 64px 0;
    }

    .hero-stats,
    .features-grid,
    .pricing-grid,
    .kpi-grid,
    .engines-grid,
    .req-grid,
    .steps-grid,
    .stream-notes,
    .shortcuts-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .trial-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hud-overlay {
        display: none;
    }

    .ab-label {
        font-size: 0.7rem;
        padding: 4px 8px;
        bottom: 10px;
    }

    .legal-card {
        padding: 24px;
    }
}
