/* ═══════════════════════════════════════════════════════════════════
   MantraTalk — Premium Landing Page Design System v6.0
   Design: Clean · Bright · Premium · Less-is-more
   Target: PageSpeed 100 · Google-friendly · Fully responsive
   Fonts: System font stack (zero network cost, instant paint)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ────────────────────────────────────────────── */
:root {
  /* Core brand palette: #281E63, #fff, #F8F9FB */
  --indigo: #281E63;
  --indigo-light: #382B82;
  --indigo-pale: #F0EDF9;
  --violet: #281E63;
  --green: #10B981;
  --green-pale: #ECFDF5;
  --orange: #F97316;
  --blue: #281E63;

  /* Surfaces */
  --bg: #F8F9FB;
  --surface: #FFFFFF;
  --surface-2: #F8F9FB;
  --border: #E2E6EE;
  --border-light: #ECEFF5;

  /* Text */
  --text-900: #120B30;
  --text-700: #281E63;
  --text-500: #4B4573;
  --text-400: #6D6795;
  --text-300: #9C97C1;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(40,30,99,0.05), 0 1px 2px rgba(40,30,99,0.03);
  --shadow-sm: 0 4px 16px rgba(40,30,99,0.06);
  --shadow-md: 0 12px 40px rgba(40,30,99,0.08);
  --shadow-lg: 0 24px 64px rgba(40,30,99,0.12);
  --shadow-brand: 0 8px 32px rgba(40,30,99,0.22);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 68px;
  --pad-x: clamp(1.25rem, 5vw, 3rem);
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", Consolas, monospace;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ─── Utilities ─────────────────────────────────────────────────── */
.text-accent { color: var(--indigo); }
.text-green  { color: var(--green); }

/* ─── Focus Ring ────────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2.5px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
/* ─── Navigation Header ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(40, 30, 99, 0.08);
  box-shadow: 0 4px 20px rgba(40, 30, 99, 0.03);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(40, 30, 99, 0.2));
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-900);
}

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

.brand-accent-light {
  color: #A5B4FC;
}

/* Live Status Pill in Nav Header */
.nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--indigo-pale);
  border: 1px solid rgba(40, 30, 99, 0.1);
  border-radius: 9999px;
  font-size: 0.82rem;
  color: var(--indigo);
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  to {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-500);
  transition: color 0.15s var(--ease);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header {
  border-radius: 9999px !important;
  padding: 0.65rem 1.45rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: linear-gradient(135deg, #382B82 0%, #281E63 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(40, 30, 99, 0.28) !important;
  transition: all 0.2s var(--ease) !important;
}

.btn-header:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(40, 30, 99, 0.38) !important;
  background: linear-gradient(135deg, #44359D 0%, #281E63 100%) !important;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-500);
  transition: color 0.18s var(--ease);
  white-space: nowrap;
}

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

/* Mobile hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  border-radius: 10px;
  flex-shrink: 0;
  margin-left: auto;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--surface-2);
  border-color: var(--indigo);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-700);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

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

/* Mobile drawer navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--pad-x) 1.5rem;
  flex-direction: column;
  gap: 0;
  z-index: 499;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-700);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.15s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--indigo); }

.mobile-cta {
  margin-top: 1rem;
  display: flex !important;
  justify-content: center;
  width: 100%;
  border-radius: 0.75rem !important;
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.18s var(--ease-spring), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary */
.btn-primary {
  background: var(--indigo);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--indigo-light);
  box-shadow: 0 12px 40px rgba(79,70,229,0.30);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-500) !important;
  -webkit-text-fill-color: var(--text-500);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--text-700) !important;
  -webkit-text-fill-color: var(--text-700);
  border-color: var(--text-300);
}

/* White (for dark bg) */
.btn-white {
  background: #fff;
  color: var(--indigo) !important;
  -webkit-text-fill-color: var(--indigo);
}
.btn-white:hover {
  background: #F5F3FF;
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

/* Sizes */
.btn-sm  { padding: 0.55rem 1.15rem; font-size: 0.88rem; }
.btn-lg  { padding: 0.9rem 1.9rem;  font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad-x) clamp(3rem, 6vw, 5rem);
}

