/* ═══════════════════════════════════════════════════════════════
   EMBERGARD — Apple-Inspired Design System
   Dark theme · Amber accent · Inter font · Scroll-driven
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Background — deep obsidian */
  --bg: #000000;
  --bg-secondary: #0A0A0C;
  --bg-card: #111113;
  --bg-card-hover: #18181C;

  /* Accent — amber */
  --accent: #F5A623;
  --accent-light: #FCD34D;
  --accent-dark: #C77D0A;
  --accent-glow: rgba(245, 166, 35, 0.08);
  --accent-glow-strong: rgba(245, 166, 35, 0.16);
  --accent-border: rgba(245, 166, 35, 0.25);

  /* Semantic colors */
  --threat: #FF4757;
  --success: #2ED573;
  --cyan: #00D4FF;

  /* Text */
  --text: #F5F5F7;
  --text-secondary: #86868B;
  --text-muted: #6E6E73;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Radius */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;

  /* Layout */
  --max-width: 1080px;
  --nav-height: 48px;
}

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

/* Display font for headings */
h1, h2, h3, h4, .section-title, .hero-title, .privacy-headline, .cta-title {
  font-family: var(--font-display);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.01em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

::selection { background: var(--accent); color: #000; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 3px; }

/* ═══ TEXT ACCENT ═══ */
.text-accent {
  background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 var(--space-md);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}

.nav-brand-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-brand-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

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

.nav-cta {
  background: var(--accent);
  color: #000 !important;
  font-weight: 600 !important;
  padding: 6px 16px !important;
  border-radius: 980px !important;
  font-size: 0.82rem !important;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent-light);
  color: #000 !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  position: relative;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  border-radius: 1px;
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 8px; }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg); bottom: 8px; }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(245, 166, 35, 0.06) 0%, transparent 70%);
  pointer-events: none;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  padding: 5px 14px;
  border-radius: 980px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeIn 0.8s 0.2s forwards;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeIn 1s 0.3s forwards;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto var(--space-lg);
  font-weight: 400;
  opacity: 0;
  animation: fadeIn 1s 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s 0.7s forwards;
}

.hero-scroll-hint {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  animation: fadeIn 1s 1s forwards;
}

.hero-scroll-hint span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(24px); opacity: 0; }
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 980px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: scale(1.02);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ═══ HERO THREAT COUNTER ═══ */
.hero-threat-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  padding: 6px 16px;
  background: rgba(255, 71, 87, 0.06);
  border: 1px solid rgba(255, 71, 87, 0.15);
  border-radius: 980px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0;
  animation: fadeIn 1s 0.9s forwards;
}

.hero-threat-counter .counter-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--threat);
  animation: pulse 2s ease-in-out infinite;
}

.hero-threat-counter .counter-value {
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ═══ HERO PHONE ═══ */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
  opacity: 0;
  animation: fadeIn 1.2s 0.6s forwards;
}

.phone-frame {
  width: 260px;
  height: 540px;
  background: #1a1a1e;
  border-radius: 40px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(245, 166, 35, 0.06);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #1a1a1e;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0a0a0c 0%, #121214 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 4px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.phone-status-icons { font-size: 0.55rem; letter-spacing: 2px; }

.phone-header {
  padding: 8px 14px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(245, 166, 35, 0)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.3)); }
}

.phone-header-text h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.phone-status-text {
  font-size: 0.6rem;
  color: var(--success);
  font-weight: 600;
}

.phone-alerts {
  flex: 1;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  position: relative;
}

