/* ============================================================
   Snapshot Pro — Enterprise Dark Glassmorphism
   Complete Stylesheet
   ============================================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
}

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-deep: #08080f;
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #252542;

  /* Glass */
  --glass-bg: rgba(20, 20, 28, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #b0b0c5;
  --text-muted: #6a6a85;

  /* Accents */
  --accent-primary: #818cf8;
  --accent-secondary: #a78bfa;
  --accent-gradient: linear-gradient(135deg, #818cf8, #a78bfa);

  /* Feature colours */
  --color-stroke: #6366f1;
  --color-fill: #8b5cf6;
  --color-shape: #06b6d4;
  --color-typography: #f59e0b;
  --color-transform: #10b981;
  --color-actions: #ef4444;
  --color-layers: #3b82f6;
  --color-capture: #ec4899;
  --color-dev: #14b8a6;

  /* Status */
  --success: #34d399;
  --warning: #fbbf24;
  --error: #f87171;

  /* Easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Misc */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glow: 0 0 40px rgba(129, 140, 248, 0.15);
  --nav-height: 72px;
}

/* ── Light Theme — Colorful Glassmorphism ──────────────────── */
[data-theme="light"] {
  --bg-deep: #f0f2f8;
  --bg-primary: #eaecf8;
  --bg-secondary: rgba(255, 255, 255, 0.9);
  --bg-tertiary: rgba(240, 240, 252, 0.85);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(129, 140, 248, 0.18);
  --glass-blur: blur(24px);
  --text-primary: #1a1a2e;
  --text-secondary: #3d3d60;
  --text-muted: #6a6a90;
  --shadow-glow: 0 0 60px rgba(129, 140, 248, 0.2);
  --accent-gradient: linear-gradient(135deg, #6366f1, #d946ef, #f59e0b);
  --color-stroke: #4f46e5;
  --color-fill: #7c3aed;
  --color-capture: #d946ef;
  --color-dev: #0d9488;
  --color-shape: #0891b2;
  --color-typography: #d97706;
  --color-transform: #059669;
  --color-actions: #dc2626;
  --color-layers: #2563eb;
  --success: #059669;
  --warning: #d97706;
  --error: #dc2626;
}

/* ── Glass Cards — colorful borders & rainbow reflections ── */
[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(129, 140, 248, 0.15);
  box-shadow:
    0 4px 24px rgba(99, 102, 241, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .glass-card:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow:
    0 8px 40px rgba(99, 102, 241, 0.14),
    0 4px 16px rgba(217, 70, 239, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ── Bento cards — accent glow on hover ── */
[data-theme="light"] .bento-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(129, 140, 248, 0.12);
  box-shadow:
    0 2px 16px rgba(99, 102, 241, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .bento-card:hover {
  border-color: rgba(99, 102, 241, 0.22);
  box-shadow:
    0 8px 32px rgba(99, 102, 241, 0.12),
    0 0 0 1px rgba(99, 102, 241, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ── Orbs — bigger, more vivid, colorful washes ── */
[data-theme="light"] .orb-1 {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  opacity: 0.18;
  width: 600px;
  height: 600px;
  filter: blur(140px);
}

[data-theme="light"] .orb-2 {
  background: linear-gradient(135deg, #ec4899, #f97316);
  opacity: 0.12;
  width: 500px;
  height: 500px;
  filter: blur(130px);
}

[data-theme="light"] .orb-3 {
  background: linear-gradient(135deg, #06b6d4, #10b981);
  opacity: 0.14;
  width: 550px;
  height: 550px;
  filter: blur(130px);
}

/* ── Cursor glow — violet tint ── */
[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(217, 70, 239, 0.03) 40%, transparent 70%);
}

/* ── Noise — subtle ── */
[data-theme="light"] .noise-overlay {
  opacity: 0.02;
}

/* ── Floating badges — frosted with colored shadow ── */
[data-theme="light"] .floating-badge {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(129, 140, 248, 0.15);
  box-shadow:
    0 4px 20px rgba(99, 102, 241, 0.1),
    0 1px 4px rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
}

/* ── Mockup & hero glow — colorful ── */
[data-theme="light"] .mockup-glow,
[data-theme="light"] .hero-glow {
  opacity: 0.6;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, rgba(217, 70, 239, 0.08) 40%, transparent 70%);
}

/* ── Navbar — frosted glass ── */
[data-theme="light"] .navbar.scrolled {
  background: rgba(240, 242, 248, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(99, 102, 241, 0.1);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.06);
}

/* ── Primary button — vivid glow ── */
[data-theme="light"] .btn-primary {
  box-shadow:
    0 4px 16px rgba(99, 102, 241, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow:
    0 8px 28px rgba(99, 102, 241, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.15);
}

/* ── Secondary button — glass ── */
[data-theme="light"] .btn-secondary {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
}

/* ── Editor window — frosted ── */
[data-theme="light"] .editor-window {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(129, 140, 248, 0.15);
  box-shadow:
    0 24px 80px rgba(99, 102, 241, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .ew-canvas {
  background: rgba(248, 249, 252, 0.8);
}

[data-theme="light"] .ew-titlebar,
[data-theme="light"] .ew-statusbar {
  background: rgba(238, 240, 246, 0.8);
  border-color: rgba(129, 140, 248, 0.1);
}

[data-theme="light"] .ew-tool {
  color: var(--text-muted);
}

[data-theme="light"] .ew-tool.active {
  background: rgba(99, 102, 241, 0.08);
}

[data-theme="light"] .ew-tool:hover {
  background: rgba(99, 102, 241, 0.06);
}

/* ── Editor page mock — dark content on light bg ── */
[data-theme="light"] .ew-body {
  background: #f5f6fa;
}

[data-theme="light"] .ew-page-logo {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ew-page-links span {
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ew-page-btn {
  background: rgba(99, 102, 241, 0.12) !important;
}

[data-theme="light"] .ew-page-h1 {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ew-page-p {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ew-page-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.05);
}

/* Editor annotations — visible on light bg */
[data-theme="light"] .ew-ann-blur {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .ew-ann-text {
  color: #fff;
}

/* Properties panel */
[data-theme="light"] .ew-props {
  background: rgba(0, 0, 0, 0.02);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ew-prop-label {
  color: var(--text-secondary);
}

[data-theme="light"] .ew-slider-track {
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ew-slider-fill {
  background: var(--accent-primary);
}

[data-theme="light"] .ew-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
}

[data-theme="light"] .ew-pill.active {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: var(--color-stroke);
}

[data-theme="light"] .ew-tool-sep {
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ew-dim,
[data-theme="light"] .ew-zoom {
  color: var(--text-muted);
}

[data-theme="light"] .ew-title {
  color: var(--text-secondary);
}

/* Mockup window in hero — light mode */
[data-theme="light"] .mockup-titlebar {
  background: rgba(238, 240, 248, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mockup-body {
  background: #f5f6fa;
}

[data-theme="light"] .mockup-toolbar {
  border-right-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mockup-tool {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .mockup-tool.active {
  background: var(--tool-color, var(--accent-primary));
  opacity: 0.7;
}

[data-theme="light"] .mockup-props {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .mockup-prop-row {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .mockup-screenshot-bg {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(139, 92, 246, 0.03), rgba(20, 184, 166, 0.04));
}

/* Layer mock rows */
[data-theme="light"] .layer-mock-row {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
}

[data-theme="light"] .layer-mock-row.active {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.15);
}

/* Props pills in feature cards */
[data-theme="light"] .prop-pill {
  background: rgba(255, 255, 255, 0.7);
  border-color: color-mix(in srgb, var(--pill-color, var(--accent-primary)) 15%, transparent);
}

/* Format badges */
[data-theme="light"] .format-badge {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.12);
  color: var(--color-stroke);
}

/* Scroll visual in bento */
[data-theme="light"] .scroll-segment {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .scroll-indicator-mock {
  background: rgba(99, 102, 241, 0.15);
}

/* Inspector mock in bento */
[data-theme="light"] .inspector-el {
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .inspector-el.active {
  border-color: var(--color-dev);
  background: rgba(13, 148, 136, 0.05);
}

[data-theme="light"] .inspector-tooltip-mock {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Dev terminal */
[data-theme="light"] .terminal-header {
  background: rgba(238, 240, 248, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .terminal-body {
  background: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .terminal-title {
  color: var(--text-muted);
}

/* Env toggles */
[data-theme="light"] .env-toggle span {
  color: var(--text-secondary);
}

/* Vitals */
[data-theme="light"] .vital {
  background: transparent;
  border: none;
  box-shadow: none;
}

[data-theme="light"] .vital-ring-fill {
  filter: saturate(1.2);
}

[data-theme="light"] circle[stroke="rgba(255,255,255,0.05)"] {
  stroke: rgba(0, 0, 0, 0.04);
}

/* Shortcuts */
[data-theme="light"] .shortcut-group {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(99, 102, 241, 0.08);
}

[data-theme="light"] .shortcut-action {
  color: var(--text-secondary);
}

[data-theme="light"] .key-combo span {
  color: var(--text-muted);
}

/* CTA section */
[data-theme="light"] .cta-meta span {
  color: var(--text-muted);
}

/* Footer */
[data-theme="light"] .footer-col a {
  color: var(--text-muted);
}

[data-theme="light"] .footer-col a:hover {
  color: var(--color-stroke);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(99, 102, 241, 0.08);
}

/* Stats bar */
[data-theme="light"] .stat-divider {
  background: rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .stat-label {
  color: var(--text-muted);
}

/* Shield visual */
[data-theme="light"] .shield-ring {
  opacity: 0.6;
}

[data-theme="light"] .shield-orbit-dot {
  filter: brightness(0.9);
}

/* ── Terminal — frosted with colored lines ── */
[data-theme="light"] .terminal-line.error {
  background: rgba(220, 38, 38, 0.07);
  border-left: 2px solid rgba(220, 38, 38, 0.4);
}

[data-theme="light"] .terminal-line.warning {
  background: rgba(217, 119, 6, 0.07);
  border-left: 2px solid rgba(217, 119, 6, 0.4);
}

[data-theme="light"] .terminal-line.info {
  background: rgba(13, 148, 136, 0.07);
  border-left: 2px solid rgba(13, 148, 136, 0.4);
}

[data-theme="light"] .terminal-line.success {
  background: rgba(5, 150, 105, 0.07);
  border-left: 2px solid rgba(5, 150, 105, 0.4);
}

/* ── Section backgrounds — gradient washes ── */
[data-theme="light"] .section-dark {
  background: linear-gradient(180deg,
    rgba(232, 236, 245, 0.3) 0%,
    rgba(255, 255, 255, 0.8) 30%,
    rgba(248, 240, 255, 0.3) 70%,
    rgba(232, 236, 245, 0.3) 100%);
}

/* ── Stats bar — frosted ── */
[data-theme="light"] .stats-bar {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(129, 140, 248, 0.1);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.06);
}

[data-theme="light"] .stat-number {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section badge — colored pill ── */
[data-theme="light"] .section-badge {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(129, 140, 248, 0.15);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
}

/* ── Card icon wrap — soft colored background ── */
[data-theme="light"] .card-icon-wrap {
  background: rgba(99, 102, 241, 0.06);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.04);
}

/* ── Card badge — vivid ── */
[data-theme="light"] .card-badge {
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-stroke);
}

/* ── Inspector mock — colored border ── */
[data-theme="light"] .inspector-el.active {
  border-color: var(--color-dev);
  background: rgba(13, 148, 136, 0.06);
}

/* ── Vitals — colored backgrounds ── */
[data-theme="light"] .vital {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(129, 140, 248, 0.1);
}

/* ── Toggle switches ── */
[data-theme="light"] .toggle-switch {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .toggle-switch.on {
  background: var(--color-dev);
}

/* ── Panel tags ── */
[data-theme="light"] .panel-tag {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(129, 140, 248, 0.12);
}

[data-theme="light"] .panel-tag.active {
  background: rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.25);
}

/* ── Privacy items ── */
[data-theme="light"] .privacy-icon-wrap {
  background: rgba(5, 150, 105, 0.06);
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.06);
}

/* ── Shortcut groups ── */
[data-theme="light"] .shortcut-group {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] kbd {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.15);
  box-shadow: 0 2px 0 rgba(99, 102, 241, 0.08);
}

/* ── Editor feature cards ── */
[data-theme="light"] .editor-feat-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(129, 140, 248, 0.12);
}

[data-theme="light"] .editor-feat-card:hover {
  border-color: rgba(129, 140, 248, 0.22);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
}

/* ── Props pills ── */
[data-theme="light"] .prop-pill {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(129, 140, 248, 0.12);
}

/* ── Format badges ── */
[data-theme="light"] .format-badge {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.15);
}

/* ── Delight cards ── */
[data-theme="light"] .delight-card {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .achievement {
  background: rgba(217, 119, 6, 0.06);
  border-color: rgba(217, 119, 6, 0.15);
}

/* ── CTA section — gradient wash ── */
[data-theme="light"] .section-cta {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(99, 102, 241, 0.03) 30%,
    rgba(217, 70, 239, 0.04) 60%,
    rgba(245, 158, 11, 0.02) 100%);
}

/* ── Footer ── */
[data-theme="light"] .footer {
  background: rgba(232, 236, 245, 0.8);
  border-top: 1px solid rgba(129, 140, 248, 0.1);
}

/* ── Scroll progress bar ── */
[data-theme="light"] .scroll-progress-fill {
  background: var(--accent-gradient);
}

/* ── Grid background ── */
[data-theme="light"] .grid-bg {
  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
}

/* ── Gradient text stays vivid ── */
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #4f46e5, #d946ef, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Mockup window ── */
[data-theme="light"] .mockup-window {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(129, 140, 248, 0.15);
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .mockup-titlebar {
  background: rgba(238, 240, 246, 0.9);
}

[data-theme="light"] .mockup-canvas {
  background: rgba(248, 249, 255, 0.8);
}

/* ── Export flow icons ── */
[data-theme="light"] .flow-icon {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(129, 140, 248, 0.12);
}

/* ── Cloud logos ── */
[data-theme="light"] .cloud-logo svg {
  fill: var(--text-secondary);
}

/* ── Dev terminal card ── */
[data-theme="light"] .dev-terminal-card {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .terminal-header {
  background: rgba(238, 240, 246, 0.9);
}

[data-theme="light"] .terminal-body {
  background: rgba(255, 255, 255, 0.4);
}

/* ── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

code,
pre,
.mono,
kbd {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ── Scroll Progress Bar ───────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10000;
  background: transparent;
  pointer-events: none;
}

.scroll-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  transform-origin: left;
  transform: scaleX(var(--scroll, 0));
  transition: transform 0.15s linear;
}

/* ── Grid Background ──────────────────────────────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── Ambient Orbs ──────────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-primary), transparent 70%);
  top: -200px;
  left: -100px;
  animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-shape), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 30s ease-in-out infinite;
}

@keyframes orbFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(80px, 60px) scale(1.1);
  }

  66% {
    transform: translate(-40px, 30px) scale(0.95);
  }
}

@keyframes orbFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-60px, -40px) scale(1.05);
  }

  66% {
    transform: translate(50px, -20px) scale(0.9);
  }
}

@keyframes orbFloat3 {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* ── Noise Overlay ─────────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ── Cursor Glow ───────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cursor-glow.visible {
  opacity: 1;
}

/* ── Confetti Canvas ───────────────────────────────────────── */
.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

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

.container-narrow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 100px 0;
  z-index: 2;
}

.section-dark {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.section-header-centered {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-centered h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-header-centered p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-label,
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--badge-color, var(--accent-primary));
  margin-bottom: 16px;
}

.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--badge-color, var(--accent-primary));
}

/* ── Glass Card ────────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

/* ── Glow Border ───────────────────────────────────────────── */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--accent-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.glow-border:hover::before {
  opacity: 1;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.05);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(129, 140, 248, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(129, 140, 248, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(129, 140, 248, 0.08);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 20px 48px;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
}

.magnetic-btn {
  transition: transform 0.2s var(--ease-out-expo);
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-out-expo);
  background: transparent;
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 1001;
}

.nav-logo img,
.nav-logo svg {
  width: 32px;
  height: 32px;
}

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

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--accent-primary);
}

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

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  position: relative;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-primary);
}

.theme-toggle .sun,
.theme-toggle .moon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
}

.theme-toggle .sun {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

.theme-toggle .moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

[data-theme="light"] .theme-toggle .sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

[data-theme="light"] .theme-toggle .moon {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

.nav-cta {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 2px 12px rgba(129, 140, 248, 0.25);
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(129, 140, 248, 0.4);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav .nav-link {
  font-size: 1.25rem;
  padding: 12px 24px;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  z-index: 2;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-primary);
  background: rgba(129, 140, 248, 0.08);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.badge-dot.pulse {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.4);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 8px rgba(129, 140, 248, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-container {
  display: inline-flex;
  margin-bottom: 24px;
}

.typing-text {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent-primary);
  margin-left: 4px;
  animation: cursorBlink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ── Hero Visual / Mockup ──────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-mockup {
  position: relative;
  width: 100%;
  animation: heroFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0) rotateX(2deg) rotateY(-2deg);
  }

  50% {
    transform: translateY(-12px) rotateX(-1deg) rotateY(2deg);
  }
}

.mockup-window {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--glass-border);
}

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

.dot-red {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
}

.dot-yellow {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fbbf24;
}

.dot-green {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34d399;
}

.mockup-body {
  padding: 16px;
}

.mockup-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  padding: 8px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
}

.mockup-tool {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.mockup-tool:hover {
  background: rgba(129, 140, 248, 0.15);
}

.mockup-canvas {
  position: relative;
  min-height: 200px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 16px;
}

.mockup-annotation {
  position: absolute;
  border: 2px dashed var(--accent-primary);
  border-radius: var(--radius-sm);
  opacity: 0.6;
}

.mockup-props {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
}

.mockup-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(129, 140, 248, 0.08), transparent 60%);
  pointer-events: none;
}

/* ── Floating Badges ───────────────────────────────────────── */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.fb-1 {
  top: -16%;
  left: -5%;
  animation: floatBadge1 5s ease-in-out infinite;
}

.fb-2 {
  bottom: -16%;
  left: 0%;
  animation: floatBadge2 6s ease-in-out infinite;
}

.fb-3 {
  top: -16%;
  right: -5%;
  animation: floatBadge3 7s ease-in-out infinite;
}

.fb-4 {
  bottom: -16%;
  right: 0%;
  animation: floatBadge4 5.5s ease-in-out infinite;
}

@keyframes floatBadge1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-8px, -10px);
  }
}

@keyframes floatBadge2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(6px, -12px);
  }
}

@keyframes floatBadge3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, 8px);
  }
}

@keyframes floatBadge4 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-6px, -8px);
  }
}

/* ── Scroll Indicator ──────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 3px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelAnim 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes scrollWheelAnim {

  0%,
  100% {
    opacity: 1;
    top: 6px;
  }

  50% {
    opacity: 0.3;
    top: 18px;
  }
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  position: relative;
  z-index: 2;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 40px 0;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.stat-number {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--glass-border);
  flex-shrink: 0;
}

/* ── Features Bento Grid ───────────────────────────────────── */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bento-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(129, 140, 248, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), var(--shadow-glow);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-wide {
  grid-column: span 2;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
  background: rgba(129, 140, 248, 0.1);
  color: var(--accent-primary);
}

.bento-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.card-shortcut {
  display: inline-flex;
  gap: 4px;
  margin-top: 16px;
}

.card-shortcut kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-secondary);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.bento-wide-inner {
  display: flex;
  gap: 32px;
  align-items: center;
}

.bento-visual {
  flex-shrink: 0;
  width: 220px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
}

/* Scroll visual animation */
.scroll-visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.scroll-page-mock {
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scroll-segment {
  height: 30px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  opacity: 0;
  animation: scrollSegmentSlide 3s ease-in-out infinite;
}

.scroll-segment:nth-child(1) {
  animation-delay: 0s;
}

.scroll-segment:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-segment:nth-child(3) {
  animation-delay: 0.4s;
}

.scroll-segment:nth-child(4) {
  animation-delay: 0.6s;
}

.scroll-segment:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes scrollSegmentSlide {

  0%,
  100% {
    opacity: 0;
    transform: translateY(10px);
  }

  20%,
  80% {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator-mock {
  position: absolute;
  right: 4px;
  top: 10%;
  width: 4px;
  height: 30%;
  background: var(--accent-primary);
  border-radius: 2px;
  opacity: 0.5;
  animation: scrollIndicatorMove 3s ease-in-out infinite;
}

@keyframes scrollIndicatorMove {

  0%,
  100% {
    top: 10%;
  }

  50% {
    top: 60%;
  }
}

/* Element visual / inspector */
.element-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.inspector-mock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 40%;
  border: 2px solid var(--color-shape);
  border-radius: var(--radius-sm);
  animation: inspectorPulse 2.5s ease-in-out infinite;
}

.inspector-el {
  width: 100%;
  height: 100%;
  background: rgba(6, 182, 212, 0.08);
  border-radius: inherit;
}

.inspector-tooltip-mock {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  white-space: nowrap;
}

@keyframes inspectorPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(6, 182, 212, 0);
  }
}

/* ── Editor Showcase ───────────────────────────────────────── */
/* ── NEW Editor Window ─────────────────────────────────────── */
.editor-window {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
  background: var(--bg-secondary);
}

.ew-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--glass-border);
}

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

