/* ====================================================================
   HiddenScan Landing Page Styles
   Color tokens lifted directly from the Figma file's variables:
     ffoNAJpjYp6K05B36VEGZE (HiddenScan App)
   ==================================================================== */

:root {
  /* ===== Brand colors (from Figma variables) ===== */
  --primary-100: #fee8de;
  --primary-300: #f9ac86;
  --primary-400: #f18a5c;
  --primary-500: #e87444;   /* PRIMARY brand orange - used on every CTA */
  --primary-600: #d35282;
  --primary-700: #c94d1e;
  --primary-800: #a53d15;
  --primary-900: #7f2f10;

  --secondary-100: #dedcfd;
  --secondary-200: #c3bff8;
  --secondary-300: #a19cf0;
  --secondary-400: #7e78e5;
  --secondary-500: #5856d6; /* IR scanner accent (purple/violet) */
  --secondary-600: #4644b8;
  --secondary-700: #38369a;
  --secondary-800: #8c4c46;
  --secondary-900: #201e5e;

  --tertiary-500: #1fb356;  /* Wi-Fi scanner accent (green) - also success */
  --tertiary-600: #1ca34e;
  --tertiary-700: #167f3d;
  --tertiary-800: #11622f;
  --success-500: #1fb356;
  --success-700: #167f3d;
  --success-900: #0d4b24;

  --info-500: #00a6e8;
  --info-700: #0076a5;

  --warning-300: #f0c854;
  --warning-500: #e8ad00;

  --error-200: #f49f9f;
  --error-300: #ee7373;
  --error-500: #e62e2e;
  --error-900: #611313;

  /* Surfaces */
  --bg: #1a1a2e;            /* Colors/Bg color/Background */
  --surface-2: #2a2a4e;     /* Colors/Bg color/Surface 2 */
  --surface-3: #3a3a64;
  --black: #1a1a2e;
  --black-500: #1d1d1d;
  --foreground: #ffffff;
  --white: #ffffff;

  /* Gray scale - inverted for dark theme (gray 25 = darkest, 800 = lightest) */
  --gray-25: #0f172a;
  --gray-50: #1e293b;
  --gray-100: #334155;
  --gray-200: #475569;
  --gray-300: #64748b;
  --gray-400: #94a3b8;
  --gray-500: #cbd5e1;
  --gray-600: #e2e8f0;
  --gray-700: #f1f5f9;
  --gray-800: #f8fafc;

  /* Semantic text */
  --text: var(--foreground);
  --text-soft: var(--gray-500);
  --text-mute: var(--gray-400);
  --text-faint: var(--gray-300);

  /* Border */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-orange: rgba(232, 116, 68, 0.32);

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-orange: 0 14px 40px -10px rgba(232, 116, 68, 0.5);

  /* Radii (from Figma p-border-radius-button = 8) */
  --radius-button: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Spacing (from Figma p-sapce/spacing tokens) */
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-sm: 6px;
  --space-md: 8px;
  --space-lg: 12px;
  --space-xl: 16px;

  /* Layout */
  --section: clamp(80px, 10vw, 130px);
  --container: 1200px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Atmospheric background - subtle warm glows on the navy */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 700px at 80% -10%, rgba(232, 116, 68, 0.18), transparent 60%),
    radial-gradient(800px 600px at 0% 30%, rgba(88, 86, 214, 0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(31, 179, 86, 0.06), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease-out); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--primary-500); color: var(--white); }

/* Visible keyboard focus — never remove this without an equivalent replacement */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible, .price-cta:focus-visible, .store-btn:focus-visible, .nav-cta:focus-visible {
  outline-offset: 3px;
}

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

