/* ─────────────────────────────────────────────────────────
   DROWN. — Marketing site
   Premium design — inspired by Tirtus reference
   ───────────────────────────────────────────────────────── */

@font-face {
  font-family: 'DM Serif Display';
  src: url('assets/fonts/DMSerifDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Light base */
  --bg:             #FAFBFE;
  --bg-deep:        #F0F2F8;

  /* Dark hero & card surfaces */
  --surface-dark:   #070E24;
  --surface-dark-2: #0C1632;
  --card-dark:      #111B3A;

  /* Accent */
  --accent:         #4B6AD4;
  --accent-glow:    #B8C7FF;

  /* Text on light */
  --text-1:         #0B1023;
  --text-2:         #4A5568;
  --text-3:         #8896AB;
  --text-4:         #B4BED0;

  /* Text on dark */
  --text-on-dark-1: #FFFFFF;
  --text-on-dark-2: rgba(255,255,255,0.68);
  --text-on-dark-3: rgba(255,255,255,0.42);

  /* Borders */
  --border-light:   rgba(0,0,0,0.07);
  --border-dark:    rgba(255,255,255,0.10);
  --border-dark-s:  rgba(255,255,255,0.16);

  /* Functional */
  --green:          #34D399;

  /* Shapes */
  --r-sm:           12px;
  --r-md:           20px;
  --r-lg:           32px;
  --r-xl:           48px;
  --r-pill:         999px;

  /* Type */
  --font-display:   'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion */
  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:    cubic-bezier(0.34, 1.4, 0.64, 1);

  /* Layout */
  --container:      1200px;
  --pad-x:          clamp(20px, 5vw, 64px);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  min-height: 100vh;
}
img, picture, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.08; }
ul { list-style: none; }

/* ─── Utility ───────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--surface-dark);
  color: #FFF;
  box-shadow: 0 4px 20px -4px rgba(7,14,36,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -6px rgba(7,14,36,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.app-store-link {
  display: inline-block;
  transition: transform 0.25s var(--ease-spring), opacity 0.2s ease;
}
.app-store-link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.app-store-badge {
  display: block;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.btn-link:hover { color: var(--accent); }
.btn-link .arrow { transition: transform 0.2s var(--ease-out); }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  background: rgba(250, 251, 254, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border-light);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 102;
}
.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(184,199,255,0.25);
}
.nav-brand-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-1); }
.nav-cta {
  padding: 10px 20px;
  font-size: 13px;
}

/* ─── Hamburger button ──────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 102;
  background: none;
  border: none;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 720px) {
  .nav-links {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 72px 0 24px;
    background: rgba(250, 251, 254, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.3s ease;
    z-index: 101;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-1);
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px var(--pad-x) 0;
}
.hero-container {
  max-width: var(--container);
  margin: 0 auto;
}
.hero-card {
  position: relative;
  background: linear-gradient(160deg, #0A1638 0%, #050B1E 55%, #070E24 100%);
  border-radius: var(--r-xl);
  padding: clamp(48px, 8vw, 110px) clamp(24px, 5vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
/* Atmospheric glow inside hero */
.hero-card::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%;
  width: 140%; height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%,
    rgba(184,199,255,0.15) 0%,
    rgba(184,199,255,0.04) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* Noise texture */
.hero-card::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: inherit;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-eyebrow {
  margin-bottom: 28px;
  color: var(--accent-glow);
  opacity: 0.9;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--text-on-dark-1);
  margin-bottom: 28px;
}
.hero-sub {
  max-width: 480px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--text-on-dark-2);
  margin-bottom: 44px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-ctas .btn-primary {
  background: #FFF;
  color: var(--surface-dark);
  box-shadow: 0 4px 24px -4px rgba(255,255,255,0.2);
}
.hero-ctas .btn-primary:hover {
  box-shadow: 0 8px 32px -6px rgba(255,255,255,0.35);
}
.hero-ctas .btn-link {
  color: var(--text-on-dark-2);
}
.hero-ctas .btn-link:hover {
  color: #FFF;
}
.hero-badge {
  position: absolute;
  bottom: clamp(40px, 6vw, 80px);
  right: clamp(32px, 5vw, 80px);
  z-index: 2;
}
.hero-badge img {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  box-shadow:
    0 0 60px rgba(91,138,255,0.4),
    0 20px 40px -10px rgba(0,0,0,0.5);
}