/* Ambient blobs — pure CSS, zero image cost */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  top: -15%;
  left: -10%;
}

.hero-blob-2 {
  width: min(500px, 75vw);
  height: min(500px, 75vw);
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  top: -5%;
  right: -8%;
}

.hero-blob-3 {
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  background: radial-gradient(circle, rgba(16,185,129,0.10) 0%, transparent 70%);
  bottom: 5%;
  left: 30%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.hero-text { min-width: 0; }

/* Live badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-pale);
  border: 1px solid #A7F3D0;
  color: #047857;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: live-pulse 2s infinite;
  flex-shrink: 0;
}

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

/* Headline */
h1 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text-900);
  margin-bottom: 1.15rem;
  overflow-wrap: break-word;
}

.h1-accent {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 60%, #06B6D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--indigo);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-500);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-500);
}

/* ─── Hero Card ─────────────────────────────────────────────────── */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: live-pulse 2s infinite;
}

.card-timer {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-400);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

.card-users {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.call-user {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  min-width: 0;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 2.5px solid var(--border-light);
}

.avatar-blue   { background: #EFF6FF; }
.avatar-purple { background: #F5F3FF; }

.user-det {
  min-width: 0;
  width: 100%;
}

.user-det strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-det span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Audio bars */
.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.abar {
  display: block;
  width: 3px;
  height: var(--h, 12px);
  background: linear-gradient(180deg, var(--indigo) 0%, #06B6D4 100%);
  border-radius: 3px;
  animation: bar-bounce 1.2s ease-in-out var(--d, 0s) infinite alternate;
}

.audio-bars.muted .abar {
  background: var(--border);
  animation: none;
  height: 4px !important;
}

@keyframes bar-bounce {
  0%   { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.call-divider {
  flex-shrink: 0;
  opacity: 0.7;
}

.card-topics {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.topic-pill {
  background: var(--indigo-pale);
  color: var(--indigo);
  border: 1px solid rgba(79,70,229,0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.card-stat-row {
  display: flex;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  gap: 0;
}

.card-stat {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--border-light);
}

.card-stat:last-child { border-right: none; }

.stat-val {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-900);
  line-height: 1.3;
}

.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-400);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   SOCIAL PROOF BAR
   ═══════════════════════════════════════════════════════════════════ */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1.4rem var(--pad-x);
}

.proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.proof-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  padding: 0 1rem;
}

.proof-item strong {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-900);
  line-height: 1;
}

.proof-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-400);
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-py) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head {
  max-width: 600px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text-900);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--text-500);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════════════════════════════ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.feat-card-wide {
  grid-column: span 1;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  position: relative;
  overflow: hidden;
  /* Fade-in on scroll */
  opacity: 0;
  transform: translateY(20px);
}

.feat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #C7D2FE;
}

.feat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.feat-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.feat-card p {
  font-size: 0.91rem;
  color: var(--text-500);
  line-height: 1.65;
}

.feat-badge {
  display: inline-block;
  margin-top: 0.85rem;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #C2410C;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════
   PLATFORMS
   ═══════════════════════════════════════════════════════════════════ */
.section-platforms {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  width: 100%;
  padding: var(--section-py) var(--pad-x);
}

.section-platforms > * {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.plat-grid {
  max-width: var(--max-w);
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.plat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
}

.plat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #C7D2FE;
}

.plat-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--indigo-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plat-info { flex: 1; }

.plat-info strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.plat-info span {
  font-size: 0.86rem;
  color: var(--text-400);
  font-weight: 500;
}

.plat-cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--indigo);
  margin-top: auto;
}

.plat-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-400);
  font-weight: 500;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   SAFETY
   ═══════════════════════════════════════════════════════════════════ */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.safety-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  padding: 1.75rem;
}

.safety-icon {
  margin-bottom: 1rem;
}

.safety-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.safety-card p {
  font-size: 0.91rem;
  color: var(--text-500);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════ */
.section-faq {
  max-width: 700px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  overflow: hidden;
  transition: border-color 0.18s var(--ease);
}

.faq-item[open] {
  border-color: #C7D2FE;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-700);
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 1rem;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--indigo);
  font-weight: 400;
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 1.25rem 1rem;
  font-size: 0.93rem;
  color: var(--text-500);
  line-height: 1.68;
}