.ew-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  flex: 1;
}

.ew-actions {
  display: flex;
  gap: 12px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.ew-dim,
.ew-zoom {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.ew-body {
  display: grid;
  grid-template-columns: 1fr 180px;
  grid-template-rows: auto 1fr;
  min-height: 400px;
}

.ew-toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid var(--glass-border);
}

.ew-tool {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.15s;
}

.ew-tool:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.ew-tool.active {
  background: rgba(129, 140, 248, 0.15);
  color: var(--accent-primary);
}

.ew-tool-sep {
  width: 1px;
  height: 20px;
  background: var(--glass-border);
  margin: 0 6px;
}

/* Canvas area with fake page content */
.ew-canvas {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  border-right: 1px solid var(--glass-border);
}

.ew-page-mock {
  padding: 20px;
  opacity: 0.5;
}

.ew-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.ew-page-logo {
  width: 80px;
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.ew-page-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ew-page-links span {
  width: 40px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

.ew-page-btn {
  width: 50px !important;
  height: 20px !important;
  background: rgba(129, 140, 248, 0.15) !important;
  border-radius: 4px !important;
}

.ew-page-hero {
  margin-bottom: 24px;
}

.ew-page-h1 {
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 8px;
  width: 70%;
}

.ew-page-h1.short {
  width: 45%;
}

.ew-page-p {
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  margin-bottom: 6px;
  width: 90%;
}

.ew-page-p.short {
  width: 60%;
}

.ew-page-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ew-page-card {
  height: 80px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Annotations */
.ew-ann {
  position: absolute;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
  z-index: 2;
}

.ew-ann-arrow {
  top: 22%;
  left: 8%;
}

.ew-ann-rect {
  top: 30%;
  left: 35%;
  width: 130px;
  height: 75px;
  border: 2.5px solid var(--color-shape);
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.ew-ann-text {
  top: 16%;
  right: 12%;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  background: var(--color-actions);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.ew-ann-blur {
  bottom: 12%;
  right: 15%;
  width: 90px;
  height: 45px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.ew-ann-highlight {
  bottom: 42%;
  left: 10%;
  width: 100px;
  height: 16px;
  background: rgba(245, 158, 11, 0.3);
  border-radius: 3px;
}

.ew-ann-circle {
  top: 50%;
  right: 25%;
  width: 60px;
  height: 60px;
  border: 2.5px solid var(--color-shape);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.08);
}

/* Properties panel */
.ew-props {
  padding: 16px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ew-props-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ew-prop-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ew-prop-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.ew-prop-colors {
  display: flex;
  gap: 6px;
}

.ew-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
}

.ew-color.active {
  border-color: #fff;
  transform: scale(1.15);
}

.ew-color:hover {
  transform: scale(1.1);
}

.ew-prop-slider {
  padding: 4px 0;
}

.ew-slider-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.ew-slider-fill {
  height: 100%;
  background: var(--accent-primary);
  border-radius: 2px;
}

.ew-prop-pills {
  display: flex;
  gap: 4px;
}

.ew-pill {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}

.ew-pill.active {
  color: var(--accent-primary);
  border-color: rgba(129, 140, 248, 0.3);
  background: rgba(129, 140, 248, 0.08);
}

.ew-statusbar {
  display: flex;
  gap: 24px;
  padding: 6px 16px;
  font-size: 0.65rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  border-top: 1px solid var(--glass-border);
}

/* Old editor classes kept for backward compat */
.editor-showcase {
  display: none;
}

.canvas-annotation {
  position: absolute;
  inset: 0;
}

.ann-arrow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 120px;
  height: 60px;
  border-left: 2px solid var(--color-stroke);
  border-bottom: 2px solid var(--color-stroke);
}

.ann-rect {
  position: absolute;
  top: 25%;
  right: 15%;
  width: 100px;
  height: 70px;
  border: 2px solid var(--color-fill);
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.08);
}

.ann-text {
  position: absolute;
  bottom: 30%;
  left: 20%;
  font-size: 0.85rem;
  color: var(--color-typography);
  font-weight: 600;
}

.ann-blur {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 80px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--text-muted);
}

.ann-highlight {
  position: absolute;
  top: 55%;
  left: 35%;
  width: 120px;
  height: 20px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 4px;
}

/* Editor features row */
.editor-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 24px;
}

.editor-feat-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s var(--ease-out-expo);
}

.editor-feat-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.editor-feat-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.editor-feat-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.props-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.prop-pill {
  padding: 4px 10px;
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text-muted);
}