/* ===== Typography (Plus Jakarta Sans, matching Figma's text styles) ===== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.display { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-400);
  padding: 7px 14px;
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  background: rgba(232, 116, 68, 0.07);
  backdrop-filter: blur(10px);
}
.section-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-intro .eyebrow { margin-bottom: 18px; }
.section-intro h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 800;
}
.section-intro h2 .accent { color: var(--primary-500); }
.section-intro p { font-size: 1.08rem; color: var(--text-soft); }

/* ===== Buttons (Figma uses rounded buttons with orange primary) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-button);
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--primary-500);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -10px rgba(232, 116, 68, 0.6);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-400);
  color: var(--primary-400);
}

/* App store buttons */
.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: all 0.25s var(--ease-out);
}
.store-btn:hover {
  border-color: var(--primary-400);
  background: var(--surface-3);
  transform: translateY(-2px);
}
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn-text small { font-size: 0.65rem; color: var(--text-mute); letter-spacing: 0.04em; }
.store-btn-text strong { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all 0.3s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(26, 26, 46, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.nav-logo span span { color: var(--primary-500); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
}
.nav-links a:hover { color: var(--primary-400); }
.nav-cta { padding: 10px 20px; font-size: 0.88rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 150px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.hero-text .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--primary-500); }
.hero-lead {
  font-size: 1.13rem;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 36px;
}
.hero-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
}
.hero-mini-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-500);
  flex-shrink: 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
}
.trust-item { display: flex; flex-direction: column; }
.trust-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-num .accent { color: var(--primary-500); }
.trust-label {
  font-size: 0.75rem;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.trust-divider { width: 1px; height: 36px; background: var(--border); }

/* ===== Hero Phone Mockup (uses real splash-1 image as the screen) ===== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 660px;
}
.hero-glow {
  position: absolute;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(232, 116, 68, 0.4) 0%, transparent 60%);
  filter: blur(40px);
  border-radius: 50%;
  z-index: 0;
  animation: heroGlow 4.5s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

.phone {
  position: relative;
  width: min(300px, 78vw); /* never overflow narrow viewports */
  z-index: 2;
  filter: drop-shadow(0 50px 80px rgba(0, 0, 0, 0.8));
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 42px;
  display: block;
  border: 6px solid #0a0a18;
  background: #0a0a18;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 60px rgba(232, 116, 68, 0.18);
}

/* Floating callout cards on hero phone */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(42, 42, 78, 0.98), rgba(26, 26, 46, 0.95));
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: floatBob 6s ease-in-out infinite;
}
.float-card .float-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-card .float-icon svg { width: 19px; height: 19px; }
.float-card.fc-cam .float-icon { background: rgba(232, 116, 68, 0.18); color: var(--primary-500); }
.float-card.fc-ir .float-icon { background: rgba(88, 86, 214, 0.18); color: var(--secondary-400); }
.float-card.fc-wifi .float-icon { background: rgba(31, 179, 86, 0.18); color: var(--tertiary-500); }
.float-card .float-text { line-height: 1.2; }
.float-card .float-text small {
  display: block;
  font-size: 0.66rem;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: 2px;
}
.float-card .float-text strong { display: block; font-size: 0.85rem; color: var(--text); font-weight: 700; }

.fc-1 { top: 60px; left: -60px; animation-delay: 0s; }
.fc-2 { top: 50%; right: -70px; animation-delay: -2s; }
.fc-3 { bottom: 80px; left: -40px; animation-delay: -4s; }

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Stats bar ===== */
.stats-bar {
  position: relative;
  padding: 32px 0;
  background:
    linear-gradient(135deg, rgba(232, 116, 68, 0.08), rgba(88, 86, 214, 0.05)),
    var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 38px;
  background: var(--border);
}
.stat-num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-500);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== Threat awareness ===== */
.threat { padding: var(--section) 0; position: relative; }
.threat-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.threat-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  font-weight: 800;
}
.threat-text h2 .danger { color: var(--error-300); }
.threat-text p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 22px;
  line-height: 1.7;
}
.threat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.threat-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.threat-list-item svg {
  width: 22px;
  height: 22px;
  color: var(--error-300);
  flex-shrink: 0;
  margin-top: 2px;
}
.threat-list-item div strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.threat-list-item div small { color: var(--text-mute); font-size: 0.85rem; }

