/* ============================================
   JIGEN READER - DESIGN CHARTER CSS
   Based on DESIGN_CHARTER.md
   Colors: Cyan/Purple/Pink (NOT orange/red)
   Supports: Light / Dark / System
   ============================================ */

/* === DARK THEME (default) === */
:root {
  --bg: #050514;
  --bg-alt: #0A0A1A;
  --text: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --muted: rgba(255, 255, 255, 0.5);
  --dim: rgba(255, 255, 255, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  --blob-purple: rgba(153, 0, 204, 0.5);
  --blob-cyan: rgba(0, 128, 204, 0.5);
  --leak-cyan: rgba(0, 255, 255, 0.5);
  --leak-magenta: rgba(255, 0, 255, 0.35);
  --leak-green: rgba(0, 255, 102, 0.45);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.45);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(5, 5, 20, 0.6);
  --header-bg-elevated: rgba(5, 5, 20, 0.8);
  --toggle-bg: rgba(0, 0, 0, 0.3);

  /* === ACCENTS (same for both themes) === */
  --cyan: #00FFFF;
  --cyan-soft: #00D9FF;
  --purple: #9900CC;
  --purple-soft: #A855F7;
  --magenta: #FF00FF;
  --pink: #EC4899;
  --green-neon: #00FF66;
  --success: #00FF66;
  --warning: #FFB800;
  --error: #FF3366;
  --info: #00D9FF;
  --glow-cyan: 0 0 40px rgba(0, 217, 255, 0.4);
  --glow-purple: 0 0 40px rgba(168, 85, 247, 0.4);

  /* === LAYOUT === */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1200px;

  /* === FONTS === */
  --font: "Outfit", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* === GRADIENTS (SIGNATURE) === */
  --grad: linear-gradient(135deg, var(--cyan) 0%, var(--purple-soft) 50%, var(--pink) 100%);
  --grad-alt: linear-gradient(135deg, var(--purple-soft) 0%, var(--pink) 50%, var(--cyan) 100%);

  /* === ALIASES (backwards compat) === */
  --bg-dark: var(--bg);
}

/* === LIGHT THEME === */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F8F8FC;
    --bg-alt: #FFFFFF;
    --text: rgba(0, 0, 0, 0.87);
    --text-secondary: rgba(0, 0, 0, 0.6);
    --muted: rgba(0, 0, 0, 0.4);
    --dim: rgba(0, 0, 0, 0.25);
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-bg-hover: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-hover: rgba(0, 0, 0, 0.15);
    --blob-purple: rgba(153, 0, 204, 0.15);
    --blob-cyan: rgba(0, 128, 204, 0.15);
    --leak-cyan: rgba(0, 255, 255, 0.2);
    --leak-magenta: rgba(255, 0, 255, 0.12);
    --leak-green: rgba(0, 255, 102, 0.15);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.08);
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(0, 0, 0, 0.08);
    --header-bg: rgba(255, 255, 255, 0.7);
    --header-bg-elevated: rgba(255, 255, 255, 0.85);
    --toggle-bg: rgba(0, 0, 0, 0.06);
  }
}

/* === FORCE DARK === */
:root[data-theme="dark"] {
  --bg: #050514;
  --bg-alt: #0A0A1A;
  --text: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --muted: rgba(255, 255, 255, 0.5);
  --dim: rgba(255, 255, 255, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  --blob-purple: rgba(153, 0, 204, 0.5);
  --blob-cyan: rgba(0, 128, 204, 0.5);
  --leak-cyan: rgba(0, 255, 255, 0.5);
  --leak-magenta: rgba(255, 0, 255, 0.35);
  --leak-green: rgba(0, 255, 102, 0.45);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.45);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(5, 5, 20, 0.6);
  --header-bg-elevated: rgba(5, 5, 20, 0.8);
  --toggle-bg: rgba(0, 0, 0, 0.3);
}

