/* Ordicab — landing page · thème aurora */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #060d1a;
  --bg-panel: #0b1a2f;
  --bg-card: rgba(14, 24, 40, 0.72);
  --aurora: #38bdf8;
  --aurora-soft: #7dd3fc;
  --cyan-strong: #22d3ee;
  --blue: #2563eb;
  --gold: #fbbf24;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(56, 189, 248, 0.35);
  --ink: rgba(230, 242, 255, 0.97);
  --ink-soft: rgba(200, 224, 248, 0.92);
  --text-primary: rgba(230, 242, 255, 0.97);
  --text-secondary: rgba(170, 205, 235, 0.85);
  --text-muted: rgba(130, 165, 195, 0.7);
  --muted: rgba(130, 165, 195, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --nav: rgba(6, 13, 26, 0.72);
  --shadow-soft: 0 20px 50px rgba(2, 6, 23, 0.35);
  --shadow-lift: 0 24px 70px rgba(2, 6, 23, 0.5);
  --font: 'DM Sans', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', 'SF Mono', 'Menlo', monospace;
  --radius-card: 20px;
  --radius-control: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: var(--nav);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-nav .inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}

.nav-brand span {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-link:hover {
  color: var(--aurora-soft);
  border-color: rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.07);
}

.nav-cta {
  color: #fff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.85), rgba(37, 99, 235, 0.85));
  border: 1px solid rgba(186, 239, 255, 0.22);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
  padding: 9px 18px;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 200ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.25);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 128px 28px 88px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--text-primary);
  isolation: isolate;
  background: linear-gradient(180deg, #060d1a 0%, #07101f 100%);
}

/* Radial aurora glow */
.hero::after {
  content: '';
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  height: 540px;
  max-width: 120%;
  background: radial-gradient(
    ellipse at center,
    rgba(34, 211, 238, 0.14) 0%,
    rgba(37, 99, 235, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

/* Subtle grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.hero-content > * { margin-left: auto; margin-right: auto; }

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  margin-bottom: 4px;
  line-height: 1;
}

.hero-icon-wrap { display: inline-block; flex-shrink: 0; }

.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: block;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: var(--aurora-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  backdrop-filter: blur(12px);
}

.hero-kicker span:last-child {
  min-width: 0;
  white-space: normal;
}

.kicker-mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--cyan-strong);
  box-shadow: 0 0 8px var(--cyan-strong), 0 0 0 5px rgba(34, 211, 238, 0.14);
  color: transparent;
  font-size: 0;
  line-height: 0;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: 'DM Sans', var(--font);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2.5px;
  background: linear-gradient(160deg, #ffffff 30%, var(--aurora-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  max-width: 620px;
  margin-top: 26px;
  color: var(--text-secondary);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
  font-weight: 400;
}

.hero-tagline em { font-style: normal; color: var(--aurora-soft); }

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

/* Bandeau d'avertissement dans le hero */
.hero .hero-warning {
  width: min(680px, 100%);
  margin-top: 64px;
  text-align: left;
}

/* ===== BOUTONS ===== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--radius-control);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.85), rgba(37, 99, 235, 0.85));
  border: 1px solid rgba(186, 239, 255, 0.25);
  box-shadow:
    0 12px 28px rgba(8, 145, 178, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(77, 200, 248, 0.9), rgba(60, 130, 246, 0.9));
  box-shadow:
    0 16px 36px rgba(34, 211, 238, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  color: rgba(186, 230, 255, 0.88);
  background: rgba(10, 24, 44, 0.8);
  border: 1px solid rgba(167, 218, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(18, 40, 70, 0.9);
  border-color: rgba(167, 218, 255, 0.38);
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== HERO PROOF ===== */
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(900px, 100%);
  margin-top: 56px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.hero-proof div {
  min-height: 132px;
  padding: 22px;
  background: rgba(11, 22, 40, 0.7);
  text-align: left;
}

.hero-proof strong {
  display: block;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-proof span {
  display: block;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ===== PROMESSE ===== */
.promise-strip {
  padding: 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.promise-item {
  min-height: 198px;
  padding: 32px 30px;
  background: var(--bg-panel);
}

.promise-item span {
  display: block;
  color: var(--aurora);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 22px;
}

.promise-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.promise-item p,
.feature-card p,
.local-desc,
.local-pill p,
.ai-desc,
.step-text p {
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== SECTIONS GÉNÉRIQUES ===== */
.screenshot-section,
.ai-screenshot-section,
.features,
.gallery-section,
.local-storage,
.ai-section,
.beta-section,
.download-strip {
  padding: 104px 0;
}

.screenshot-section { background: var(--bg); }
.ai-screenshot-section { background: var(--bg); }

.screenshot-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  background: rgba(11, 22, 40, 0.7);
  box-shadow: var(--shadow-lift);
}

.screenshot-frame img,
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.section-header {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-header-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.section-label {
  color: var(--aurora);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  color: var(--text-primary);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-secondary);
  max-width: 610px;
  font-size: 18px;
  line-height: 1.6;
}

/* ===== FONCTIONNALITÉS ===== */
.features { background: var(--bg); }

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

.feature-card {
  position: relative;
  min-height: 280px;
  padding: 32px 30px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%),
    rgba(11, 22, 40, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 300ms;
}

.feature-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow:
    0 20px 50px rgba(2, 6, 23, 0.35),
    0 0 0 1px rgba(56, 189, 248, 0.12);
  transform: translateY(-3px);
}

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

.feature-card > * { position: relative; z-index: 1; }

.feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--aurora);
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.09);
}

.feature-icon-wrap svg { width: 22px; height: 22px; }

.feature-card h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.feature-card p { font-size: 15px; }

/* ===== GALERIE ===== */
.gallery-section { background: var(--bg-panel); }

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

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  background: rgba(11, 22, 40, 0.7);
  transition: transform 200ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.gallery-item-label {
  color: var(--text-secondary);
  padding: 14px 18px;
  border-top: 1px solid var(--glass-border);
  font-size: 13.5px;
  font-weight: 600;
}

/* ===== STOCKAGE LOCAL ===== */
.local-storage {
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
}

.local-storage::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.local-inner,
.ai-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 76px;
  align-items: center;
}

.local-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.local-diagram {
  width: min(390px, 100%);
  padding: 34px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  background: rgba(8, 16, 28, 0.6);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.diag-node--center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 16px 22px;
  color: var(--aurora-soft);
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.1), rgba(37, 99, 235, 0.06));
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.08);
  border-radius: 18px;
  font-size: 15px;
  font-weight: 600;
}

