/* ============================================
   InSnaps Landing Page — Premium Product Showcase
   ============================================ */

/* --- Theme Variables --- */
:root,
[data-theme="dark"] {
  --bg: #050505;
  --bg-secondary: #0d0d0d;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --fg: #f5f5f7;
  --fg-secondary: #a1a1a6;
  --fg-muted: #6e6e73;
  --accent: #14b8a6;
  --accent-light: #2dd4bf;
  --accent-glow: rgba(20, 184, 166, 0.12);
  --accent-glow-strong: rgba(20, 184, 166, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 8px 60px rgba(0, 0, 0, 0.5);
  --shadow-phone: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(20, 184, 166, 0.08);
  --gradient-subtle: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --nav-bg: rgba(5, 5, 5, 0.8);
  --review-bg: var(--bg-card);
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f9f9f9;
  --fg: #1d1d1f;
  --fg-secondary: #6e6e73;
  --fg-muted: #86868b;
  --accent: #0d9488;
  --accent-light: #14b8a6;
  --accent-glow: rgba(13, 148, 136, 0.08);
  --accent-glow-strong: rgba(13, 148, 136, 0.15);
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 8px 60px rgba(0, 0, 0, 0.1);
  --shadow-phone: 0 25px 80px rgba(0, 0, 0, 0.15), 0 0 60px rgba(13, 148, 136, 0.06);
  --gradient-subtle: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --review-bg: var(--bg-secondary);
}

/* --- Sticky App Banner --- */
.app-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
  background: var(--accent);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.app-banner.visible { transform: translateY(0); }
.app-banner.hidden { display: none; }
.app-banner-text { white-space: nowrap; }
.app-banner-btn {
  background: white;
  color: var(--accent);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.app-banner-btn:hover { opacity: 0.9; color: var(--accent); }
.app-banner-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  opacity: 0.8;
}
.app-banner-close:hover { opacity: 1; }

/* --- iOS Waitlist --- */
.ios-waitlist { margin-top: 1.5rem; }
.ios-waitlist-text {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.ios-waitlist-text a {
  color: var(--accent);
  font-weight: 600;
}
.ios-waitlist-form {
  max-width: 500px;
  margin: 0 auto;
}
.ios-waitlist-toggle {
  margin-bottom: 1rem;
}
.ios-form-embed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 0.5rem;
}
.ios-form-embed iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: none;
  background: white;
  border-radius: 1rem;
}

/* --- Conflict Tags as Links --- */
.region-tags a {
  background: var(--accent-glow);
  border: 1px solid rgba(20, 184, 166, 0.15);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.region-tags a:hover {
  background: rgba(20, 184, 166, 0.2);
  border-color: var(--accent);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  font-weight: 700;
  font-size: 1.15rem;
}
.nav-logo:hover { color: var(--fg); }
.nav-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
}
.nav-logo-text {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--fg-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.theme-toggle {
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fg-secondary);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover {
  color: var(--fg);
  border-color: var(--accent);
  background: var(--accent-glow);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-hamburger span:nth-child(3) { bottom: 0; }
.nav-hamburger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: white;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(20, 184, 166, 0.3);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(20, 184, 166, 0.4);
}
.btn-primary svg { width: 20px; height: 20px; }
.btn-large { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fg-secondary);
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border-strong);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  color: var(--fg);
  border-color: var(--fg-muted);
  background: var(--accent-glow);
}

/* --- Animations --- */
.anim-fade {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section Headers --- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--fg-secondary);
  font-size: 1.1rem;
  max-width: 520px;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-desc {
  margin: 0.5rem auto 0;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 2rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  opacity: 0.4;
}
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(20, 184, 166, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--fg) 0%, var(--fg-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.hero-meta-divider {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
}
.hero-meta-value {
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-meta-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-phone-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
  z-index: 0;
  filter: blur(40px);
}
.hero-phone {
  position: relative;
  z-index: 1;
  width: 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border-strong);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-phone);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-phone:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.hero-phone img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