/* === FORCE LIGHT === */
:root[data-theme="light"] {
  --bg: #F8F8FC;
  --bg-alt: #FFFFFF;
  --text: rgba(0, 0, 0, 0.87);
  --text-secondary: rgba(0, 0, 0, 0.6);
  --muted: rgba(0, 0, 0, 0.4);
  --dim: rgba(0, 0, 0, 0.25);
  --glass-bg: rgba(0, 0, 0, 0.03);
  --glass-bg-hover: rgba(0, 0, 0, 0.05);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-hover: rgba(0, 0, 0, 0.15);
  --blob-purple: rgba(153, 0, 204, 0.15);
  --blob-cyan: rgba(0, 128, 204, 0.15);
  --leak-cyan: rgba(0, 255, 255, 0.2);
  --leak-magenta: rgba(255, 0, 255, 0.12);
  --leak-green: rgba(0, 255, 102, 0.15);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.08);
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-border: rgba(0, 0, 0, 0.08);
  --header-bg: rgba(255, 255, 255, 0.7);
  --header-bg-elevated: rgba(255, 255, 255, 0.85);
  --toggle-bg: rgba(0, 0, 0, 0.06);
}

/* ============================================
   FR/EN TOGGLE (inverted logic - hide non-matching)
   ============================================ */
html[data-lang="fr"] [data-lang="en"] {
  display: none;
}
html[data-lang="en"] [data-lang="fr"] {
  display: none;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.15em 0.4em;
  border-radius: 8px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BACKGROUND VIVANT (comme l'app!)
   ============================================ */
.app-background {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  overflow: hidden;
  z-index: -1;
}

/* Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.blob-purple {
  width: 60vw;
  height: 60vw;
  background: var(--blob-purple);
  top: -20%;
  left: -10%;
  animation: float 25s ease-in-out infinite;
}

.blob-cyan {
  width: 70vw;
  height: 70vw;
  background: var(--blob-cyan);
  bottom: -30%;
  right: -20%;
  animation: float 25s ease-in-out infinite;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, 3%) scale(1.05); }
  66% { transform: translate(-3%, 5%) scale(0.95); }
}

/* Light Leaks */
.light-leaks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.leak {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

.leak-cyan {
  width: 50vw;
  height: 25vh;
  background: radial-gradient(ellipse, var(--leak-cyan), transparent 70%);
  top: 10%;
  left: 20%;
  transform: rotate(-45deg);
  filter: blur(60px);
  animation: pulse 20s ease-in-out infinite;
}

.leak-magenta {
  width: 60vw;
  height: 30vh;
  background: radial-gradient(ellipse, var(--leak-magenta), transparent 70%);
  bottom: 20%;
  right: 10%;
  transform: rotate(-45deg);
  filter: blur(70px);
  animation: pulse 20s ease-in-out infinite;
  animation-delay: -8s;
}

.leak-green {
  width: 45vw;
  height: 20vh;
  background: radial-gradient(ellipse, var(--leak-green), transparent 70%);
  top: 40%;
  right: 25%;
  transform: rotate(30deg);
  filter: blur(50px);
  animation: pulse 20s ease-in-out infinite;
  animation-delay: -15s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: rotate(-45deg) scale(1); }
  50% { opacity: 0.8; transform: rotate(-42deg) scale(1.1); }
}

/* Vignette */
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

/* ============================================
   SKIP LINK (a11y)
   ============================================ */
.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  transform: translateY(-140%);
  z-index: 9999;
  border: 1px solid var(--glass-border);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--glass-border);
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.site-header.is-elevated {
  background: var(--header-bg-elevated);
  border-bottom-color: var(--glass-border-hover);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand__name {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1rem;
}

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

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

.nav__link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.nav__link:hover {
  color: var(--text);
  border-color: var(--glass-border);
  background: var(--glass-bg);
}

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

/* ============================================
   THEME TOGGLE
   ============================================ */
.theme-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--toggle-bg);
}

