/* ============================================================
   CSS Custom Properties
============================================================ */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --bg-card: #141414;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);

  --text: #f0f0f0;
  --text-2: #a0a0a0;
  --text-3: #666666;

  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --purple: #8b5cf6;
  --green: #22c55e;
  --amber: #f59e0b;

  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(139,92,246,0.15) 100%);
  --hero-glow: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, rgba(139,92,246,0.06) 50%, transparent 70%);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --shadow: 0 1px 3px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --nav-h: 64px;
  --section-pad: clamp(64px, 8vw, 120px);
  --container: 1160px;

  --nav-bg: rgba(10, 10, 10, 0.85);
  --surface-soft: rgba(255, 255, 255, 0.02);
  --surface-soft-hover: rgba(255, 255, 255, 0.03);
  --overlay-bg: rgba(20, 20, 20, 0.9);
  --row-hover: rgba(255, 255, 255, 0.02);
  --theme-track: #171717;
  --theme-thumb: #f8fafc;
  --theme-icon: #7c8596;
  --theme-icon-active: #dbe4ff;
  --btn-ghost-bg: transparent;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"]:root {
  --bg: #f4f7fb;
  --bg-2: #eaf0f7;
  --bg-3: #dbe5f0;
  --bg-card: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --border-hover: rgba(15, 23, 42, 0.18);

  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;

  --gradient-subtle: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(14,165,233,0.14) 100%);
  --hero-glow: radial-gradient(ellipse, rgba(59,130,246,0.13) 0%, rgba(14,165,233,0.07) 54%, transparent 72%);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
  --nav-bg: rgba(244, 247, 251, 0.86);
  --surface-soft: rgba(15, 23, 42, 0.03);
  --surface-soft-hover: rgba(15, 23, 42, 0.05);
  --overlay-bg: rgba(255, 255, 255, 0.88);
  --row-hover: rgba(15, 23, 42, 0.025);
  --theme-track: #d9e2ec;
  --theme-thumb: #0f172a;
  --theme-icon: #64748b;
  --theme-icon-active: #0f172a;
  --btn-ghost-bg: rgba(255, 255, 255, 0.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  color-scheme: dark;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================================
   Utilities
============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section { padding-block: var(--section-pad); }

.accent { color: var(--blue); }

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

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  border: none;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.5);
  opacity: 1;
}

.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--text-2);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ============================================================
   Navigation
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-logo img {
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); }

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

.theme-toggle {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 62px;
  height: 34px;
  border-radius: 999px;
  background: var(--theme-track);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.theme-toggle:focus-visible {
  outline: none;
}

.theme-toggle:focus-visible .theme-toggle-track {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.theme-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--theme-icon);
  transition: color 0.2s ease;
}

.theme-icon-sun { left: 9px; }
.theme-icon-moon { right: 9px; }

.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--theme-thumb);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, background 0.24s ease;
}

html[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(28px);
}

html[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="light"]) .theme-icon-moon {
  color: var(--theme-icon-active);
}

html[data-theme="light"] .theme-icon-sun {
  color: var(--theme-icon-active);
}

.locale-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  min-width: 180px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.locale-picker:hover {
  border-color: var(--border-hover);
  background: var(--surface-soft-hover);
}

.locale-picker:focus-within {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.locale-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  flex-shrink: 0;
}

.locale-picker select {
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color-scheme: dark;
}

html[data-theme="light"] .locale-picker select {
  color-scheme: light;
}

.locale-picker select:focus {
  outline: none;
}

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(48px, 8vw, 96px);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 42px);
  align-items: start;
  justify-items: center;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: var(--hero-glow);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-bright);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.1); }
}

.hero-title {
  font-size: clamp(42px, 6.6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 760px;
}

.hero-sub strong { color: var(--text); }

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

.hero-trust {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
  text-align: center;
}

.hero-visual {
  position: relative;
  z-index: 1;
  order: -1;
  width: min(100%, 1120px);
  justify-self: stretch;
}

.hero-showcase {
  display: grid;
  gap: 16px;
  padding: 0;
}

.hero-img-wrap {
  position: relative;
  border-radius: clamp(26px, 3vw, 34px);
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.18);
}

.hero-img-wrap img {
  width: 100%;
  display: block;
}

.hero-media-stage {
  --hero-media-ratio: 1390 / 868;
  aspect-ratio: var(--hero-media-ratio);
  overflow: hidden;
  border-radius: inherit;
}

html[data-theme="light"] .hero-media-stage {
  background: transparent;
}

.hero-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  transition: opacity 0.35s ease, transform 0.55s ease, filter 0.35s ease;
}

.hero-carousel-image.is-fading {
  opacity: 0.18;
  transform: translateY(8px) scale(0.985);
  filter: saturate(0.86);
}

.hero-carousel-ui {
  display: flex;
  justify-content: center;
}

.hero-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