.layers-mock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.layer-mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.layer-mock-row:first-child {
  background: rgba(129, 140, 248, 0.1);
  color: var(--accent-primary);
}

.format-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.format-badge {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: var(--bg-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Dev Tools Bento ───────────────────────────────────────── */
.dev-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.dev-terminal {
  grid-column: span 2;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
  overflow-x: auto;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s var(--ease-out-expo);
}

.terminal-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.terminal-line.error {
  color: var(--error);
}

.terminal-line.warning {
  color: var(--warning);
}

.terminal-line.info {
  color: var(--accent-primary);
}

.terminal-line.success {
  color: var(--success);
}

.line-icon {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  margin-top: 2px;
}

.line-text {
  flex: 1;
}

.line-source {
  color: var(--text-muted);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Dev panels card */
.dev-panels-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.panel-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.panel-tag {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 100px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.panel-tag.active {
  background: rgba(129, 140, 248, 0.12);
  color: var(--accent-primary);
  border-color: rgba(129, 140, 248, 0.3);
}

/* Dev environment card */
.dev-env-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.env-toggles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.env-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-switch.on {
  background: rgba(129, 140, 248, 0.25);
  border-color: var(--accent-primary);
}

.toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.3s var(--ease-out-back);
}

.toggle-switch.on .toggle-knob {
  left: 22px;
  background: var(--accent-primary);
}

/* Dev vitals card */
.dev-vitals-card {
  grid-column: span 2;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.vitals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.vital {
  text-align: center;
}

.vital-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
}

.vital-ring svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.vital-ring circle {
  fill: none;
  stroke-width: 5;
}

.vital-ring circle:first-child {
  stroke: var(--bg-tertiary);
}

.vital-ring-fill {
  stroke: var(--accent-primary);
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s var(--ease-out-expo);
}

.vital-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.vital-value {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.vital-value.good {
  color: var(--success);
}

.vital-value.warn {
  color: var(--warning);
}

.vital-value.poor {
  color: var(--error);
}

/* ── Comparison Table ──────────────────────────────────────── */
.comparison-table-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.comparison-table thead {
  position: sticky;
  top: 0;
}

.comparison-table th {
  padding: 18px 20px;
  text-align: center;
  font-weight: 600;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--glass-border);
  white-space: nowrap;
}

.comparison-table th:first-child {
  text-align: left;
  border-radius: var(--radius-md) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius-md) 0 0;
}

th.feature-col {
  color: var(--text-secondary);
  min-width: 200px;
}

th.tool-col {
  color: var(--text-secondary);
}

th.highlight-col {
  background: rgba(129, 140, 248, 0.12);
  color: var(--accent-primary);
  position: relative;
}

th.highlight-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px 3px 0 0;
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
  background: var(--bg-primary);
}

.comparison-table td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-weight: 500;
}