.diag-node--center svg { width: 24px; height: 24px; color: var(--aurora); }

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

.diag-node--small {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-height: 92px;
  padding: 15px 10px;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: rgba(11, 22, 40, 0.7);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  transition: border-color 250ms;
}

.diag-node--small:hover { border-color: rgba(56, 189, 248, 0.22); }
.diag-node--small svg { width: 20px; height: 20px; color: var(--aurora); }

.diag-label {
  color: var(--text-muted);
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
}

.local-desc,
.ai-desc {
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.local-desc strong,
.ai-desc strong { color: var(--aurora-soft); font-weight: 500; }

.local-pills,
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.local-pill,
.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(6, 13, 26, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 200ms ease, box-shadow 250ms ease, border-color 250ms ease, background 250ms ease;
}

.local-pill:hover,
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.22);
  background: rgba(10, 22, 40, 0.7);
  box-shadow: var(--shadow-soft);
}

.local-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--aurora);
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(56, 189, 248, 0.09);
}

.local-pill-icon svg { width: 18px; height: 18px; }

.local-pill h4,
.step-text h4 {
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}

.local-pill p,
.step-text p { font-size: 13.5px; }

/* ===== SECTION IA ===== */
.ai-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
}

.ai-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.ai-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--aurora);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 180ms ease, color 180ms ease;
}

.ai-link:hover { gap: 12px; color: var(--aurora-soft); }

.step { position: relative; overflow: hidden; }

.step::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--aurora), var(--blue));
  opacity: 0;
  transition: opacity 250ms;
}

.step:hover::after { opacity: 1; }

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--aurora-soft);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

/* ===== BANDEAU AVERTISSEMENT ===== */
.warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.12), rgba(234, 88, 12, 0.08));
}

.warning-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: #facc15;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 10px;
}

.warning-banner-icon svg { width: 18px; height: 18px; }

.warning-banner-body h4 {
  color: #facc15;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.warning-banner-body p {
  color: rgba(253, 230, 138, 0.9);
  font-size: 13.5px;
  line-height: 1.6;
}

.warning-banner-body p + p { margin-top: 6px; }
.warning-banner-body strong { color: #fff; font-weight: 600; }

/* ===== TÉLÉCHARGEMENT ===== */
.download-strip {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--bg);
}

.download-strip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.download-strip h2 {
  color: var(--text-primary);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}

.download-strip p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 34px;
}

.download-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-mark {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.footer-copy,
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover { color: var(--aurora-soft); }

/* ===== LIGHTBOX ===== */
body.lightbox-open { overflow: hidden; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(3, 8, 18, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 200ms ease;
}

.lightbox-overlay[hidden] { display: none; }

.lightbox-overlay.is-open { opacity: 1; }

.lightbox-img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 200ms ease;
}

.lightbox-overlay.is-open .lightbox-img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay,
  .lightbox-img { transition: none; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in,
  .btn-primary,
  .btn-secondary,
  .nav-cta,
  .feature-card,
  .gallery-item,
  .local-pill,
  .step,
  .kicker-mark {
    transition: none;
    animation: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav-link { display: none; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-inner,
  .ai-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .local-visual { order: 2; }
}

@media (max-width: 760px) {
  .container,
  .site-nav .inner,
  .footer-inner { padding-left: 20px; padding-right: 20px; }

  .site-nav .inner { gap: 14px; }
  .nav-cta { display: none; }

  .hero {
    min-height: auto;
    padding: 104px 20px 64px;
    align-items: center;
  }

  .hero::before { opacity: 0.6; }
  .hero::after { width: 100%; height: 60%; }

  .hero h1 { font-size: clamp(44px, 15vw, 72px); letter-spacing: -1.5px; }
  .hero-icon { width: 56px; height: 56px; border-radius: 15px; }
  .hero-title-row { gap: 14px; }
  .hero-tagline { font-size: 18px; }

  .hero-proof,
  .promise-grid,
  .features-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof div { min-height: auto; }
  .promise-item { min-height: auto; }

  .screenshot-section,
  .ai-screenshot-section,
  .features,
  .gallery-section,
  .local-storage,
  .ai-section,
  .beta-section,
  .download-strip {
    padding: 76px 0;
  }

  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(32px, 10vw, 44px); }
  .section-sub { font-size: 16px; }
  .local-diagram { width: 100%; }
}

@media (max-width: 480px) {
  .hero-actions,
  .download-actions { flex-direction: column; align-items: stretch; }
  .btn-primary,
  .btn-secondary { width: 100%; white-space: normal; }
  .hero-kicker { align-items: flex-start; border-radius: var(--radius-card); }
  .warning-banner { flex-direction: column; }
  .footer-links { gap: 12px; }
}