.hide-mobile { display: inline; }

/* ============================
   SOURCES BAR
   ============================ */
.sources {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-secondary);
}
.sources-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.sources-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.sources-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.source-item {
  font-size: 1rem;
  color: var(--fg-muted);
  white-space: nowrap;
  padding: 0 1rem;
  font-weight: 500;
}
.source-dot {
  color: var(--fg-muted);
  opacity: 0.3;
  font-size: 1.5rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================
   VISION
   ============================ */
.vision {
  padding: 8rem 0;
  text-align: center;
  background: var(--bg);
}
.vision-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.vision-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-secondary);
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.8;
}
.vision-highlight {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-top: 1rem;
}

/* ============================
   FEATURE SHOWCASE (Sticky Scroll)
   ============================ */
.showcase {
  padding-top: 6rem;
  background: var(--bg-secondary);
}
.showcase-track {
  height: 400vh;
  position: relative;
}
.showcase-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  padding: 0 1.5rem;
  width: 100%;
}
.showcase-text-col {
  position: relative;
  min-height: 360px;
}
.showcase-slide {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.showcase-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.feature-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.showcase-slide h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.showcase-slide p {
  color: var(--fg-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feature-bullets li {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  padding-left: 1.5rem;
  position: relative;
}
.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.showcase-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.showcase-phone-wrapper {
  position: relative;
}
.showcase-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.showcase-phone {
  position: relative;
  z-index: 1;
  width: 270px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-strong);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-phone);
}
.showcase-phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.showcase-phone img:first-child {
  position: relative;
}
.showcase-phone img.active {
  opacity: 1;
}
.showcase-dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
  opacity: 0.3;
  transition: opacity 0.3s, background 0.3s, transform 0.3s;
}
.dot.active {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.3);
}

