/* ========================================
   TuringTrust — Premium Enterprise Theme
   Inspired by Anthropic / Perplexity 2025
   ======================================== */

/* ===== DESIGN TOKENS ===== */
:root {
    /* Backgrounds — pure, warm near-black */
    --color-bg:         #060606;
    --color-bg-2:       #0b0b0b;
    --color-bg-3:       #101010;
    --color-surface:    #161616;
    --color-surface-2:  #1e1e1e;

    /* Borders — ultra-thin, surgical */
    --color-border:     rgba(255, 255, 255, 0.055);
    --color-border-2:   rgba(255, 255, 255, 0.09);
    --color-border-3:   rgba(255, 255, 255, 0.14);

    /* Text — warm whites */
    --color-text:       #f4f4f2;
    --color-text-2:     #8a8a88;
    --color-text-3:     #525250;

    /* Brand */
    --color-primary:        #0e7490;
    --color-primary-hover:  #0891b2;
    --color-primary-glow:   rgba(14, 116, 144, 0.18);
    --color-cyan:           #22d3ee;
    --color-green:          #22c55e;
    --color-yellow:         #f59e0b;
    --color-red:            #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0e7490 0%, #22d3ee 100%);
    --gradient-text:    linear-gradient(125deg, #bae6fd 0%, #38bdf8 35%, #22d3ee 75%, #67e8f9 100%);
    --gradient-subtle:  linear-gradient(135deg, rgba(14,116,144,0.07) 0%, rgba(34,211,238,0.03) 100%);
    --gradient-glow:    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(14,116,144,0.14) 0%, transparent 70%);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    /* Layout */
    --container-max: 1200px;
    --section-pad:   160px;

    /* Radii — precise, engineering-feel */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* Motion */
    --transition: 0.15s ease;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea {
    font: inherit; color: inherit; border: none; background: none; outline: none;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    letter-spacing: 0.005em;
    border: 1px solid transparent;
    position: relative;
    text-decoration: none;
}

.btn-primary,
a.btn-primary,
a.btn-primary:visited {
    background: var(--gradient-primary);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.btn-primary:hover {
    box-shadow: 0 0 28px rgba(14,116,144,0.35), 0 4px 16px rgba(0,0,0,0.5),
                0 1px 0 rgba(255,255,255,0.1) inset;
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.btn-outline {
    border: 1px solid var(--color-border-2);
    color: var(--color-text-2);
    background: rgba(255,255,255,0.02);
}
.btn-outline:hover {
    border-color: var(--color-border-3);
    color: var(--color-text);
    background: rgba(255,255,255,0.04);
}

.btn-ghost {
    color: var(--color-text-2);
    padding: 8px 14px;
}
.btn-ghost:hover {
    color: var(--color-text);
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: var(--radius-lg);
    letter-spacing: -0.01em;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-glow {
    box-shadow: 0 0 28px rgba(14,116,144,0.3), 0 4px 16px rgba(0,0,0,0.4);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 14px 0;
    transition: all 0.2s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(6, 6, 6, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .nav-actions .btn-ghost,
.navbar.scrolled .logo-text,
.navbar.scrolled .nav-toggle span {
    color: #ffffff !important;
}
.navbar.scrolled .nav-actions .btn-primary {
    color: #fff;
}

/* Light-mode scrolled navbar */
.light .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.light .navbar.scrolled .nav-links a,
.light .navbar.scrolled .nav-actions .btn-ghost,
.light .navbar.scrolled .logo-text,
.light .navbar.scrolled .nav-toggle span {
    color: var(--color-text) !important;
}
.light .navbar.scrolled .nav-actions .btn-primary {
    color: #fff;
}

.navbar .nav-links { z-index: 1210; }

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(1.4) drop-shadow(0 0 5px rgba(34, 211, 238, 0.25));
}
.light .logo-icon img {
    filter: none;
}
.footer .logo-icon {
    width: 28px;
    height: 28px;
}
.footer .logo-icon img {
    height: 54px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--color-text);
}

.logo-dot {
    color: var(--color-primary);
}

/* Theme toggle */
#themeToggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-2);
    background: var(--color-surface);
    color: var(--color-text-2);
    cursor: pointer;
    transition: all var(--transition);
    z-index: 1100;
}
#themeToggle:hover {
    color: var(--color-text);
    border-color: var(--color-border-3);
    background: var(--color-surface-2);
}
#themeToggle svg { display: block; }

.light #themeToggle {
    background: rgba(0,0,0,0.04);
    color: var(--color-text-2);
    border-color: var(--color-border-2);
}

.logo-mark {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-2);
    transition: color var(--transition);
    padding: 6px 12px;
    border-radius: var(--radius-md);
}
.nav-links a:hover {
    color: var(--color-text);
    background: rgba(255,255,255,0.04);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 0 60px;
    overflow: hidden;
}