.phone-alert {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.65rem;
  line-height: 1.35;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.phone-alert.alert-active {
  opacity: 1;
  transform: translateY(0);
}

.phone-alert.alert-inactive {
  opacity: 0;
  transform: translateY(-8px);
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.phone-alert.safe {
  background: rgba(46, 213, 115, 0.08);
  border: 1px solid rgba(46, 213, 115, 0.2);
}

.phone-alert.warning {
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.phone-alert.danger {
  background: rgba(255, 71, 87, 0.08);
  border: 1px solid rgba(255, 71, 87, 0.2);
}

.phone-alert .icon { font-size: 0.75rem; flex-shrink: 0; }
.phone-alert .text { color: var(--text-secondary); }
.phone-alert .text strong { display: block; color: var(--text); font-size: 0.65rem; margin-bottom: 1px; }
.phone-alert.danger .text strong { color: var(--threat); }
.phone-alert.warning .text strong { color: var(--accent); }
.phone-alert.safe .text strong { color: var(--success); }

.phone-bottom-nav {
  padding: 6px 14px 10px;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.phone-nav-item {
  text-align: center;
  font-size: 0.55rem;
  color: var(--text-muted);
  font-weight: 500;
}

.phone-nav-item.active { color: var(--accent); }
.phone-nav-item .nav-icon { font-size: 0.9rem; display: block; margin-bottom: 1px; }

/* ═══ SECTIONS ═══ */
.section {
  padding: var(--space-3xl) var(--space-md);
  position: relative;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ═══ HOW IT WORKS ═══ */
.section-how { background: var(--bg); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.how-step {
  text-align: center;
  padding: var(--space-md);
}

.how-step-number {
  width: 44px;
  height: 44px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0 auto var(--space-sm);
}

.how-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.how-step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ═══ STATS ═══ */
.section-stats {
  background: var(--bg-secondary);
  padding: var(--space-2xl) var(--space-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat { text-align: center; }

.stat-number {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
  color: var(--text);
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ═══ PROTECTION ═══ */
.section-protection { background: var(--bg); }

.protection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  max-width: 760px;
  margin: 0 auto;
}

.protection-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}

.protection-card:hover {
  border-color: rgba(245, 166, 35, 0.2);
  background: var(--bg-card-hover);
}

.protection-card > summary {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.protection-card > summary::-webkit-details-marker { display: none; }
.protection-card > summary::marker { display: none; content: ''; }

.protection-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.protection-info { flex: 1; min-width: 0; }

.protection-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.protection-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

.protection-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

details[open] .protection-arrow { transform: rotate(90deg); }

.protection-detail {
  padding: 0 var(--space-lg) var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, padding 0.4s ease;
  padding-top: 0;
  padding-bottom: 0;
}

details[open] .protection-detail {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-md);
}

.protection-explain {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: var(--space-sm) 0;
}

/* Mini phone in protection cards */
.mini-phone-row {
  display: flex;
  justify-content: center;
  margin: var(--space-sm) 0;
}

.mini-phone {
  width: 200px;
  background: #1a1a1e;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  padding: 7px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.mini-phone-screen {
  background: linear-gradient(180deg, #0a0a0c 0%, #121214 100%);
  border-radius: 18px;
  overflow: hidden;
}

.mini-phone-status {
  display: flex;
  justify-content: space-between;
  padding: 5px 8px 3px;
  font-size: 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mini-phone-header {
  padding: 6px 8px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-phone-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.mini-phone-header h5 {
  font-size: 0.65rem;
  font-weight: 700;
  margin: 0;
}

.mini-phone-header span {
  font-size: 0.5rem;
  display: block;
}

.mini-phone-alert {
  margin: 3px 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.52rem;
  line-height: 1.3;
  display: flex;
  gap: 5px;
  align-items: flex-start;
}

.mini-phone-alert .alert-icon { font-size: 0.6rem; flex-shrink: 0; }
.mini-phone-alert .alert-text { color: var(--text-secondary); }
.mini-phone-alert .alert-text strong { display: block; margin-bottom: 0; font-size: 0.52rem; }

.mini-phone-alert-danger {
  background: rgba(255, 71, 87, 0.08);
  border: 1px solid rgba(255, 71, 87, 0.2);
}
.mini-phone-alert-danger .alert-text strong { color: var(--threat); }

.mini-phone-alert-warn {
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
}
.mini-phone-alert-warn .alert-text strong { color: var(--accent); }

.mini-phone-alert-ok {
  background: rgba(46, 213, 115, 0.08);
  border: 1px solid rgba(46, 213, 115, 0.2);
}
.mini-phone-alert-ok .alert-text strong { color: var(--success); }

.protection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-sm);
}

.protection-tags .tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* ═══ DEMO CARDS ═══ */
.section-demos { background: var(--bg-secondary); }

.demo-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 600px;
  margin: 0 auto;
}

.demo-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.demo-card:hover {
  border-color: rgba(245, 166, 35, 0.2);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.demo-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.demo-card-text { flex: 1; }

.demo-card-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.demo-card-text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.demo-card-arrow {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.demo-card:hover .demo-card-arrow {
  transform: translateX(4px);
}

/* ═══ PRIVACY ═══ */
.section-privacy {
  background: var(--bg);
  padding: var(--space-3xl) var(--space-md);
}

.privacy-statement {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.privacy-headline {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.privacy-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  max-width: 900px;
  margin: 0 auto;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: border-color 0.25s, background 0.25s;
}

.privacy-card:hover {
  border-color: rgba(245, 166, 35, 0.15);
  background: var(--bg-card-hover);
}

.privacy-check {
  font-size: 1.1rem;
  color: var(--success);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.privacy-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.privacy-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ═══ EUROPE ═══ */
.section-europe { background: var(--bg-secondary); }

.europe-badges {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.europe-badge {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: border-color 0.2s;
}

.europe-badge:hover { border-color: rgba(245, 166, 35, 0.2); transform: translateY(-1px); }
.europe-badge { transition: border-color 0.2s, transform 0.2s; }
.europe-badge strong { color: var(--text); }

/* ═══ CTA / WAITLIST ═══ */
.section-cta {
  background: var(--bg);
  padding: var(--space-3xl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(245, 166, 35, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.55;
}

.cta-form {
  display: flex;
  gap: var(--space-xs);
  max-width: 440px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 980px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font);
}

.cta-form input:focus { border-color: var(--accent); }
.cta-form input::placeholder { color: var(--text-muted); }

.cta-form button {
  padding: 12px 24px;
  border-radius: 980px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font);
}

.cta-form button:hover {
  background: var(--accent-light);
  transform: scale(1.02);
}

/* Form success state */
.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(46, 213, 115, 0.08);
  border: 1px solid rgba(46, 213, 115, 0.25);
  border-radius: 980px;
  width: 100%;
  justify-content: center;
  animation: fadeIn 0.5s ease forwards;
}

.form-success .success-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.form-success .success-text {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: var(--space-sm);
}

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: var(--bg-secondary);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Fallback if JS fails */
@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: reveal-fallback 0s 4s forwards; }

/* ═══ Typing cursor ═══ */
.hero-subtitle::after {
  content: '|';
  color: var(--accent);
  animation: blink 0.8s step-end infinite;
  font-weight: 300;
}

.hero-subtitle[data-typed]::after {
  content: '';
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ═══ Smooth details animation fallback ═══ */
.protection-card > summary {
  -webkit-tap-highlight-color: transparent;
}

/* ═══ Nav link underline ═══ */
.nav-links a:not(.nav-cta) {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .phone-header-icon { animation: none; }
  .phone-alert { transition: none; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-xs);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: block; }

  .hero { padding-top: calc(var(--nav-height) + var(--space-xl)); }

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

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

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

  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-md); }

  .cta-form { flex-direction: column; }

  .phone-frame { width: 220px; height: 460px; }

  .mini-phone { width: 180px; }

  .section { padding: var(--space-2xl) var(--space-sm); }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (min-width: 769px) {
  .nav-toggle { display: none; }
}