/* ===== Threat radar (mirrors the app icon's radar+lens visual) ===== */
.threat-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.threat-radar {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(232, 116, 68, 0.08) 0%, transparent 55%),
    radial-gradient(circle at center, #0c0c1c 0%, var(--bg) 65%, #15152a 100%);
  border: 1px solid rgba(232, 116, 68, 0.22);
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.55),
    0 30px 80px -20px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(232, 116, 68, 0.18);
  overflow: hidden;
}

/* Concentric range rings */
.radar-ring {
  position: absolute;
  border: 1px solid rgba(232, 116, 68, 0.18);
  border-radius: 50%;
  inset: 12%;
  pointer-events: none;
}
.radar-ring.r2 { inset: 26%; }
.radar-ring.r3 { inset: 40%; }

/* Crosshair grid lines */
.radar-cross {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.radar-cross::before, .radar-cross::after {
  content: '';
  position: absolute;
}
.radar-cross::before {
  left: 6%; right: 6%; top: 50%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(232, 116, 68, 0.22) 50%, transparent);
}
.radar-cross::after {
  top: 6%; bottom: 6%; left: 50%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(232, 116, 68, 0.22) 50%, transparent);
}

/* Rotating sweep beam (orange wedge fading to transparent) */
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(232, 116, 68, 0.55) 0deg,
    rgba(232, 116, 68, 0.18) 26deg,
    rgba(232, 116, 68, 0.04) 60deg,
    transparent 90deg,
    transparent 360deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 0%, transparent 14%, black 16%, black 100%);
          mask-image: radial-gradient(circle, transparent 0%, transparent 14%, black 16%, black 100%);
  animation: radarSweep 5s linear infinite;
  pointer-events: none;
  transform-origin: center;
}
@keyframes radarSweep {
  to { transform: rotate(360deg); }
}

/* Center: real HiddenScan app icon */
.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26%;
  aspect-ratio: 1;
  border-radius: 22%;
  overflow: hidden;
  z-index: 5;
  box-shadow:
    0 0 40px rgba(232, 116, 68, 0.45),
    0 12px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(232, 116, 68, 0.4);
}
.radar-center img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Tactical overlays - positioned inside the circle, not at corners
   (the radar uses border-radius:50% + overflow:hidden so corner positioning
   would get clipped by the curved edge) */
.radar-status {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 15, 28, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  z-index: 6;
  white-space: nowrap;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tertiary-500);
  box-shadow: 0 0 8px var(--tertiary-500);
  animation: statusBlink 1.4s infinite;
}
@keyframes statusBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.3); }
}
.radar-status small {
  font-size: 0.62rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.radar-counter {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(230, 46, 46, 0.92);
  color: var(--white);
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  z-index: 6;
  box-shadow: 0 12px 28px rgba(230, 46, 46, 0.32);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.radar-counter strong { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.radar-counter small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 70px;
  line-height: 1.15;
}

/* Detected blips */
.radar-blip {
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 4;
}
.radar-blip.blip-right { gap: 9px; }

.blip-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--error-300);
  box-shadow: 0 0 12px var(--error-300);
  position: relative;
  flex-shrink: 0;
}
.blip-dot::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid var(--error-300);
  opacity: 0;
  animation: blipPing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes blipPing {
  0% { transform: scale(0.5); opacity: 0.85; }
  100% { transform: scale(2.6); opacity: 0; }
}