td.highlight-col {
  background: rgba(129, 140, 248, 0.04);
}

.comparison-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius-md);
}

.comparison-table tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius-md) 0;
}

.comparison-table tbody tr {
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:hover td.highlight-col {
  background: rgba(129, 140, 248, 0.08);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.8rem;
}

.check.yes {
  color: var(--success);
  background: rgba(52, 211, 153, 0.1);
}

.check.no {
  color: var(--error);
  background: rgba(248, 113, 113, 0.1);
}

.check.partial {
  color: var(--warning);
  background: rgba(251, 191, 36, 0.1);
}

.free-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(52, 211, 153, 0.12);
  color: var(--success);
  border-radius: 100px;
  margin-left: 8px;
}

/* ── Testimonials Carousel ─────────────────────────────────── */
.carousel-container {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.6s var(--ease-out-expo);
}

.testimonial-card {
  flex: 0 0 340px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease-out-expo);
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #fbbf24;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--avatar-color, var(--accent-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(129, 140, 248, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-back);
}

.carousel-dot.active {
  background: var(--accent-primary);
  width: 24px;
  border-radius: 4px;
}

/* ── Two-Col Privacy / Delight ─────────────────────────────── */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.col-left,
.col-right {
  display: flex;
  flex-direction: column;
}

.col-left h3,
.col-right h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

/* Delight cards */
.delight-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.delight-card {
  padding: 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
}