/* Mobile Feature Cards */
.features-mobile {
  display: none;
  padding: 2rem 0 4rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: border-color 0.3s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-card-visual {
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
}
.feature-card-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-card .feature-tag,
.feature-card h3,
.feature-card p {
  padding: 0 1.5rem;
}
.feature-card .feature-tag { padding-top: 1.25rem; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.feature-card p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
  padding-bottom: 1.5rem;
  line-height: 1.6;
}

/* ============================
   STATS
   ============================ */
.stats {
  padding: 6rem 0;
  background: var(--bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
}
.stat-label,
.stat-label-zero {
  display: block;
  font-size: 0.9rem;
  color: var(--fg-secondary);
  margin-top: 0.5rem;
}
.stat-label-zero {
  font-weight: 700;
  color: var(--accent);
}

/* ============================
   CATEGORIES
   ============================ */
.categories {
  padding: 6rem 0;
  background: var(--bg-secondary);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.category-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}
.category-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.category-card p {
  color: var(--fg-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================
   AUDIENCE
   ============================ */
.audience {
  padding: 6rem 0;
  background: var(--bg);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.audience-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.audience-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.audience-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.audience-card p {
  color: var(--fg-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================
   PRIVACY
   ============================ */
.privacy-section {
  padding: 8rem 0;
  background: var(--bg-secondary);
  text-align: center;
}
.privacy-content { max-width: 700px; margin: 0 auto; }
.privacy-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.privacy-subtitle {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 3rem;
}
.privacy-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
}
.privacy-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: border-color 0.3s;
}
.privacy-badge:hover { border-color: var(--accent); }
.privacy-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.1rem;
}
.privacy-badge span {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.4;
}

/* ============================
   LANGUAGES
   ============================ */
.languages {
  padding: 6rem 0;
  background: var(--bg);
}
.languages-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.lang-chip:hover {
  border-color: var(--accent);
  color: var(--fg);
}

/* ============================
   REVIEWS
   ============================ */
.reviews {
  padding: 6rem 0;
  background: var(--bg-secondary);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--review-bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.review-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.review-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  object-fit: cover;
  flex-shrink: 0;
  flex-shrink: 0;
}
.review-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}
.review-role {
  display: block;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* ============================
   GALLERY
   ============================ */
.gallery {
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}
.gallery-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 1.5rem 2rem;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0 calc(50vw - 600px);
}
.gallery-item {
  flex-shrink: 0;
  width: 280px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s, box-shadow 0.4s;
}
.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-elevated);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================
   CONFLICTS COVERED
   ============================ */
.conflicts-covered {
  padding: 6rem 0;
  background: var(--bg-secondary);
}
.conflicts-regions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.region-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
}
.region-block h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.region-tags span {
  background: var(--accent-glow);
  border: 1px solid rgba(20, 184, 166, 0.15);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* ============================
   CTA FINAL
   ============================ */
.cta-final {
  position: relative;
  padding: 10rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 60%);
  filter: blur(60px);
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.cta-desc {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-actions {
  margin-bottom: 1.5rem;
}
.cta-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo {
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.footer-links-group h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.footer-links-group a {
  display: block;
  color: var(--fg-secondary);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-secondary);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}
.footer-social svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.footer-bottom a { color: var(--fg-secondary); }
.footer-made {
  margin-top: 0.5rem;
  font-style: italic;
  opacity: 0.7;
}

/* ============================
   FLOATING DOWNLOAD BUTTON
   ============================ */
.fab-download {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 6px 28px rgba(20, 184, 166, 0.45), 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.25s, box-shadow 0.25s, opacity 0.4s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.fab-download.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-download:hover {
  background: var(--accent-light);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(20, 184, 166, 0.55), 0 4px 12px rgba(0,0,0,0.15);
}
.fab-download:active {
  transform: translateY(0);
}
.fab-download svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.fab-label {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .fab-download {
    padding: 0.75rem 1.1rem;
    font-size: 0.82rem;
    bottom: 1rem;
    right: 1rem;
  }
}

/* ============================
   DOWNLOAD COUNTER
   ============================ */
.download-counter {
  display: inline-block;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
  transition: transform 0.15s ease;
}
.download-counter.tick {
  transform: translateY(-2px);
}

/* ============================
   COMMUNITY / SOCIAL EMBEDS
   ============================ */
.community {
  padding: 6rem 0;
  background: var(--bg);
}
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.community-embed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.community-embed:hover { border-color: var(--accent); }
.community-embed-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.community-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--fg-secondary);
}
.community-handle {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}
.community-platform {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.community-follow-btn {
  margin-left: auto;
  background: var(--accent);
  color: white !important;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
}
.community-follow-btn:hover { background: var(--accent-light); }
.community-embed-body {
  padding: 1rem 1.5rem 1.5rem;
  min-height: 200px;
}
.community-embed-body .instagram-media {
  min-width: 100% !important;
  width: 100% !important;
}

.reddit-embed-link { color: inherit; }
.reddit-embed-link:hover { color: inherit; }
.reddit-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reddit-preview-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 500;
}
.reddit-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
.reddit-preview-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.reddit-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg-secondary);
  border-radius: 0.75rem;
  transition: background 0.2s;
}
.reddit-embed-link:hover .reddit-preview-item { background: var(--bg-card-hover); }
.reddit-arrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.reddit-item-title {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}
.reddit-item-meta {
  font-size: 0.72rem;
  color: var(--fg-muted);
}
.reddit-join-cta {
  display: block;
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding-top: 0.75rem;
  transition: color 0.2s;
}
.reddit-join-cta:hover { color: var(--accent-light); }

/* Live Reddit post items */
.reddit-preview-item--live {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  background: var(--bg-secondary);
  border-radius: 0.75rem;
  transition: background 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}