/* Refined grid background — finer grid, more subtle */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 75% 55% at 50% 25%, black 15%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 25%, black 15%, transparent 100%);
}

/* Atmospheric glow effects */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    will-change: transform;
}

.hero-glow-1 {
    width: 700px;
    height: 700px;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(14, 116, 144, 0.1);
}

.hero-glow-2 {
    width: 420px;
    height: 420px;
    top: 80px;
    right: -140px;
    background: rgba(34, 211, 238, 0.07);
}

.hero-glow-3 {
    width: 320px;
    height: 320px;
    bottom: 80px;
    left: -80px;
    background: rgba(14, 116, 144, 0.05);
}

.hero-inner {
    position: relative;
    text-align: center;
}

/* Hero badge — clean pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 100px;
    background: rgba(14, 116, 144, 0.08);
    border: 1px solid rgba(14, 116, 144, 0.18);
    font-size: 12.5px;
    font-weight: 600;
    color: #67e8f9;
    margin-bottom: 36px;
    letter-spacing: 0.01em;
}
.hero-badge svg {
    color: var(--color-cyan);
    flex-shrink: 0;
}

/* Hero title — editorial, bold */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5.5vw, 76px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -3px;
    margin-bottom: 28px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.75;
    color: var(--color-text-2);
    max-width: 580px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Install command box */
.hero-install {
    display: flex;
    justify-content: center;
    margin-bottom: 56px;
}

.install-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: var(--color-cyan);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.copy-btn {
    cursor: pointer;
    color: var(--color-text-3);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 4px;
}
.copy-btn:hover { color: var(--color-text); }
.copy-btn.copied { color: var(--color-green); }

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

.stat-suffix {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}

.stat-label {
    display: block;
    font-size: 11px;
    color: var(--color-text-3);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 28px;
    background: var(--color-border-2);
}

/* ===== CODE PREVIEW ===== */
.hero-code-wrap {
    margin-top: 72px;
    position: relative;
}

.hero-code-wrap::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(14,116,144,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.code-preview {
    background: var(--color-surface);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 1px 0 rgba(255,255,255,0.08) inset;
    max-width: 760px;
    margin: 0 auto;
}

.code-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.025);
    border-bottom: 1px solid var(--color-border);
}

.code-topbar, .code-topbar .code-tab, .code-topbar .code-dots {
    color: var(--color-text-3);
}

.code-tab {
    font-size: 12px;
    color: var(--color-text-3);
    padding: 4px 12px;
    border-radius: 6px;
    cursor: default;
}

.light .code-topbar {
    background: rgba(0,0,0,0.03);
}
.light .code-topbar .code-tab { color: var(--color-text-2); }