.blip-label {
  display: flex;
  flex-direction: column;
  background: rgba(20, 20, 38, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 5px 9px;
  white-space: nowrap;
  line-height: 1.25;
}
.blip-label small {
  font-size: 0.62rem;
  color: var(--text-mute);
  font-weight: 500;
}
.blip-label strong {
  font-size: 0.66rem;
  color: var(--error-300);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* On smaller screens, scale labels and tuck blips inward */
@media (max-width: 720px) {
  .blip-label { padding: 4px 7px; }
  .blip-label small { font-size: 0.55rem; }
  .blip-label strong { font-size: 0.6rem; }
  .radar-counter strong { font-size: 1.2rem; }
  .radar-counter small, .radar-status small { font-size: 0.55rem; }
}

/* ===== Scan modes ===== */
.modes { padding: var(--section) 0; position: relative; }
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mode-card {
  position: relative;
  padding: 34px 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}
.mode-card:hover {
  transform: translateY(-6px);
  border-color: var(--mode-color);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 40px var(--mode-glow);
}
.mode-card.cam { --mode-color: var(--primary-500); --mode-glow: rgba(232, 116, 68, 0.25); }
.mode-card.ir { --mode-color: var(--secondary-400); --mode-glow: rgba(126, 120, 229, 0.25); }
.mode-card.wifi { --mode-color: var(--tertiary-500); --mode-glow: rgba(31, 179, 86, 0.25); }

.mode-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mode-color);
  margin-bottom: 16px;
}
.mode-icon-big {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--mode-color);
  color: var(--mode-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.mode-icon-big svg { width: 30px; height: 30px; }
.mode-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.mode-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.mode-checklist { display: flex; flex-direction: column; gap: 10px; }
.mode-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.mode-checklist li svg {
  width: 16px;
  height: 16px;
  color: var(--mode-color);
  flex-shrink: 0;
}

/* ===== Features grid ===== */
.features { padding: var(--section) 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px 26px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease-out);
}
.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(232, 116, 68, 0.14);
  border: 1px solid rgba(232, 116, 68, 0.24);
  color: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}
/* Variants */
.feature-card.feat-purple .feature-icon { background: rgba(88, 86, 214, 0.14); border-color: rgba(88, 86, 214, 0.24); color: var(--secondary-400); }
.feature-card.feat-green .feature-icon { background: rgba(31, 179, 86, 0.14); border-color: rgba(31, 179, 86, 0.24); color: var(--tertiary-500); }
.feature-card.feat-warning .feature-icon { background: rgba(232, 173, 0, 0.14); border-color: rgba(232, 173, 0, 0.24); color: var(--warning-500); }

/* ===== App preview - continuous auto-scrolling marquee ===== */
.app-preview { padding: var(--section) 0 calc(var(--section) - 30px); overflow: hidden; position: relative; }