.delight-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.delight-emoji {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
}

.delight-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.delight-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Sound waves */
.sound-waves {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  margin-top: 10px;
}

.wave {
  width: 3px;
  border-radius: 3px;
  background: var(--accent-primary);
  animation: waveAnim 1.2s ease-in-out infinite;
}

.wave:nth-child(1) {
  height: 30%;
  animation-delay: 0s;
}

.wave:nth-child(2) {
  height: 60%;
  animation-delay: 0.1s;
}

.wave:nth-child(3) {
  height: 100%;
  animation-delay: 0.2s;
}

.wave:nth-child(4) {
  height: 50%;
  animation-delay: 0.3s;
}

.wave:nth-child(5) {
  height: 80%;
  animation-delay: 0.4s;
}

@keyframes waveAnim {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(0.4);
  }
}

/* Achievement list */
.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.achievement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 8px 12px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
}

/* ── Interactive Shortcuts ─────────────────────────────────── */
.shortcuts-interactive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.shortcut-group {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.shortcut-group h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: all 0.25s ease;
}

.shortcut-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.shortcut-row.active {
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.2);
}

.key-combo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.key-combo kbd,
.shortcuts-interactive kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-secondary);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.shortcut-row.active kbd {
  background: rgba(129, 140, 248, 0.15);
  border-color: rgba(129, 140, 248, 0.3);
  color: var(--accent-primary);
  box-shadow: 0 2px 0 rgba(129, 140, 248, 0.2);
}