.reddit-preview-item--live:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  color: inherit;
}
.reddit-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  min-width: 28px;
}
.reddit-vote .reddit-arrow {
  font-size: 0.7rem;
}
.reddit-score {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}
.reddit-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.reddit-item-body {
  flex: 1;
  min-width: 0;
}
.reddit-item-body .reddit-item-title {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reddit-flair {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-phone {
    width: 240px;
    transform: none;
  }
  .hero-phone:hover { transform: none; }

  .showcase-track { display: none; }
  .features-mobile { display: block; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-badges { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 999;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
  }
  .nav-links.open ~ .nav-right {
    position: relative;
    z-index: 1001;
  }
  .nav-links.open a {
    font-size: 1.25rem;
    color: var(--fg);
  }
  .nav-hamburger { display: block; }
  .nav-right {
    position: relative;
    z-index: 1001;
  }

  .hero {
    padding: 3rem 0;
    min-height: auto;
  }
  .news-ticker {
    margin-top: 56px;
  }
  .hero-title {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }
  .hero-scroll-hint { display: none; }
  .hide-mobile { display: none; }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
  .section-header { margin-bottom: 2.5rem; }

  .vision { padding: 5rem 0; }
  .vision-title { font-size: clamp(2rem, 6vw, 3rem); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card { padding: 1.5rem 1rem; }

  .categories-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }

  .gallery-track { padding: 0 1.5rem; }
  .gallery-item { width: 240px; }

  .reviews-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }

  .cta-final { padding: 6rem 0; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-social { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-meta-divider {
    width: 40px;
    height: 1px;
  }
  .hero-phone {
    width: 200px;
    border-radius: 18px;
  }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ========================================
   HERO SOCIALS
   ======================================== */
.hero-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--fg-secondary);
  transition: all 0.2s;
}
.hero-social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}
.hero-badge {
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.hero-badge:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* ========================================
   3D GLOBE SECTION
   ======================================== */
.globe-section {
  padding: 6rem 0 2rem;
  background: var(--gradient-subtle);
  overflow: hidden;
}
.globe-wrapper {
  position: relative;
  max-width: 900px;
  margin: 2rem auto 0;
}
#globeViz {
  width: 100%;
  height: 520px;
  cursor: grab;
  border-radius: 16px;
  overflow: hidden;
}
#globeViz:active { cursor: grabbing; }
.globe-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 14, 28, 0.96);
  border: 1px solid rgba(80, 140, 240, 0.3);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  text-align: center;
  z-index: 20;
  min-width: 220px;
  max-width: 300px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  animation: popIn 0.25s ease-out;
}
.globe-popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.globe-popup-close:hover { color: #fff; }
.globe-popup-severity {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}
.globe-popup-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.globe-popup-status {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin: 0 0 1rem;
}
.globe-popup-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 1.5rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.globe-popup-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.globe-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--fg-secondary);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
@media (max-width: 768px) {
  #globeViz { height: 380px; }
  .globe-section { padding: 4rem 0 1rem; }
}
@media (max-width: 480px) {
  #globeViz { height: 300px; }
}

/* ========================================
   DOWNLOAD MODAL
   ======================================== */
.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 1rem;
}
.dl-modal.open {
  opacity: 1;
  visibility: visible;
}
.dl-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}
.dl-modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  max-width: 400px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow-elevated);
  transform: scale(0.92);
  transition: transform 0.25s;
}
.dl-modal.open .dl-modal-content { transform: scale(1); }

/* Sticky close button that never scrolls away */
.dl-modal-header {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1rem 0;
  flex-shrink: 0;
}
.dl-modal-close {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.dl-modal-close:hover {
  color: var(--fg);
  background: var(--border);
}

/* Scrollable body */
.dl-modal-body {
  overflow-y: auto;
  padding: 0.5rem 1.75rem 1.75rem;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.dl-modal-logo {
  border-radius: 14px;
  margin: 0 auto 0.75rem;
  display: block;
}
.dl-modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 0.25rem;
}
.dl-modal-desc {
  color: var(--fg-secondary);
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
}
.dl-modal-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dl-modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font-body);
}
.dl-modal-android {
  background: var(--accent);
  color: #fff;
}
.dl-modal-android:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.dl-modal-ios-btn {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.dl-modal-ios-btn:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}
.dl-modal-form-embed {
  margin-top: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
}