.preview-rail-wrap {
  position: relative;
  margin-top: 16px;
  overflow: hidden;
  /* Soft fade on left/right edges so phones glide in/out gracefully */
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.preview-rail {
  display: flex;
  width: max-content;
  padding: 30px 0 50px;
  /* Continuous loop. Speed is controlled by --scroll-duration set inline by JS
     based on the rail width, so a longer track scrolls at the same px/sec. */
  animation: previewScroll var(--scroll-duration, 60s) linear infinite;
  will-change: transform;
}

/* Pause on hover so people can actually look at a screen */
.preview-rail-wrap:hover .preview-rail,
.preview-rail-wrap:focus-within .preview-rail {
  animation-play-state: paused;
}

@keyframes previewScroll {
  from { transform: translate3d(0, 0, 0); }
  /* JS duplicates the children, so translating by -50% lands the start of
     the duplicated set exactly where the original started -> seamless loop. */
  to   { transform: translate3d(-50%, 0, 0); }
}

.preview-phone {
  flex: 0 0 auto;
  width: 260px;
  margin-right: 26px;     /* used instead of gap so duplicated set tiles perfectly */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.4s var(--ease-out);
}
.preview-phone:hover { transform: translateY(-6px); }
.preview-phone img {
  width: 100%;
  /* Crop the bottom ~15% of the splash so the in-app "Get Started" CTA is
     hidden — those buttons would compete with the page's own CTAs.
     Native splash size is 375x812; we display the top 86% only. */
  aspect-ratio: 375 / 700;
  object-fit: cover;
  object-position: top;
  border-radius: 32px;
  border: 5px solid #0a0a18;
  background: #0a0a18;
  box-shadow:
    0 25px 50px -15px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 40px rgba(232, 116, 68, 0.12);
}
.preview-phone figcaption { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.preview-phone figcaption strong { font-size: 0.95rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.preview-phone figcaption span { font-size: 0.82rem; color: var(--text-mute); line-height: 1.4; max-width: 240px; }

@media (prefers-reduced-motion: reduce) {
  .preview-rail { animation: none; }
  .preview-rail-wrap { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ===== How it works ===== */
.how {
  padding: var(--section) 0;
  background: linear-gradient(180deg, transparent, var(--surface-2), transparent);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  position: relative;
  padding: 32px 26px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 22px;
  box-shadow: 0 0 30px rgba(232, 116, 68, 0.4);
}
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.65; }
.step-icon-small {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  border-radius: 22px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon-small svg { width: 36px; height: 36px; color: var(--primary-500); }

/* ===== Use cases ===== */
.usecases { padding: var(--section) 0; }
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.usecase-card {
  position: relative;
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}
.usecase-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-400);
}
.usecase-card.size-2 { grid-column: span 2; }
.usecase-card.size-3 { grid-column: span 3; }
.usecase-card.size-4 { grid-column: span 4; }
.usecase-card.row-2 { grid-row: span 2; }
.usecase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s var(--ease-out);
}
/* Real photos with a dark gradient + brand-colour tint over the top so titles
   and body text always stay readable. Bottom-up gradient is heaviest so the
   copy at the bottom of each card sits on near-solid navy. */
.usecase-bg.hotel {
  background-image:
    linear-gradient(0deg, rgba(7,7,17,0.96) 0%, rgba(7,7,17,0.55) 55%, rgba(7,7,17,0.25) 100%),
    linear-gradient(135deg, rgba(232,116,68,0.22), transparent 55%),
    url('images/uc-hotel.jpg');
}
.usecase-bg.airbnb {
  background-image:
    linear-gradient(0deg, rgba(7,7,17,0.95) 0%, rgba(7,7,17,0.55) 55%, rgba(7,7,17,0.2) 100%),
    linear-gradient(135deg, rgba(31,179,86,0.18), transparent 55%),
    url('images/uc-airbnb.jpg');
}
.usecase-bg.bath {
  background-image:
    linear-gradient(0deg, rgba(7,7,17,0.95) 0%, rgba(7,7,17,0.55) 55%, rgba(7,7,17,0.2) 100%),
    linear-gradient(135deg, rgba(88,86,214,0.22), transparent 55%),
    url('images/uc-bath.jpg');
}
.usecase-bg.gym {
  background-image:
    linear-gradient(0deg, rgba(7,7,17,0.95) 0%, rgba(7,7,17,0.55) 55%, rgba(7,7,17,0.2) 100%),
    linear-gradient(135deg, rgba(232,173,0,0.22), transparent 55%),
    url('images/uc-gym.jpg');
}
.usecase-bg.office {
  background-image:
    linear-gradient(0deg, rgba(7,7,17,0.95) 0%, rgba(7,7,17,0.55) 55%, rgba(7,7,17,0.2) 100%),
    linear-gradient(135deg, rgba(232,116,68,0.18), transparent 55%),
    url('images/uc-office.jpg');
}
.usecase-bg.car {
  background-image:
    linear-gradient(0deg, rgba(7,7,17,0.95) 0%, rgba(7,7,17,0.55) 55%, rgba(7,7,17,0.2) 100%),
    linear-gradient(135deg, rgba(31,179,86,0.18), transparent 55%),
    url('images/uc-car.jpg');
}

/* Subtle Ken Burns on hover */
.usecase-card:hover .usecase-bg { transform: scale(1.04); }

/* SVG illustrations are no longer needed now that real photos are in place */
.usecase-art { display: none; }

.usecase-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-400);
  z-index: 1;
}
.usecase-icon svg { width: 22px; height: 22px; }
.usecase-content { position: relative; z-index: 2; }
.usecase-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.usecase-content p { color: var(--text-soft); font-size: 0.88rem; line-height: 1.5; }
.usecase-card.large .usecase-content h4 { font-size: 1.55rem; }
.usecase-card.large .usecase-content p { font-size: 0.96rem; max-width: 80%; }