/* ─── Section base ──────────────────────────────────────── */
.section {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
}
.section-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ─── Showcase (How it works) ───────────────────────────── */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: 640px;
}
.showcase-copy .eyebrow { margin-bottom: 18px; }
.showcase-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  color: var(--text-1);
}
.showcase-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 32px;
}
.showcase-ticks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.showcase-tick {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.showcase-tick::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(184,199,255,0.5);
  flex-shrink: 0;
}

/* iPhone mockup */
.showcase-phone {
  display: grid;
  place-items: center;
}
.iphone-frame {
  position: relative;
  width: 290px;
  height: 600px;
  border-radius: 52px;
  padding: 12px;
  background: linear-gradient(150deg, #1A2040 0%, #0A0E1E 40%, #14182A 80%, #1E2240 100%);
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.4),
    0 30px 60px -20px rgba(0,0,0,0.2),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 1px 0 rgba(255,255,255,0.12) inset;
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease-out);
}
.iphone-frame:hover {
  transform: rotate(-1deg) translateY(-6px);
}
.iphone-frame::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 30%);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: linear-gradient(180deg, #10152C 0%, #070B1C 50%, #050814 100%);
  display: flex;
  flex-direction: column;
}
.iphone-notch {
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #000;
  border-radius: 16px;
  z-index: 10;
}

/* HomeView inside mockup */
.hv-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px 0;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  color: #FFF;
}
.hv-statusbar .icons {
  display: flex; gap: 5px; align-items: center;
}
.hv-statusbar svg { width: 14px; height: 10px; opacity: 0.9; }

.hv-top {
  padding: 16px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hv-brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
}
.hv-greeting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hv-greeting {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  color: #FFF;
}
.hv-delay-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.hv-delay-pill svg { width: 9px; height: 9px; opacity: 0.7; }

.hv-shield-area {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
  margin-top: -10px;
}
.hv-shield {
  position: relative;
  width: 200px; height: 200px;
  display: grid;
  place-items: center;
}
.hv-shield-glow {
  position: absolute;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(91,138,255,0.55) 0%,
    rgba(91,138,255,0.18) 35%,
    transparent 70%);
  filter: blur(28px);
}
.hv-shield-body {
  position: relative;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,
    rgba(40,50,80,0.95) 0%,
    rgba(14,18,36,1) 50%,
    rgba(4,6,12,1) 75%);
  box-shadow:
    inset 0 1px 4px rgba(255,255,255,0.08),
    inset -10px -14px 30px rgba(0,0,0,0.95),
    0 8px 24px rgba(0,0,0,0.6);
  z-index: 2;
}
.hv-shield-body::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 35deg,
    transparent 0%, transparent 50%,
    rgba(91,138,255,0.85) 72%,
    rgba(140,170,255,1) 82%,
    rgba(91,138,255,0.55) 92%,
    transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 60.5%);
  mask: radial-gradient(circle, transparent 60%, #000 60.5%);
  filter: blur(2px);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hv-shield-body::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 30deg,
    transparent 0%, transparent 45%,
    rgba(91,138,255,0.4) 75%,
    transparent 100%);
  filter: blur(8px);
  mix-blend-mode: screen;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hv-shield-glow {
    animation: shieldBreath 3.6s ease-in-out infinite alternate;
  }
}
@keyframes shieldBreath {
  0%   { opacity: 0.4; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.08); }
}

.hv-shield-label {
  position: absolute;
  bottom: -32px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.hv-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 18px;
  margin-top: 30px;
}
.hv-mode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 4px 8px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(43,51,89,0.4), rgba(15,20,36,0.25));
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.hv-mode svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.55); }
.hv-mode.active {
  background: var(--accent);
  border-color: rgba(184,199,255,0.6);
  color: #FFF;
  box-shadow: 0 6px 18px -4px rgba(184,199,255,0.5);
}
.hv-mode.active svg { stroke: #FFF; }

.hv-stats {
  margin-top: 14px;
  padding: 12px 22px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
}
.hv-stats .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 6px rgba(52,211,153,0.6);
}