/* ========================================
   MID-SCROLL CTA
   ======================================== */
.mid-scroll-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.mid-scroll-cta.visible {
  transform: translateY(0);
  pointer-events: auto;
}
.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
}
.mid-cta-text {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  font-weight: 500;
}
.mid-cta-btn {
  padding: 0.5rem 1.2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.mid-cta-btn:hover { background: var(--accent-light); }
.mid-cta-close {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}
@media (max-width: 600px) {
  .mid-cta-text { font-size: 0.8rem; }
  .mid-cta-btn { font-size: 0.8rem; padding: 0.4rem 1rem; }
}

/* ========================================
   EXIT INTENT POPUP
   ======================================== */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.exit-popup.open { opacity: 1; visibility: visible; }
.exit-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}
.exit-popup-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-elevated);
  transform: translateY(20px);
  transition: transform 0.3s;
}
.exit-popup.open .exit-popup-content { transform: translateY(0); }
.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.exit-popup-close:hover { color: var(--fg); }
.exit-popup-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--fg);
  margin: 0 0 0.75rem;
}
.exit-popup-content p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.exit-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.exit-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  width: 100%;
  justify-content: center;
}
.exit-popup-btn:hover { background: var(--accent-light); }
.exit-popup-ios-link {
  color: var(--fg-secondary);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.2s;
}
.exit-popup-ios-link:hover { color: var(--accent); }
.exit-popup-sub {
  color: var(--fg-muted) !important;
  font-size: 0.8rem !important;
  margin-top: 0.75rem !important;
}

/* ========================================
   IMPROVED CONFLICT CARDS (less AI, more organic)
   ======================================== */
.conflicts-regions { position: relative; }
.region-block {
  position: relative;
}
.region-tags a {
  position: relative;
  overflow: hidden;
}
.region-tags a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: inherit;
}
.region-tags a:hover::before { opacity: 0.08; }

/* ========================================
   WOW TRANSITIONS & ENHANCED ANIMATIONS
   ======================================== */

/* Staggered reveal for grids */
.categories-grid .category-card:nth-child(1) { transition-delay: 0s; }
.categories-grid .category-card:nth-child(2) { transition-delay: 0.08s; }
.categories-grid .category-card:nth-child(3) { transition-delay: 0.16s; }
.categories-grid .category-card:nth-child(4) { transition-delay: 0.24s; }
.categories-grid .category-card:nth-child(5) { transition-delay: 0.32s; }
.categories-grid .category-card:nth-child(6) { transition-delay: 0.40s; }

.audience-grid .audience-card:nth-child(1) { transition-delay: 0s; }
.audience-grid .audience-card:nth-child(2) { transition-delay: 0.07s; }
.audience-grid .audience-card:nth-child(3) { transition-delay: 0.14s; }
.audience-grid .audience-card:nth-child(4) { transition-delay: 0.21s; }
.audience-grid .audience-card:nth-child(5) { transition-delay: 0.28s; }
.audience-grid .audience-card:nth-child(6) { transition-delay: 0.35s; }

.stats-grid .stat-card:nth-child(1) { transition-delay: 0s; }
.stats-grid .stat-card:nth-child(2) { transition-delay: 0.06s; }
.stats-grid .stat-card:nth-child(3) { transition-delay: 0.12s; }
.stats-grid .stat-card:nth-child(4) { transition-delay: 0.18s; }
.stats-grid .stat-card:nth-child(5) { transition-delay: 0.24s; }
.stats-grid .stat-card:nth-child(6) { transition-delay: 0.30s; }