.code-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red    { background: #ef4444; opacity: 0.8; }
.dot-yellow { background: #f59e0b; opacity: 0.8; }
.dot-green  { background: #22c55e; opacity: 0.8; }

.code-tabs {
    display: flex;
    gap: 4px;
}

.code-tab.active {
    color: var(--color-text-2);
    background: rgba(255,255,255,0.06);
}

.code-body {
    padding: 28px;
    overflow-x: auto;
}
.code-body pre { margin: 0; }
.code-body code {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.85;
    color: #d4d4d4;
}

.c-comment { color: #525250; }
.c-keyword  { color: #67e8f9; }
.c-string   { color: #67e8f9; }

/* ===== TRUST BAR ===== */
.trust-bar {
    padding: 44px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-2);
}

.trust-label {
    text-align: center;
    font-size: 11px;
    color: var(--color-text-3);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-bottom: 20px;
}

.trust-logos {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-3);
    padding: 7px 20px;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}
.trust-logo:hover {
    color: var(--color-text-2);
    border-color: var(--color-border-2);
    background: rgba(255,255,255,0.045);
}

/* ===== SECTION BASE ===== */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-primary);
    margin-bottom: 18px;
    opacity: 0.9;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-2);
    line-height: 1.75;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    background: var(--color-bg-2);
}

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

.problem-card {
    padding: 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}
.problem-card:hover {
    border-color: var(--color-border-2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    background: var(--color-surface-2);
}

.problem-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-red);
    margin-bottom: 18px;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    color: var(--color-text);
}

.problem-card p {
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 1.7;
}

/* ===== FEATURES ===== */
.features-section {
    background: var(--color-bg);
}

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

.feature-card {
    padding: 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}
.feature-card:hover {
    border-color: var(--color-border-2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    background: var(--color-surface-2);
}

.feature-large {
    grid-column: span 2;
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(14, 116, 144, 0.1);
    color: #22d3ee;
    margin-bottom: 18px;
    border: 1px solid rgba(14, 116, 144, 0.18);
}

.feature-icon-accent {
    background: rgba(34, 211, 238, 0.08);
    color: var(--color-cyan);
    border-color: rgba(34, 211, 238, 0.15);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
    color: var(--color-text);
}
.feature-card p {
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 1.7;
}

.feature-visual {
    margin-top: 24px;
}

/* Gateway flow */
.gateway-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.gw-node {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}
.gw-app {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border-2);
    color: var(--color-text-2);
}
.gw-core {
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    box-shadow: 0 4px 16px rgba(14,116,144,0.3);
}
.gw-arrow {
    color: var(--color-text-3);
}
.gw-models {
    display: flex;
    gap: 6px;
}
.gw-model {
    padding: 8px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-2);
}

/* REDACT flow */
.redact-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}
.redact-step {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    text-align: center;
}
.redact-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-3);
    margin-bottom: 2px;
}
.redact-text {
    display: block;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--color-text-2);
}
.redact-tier {
    border-color: rgba(14, 116, 144, 0.25);
    background: rgba(14, 116, 144, 0.07);
}
.redact-tier .redact-label {
    color: #67e8f9;
}
.redact-clean {
    border-color: rgba(34, 197, 94, 0.25);
    background: rgba(34, 197, 94, 0.07);
}
.redact-clean .redact-text {
    color: var(--color-green);
}
.redact-arrow {
    color: var(--color-text-3);
    font-size: 16px;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    background: var(--color-bg-2);
}

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

.step-card {
    padding: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.step-card:hover {
    border-color: var(--color-border-2);
    background: var(--color-surface-2);
}
.step-card:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 20px;
}
.step-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}
.step-card p {
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 1.7;
    margin-bottom: 16px;
}
.step-code {
    padding: 10px 14px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-cyan);
}

/* ===== COMPLIANCE SECTION ===== */
.compliance-section {
    background: var(--color-bg);
}
.compliance-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.compliance-content .section-tag,
.compliance-content .section-title,
.compliance-content .section-desc {
    text-align: left;
}
.compliance-content .section-desc {
    margin-bottom: 16px;
}
.compliance-list {
    margin-top: 24px;
    margin-bottom: 36px;
}
.compliance-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-2);
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}
.compliance-list li:last-child { border-bottom: none; }
.compliance-list li svg {
    color: var(--color-green);
    flex-shrink: 0;
}

/* Compliance card */
.compliance-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-2);
    margin-bottom: 24px;
}
.cc-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cc-score {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
}
.score-ring {
    width: 100%;
    height: 100%;
}
.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cc-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-2);
    padding: 8px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}