/* ===== Privacy promise ===== */
.privacy-promise { padding: var(--section) 0; }
.privacy-card {
  background:
    radial-gradient(circle at top right, rgba(31, 179, 86, 0.12), transparent 60%),
    radial-gradient(circle at bottom left, rgba(88, 86, 214, 0.1), transparent 60%),
    var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.privacy-card .eyebrow {
  color: var(--tertiary-500);
  border-color: rgba(31, 179, 86, 0.25);
  background: rgba(31, 179, 86, 0.06);
  margin-bottom: 22px;
}
.privacy-card h2 { font-size: clamp(2rem, 3.5vw, 2.7rem); font-weight: 800; margin-bottom: 20px; }
.privacy-card h2 .accent { color: var(--tertiary-500); }
.privacy-card p { color: var(--text-soft); font-size: 1.04rem; margin-bottom: 28px; line-height: 1.7; }
.privacy-list { display: flex; flex-direction: column; gap: 12px; }
.privacy-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}
.privacy-list li svg {
  width: 22px;
  height: 22px;
  color: var(--tertiary-500);
  flex-shrink: 0;
  padding: 4px;
  border-radius: 50%;
  background: rgba(31, 179, 86, 0.14);
  box-sizing: content-box;
}
.privacy-shield { display: flex; justify-content: center; align-items: center; }
.privacy-shield-svg {
  width: 280px;
  height: 280px;
  filter: drop-shadow(0 0 40px rgba(31, 179, 86, 0.3));
}

/* ===== FAQ ===== */
.faq { padding: var(--section) 0; }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
/* Two-column layout on bigger screens, with items aligning to start
   so an opened answer doesn't push its sibling card down. */