:root:not([data-theme="light"]) .hero-carousel-dots,
html[data-theme="dark"] .hero-carousel-dots {
  background: rgba(12, 15, 24, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

:root:not([data-theme="light"]) .hero-carousel-dot,
html[data-theme="dark"] .hero-carousel-dot {
  background: rgba(255, 255, 255, 0.24);
}

.hero-carousel-dot.is-active {
  width: 24px;
  background: #0f172a;
}

:root:not([data-theme="light"]) .hero-carousel-dot.is-active,
html[data-theme="dark"] .hero-carousel-dot.is-active {
  background: #ffffff;
}

.hero-visual-note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--font-mono);
}

/* ============================================================
   Trust Bar
============================================================ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 18px;
  background: var(--bg-2);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

.trust-item svg { color: var(--blue-bright); flex-shrink: 0; }

.trust-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   Features
============================================================ */
.features { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon--blue { background: rgba(59, 130, 246, 0.15); color: var(--blue-bright); }
.feature-icon--purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.feature-icon--green { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.feature-icon--amber { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }

.feature-card h3 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

/* ============================================================
   How It Works
============================================================ */
.how-it-works { background: var(--bg-2); }

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

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 100%);
  opacity: 0.4;
}

.step {
  text-align: center;
  padding: 24px;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  display: inline-block;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

/* ============================================================
   Demo Gallery
============================================================ */
.demo { background: var(--bg); }

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

.demo-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

.demo-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.demo-item img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.demo-item figcaption {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text-2);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

.demo-item figcaption strong { color: var(--text); }

/* ============================================================
   Use Cases
============================================================ */
.use-cases { background: var(--bg-2); }

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

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

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

.usecase-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gradient-subtle);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue-bright);
}

.usecase-card h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

/* ============================================================
   Comparison Table
============================================================ */
.comparison { background: var(--bg); }

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

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

.comparison-table thead th {
  font-weight: 650;
  font-size: 13px;
  background: var(--bg-2);
  color: var(--text-2);
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
}

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

.col-highlight {
  background: rgba(59, 130, 246, 0.06);
}

.comparison-table thead .col-highlight {
  color: var(--blue-bright) !important;
  background: rgba(59, 130, 246, 0.12);
}

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

.comparison-table tbody tr:hover td {
  background: var(--row-hover);
}

.check {
  font-size: 16px;
  color: var(--green);
  font-weight: 700;
}

.cross {
  font-size: 16px;
  color: var(--text-3);
}

/* ============================================================
   CTA Section
============================================================ */
.cta-section { background: var(--bg-2); }

.cta-box {
  position: relative;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box .section-label {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-req {
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
  position: relative;
  z-index: 1;
}

/* ============================================================
   FAQ
============================================================ */
.faq { background: var(--bg); }

.faq-inner {
  max-width: 760px;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: rgba(59, 130, 246, 0.3);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
  font-family: var(--font);
}

.faq-q:hover { color: var(--blue-bright); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--text-3);
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-bright);
}

.faq-a {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0 20px;
  border-top: 1px solid var(--border);
  padding-left: 0;
  padding-right: 0;
}

/* override hidden to allow animation */
.faq-a[hidden] { display: none; }

/* ============================================================
   Footer
============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer-tagline {
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
  max-width: 280px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--text); }

.footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: min(420px, 100%);
}

.footer-disclaimer {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-4);
  max-width: 420px;
  text-align: right;
}

.footer-meta a { color: var(--text-3); transition: color 0.15s; }
.footer-meta a:hover { color: var(--text-2); }

/* ============================================================
   Reveal Animations
============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================================
   Responsive — Tablet (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  .hero-visual {
    max-width: 860px;
    margin-inline: auto;
    width: 100%;
    justify-self: center;
  }

  .hero-sub { max-width: 100%; margin-inline: auto; }

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

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

/* ============================================================
   Responsive — Mobile (≤ 640px)
============================================================ */
@media (max-width: 640px) {
  :root {
    --section-pad: 56px;
  }

  .nav-links { display: none; }

  .nav-inner {
    gap: 12px;
  }

  .nav-cta { display: none; }

  .theme-toggle-track {
    width: 56px;
    height: 32px;
  }

  .theme-toggle-thumb {
    width: 22px;
    height: 22px;
  }

  html[data-theme="light"] .theme-toggle-thumb {
    transform: translateX(24px);
  }

  .locale-picker {
    min-width: 0;
    max-width: 180px;
    padding: 7px 10px;
  }

  .locale-label-text { display: none; }

  .hero-title { font-size: clamp(30px, 8vw, 42px); }

  .hero-sub {
    font-size: 17px;
  }

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

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

  .steps::before { display: none; }

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

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

  .comparison-table th,
  .comparison-table td {
    padding: 12px 12px;
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-legal {
    align-items: flex-start;
  }

  .footer-disclaimer {
    text-align: left;
  }

  .trust-bar-inner {
    gap: 16px;
  }

  .trust-sep { display: none; }

  .hero-img-wrap {
    border-radius: 22px;
  }
}