.cc-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.cc-check.pass {
    background: rgba(34, 197, 94, 0.12);
    color: var(--color-green);
}
.cc-check.warn {
    background: rgba(245, 158, 11, 0.12);
    color: var(--color-yellow);
}

/* ===== PRICING ===== */
.pricing-section {
    background: var(--color-bg-2);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
}
.pricing-section .container {
    max-width: 1320px;
}
.pricing-grid.pricing-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-card {
    padding: 32px 26px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.pricing-featured {
    border: 1px solid rgba(14, 116, 144, 0.35);
    background: linear-gradient(180deg, rgba(14,116,144,0.06) 0%, var(--color-surface) 50%);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 80px rgba(14,116,144,0.07);
    z-index: 2;
}
.pricing-featured:hover {
    transform: translateY(-10px);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(14,116,144,0.35);
}

.pricing-plan {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-3);
    margin-bottom: 12px;
}
.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}
.price-currency {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-text);
    align-self: flex-start;
    margin-top: 8px;
}
.price-value {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--color-text);
}
.price-period {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-3);
    margin-left: 4px;
}
.price-flat {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-3);
    opacity: 0.7;
}
.pricing-period {
    font-size: 12px;
    color: var(--color-text-3);
    margin-bottom: 10px;
}
.pricing-tagline {
    font-size: 13px;
    color: var(--color-text-2);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 20px;
}
.pricing-tagline--hl {
    color: var(--color-cyan);
}
.pricing-everything {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-3);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-align: left;
    text-transform: uppercase;
}
.pricing-features {
    text-align: left;
    margin-bottom: 28px;
    flex: 1;
}
.pricing-features li {
    font-size: 13.5px;
    color: var(--color-text-2);
    padding: 7px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
    content: '✓';
    color: var(--color-green);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 12px;
}
.pricing-featured .pricing-features li::before {
    color: var(--color-cyan);
}
.pricing-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    font-size: 12px;
    color: var(--color-text-3);
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px;
}
.toggle-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-3);
    transition: all var(--transition);
}
.toggle-label--active {
    font-weight: 600;
    color: var(--color-text);
}
.toggle-switch {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    border: 1px solid var(--color-border-2);
    background: var(--color-surface-2);
    position: relative;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s;
}
.toggle-switch.active {
    background: var(--gradient-primary);
    border-color: transparent;
}
.toggle-knob {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 3px;
    transition: left 0.25s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.toggle-switch.active .toggle-knob {
    left: 22px;
}
.toggle-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-green);
    background: rgba(34, 197, 94, 0.1);
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    transition: opacity 0.25s ease;
}

/* Comparison Strip */
.comparison-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 48px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.comparison-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    border: 1px solid var(--color-border);
    text-align: center;
}
.comparison-label {
    font-size: 11px;
    color: var(--color-text-3);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.comparison-prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.comparison-before {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-red);
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.4);
}
.comparison-arrow {
    color: var(--color-border-3);
    font-size: 18px;
}
.comparison-after {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-green);
}
.comparison-save {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-green);
}

/* Pricing Note */
.pricing-note {
    max-width: 540px;
    margin: 44px auto 0;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-3);
    line-height: 1.7;
}
.pricing-note strong { color: var(--color-text-2); }
.pricing-note p + p { margin-top: 16px; }

/* Partners Banner */
.partners-banner { margin-top: 64px; }
.partners-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(14,116,144,0.07) 0%, rgba(34,211,238,0.05) 100%);
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: var(--radius-xl);
}
.partners-text h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.partners-text p {
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 1.6;
}