.shortcut-action {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.shortcut-row.active .shortcut-action {
  color: var(--text-primary);
}

/* ── FAQ Accordion ─────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item[open] {
  border-color: rgba(129, 140, 248, 0.2);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color 0.3s ease;
  user-select: none;
}

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

.faq-question::marker {
  display: none;
  content: '';
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out-expo);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
  color: var(--accent-primary);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item:not([open]) .faq-answer {
  max-height: 0;
  padding: 0 24px;
  overflow: hidden;
}

.faq-item[open] .faq-answer {
  animation: faqOpen 0.4s var(--ease-out-expo) forwards;
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── CTA Section ───────────────────────────────────────────── */
.section-cta {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-container>p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.cta-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.cta-sep {
  width: 1px;
  height: 16px;
  background: var(--glass-border);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo img,
.footer-logo svg {
  width: 28px;
  height: 28px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-seo {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.5;
  max-width: 600px;
  line-height: 1.5;
  margin-top: 12px;
}

/* ── Scroll Reveal Animations ──────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: all 0.7s var(--ease-out-expo);
}

[data-reveal="up"] {
  transform: translateY(40px);
}

[data-reveal="down"] {
  transform: translateY(-40px);
}

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

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

[data-reveal="scale"] {
  transform: scale(0.85);
}

[data-reveal="rotate"] {
  transform: rotate(-5deg) scale(0.9);
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* ── 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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-mockup {
    animation: none;
  }

  .floating-badge {
    animation: none;
  }

  .orb {
    animation: none;
  }

  .scroll-indicator {
    animation: none;
  }
}

/* ── Responsive: max-width 1024px ──────────────────────────── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

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

  .bento-wide {
    grid-column: span 2;
  }

  .ew-body {
    grid-template-columns: 1fr;
  }

  .ew-props {
    display: none;
  }

  .ew-toolbar {
    overflow-x: auto;
  }

  .ew-actions {
    display: none;
  }

  .editor-features-row {
    grid-template-columns: 1fr 1fr;
  }

  .dev-bento {
    grid-template-columns: 1fr;
  }

  .dev-terminal {
    grid-column: span 1;
  }

  .dev-vitals-card {
    grid-column: span 1;
  }

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

  .two-col-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .shortcuts-interactive {
    grid-template-columns: 1fr 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .floating-badge {
    display: none;
  }

  .comparison-table-wrap {
    margin: 0 -12px;
    padding: 0 12px;
  }
}

/* ── Responsive: max-width 640px ───────────────────────────── */
@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-container {
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .typing-text {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  .features-bento {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .bento-wide-inner {
    flex-direction: column;
  }

  .bento-visual {
    width: 100%;
  }

  .stats-grid {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .editor-features-row {
    grid-template-columns: 1fr;
  }

  .shortcuts-interactive {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    gap: 12px;
  }

  .testimonial-card {
    flex: 0 0 290px;
  }

  .vitals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .cta-meta {
    flex-direction: column;
    gap: 8px;
  }

  .cta-sep {
    width: 24px;
    height: 1px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .container,
  .container-narrow {
    padding: 0 16px;
  }

  .scroll-indicator {
    display: none;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }

  .nav-cta {
    display: none;
  }
}

/* ── Utility Classes ───────────────────────────────────────── */
.text-gradient,
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Selection styling ─────────────────────────────────────── */
::selection {
  background: rgba(129, 140, 248, 0.3);
  color: var(--text-primary);
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ── Focus visible ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* ── Vitals Refresh Button ────────────────────────────────── */
.vitals-refresh {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: pointer;
}

.vitals-refresh:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-primary);
}

.vitals-refresh.spinning svg {
  animation: spinOnce 0.6s ease;
}

@keyframes spinOnce {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.vital {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.vital:active {
  transform: scale(0.95);
}

/* ── Back Link ────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent-primary);
}

/* ══════════════════════════════════════════════════════════════
   PATCH: Missing styles for HTML/CSS class mismatches
   ══════════════════════════════════════════════════════════════ */

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--accent-primary);
  color: var(--bg-deep);
  border-radius: 8px;
  z-index: 10001;
  font-weight: 600;
  transition: top 0.3s ease;
}

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

/* ── Section Title & Subtitle ─────────────────────────────── */
.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.section-header-centered {
  text-align: center;
}

.section-header-centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Section Dark ─────────────────────────────────────────── */
.section-dark {
  background: linear-gradient(180deg, rgba(15, 15, 26, 0.5) 0%, var(--bg-primary) 50%, rgba(15, 15, 26, 0.5) 100%);
}

/* ── Section CTA ──────────────────────────────────────────── */
.section-cta {
  text-align: center;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-meta {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cta-version {
  font-family: 'JetBrains Mono', monospace;
}

.cta-sep {
  opacity: 0.3;
}

/* ── Card Shared Classes ──────────────────────────────────── */
.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: var(--accent, var(--accent-primary));
  font-weight: 500;
  vertical-align: middle;
  margin-left: 6px;
}

/* ── Card Icon Wrap ───────────────────────────────────────── */
.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent, var(--accent-primary));
  transition: transform 0.3s var(--ease-out-back);
}

.bento-card:hover .card-icon-wrap,
.glass-card:hover .card-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

/* ── Card Shortcut ────────────────────────────────────────── */
kbd.card-shortcut {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

/* ── Hero Badge Wrap ──────────────────────────────────────── */
.hero-badge-wrap {
  display: inline-block;
}

/* ── Badge Dot ────────────────────────────────────────────── */
.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.badge-dot.pulse {
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

/* ── Hero Badge ───────────────────────────────────────────── */
.hero-badge {
  padding: 8px 16px;
  font-size: 0.8rem;
}

/* ── Dot base class ───────────────────────────────────────── */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

/* ── Nav Actions ──────────────────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Theme Toggle ─────────────────────────────────────────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--text-secondary);
  position: relative;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.theme-icon {
  position: absolute;
  transition: opacity 0.3s, transform 0.3s;
}

[data-theme="dark"] .theme-icon.sun {
  opacity: 1;
  transform: rotate(0);
}

[data-theme="dark"] .theme-icon.moon {
  opacity: 0;
  transform: rotate(90deg);
}

[data-theme="light"] .theme-icon.sun {
  opacity: 0;
  transform: rotate(-90deg);
}

[data-theme="light"] .theme-icon.moon {
  opacity: 1;
  transform: rotate(0);
}

/* ── Mobile Nav Link ──────────────────────────────────────── */
.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.15s;
}

.mobile-nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Nav Link Active ──────────────────────────────────────── */
.nav-link.active {
  color: var(--text-primary);
}

/* ── Confetti Canvas ──────────────────────────────────────── */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ── Floating Badges ──────────────────────────────────────── */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  z-index: 5;
  will-change: transform;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.fb-1 {
  top: -16%;
  left: -5%;
}

.fb-2 {
  bottom: -16%;
  left: 0%;
}

.fb-3 {
  top: -16%;
  right: -5%;
}

.fb-4 {
  bottom: -16%;
  right: 0%;
}

/* ── Scroll Indicator ─────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

/* ── Mockup Annotations (Hero) ────────────────────────────── */
.mockup-annotation {
  position: absolute;
  transition: opacity 0.4s ease;
}

.m-arrow {
  top: 22%;
  left: 8%;
}

.m-rect {
  bottom: 18%;
  left: 10%;
  width: 55px;
  height: 35px;
  border: 2px solid var(--color-shape);
  border-radius: 4px;
}

.m-blur {
  bottom: 18%;
  right: 10%;
  width: 50px;
  height: 25px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border-radius: 4px;
}

.m-text {
  top: 12%;
  right: 8%;
  font-size: 9px;
  color: var(--color-typography);
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 3px;
}

.m-highlight {
  top: 55%;
  left: 35%;
  width: 50px;
  height: 10px;
  background: rgba(245, 158, 11, 0.25);
  border-radius: 2px;
}

.mockup-screenshot-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.04), rgba(20, 184, 166, 0.04));
}

.mockup-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-prop-row {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.mockup-prop-row.short {
  width: 60%;
}

.mockup-tool.active {
  background: var(--tool-color, var(--accent-primary));
  opacity: 0.85;
}

/* ── Terminal Dots ────────────────────────────────────────── */
.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.terminal-line.success {
  background: rgba(52, 211, 153, 0.08);
  color: var(--success);
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  padding: 48px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg-primary);
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* ── Bento Grid ───────────────────────────────────────────── */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.bento-wide {
  grid-column: span 2;
}

.bento-wide-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.bento-wide-inner .card-icon-wrap {
  flex-shrink: 0;
}

.bento-visual {
  margin-top: 20px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

/* Scroll visual */
.scroll-visual {
  overflow: hidden;
}

.scroll-page-mock {
  height: 100px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scroll-segment {
  flex: 1;
  border-radius: 4px;
  opacity: 0;
  animation: scrollSegIn 0.6s ease forwards;
}

.scroll-segment.s1 {
  background: rgba(6, 182, 212, 0.15);
  animation-delay: 0s;
}

.scroll-segment.s2 {
  background: rgba(6, 182, 212, 0.1);
  animation-delay: 0.3s;
}

.scroll-segment.s3 {
  background: rgba(6, 182, 212, 0.06);
  animation-delay: 0.6s;
}

@keyframes scrollSegIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator-mock {
  position: absolute;
  right: 6px;
  top: 0;
  width: 3px;
  height: 30%;
  border-radius: 2px;
  background: var(--color-shape);
  animation: scrollMockSlide 2s ease-in-out infinite;
}

@keyframes scrollMockSlide {

  0%,
  100% {
    top: 0;
  }

  50% {
    top: 70%;
  }
}

/* Element / Inspector visual */
.element-visual {
  overflow: hidden;
  padding: 20px;
}

.inspector-mock {
  position: relative;
  height: 80px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
}

.inspector-el {
  width: 60px;
  height: 50px;
  border: 2px dashed var(--glass-border);
  border-radius: 6px;
  transition: all 0.3s;
}

.inspector-el.active {
  border-color: var(--color-dev);
  background: rgba(20, 184, 166, 0.06);
  animation: inspectorPulse 2s ease-in-out infinite;
}

@keyframes inspectorPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.2);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(20, 184, 166, 0);
  }
}

.inspector-tooltip-mock {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.it-tag {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.65rem;
  color: var(--color-dev);
}

.it-class {
  color: var(--text-secondary);
}

.it-dims {
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
}

/* ── Editor Features Row ──────────────────────────────────── */
.editor-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.editor-feat-card {
  padding: 24px;
}

.editor-feat-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.editor-feat-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Props pills */
.props-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prop-pill {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--pill-color, var(--text-secondary));
  transition: all 0.15s;
}

.prop-pill:hover {
  border-color: var(--pill-color);
  background: rgba(255, 255, 255, 0.05);
}

/* Format badges */
.format-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.format-badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

/* Layers mock */
.layers-mock {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.layer-mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.layer-mock-row.active {
  border-color: var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
}

.layer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.layer-vis {
  margin-left: auto;
  font-size: 0.7rem;
  opacity: 0.5;
}

/* ── Dev Bento ────────────────────────────────────────────── */
.dev-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Carousel ─────────────────────────────────────────────── */
.carousel-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease-out-expo);
}

.testimonial-card {
  padding: 28px;
  flex-shrink: 0;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--avatar-color, var(--accent-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.carousel-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

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

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-back);
  padding: 0;
}

.carousel-dot.active {
  width: 24px;
  background: var(--accent-primary);
}

/* ── Two Column Layout ────────────────────────────────────── */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── Privacy Shield Visual ──────────────────────────────── */
.privacy-shield-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.shield-visual {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-core {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: shieldPulse 3s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.12);
}

@keyframes shieldPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(52, 211, 153, 0.1); }
  50% { box-shadow: 0 0 40px rgba(52, 211, 153, 0.2); }
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 90px;
  height: 90px;
  border-color: rgba(52, 211, 153, 0.2);
  animation: ringPulse 3s ease-in-out infinite;
}

.ring-2 {
  width: 115px;
  height: 115px;
  border-color: rgba(6, 182, 212, 0.12);
  animation: ringPulse 3s ease-in-out infinite 0.5s;
}

.ring-3 {
  width: 140px;
  height: 140px;
  border-color: rgba(59, 130, 246, 0.08);
  animation: ringPulse 3s ease-in-out infinite 1s;
}

@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: 0.5; }
}

/* Orbiting dots */
.shield-orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
}

.dot-a {
  background: var(--success);
  animation: orbitA 6s linear infinite;
  box-shadow: 0 0 8px var(--success);
}

.dot-b {
  background: var(--color-shape);
  animation: orbitB 8s linear infinite;
  box-shadow: 0 0 8px var(--color-shape);
}

.dot-c {
  background: var(--color-layers);
  animation: orbitC 10s linear infinite;
  box-shadow: 0 0 8px var(--color-layers);
}

@keyframes orbitA {
  from { transform: rotate(0deg) translateX(45px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(45px) rotate(-360deg); }
}

@keyframes orbitB {
  from { transform: rotate(120deg) translateX(58px) rotate(-120deg); }
  to   { transform: rotate(480deg) translateX(58px) rotate(-480deg); }
}

@keyframes orbitC {
  from { transform: rotate(240deg) translateX(70px) rotate(-240deg); }
  to   { transform: rotate(600deg) translateX(70px) rotate(-600deg); }
}

/* ── Privacy Cards Grid — 2x2 colorful glassmorphism ── */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.privacy-card {
  position: relative;
  padding: 20px 16px 16px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  cursor: default;
}

/* Colored top border accent */
.privacy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pc-color, var(--success));
  opacity: 0.6;
  transition: opacity 0.3s, height 0.3s;
}