/* Card tilt on hover */
.category-card,
.audience-card,
.review-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}
.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Subtle shimmer accent underline on hero title */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero-title {
  position: relative;
}
.hero-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* Pulse glow on hero badge dot */
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.hero-badge-dot {
  animation: badge-pulse 2s ease-in-out infinite;
}

/* Hero phone glow pulse for depth */
@keyframes phoneGlow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(20,184,166,0.1)); }
  50% { filter: drop-shadow(0 0 50px rgba(20,184,166,0.2)); }
}
.hero-phone {
  animation: phoneGlow 4s ease-in-out infinite;
}

/* Section label slide-in */
.section-label {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
}

/* Vision highlight pop */
.vision-highlight.revealed {
  animation: popIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

/* Privacy badges stagger */
.privacy-badges .privacy-badge:nth-child(1) { transition-delay: 0s; }
.privacy-badges .privacy-badge:nth-child(2) { transition-delay: 0.1s; }
.privacy-badges .privacy-badge:nth-child(3) { transition-delay: 0.2s; }
.privacy-badges .privacy-badge:nth-child(4) { transition-delay: 0.3s; }

/* Lang chips wave */
.languages-grid.revealed .lang-chip:nth-child(1) { animation-delay: 0s; }
.languages-grid.revealed .lang-chip:nth-child(2) { animation-delay: 0.05s; }
.languages-grid.revealed .lang-chip:nth-child(3) { animation-delay: 0.1s; }
.languages-grid.revealed .lang-chip:nth-child(4) { animation-delay: 0.15s; }
.languages-grid.revealed .lang-chip:nth-child(5) { animation-delay: 0.2s; }
.languages-grid.revealed .lang-chip:nth-child(6) { animation-delay: 0.25s; }
.languages-grid.revealed .lang-chip:nth-child(7) { animation-delay: 0.3s; }
.languages-grid.revealed .lang-chip:nth-child(8) { animation-delay: 0.35s; }
.languages-grid.revealed .lang-chip:nth-child(9) { animation-delay: 0.4s; }
.languages-grid.revealed .lang-chip:nth-child(10) { animation-delay: 0.45s; }
.languages-grid.revealed .lang-chip {
  animation: chipPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: scale(0.8);
}
@keyframes chipPop {
  to { opacity: 1; transform: scale(1); }
}

/* Smooth CTA glow pulse */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(20, 184, 166, 0.15); }
  50% { box-shadow: 0 0 40px rgba(20, 184, 166, 0.35); }
}
.cta-final .btn-primary {
  animation: ctaGlow 3s ease-in-out infinite;
}

/* ========================================
   NEWS TICKER (authentic aggregator feel)
   ======================================== */
.news-ticker {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 64px;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}
.news-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  flex-shrink: 0;
  margin-left: 1rem;
  margin-right: 0.75rem;
  z-index: 2;
  position: relative;
}
.news-ticker-label .ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: badge-pulse 1.5s infinite;
}
.news-ticker-track-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.news-ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 140s linear infinite;
  color: var(--fg-secondary);
  font-size: 0.8rem;
}
.news-ticker-track span {
  margin-right: 2.5rem;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Last updated timestamp bar */
.last-updated-bar {
  text-align: center;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  color: var(--fg-muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.last-updated-bar .update-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 0.35rem;
  vertical-align: middle;
  animation: badge-pulse 2s infinite;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .anim-fade {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sources-track { animation: none; }
  .scroll-line { animation: none; }
  .hero-badge-dot { animation: none; }
  .hero-title::after { animation: none; }
  .hero-phone { animation: none; }
  .cta-final .btn-primary { animation: none; }
  .news-ticker-track { animation: none; }
  .languages-grid.revealed .lang-chip { animation: none; opacity: 1; transform: none; }
}