@media (min-width: 900px) {
  .faq-list {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    max-width: 1100px;
    gap: 14px;
  }
}
.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.faq-item.open { border-color: var(--primary-400); }
.faq-q {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: none;
}
.faq-q-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}
.faq-q-icon svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.faq-item.open .faq-q-icon { background: var(--primary-500); color: var(--white); border-color: var(--primary-500); }
.faq-item.open .faq-q-icon svg { transform: rotate(45deg); }
.faq-a {
  padding: 0 26px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { padding: 0 26px 22px; max-height: 400px; }

/* ===== Download CTA ===== */
.download { padding: var(--section) 0; }
.download-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(232, 116, 68, 0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(88, 86, 214, 0.16), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(31, 179, 86, 0.06), transparent 70%),
    linear-gradient(135deg, var(--surface-2) 0%, var(--bg) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 70px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232, 116, 68, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.download-card > * { position: relative; }
.download-card .eyebrow { margin-bottom: 22px; }
.download-card h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 22px;
  font-weight: 800;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.download-card h2 .accent { color: var(--primary-500); }
.download-card p {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.download-card .store-buttons { justify-content: center; margin-bottom: 26px; }
.download-promise {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.download-promise-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.download-promise-item svg {
  width: 16px;
  height: 16px;
  color: var(--tertiary-500);
  flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
  padding: 70px 0 30px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 50px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  color: var(--text-mute);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 380px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--text-mute); }
.footer-col a:hover { color: var(--primary-400); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-mute);
  font-size: 0.85rem;
}

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.65s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.75s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 0.85s; opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 580px; }
  .hero-text { text-align: center; }
  .hero-text .hero-mini, .hero-text .hero-cta, .hero-text .hero-trust { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .threat-grid { grid-template-columns: 1fr; gap: 60px; }
  .threat-text { text-align: center; }
  .threat-list-item { text-align: left; }
  .modes-grid { grid-template-columns: 1fr 1fr; }
  .modes-grid .mode-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; width: 100%; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .privacy-card { grid-template-columns: 1fr; padding: 50px 36px; }
  .privacy-shield { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .usecase-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
  .usecase-card.size-2, .usecase-card.size-3 { grid-column: span 2; }
  .usecase-card.size-4 { grid-column: span 4; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; position: fixed; top: 70px; left: 16px; right: 16px; flex-direction: column; padding: 24px; background: var(--surface-2); border-radius: var(--radius); border: 1px solid var(--border-strong); gap: 18px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-cta { width: 100%; justify-content: center; padding: 12px; }

  .hero { padding: 130px 0 70px; }
  .hero-visual { min-height: 540px; }
  .fc-1 { left: -10px; }
  .fc-2 { right: -10px; }
  .fc-3 { left: -10px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  /* In a 2x2 grid the dividers between rows would dangle, so hide them */
  .stat-item::after { display: none; }

  .modes-grid { grid-template-columns: 1fr; }
  .modes-grid .mode-card:last-child { grid-column: span 1; max-width: none; }
  .features-grid { grid-template-columns: 1fr; }

  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .usecase-card.size-2, .usecase-card.size-3, .usecase-card.size-4 { grid-column: span 2; }
  .usecase-card.row-2 { grid-row: span 1; }

  .download-card { padding: 50px 28px; }
  .privacy-card { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .preview-phone { width: 220px; margin-right: 20px; }

  .hero-trust { flex-wrap: wrap; gap: 18px; justify-content: center; }
  .trust-divider { display: none; }
}

/* Ultra-narrow phones (iPhone SE / Galaxy S small) */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .nav-logo { font-size: 1.05rem; gap: 8px; }
  .nav-logo img { width: 34px; height: 34px; border-radius: 8px; }

  .hero { padding: 116px 0 56px; }
  .hero-visual { min-height: 460px; }
  /* Float cards stack closer in so they don't clip */
  .float-card { padding: 9px 12px; gap: 9px; }
  .float-card .float-icon { width: 32px; height: 32px; }
  .float-card .float-icon svg { width: 16px; height: 16px; }
  .float-card .float-text small { font-size: 0.6rem; }
  .float-card .float-text strong { font-size: 0.78rem; }
  .fc-1 { top: 24px; left: -4px; }
  .fc-2 { right: -4px; }
  .fc-3 { bottom: 30px; left: -4px; }

  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .hero-cta { gap: 12px; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .section-intro { margin-bottom: 40px; }
  .section-intro h2 { font-size: 1.7rem; }
  .section-intro p { font-size: 0.98rem; }
  .display { font-size: 2.2rem; }

  .threat-list-item { padding: 12px 14px; }

  .mode-card { padding: 28px 22px; }
  .feature-card { padding: 24px 22px; }

  .usecase-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .usecase-card.size-2, .usecase-card.size-3, .usecase-card.size-4 { grid-column: span 1; }
  .usecase-content h4 { font-size: 1.1rem; }
  .usecase-card.large .usecase-content h4 { font-size: 1.3rem; }

  .download-card { padding: 40px 22px; }
  .privacy-card { padding: 32px 20px; }
  .privacy-shield-svg { width: 220px; height: 220px; }

  .preview-phone { width: 200px; margin-right: 16px; }

  .faq-q { padding: 18px 20px; font-size: 0.94rem; }
  .faq-item.open .faq-a { padding: 0 20px 20px; }
}

/* Ultra-wide screens — give room to breathe and scale text up */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}
@media (min-width: 1920px) {
  :root { --container: 1440px; }
  body { font-size: 17px; }
}

/* ===== Legal pages ===== */
.legal {
  padding: 130px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.legal .legal-meta {
  color: var(--text-mute);
  font-size: 0.9rem;
  margin-bottom: 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text);
}
.legal h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 26px 0 10px;
  color: var(--text);
}
.legal p, .legal li {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal ul, .legal ol { margin: 0 0 14px 22px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal a { color: var(--primary-400); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 600; }