/* Radial glow from top */
.privacy-card::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 80px;
  background: radial-gradient(ellipse, var(--pc-color, var(--success)), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  filter: blur(20px);
}

.privacy-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--pc-color, var(--success)) 25%, transparent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.privacy-card:hover::before {
  opacity: 1;
  height: 4px;
}

.privacy-card:hover::after {
  opacity: 0.12;
}

/* Icon wrap with pulse ring */
.pc-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--pc-color) 8%, transparent);
  margin-bottom: 12px;
  position: relative;
  transition: transform 0.4s var(--ease-out-back);
}

.privacy-card:hover .pc-icon-wrap {
  transform: scale(1.12) rotate(-5deg);
}

.pc-icon-pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid var(--pc-color);
  opacity: 0;
  animation: iconPulseRing 2.5s ease-out infinite;
}

@keyframes iconPulseRing {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

.privacy-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.privacy-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* Checkmark badge */
.pc-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pc-color, var(--success)) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s var(--ease-out-back);
}

.privacy-card:hover .pc-check {
  opacity: 1;
  transform: scale(1);
}

/* Per-card color assignment via CSS vars */
.pc-local  { --pc-color: var(--success); }
.pc-zero   { --pc-color: var(--color-shape); }
.pc-cloud  { --pc-color: var(--color-layers); }
.pc-audio  { --pc-color: var(--color-typography); }

/* ── Light mode — Privacy cards ── */
[data-theme="light"] .privacy-card {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .privacy-card:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .shield-core {
  background: rgba(52, 211, 153, 0.06);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.08);
}

/* ── Mobile: privacy grid single column ── */
@media (max-width: 640px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .shield-visual {
    width: 110px;
    height: 110px;
  }

  .shield-core {
    width: 48px;
    height: 48px;
  }

  .shield-core svg {
    width: 24px;
    height: 24px;
  }

  .ring-1 { width: 70px; height: 70px; }
  .ring-2 { width: 90px; height: 90px; }
  .ring-3 { width: 110px; height: 110px; }
}

/* ── Delight Cards — vibrant gradient glass ────────────── */
.delight-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.delight-card {
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.delight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(129, 140, 248, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.delight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: var(--glass-border-hover, rgba(255, 255, 255, 0.15));
}

.delight-card:hover::after {
  opacity: 1;
}

/* Specific card accent glows */
.delight-card:nth-child(1):hover {
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.delight-card:nth-child(1)::after {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08), transparent 60%);
}

.delight-card:nth-child(2):hover {
  border-color: rgba(236, 72, 153, 0.2);
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.delight-card:nth-child(2)::after {
  background: radial-gradient(circle at 50% 0%, rgba(236, 72, 153, 0.08), transparent 60%);
}

.delight-card:nth-child(3):hover {
  border-color: rgba(251, 191, 36, 0.2);
  box-shadow: 0 12px 40px rgba(251, 191, 36, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.delight-card:nth-child(3)::after {
  background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.08), transparent 60%);
}

.delight-emoji {
  font-size: 2rem;
  margin-bottom: 10px;
  display: inline-block;
  transition: transform 0.4s var(--ease-out-back);
}

.delight-card:hover .delight-emoji {
  transform: scale(1.2) rotate(8deg);
}

.delight-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.delight-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Sound waves — taller, more prominent */
.sound-waves {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 28px;
  margin-top: 14px;
}

.wave {
  width: 4px;
  border-radius: 2px;
  background: var(--color-typography);
  transition: background 0.3s;
}

.delight-card:hover .wave {
  background: var(--color-typography);
  filter: brightness(1.3);
}

/* Achievement pills — interactive */
.achievement-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.achievement {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.08);
  color: var(--warning);
  border: 1px solid rgba(251, 191, 36, 0.15);
  cursor: default;
  transition: all 0.3s var(--ease-out-back);
}

.achievement:hover {
  background: rgba(251, 191, 36, 0.15);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.12);
}

/* ── Light mode overrides for Privacy/Delight ── */
[data-theme="light"] .privacy-item {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(52, 211, 153, 0.1);
}

[data-theme="light"] .privacy-item:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 32px rgba(52, 211, 153, 0.08);
}

[data-theme="light"] .delight-card {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .delight-card:hover {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .achievement {
  background: rgba(217, 119, 6, 0.06);
  border-color: rgba(217, 119, 6, 0.15);
}

[data-theme="light"] .achievement:hover {
  background: rgba(217, 119, 6, 0.12);
}

.wave {
  width: 3px;
  border-radius: 2px;
  background: var(--color-typography);
  animation: waveAnim 1.2s ease-in-out infinite;
}

.wave:nth-child(1) {
  height: 6px;
  animation-delay: 0s;
}

.wave:nth-child(2) {
  height: 14px;
  animation-delay: 0.1s;
}

.wave:nth-child(3) {
  height: 20px;
  animation-delay: 0.2s;
}

.wave:nth-child(4) {
  height: 12px;
  animation-delay: 0.3s;
}

.wave:nth-child(5) {
  height: 8px;
  animation-delay: 0.4s;
}

@keyframes waveAnim {

  0%,
  100% {
    transform: scaleY(0.4);
  }

  50% {
    transform: scaleY(1);
  }
}

/* Achievements */
.achievement-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}

.achievement {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.06);
  color: var(--warning);
  border: 1px solid rgba(251, 191, 36, 0.12);
}

/* ── Shortcuts Interactive ────────────────────────────────── */
.shortcuts-interactive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shortcut-group {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shortcut-group .card-title {
  margin-bottom: 8px;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s;
}

.shortcut-row.active {
  background: rgba(129, 140, 248, 0.1);
  border-color: var(--accent-primary);
}

.shortcut-row.active kbd {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.key-combo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.key-combo span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

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

kbd {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--accent-primary);
  min-width: 24px;
  text-align: center;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

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

.faq-item {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  color: var(--text-primary);
  transition: color 0.2s;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out-back);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out-expo);
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Comparison Table ─────────────────────────────────────── */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  text-align: left;
  font-weight: 500;
}

.highlight-col {
  background: rgba(129, 140, 248, 0.06);
}

th.highlight-col {
  background: rgba(129, 140, 248, 0.12);
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-primary);
}

.check {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
}

.check.yes {
  color: var(--success);
}

.check.no {
  color: var(--error);
  opacity: 0.5;
}

.check.partial {
  color: var(--warning);
}

.free-tag {
  color: var(--success);
  font-weight: 700;
}

.comparison-table tbody tr {
  transition: background 0.15s;
}

.comparison-table tbody tr.hovered,
.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ── Canvas annotations (Editor section) ──────────────────── */
.canvas-gradient-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.03), rgba(20, 184, 166, 0.04));
}

.ann-highlight {
  position: absolute;
  bottom: 30%;
  left: 12%;
  width: 80px;
  height: 14px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 2px;
}