/* ═══════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 40%, #7C3AED 100%);
  padding: clamp(4rem, 8vw, 6rem) var(--pad-x);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.cta-inner p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad-x) 1.75rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-400);
  line-height: 1.65;
  max-width: 280px;
  margin-top: 0.65rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-700);
  margin-bottom: 0.9rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-400);
  font-weight: 500;
  transition: color 0.15s var(--ease);
}

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

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── CTA Banner ────────────────────────────────────────────────── */
.cta-section {
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  background: var(--bg);
}

.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--indigo);
  border-radius: 1.5rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-brand);
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-white {
  background: #ffffff;
  color: var(--indigo);
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  background: #ffffff;
  color: var(--indigo);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER STYLES (Fully Responsive)
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: #18123C;
  color: #E2E8F0;
  padding: 4rem var(--pad-x) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-system-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  color: #34D399;
  width: fit-content;
}

.status-pulse-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulse-glow 2s infinite;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: #A5B4FC;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #94A3B8;
  font-size: 0.88rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-links a {
  color: #94A3B8;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT & HELP CENTER FORM STYLES
   ═══════════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #FFFFFF;
  padding: 2.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  max-width: 720px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-900);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-900);
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.75rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #4F46E5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1280px — Laptop ────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .feat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── 1024px — Small laptop / iPad Pro landscape ─────────────────── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p { max-width: 100%; }
}

/* ── 900px — Tablet / hamburger threshold ───────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-inner > .btn { display: none !important; }
  .nav-toggle { display: flex !important; margin-left: auto; }
  .mobile-nav { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { order: 1; display: flex; flex-direction: column; align-items: center; }
  .hero-card { order: 2; max-width: 480px; margin: 0 auto; }

  .hero-sub   { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }

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

  .feat-card-wide { grid-column: span 2; }

  .plat-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

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

  .proof-inner {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .proof-divider { display: none; }
  .proof-item { min-width: 40%; }
}

/* ── 640px — Mobile ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }

  .hero { padding: 2.5rem var(--pad-x) 2.5rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    border-radius: 0.85rem;
  }

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

  .feat-card-wide { grid-column: span 1; }

  .plat-card { flex-direction: row; align-items: center; gap: 1rem; }
  .plat-cta  { margin-top: 0; margin-left: auto; flex-shrink: 0; }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom { flex-direction: column; text-align: center; }

  .card-users { gap: 0.5rem; }
  .avatar { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ── 480px — Small mobile ───────────────────────────────────────── */
@media (max-width: 480px) {
  .proof-item { min-width: 45%; }

  .section-faq { max-width: 100%; }

  .card-stat-row { flex-wrap: wrap; }
  .card-stat { min-width: 33.33%; }
}

/* ── 360px — Galaxy Fold / tiny phone ───────────────────────────── */
@media (max-width: 360px) {
  :root { --pad-x: 1rem; --nav-h: 56px; }
  h1 { font-size: 1.65rem; }
  .badge { font-size: 0.75rem; }
  .hero-trust { gap: 0.75rem; }
  .hero-trust li { font-size: 0.8rem; }
}

/* ── Landscape phone ────────────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 1.5rem var(--pad-x); }
  h1 { font-size: clamp(1.4rem, 4vw, 1.8rem); }
  .hero-card { display: none; }
}

/* ── Touch devices — disable hover lift ────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .feat-card:hover,
  .plat-card:hover { transform: none; box-shadow: none; }
  .btn:hover { transform: none; }
}

/* ── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
  .feat-card { opacity: 1 !important; transform: none !important; }
}

/* ── Print ──────────────────────────────────────────────────────── */
@media print {
  .nav, .mobile-nav, .cta-section, .hero-blob,
  .hero-card, .hero-actions, .footer { display: none !important; }
  body { color: #000; background: #fff; }
  h1, h2, h3 { color: #000; }
  .h1-accent, .text-accent, .text-green { color: #000 !important; -webkit-text-fill-color: #000; background: none; }
}