/* ===== OSS SECTION ===== */
.oss-section { background: var(--color-bg); }
.oss-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.oss-content .section-tag,
.oss-content .section-title,
.oss-content .section-desc {
    text-align: left;
}
.oss-content .section-desc { margin-bottom: 32px; }
.oss-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.oss-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.oss-stat {
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.2s ease;
}
.oss-stat:hover {
    border-color: var(--color-border-2);
    background: var(--color-surface-2);
}
.oss-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.oss-stat-label {
    font-size: 11px;
    color: var(--color-text-3);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--color-bg-2);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(14,116,144,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
}
.cta-desc {
    font-size: 16px;
    color: var(--color-text-2);
    margin-bottom: 36px;
    line-height: 1.7;
}
.cta-form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.cta-input {
    flex: 1;
    padding: 13px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--color-text);
    transition: all var(--transition);
}
.cta-input::placeholder { color: var(--color-text-3); }
.cta-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
    outline: none;
}
.cta-note {
    font-size: 12px;
    color: var(--color-text-3);
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    padding: 72px 0 36px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(6, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-tagline {
    font-size: 14px;
    color: var(--color-text-3);
    line-height: 1.65;
    max-width: 280px;
}
.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-3);
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--color-text-3);
    padding: 4px 0;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-text-2); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}
.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-3);
}
.footer-socials {
    display: flex;
    gap: 16px;
}
.footer-socials a {
    color: var(--color-text-3);
    transition: color var(--transition);
}
.footer-socials a:hover { color: var(--color-text-2); }