/* ─── How It Works ──────────────────────────────────────── */
.how-header {
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.how-header .eyebrow { margin-bottom: 18px; }
.how-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-1);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.how-step {
  padding: 40px 32px 48px;
  border-top: 1px solid var(--border-light);
}
.how-step + .how-step {
  border-left: 1px solid var(--border-light);
}
.how-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 80px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 24px;
}
.how-step-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 12px;
}
.how-step-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 260px;
}

/* ─── Shield section ────────────────────────────────────── */
.shield-banner {
  position: relative;
  margin: 0 var(--pad-x);
  background: linear-gradient(160deg, #0A1638 0%, #050B1E 55%, #0D1530 100%);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}
.shield-banner::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 160%; height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%,
    rgba(184,199,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.shield-grid {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 80px);
}
.shield-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
}
.shield-art-glow {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(184,199,255,0.18) 0%,
    rgba(184,199,255,0.05) 35%,
    transparent 60%);
  filter: blur(16px);
}
.shield-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 220px;
  height: auto;
  filter:
    drop-shadow(0 0 30px rgba(184,199,255,0.25))
    drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}
.shield-copy { max-width: 440px; }
.shield-copy .eyebrow {
  margin-bottom: 18px;
  color: var(--accent-glow);
}
.shield-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  margin-bottom: 18px;
  color: var(--text-on-dark-1);
}
.shield-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-dark-2);
  margin-bottom: 20px;
}
.shield-quote {
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 20px;
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-on-dark-3);
}

/* ─── Smart Filters ─────────────────────────────────────── */
.filters-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.filters-inner .eyebrow { margin-bottom: 18px; }
.filters-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--text-1);
}
.filters-headline em {
  font-style: italic;
  color: var(--accent);
}
.filters-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.filters-chips {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border-light);
  background: #FFF;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 16px -4px rgba(184,199,255,0.2);
}
.filter-chip svg { width: 14px; height: 14px; stroke: currentColor; }
.filters-foot {
  font-size: 13px;
  color: var(--text-3);
}

/* ─── Privacy section ───────────────────────────────────── */
.privacy-inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.privacy-inner .eyebrow { margin-bottom: 18px; }
.privacy-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.06;
  margin-bottom: 28px;
  color: var(--text-1);
}
.privacy-body {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 36px;
}
.privacy-guarantees {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.privacy-guarantees .sep { color: var(--text-4); }

/* ─── Final CTA ─────────────────────────────────────────── */
.final {
  position: relative;
  padding: clamp(100px, 14vw, 160px) var(--pad-x) clamp(80px, 10vw, 120px);
  text-align: center;
}
.final-inner {
  max-width: 700px;
  margin: 0 auto;
}
.final-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 18px;
  box-shadow: 0 4px 30px rgba(184,199,255,0.25);
}
.final-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.04;
  margin-bottom: 18px;
  color: var(--text-1);
}
.final-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 36px;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 40px var(--pad-x) 36px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 24px; height: 24px;
  border-radius: 6px;
}
.footer-brand-text {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-2);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-links a {
  color: var(--text-3);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent); }

/* ─── Hero screenshot ───────────────────────────────────── */
.hero-screenshot {
  position: absolute;
  bottom: clamp(30px, 4vw, 60px);
  right: clamp(32px, 5vw, 80px);
  z-index: 2;
}
.hero-screenshot img.screenshot {
  height: clamp(320px, 40vw, 520px);
  width: auto;
  border-radius: 28px;
  box-shadow:
    0 30px 80px -15px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 60px rgba(91,138,255,0.15);
}

/* ─── Filter cards ──────────────────────────────────────── */
.filters-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.filter-card {
  padding: 32px 24px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border-light);
  background: #FFF;
  text-align: left;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-spring);
}
.filter-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px -8px rgba(184,199,255,0.15);
  transform: translateY(-4px);
}
.filter-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg-deep);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.filter-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}
.filter-card-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}
.filter-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