.theme-toggle__btn {
  border: 0;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle__btn:hover {
  color: var(--text);
}

.theme-toggle__btn[aria-pressed="true"] {
  background: var(--glass-bg-hover);
  color: var(--cyan-soft);
}

/* ============================================
   LANGUAGE TOGGLE
   ============================================ */
.lang {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--toggle-bg);
}

.lang__btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.lang__btn[aria-pressed="true"] {
  background: var(--grad);
  color: white;
  box-shadow: var(--glow-cyan);
}

/* ============================================
   BUTTONS
   ============================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-soft);
}

.button--primary {
  border: none;
  background: var(--grad);
  box-shadow: var(--glow-cyan);
}

.button--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 40px rgba(0, 217, 255, 0.5),
    0 0 60px rgba(168, 85, 247, 0.3);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.button[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-secondary);
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.6);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.6; }
}

.hero__title {
  margin: 20px 0 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

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

.text-glow {
  text-shadow:
    0 0 10px rgba(0, 255, 255, 0.5),
    0 0 20px rgba(0, 255, 255, 0.3),
    0 0 40px rgba(0, 255, 255, 0.2);
}

.hero__subtitle {
  margin: 16px 0 0;
  max-width: 56ch;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero__mockup {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
  box-shadow:
    var(--shadow),
    0 0 80px rgba(0, 217, 255, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.hero__mockup:hover {
  transform: scale(1.02) rotateY(2deg);
}

.hero__mockup img {
  width: 100%;
  height: auto;
  display: block;
}

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

.stat {
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.stat__v {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  color: var(--cyan-soft);
}

.stat__k {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
  position: relative;
}

.section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.section__head {
  margin-bottom: 32px;
}

.section__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section__subtitle {
  margin: 12px 0 0;
  color: var(--text-secondary);
  max-width: 64ch;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* ============================================
   CARDS (Glass)
   ============================================ */
.grid {
  display: grid;
  gap: 16px;
}

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

.card {
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 24px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow:
    var(--shadow),
    0 0 40px rgba(0, 217, 255, 0.1);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid var(--glass-border);
  font-size: 1.4rem;
}

.card__title {
  margin: 16px 0 0;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.card__text {
  margin: 8px 0 0;
  color: var(--text-secondary);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* ============================================
   CHIPS / BADGES
   ============================================ */
.chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.2);
  color: var(--cyan-soft);
  font-weight: 500;
}

/* ============================================
   SPLIT LAYOUT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

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

.panel h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.panel p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.list {
  margin: 14px 0 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
}

.list li::marker {
  color: var(--cyan-soft);
}

/* ============================================
   SCREENSHOTS
   ============================================ */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
}

.shot:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow:
    var(--shadow),
    0 0 60px rgba(0, 217, 255, 0.15);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  background: var(--glass-bg);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  padding: 18px 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.faq details[open] {
  background: var(--glass-bg-hover);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  list-style: none;
}

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

.faq summary::before {
  content: '+';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  text-align: center;
  line-height: 22px;
  border-radius: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--cyan-soft);
  font-weight: 400;
  transition: all 0.2s ease;
}

.faq details[open] summary::before {
  content: '-';
  background: var(--cyan-soft);
  color: var(--bg-dark);
}

.faq p {
  margin: 14px 0 0;
  padding-left: 36px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer__name {
  font-weight: 700;
}

.footer__note {
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 20px;
  color: var(--text-secondary);
}

.footer__links a {
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--cyan-soft);
}

/* ============================================
   STORY SECTION (hidden by default)
   ============================================ */
.story {
  display: block;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   FOCUS STATES (a11y)
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.button:focus-visible {
  box-shadow:
    0 0 0 4px var(--bg-dark),
    0 0 0 6px var(--cyan);
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pill__dot,
  .blob,
  .leak {
    animation: none;
  }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .card,
  .shot,
  .button,
  .stat {
    transition: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

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

  .hero__mockup {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .grid--cards {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0 40px;
  }
}

@media (max-width: 480px) {
  .brand__tag {
    display: none;
  }

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

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