/* ── Responsive patches ───────────────────────────────────── */
@media (max-width: 1024px) {
  .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-wide {
    grid-column: span 2;
  }

  .editor-features-row {
    grid-template-columns: 1fr;
  }

  .dev-bento {
    grid-template-columns: 1fr;
  }

  .two-col-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .shortcuts-interactive {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .floating-badge {
    display: none;
  }
}

@media (max-width: 640px) {
  .features-bento {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .bento-wide-inner {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  .nav-actions .nav-cta {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}

/* ── Enhanced Mobile (Android/iOS) ─────────────────────────── */
@media (max-width: 480px) {
  :root {
    --nav-height: 60px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 16px);
    padding-bottom: 32px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.15;
  }

  .typing-text {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-ctas .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .trust-badges {
    gap: 12px;
  }

  .trust-badge {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .stats-grid {
    gap: 16px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .bento-card {
    padding: 16px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-desc {
    font-size: 0.8rem;
  }

  .mockup-window {
    max-width: 280px;
  }

  .ew-toolbar {
    padding: 6px;
    gap: 2px;
  }

  .ew-tool {
    width: 28px;
    height: 28px;
  }

  .ew-tool svg {
    width: 14px;
    height: 14px;
  }

  .editor-features-row {
    gap: 12px;
  }

  .editor-feat-card {
    padding: 16px;
  }

  .editor-feat-card h4 {
    font-size: 0.9rem;
  }

  .editor-feat-card p {
    font-size: 0.8rem;
  }

  .terminal-body {
    font-size: 10px;
    padding: 10px;
  }

  .terminal-line {
    padding: 4px 6px;
  }

  .vitals-grid {
    gap: 8px;
  }

  .vital {
    padding: 10px 6px;
  }

  .vital-label {
    font-size: 0.6rem;
  }

  .vital-value {
    font-size: 0.85rem;
  }

  .shortcut-group {
    padding: 14px;
  }

  .shortcut-row {
    padding: 6px 0;
  }

  kbd {
    padding: 2px 6px;
    font-size: 10px;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }

  /* Hide heavy visual elements on small screens */
  .mockup-props {
    display: none;
  }

  .bento-visual {
    min-height: 60px;
  }

  .ew-canvas {
    min-height: 180px;
  }

  .mobile-nav {
    padding: 12px 16px;
  }

  .mobile-nav-link {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

/* ── Touch-specific ── */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn {
    min-height: 44px;
  }

  .ew-tool {
    min-width: 36px;
    min-height: 36px;
  }

  .panel-tag {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .toggle-switch {
    width: 44px;
    height: 24px;
  }

  .toggle-knob {
    width: 20px;
    height: 20px;
  }

  .toggle-switch.on .toggle-knob {
    transform: translateX(20px);
  }

  .nav-hamburger {
    padding: 10px;
  }

  .nav-hamburger span {
    width: 22px;
    height: 2.5px;
  }

  /* Disable hover effects that don't work on touch */
  .glass-card:hover,
  .bento-card:hover {
    transform: none !important;
  }

  /* Tap highlight */
  .btn,
  .bento-card,
  .panel-tag,
  .toggle-switch,
  .shortcut-row {
    -webkit-tap-highlight-color: rgba(129, 140, 248, 0.1);
  }
}

/* ── Landscape mobile ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: calc(var(--nav-height) + 10px) 0 20px;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .scroll-indicator {
    display: none;
  }
}

/* ── Floating sparkles (micro-elements) ── */
.sparkle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  will-change: transform, opacity;
}

/* Varied sizes and colors */
.sparkle:nth-child(1)  { width: 4px; height: 4px; left: 5%;  background: var(--accent-primary); animation: sparkleFloat 10s ease-in-out infinite 0s; }
.sparkle:nth-child(2)  { width: 6px; height: 6px; left: 15%; background: var(--color-capture);  animation: sparkleFloat 12s ease-in-out infinite 1.5s; }
.sparkle:nth-child(3)  { width: 3px; height: 3px; left: 25%; background: var(--color-typography); animation: sparkleFloat 9s ease-in-out infinite 3s; }
.sparkle:nth-child(4)  { width: 5px; height: 5px; left: 35%; background: var(--color-dev);      animation: sparkleFloat 11s ease-in-out infinite 0.5s; }
.sparkle:nth-child(5)  { width: 4px; height: 4px; left: 48%; background: var(--accent-secondary); animation: sparkleFloat 13s ease-in-out infinite 2s; }
.sparkle:nth-child(6)  { width: 7px; height: 7px; left: 58%; background: var(--color-shape);    animation: sparkleFloat 10s ease-in-out infinite 4s; }
.sparkle:nth-child(7)  { width: 3px; height: 3px; left: 68%; background: var(--color-fill);     animation: sparkleFloat 14s ease-in-out infinite 1s; }
.sparkle:nth-child(8)  { width: 5px; height: 5px; left: 78%; background: var(--color-capture);  animation: sparkleFloat 11s ease-in-out infinite 3.5s; }
.sparkle:nth-child(9)  { width: 4px; height: 4px; left: 88%; background: var(--accent-primary); animation: sparkleFloat 9s ease-in-out infinite 2.5s; }
.sparkle:nth-child(10) { width: 6px; height: 6px; left: 95%; background: var(--color-typography); animation: sparkleFloat 12s ease-in-out infinite 5s; }
.sparkle:nth-child(11) { width: 3px; height: 3px; left: 42%; background: var(--success);        animation: sparkleFloat 10s ease-in-out infinite 6s; }
.sparkle:nth-child(12) { width: 5px; height: 5px; left: 72%; background: var(--color-stroke);   animation: sparkleFloat 13s ease-in-out infinite 7s; }

@keyframes sparkleFloat {
  0%   { transform: translateY(105vh) scale(0); opacity: 0; }
  8%   { opacity: 0.7; transform: translateY(85vh) scale(1); }
  25%  { opacity: 0.4; transform: translateY(60vh) scale(1.2); }
  50%  { opacity: 0.6; transform: translateY(40vh) scale(0.9); }
  75%  { opacity: 0.3; transform: translateY(20vh) scale(1.1); }
  92%  { opacity: 0.5; transform: translateY(5vh) scale(0.7); }
  100% { transform: translateY(-5vh) scale(0); opacity: 0; }
}

[data-theme="light"] .sparkle:nth-child(odd) { filter: brightness(0.8); }
[data-theme="light"] .sparkle:nth-child(even) { filter: brightness(0.9); }

/* ── Animated gradient border for hero badge ── */
.glow-border {
  position: relative;
  overflow: hidden;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--glow-angle, 0deg),
    var(--accent-primary),
    var(--color-capture),
    var(--color-typography),
    var(--color-dev),
    var(--accent-primary));
  opacity: 0.5;
  z-index: -1;
  animation: glowSpin 4s linear infinite;
}

@keyframes glowSpin {
  to { --glow-angle: 360deg; }
}

@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ── Pulse animation for badge dot ── */
.pulse {
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* ── Section divider lines ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 0;
}

/* ── Staggered entrance for bento children ── */
.bento-card:nth-child(1) { transition-delay: 0s; }
.bento-card:nth-child(2) { transition-delay: 0.05s; }
.bento-card:nth-child(3) { transition-delay: 0.1s; }
.bento-card:nth-child(4) { transition-delay: 0.15s; }
.bento-card:nth-child(5) { transition-delay: 0.2s; }
.bento-card:nth-child(6) { transition-delay: 0.25s; }
.bento-card:nth-child(7) { transition-delay: 0.3s; }

/* ── Vitals refresh spin ── */
.vitals-refresh.spinning svg {
  animation: spinOnce 0.6s ease;
}

@keyframes spinOnce {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Active shortcut row glow ── */
.shortcut-row.active {
  background: rgba(129, 140, 248, 0.1);
  border-radius: 6px;
  transition: background 0.15s;
}

.shortcut-row.active kbd {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.4);
  transition: all 0.15s;
}

/* ── Smooth section transitions ── */
.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .section + .section {
  border-top: 1px solid rgba(99, 102, 241, 0.04);
}

/* ── Safe area insets for modern phones ── */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .mobile-nav {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .navbar {
    padding-top: env(safe-area-inset-top);
  }
}