/* ─── FAQ (inline on index) ──────────────────────────────── */
.faq-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.faq-header .eyebrow { margin-bottom: 18px; }
.faq-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  color: var(--text-1);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.faq-item {
  padding: 32px;
  border-top: 1px solid var(--border-light);
}
.faq-item:nth-child(odd) {
  border-right: 1px solid var(--border-light);
}
.faq-question {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  line-height: 1.3;
}
.faq-answer {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ─── FAQ Page (standalone) ─────────────────────────────── */
.faq-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.faq-page-hero {
  padding: 140px 0 64px;
}
.faq-page-hero .eyebrow { margin-bottom: 18px; }
.faq-page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.04;
  color: var(--text-1);
  margin-bottom: 20px;
}
.faq-page-intro {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--text-2);
  max-width: 560px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-card {
  padding: 36px 40px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #0A1638 0%, #060C22 100%);
  border: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease;
}
.faq-card:hover {
  box-shadow: 0 16px 60px -12px rgba(0,0,0,0.3);
}
.faq-card:last-child {
  border-bottom: none;
}
.faq-card-q {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 14px;
  line-height: 1.35;
}
.faq-card-a {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}
.faq-card-a strong {
  color: #FFF;
  font-weight: 600;
}
.faq-card-a a {
  color: var(--accent-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-card-a a:hover {
  text-decoration-color: transparent;
}
.faq-page-cta {
  text-align: center;
  padding: 64px 0 100px;
}
.faq-page-cta-text {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 20px;
}


/* ─── How It Works Page ─────────────────────────────────── */
.how-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.how-page-hero {
  padding: 140px 0 80px;
  max-width: 700px;
}
.how-page-hero .eyebrow { margin-bottom: 20px; }
.how-page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.04;
  color: var(--text-1);
  margin-bottom: 24px;
}
.how-page-intro {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--text-2);
  max-width: 600px;
}
.how-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 40px;
}
.how-card {
  background: linear-gradient(160deg, #0A1638 0%, #060C22 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  align-items: flex-start;
  transition: box-shadow 0.3s ease;
}
.how-card:hover {
  box-shadow: 0 16px 60px -12px rgba(0,0,0,0.3);
}
.how-card-dark {
  background: linear-gradient(160deg, #0A1638 0%, #050B1E 100%);
  border-color: rgba(255,255,255,0.06);
}
.how-card-dark:hover {
  box-shadow: 0 16px 60px -12px rgba(0,0,0,0.3);
}
.how-card-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  flex-shrink: 0;
  min-width: 80px;
}
.how-card-content {
  flex: 1;
}
.how-card-title {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #FFF;
  margin-bottom: 16px;
  line-height: 1.3;
}
.how-card-content p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.how-card-content p:last-child { margin-bottom: 0; }
.how-card .eyebrow { color: var(--accent-glow); }
.how-card-note {
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: rgba(184,199,255,0.1);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}
.how-card-note strong {
  color: var(--accent-glow);
}

/* Frequency table */
.how-freq-table {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.how-freq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 14px;
  gap: 16px;
}
.how-freq-row + .how-freq-row {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.how-freq-range {
  font-weight: 700;
  font-family: 'Inter', monospace;
  min-width: 100px;
  color: rgba(255,255,255,0.6);
}
.how-freq-range.accent { color: var(--accent-glow); }
.how-freq-range.muted { color: rgba(255,255,255,0.3); }
.how-freq-examples {
  flex: 1;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}
.how-freq-weight {
  font-weight: 700;
  font-family: 'Inter', monospace;
  text-align: right;
  min-width: 110px;
  color: rgba(255,255,255,0.6);
}
.how-freq-weight.accent { color: var(--accent-glow); }
.how-freq-weight.muted { color: rgba(255,255,255,0.3); }

/* Sounds grid */
.how-sounds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.how-sound {
  padding: 20px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.how-sound-name {
  font-size: 15px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 6px;
}
.how-sound-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}

/* How list */
.how-list {
  margin: 12px 0 16px 20px;
  list-style: disc;
}
.how-list li {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.how-list li strong {
  color: #FFF;
}

/* Sensitivity guide */
.how-sensitivity {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin: 16px 0;
}
.how-sens-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  font-size: 14px;
}
.how-sens-row + .how-sens-row {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.how-sens-range {
  font-weight: 700;
  font-family: 'Inter', monospace;
  min-width: 80px;
}
.how-sens-label {
  color: rgba(255,255,255,0.55);
}

/* How page CTA */
.how-page-cta {
  text-align: center;
  padding: 40px 0 100px;
}

/* ─── Reveal animations ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .reveal[data-delay="1"] { transition-delay: 0.1s; }
  .reveal[data-delay="2"] { transition-delay: 0.2s; }
  .reveal[data-delay="3"] { transition-delay: 0.3s; }
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 980px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-phone { padding: 40px 0; }
  .iphone-frame { transform: rotate(-2deg) scale(0.9); }
  .shield-grid { grid-template-columns: 1fr; gap: 48px; }
  .shield-art { min-height: auto; }
  .shield-art img { max-width: 280px; }
  .shield-art-glow { width: 300px; height: 300px; }
  .shield-copy { max-width: 100%; }
  .filters-cards { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item:nth-child(odd) { border-right: 0; }
  .how-card { flex-direction: column; }
  .how-card-num { min-width: auto; }
  .how-sounds-grid { grid-template-columns: 1fr; }
  .hero-screenshot { display: none; }
}

@media (max-width: 600px) {
  /* hero: edge-to-edge */
  .hero { padding: 88px 0 0; }
  .hero-container { max-width: 100%; }
  .hero-card {
    border-radius: 0;
    padding: 48px 20px 56px;
  }
  .hero-title { font-size: clamp(36px, 10vw, 52px); }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* sections: tighter padding */
  .section { padding: clamp(56px, 10vw, 100px) 16px; }
  .showcase-headline { font-size: 28px; }

  /* shield: edge-to-edge */
  .shield-banner { margin: 0; border-radius: 0; }
  .shield-grid { padding: 48px 20px; }

  /* filter cards */
  .filter-card { padding: 24px 18px; }

  /* footer */
  .footer { padding: 32px 16px 28px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-direction: column; gap: 14px; }

  /* nav */
  .nav { height: 60px; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }

  /* how-it-works page */
  .how-page-hero { padding: 100px 0 48px; }
  .how-page-title { font-size: clamp(28px, 8vw, 48px); }
  .how-card { padding: 24px 18px; }
  .how-freq-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .how-freq-weight { text-align: left; }
  .how-sens-row { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* faq page */
  .faq-page-hero { padding: 100px 0 48px; }
  .faq-card { padding: 24px 20px; }
  .faq-item { padding: 24px 0; }

  /* privacy/terms: general */
  .iphone-frame { transform: scale(0.82); }

  /* privacy guarantees */
  .privacy-guarantees { flex-direction: column; gap: 8px; }
  .privacy-guarantees .sep { display: none; }

  /* final CTA */
  .final { padding: 72px 16px 64px; }
}

/* ─── Legal page mobile (privacy/terms) ─────────────────── */
@media (max-width: 600px) {
  .legal-page {
    padding: 100px 16px 60px !important;
  }
  .legal-page h1 {
    font-size: clamp(28px, 8vw, 40px) !important;
  }
  .legal-page h2 {
    font-size: clamp(18px, 5vw, 26px) !important;
    margin-top: 36px !important;
  }
  .legal-card {
    padding: 24px 18px !important;
    border-radius: 14px !important;
  }
  /* Turn tables into stacked cards on mobile */
  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table th,
  .data-table td,
  .data-table tr {
    display: block !important;
    width: 100% !important;
  }
  .data-table thead {
    position: absolute;
    left: -9999px;
    clip: rect(0 0 0 0);
  }
  .data-table tr {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  .data-table tr:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none !important;
  }
  .data-table td {
    padding: 6px 0 !important;
    border-bottom: none !important;
    font-size: 14px !important;
    position: relative;
  }
  .data-table td:first-child {
    font-weight: 700;
    color: #FFF !important;
    font-size: 15px !important;
    padding-top: 0 !important;
    margin-bottom: 4px;
  }
}