/* ===== APP SLIDESHOW ===== */
.app-slideshow { position: relative; }
.tt-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-bg-2);
    padding: 18px;
}
.tt-slides {
    display: flex;
    gap: 12px;
    width: 100%;
    border-radius: var(--radius-md);
    align-items: center;
    transition: transform 0.5s cubic-bezier(.2,.9,.2,1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.tt-slide {
    flex: 0 0 100%;
    transition: transform 0.45s cubic-bezier(.2,.9,.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    min-height: 360px;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.tt-slide img {
    display: block;
    width: 100%;
    max-height: 520px;
    height: auto;
    object-fit: contain;
    filter: blur(4px) saturate(1.02) brightness(0.95);
    transform: scale(1.01);
}
.tt-slide.revealed img { filter: none; transform: none; }
.tt-prev, .tt-next { user-select: none; }
.tt-carousel .btn-outline {
    height: 44px;
    width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 18px;
    flex-shrink: 0;
}
.tt-previewing .tt-slide img { filter: none !important; transform: none !important; }

@media (max-width: 900px) {
    .tt-slides { width: 100%; }
    .tt-carousel { gap: 8px; }
}

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}
[data-animate].visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.spin { animation: spin 0.8s linear infinite; }

/* ===== FORM INPUTS ===== */
.form-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg-2);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}
.form-input::placeholder { color: var(--color-text-3); }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-large {
        grid-column: span 1;
    }
    .compliance-inner,
    .oss-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    .pricing-grid.pricing-grid--4 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 680px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
    }

    .container {
        padding: 0 20px;
    }

    .navbar-inner {
        gap: 16px;
    }

    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 5;
    }

    /* Keep minimal on mobile */
    .nav-links.open {
        display: none;
    }
    .nav-links.open a {
        font-size: 20px;
        font-weight: 700;
        color: var(--color-text);
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn-ghost:not(#themeToggle) {
        display: none;
    }
    .nav-actions .btn-primary {
        display: none;
    }
    .nav-toggle {
        display: none;
    }

    .hero-title {
        letter-spacing: -2px;
    }

    .hero-stats {
        gap: 20px;
    }
    .stat-divider {
        display: none;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid.pricing-grid--4 {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    .pricing-toggle {
        flex-wrap: wrap;
    }

    .comparison-strip {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .gateway-flow,
    .redact-flow {
        flex-direction: column;
        gap: 12px;
    }
    .gw-arrow,
    .redact-arrow {
        transform: rotate(90deg);
    }
    .gw-models {
        flex-direction: column;
        align-items: center;
    }

    .partners-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .cta-form-row {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

    .install-box {
        font-size: 12px;
        padding: 10px 14px;
    }

    .compliance-content .section-tag,
    .compliance-content .section-title,
    .compliance-content .section-desc,
    .oss-content .section-tag,
    .oss-content .section-title,
    .oss-content .section-desc {
        text-align: center;
    }
    .compliance-list { justify-content: center; }
    .oss-links { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .oss-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== LIGHT THEME ===== */
html.light {
    --color-bg:       #ffffff;
    --color-bg-2:     #f8f9fb;
    --color-bg-3:     #f2f4f7;
    --color-surface:  #ffffff;
    --color-surface-2: #f4f6f9;
    --color-border:   rgba(15, 23, 42, 0.07);
    --color-border-2: rgba(15, 23, 42, 0.1);
    --color-border-3: rgba(15, 23, 42, 0.15);

    --color-text:   #0a0a0a;
    --color-text-2: #374151;
    --color-text-3: #6b7280;

    --color-primary:        #0e7490;
    --color-primary-hover:  #0891b2;
    --color-primary-glow:   rgba(14, 116, 144, 0.12);
    --color-cyan:           #0ea5e9;

    --gradient-text: linear-gradient(125deg, #083344 0%, #0e7490 40%, #0ea5e9 100%);
}

.light .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--color-border);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.light .hero-grid-bg {
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

.light .hero-glow-1 { background: rgba(14, 116, 144, 0.07); }
.light .hero-glow-2 { background: rgba(14, 165, 233, 0.05); }
.light .hero-glow-3 { background: rgba(14, 116, 144, 0.04); }

.light .c-comment { color: #9ca3af; }
.light .c-keyword  { color: #0e7490; }
.light .c-string   { color: #0ea5e9; }

.light .hero-badge {
    background: rgba(14, 116, 144, 0.08);
    border-color: rgba(14, 116, 144, 0.2);
    color: #0e7490;
}
.light .feature-icon {
    background: rgba(14, 116, 144, 0.08);
    color: #0e7490;
    border-color: rgba(14, 116, 144, 0.15);
}
.light .feature-icon-accent {
    background: rgba(14, 165, 233, 0.08);
    color: #0369a1;
    border-color: rgba(14, 165, 233, 0.15);
}
.light .redact-tier {
    border-color: rgba(14, 116, 144, 0.25);
    background: rgba(14, 116, 144, 0.06);
}
.light .redact-tier .redact-label {
    color: #0e7490;
}

.light .btn-outline {
    border-color: var(--color-border-2);
    color: var(--color-text-2);
    background: rgba(0,0,0,0.02);
}
.light .btn-outline:hover {
    border-color: var(--color-border-3);
    background: rgba(0,0,0,0.04);
    color: var(--color-text);
}

.light .contact-form-card {
    background: var(--color-bg);
    border-color: var(--color-border-2);
}
.light .form-input {
    background: var(--color-bg);
    border-color: var(--color-border-2);
}
.light .form-input:focus { background: #fff; }

.light .page-hero {
    background: var(--color-bg-2);
    border-bottom-color: var(--color-border);
}
.light .code-preview {
    background: #f8f9fb;
    border-color: rgba(15,23,42,0.1);
}
.light .code-body code { color: #1e293b; }
.light .install-box {
    background: var(--color-bg-2);
    border-color: var(--color-border-2);
}

/* ===== ACCESSIBILITY ===== */

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* Focus-visible styles for all interactive elements */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-glow, .hero-glow-1, .hero-glow-2, .hero-glow-3 {
        display: none;
    }
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body { background: #fff; color: #000; }
    .navbar, .footer, .hero-glow, .hero-glow-1, .hero-glow-2, .hero-glow-3,
    .hero-grid-bg, .skip-link, .nav-toggle, .btn, .footer-socials,
    .hero-cta, .hero-install, .app-slideshow, [data-animate] { display: none !important; }
    .hero, .page-hero { background: #fff; min-height: auto; padding: 2rem 0; }
    .hero-title, .page-hero h1 { color: #000; }
    .hero-subtitle, .page-subtitle { color: #333; }
    a { color: #000; text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
    a[href^="#"]::after, a[href^="javascript"]::after { content: ""; }
    .section, .page-content { padding: 1.5rem 0; }
    .container { max-width: 100%; }
}
