/* ══════════════════════════════════════════════════
   ZERRA — Design System & Shared Styles
   ══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── CSS Tokens ── */
:root {
  /* Gradient */
  --gradient-light: #C7C2EB;
  --gradient-primary: #8C7FD1;
  --gradient-deep: #7A6DC4;
  --gradient-main: linear-gradient(135deg, #C7C2EB 0%, #8C7FD1 50%, #7A6DC4 100%);
  --gradient-shadow: rgba(140, 127, 209, 0.35);

  /* Backgrounds */
  --bg-primary: #F5F5F8;
  --bg-card: #FFFFFF;

  /* Text */
  --text-primary: #000000;
  --text-secondary: #8A8A8E;
  --text-tertiary: #666666;

  /* Accents */
  --green-success: #8DC88D;
  --teal-cravings: #66B3A6;
  --gold-streak: #BFB040;
  --red-emergency: #DC2626;

  /* Shadows */
  --shadow-card: 0 4px 10px rgba(0,0,0,0.06);
  --shadow-prominent: 0 6px 16px rgba(0,0,0,0.12);
  --shadow-gradient: 0 8px 24px rgba(140,127,209,0.35);

  /* Spacing */
  --spacing-xs: 2px;
  --spacing-sm: 4px;
  --spacing-md: 8px;
  --spacing-lg: 12px;
  --spacing-xl: 16px;
  --spacing-xxl: 20px;
  --spacing-section: 80px;

  /* Border Radius */
  --radius-card: 16px;
  --radius-button-lg: 16px;
  --radius-button-md: 12px;
  --radius-chip: 10px;
  --radius-pill: 100px;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-family); cursor: pointer; border: none; outline: none; }
ul { list-style: none; }

/* ── Layout Helpers ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-lg);
}

/* ── Gradient Text Utility ── */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 14px 28px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-button-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-gradient);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--gradient-shadow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-button-lg);
  border: 2px solid rgba(0,0,0,0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--gradient-primary);
}

/* ── Scroll Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}
.navbar__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-chip);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.navbar__links a:hover { color: var(--gradient-primary); }

.navbar__cta {
  padding: 10px 22px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-button-md);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-gradient);
}
.navbar__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--gradient-shadow);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl);
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.navbar__mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-tertiary);
  padding: var(--spacing-md) 0;
}
.navbar__mobile.open { display: flex; }

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  background: var(--bg-primary);
  padding: var(--spacing-section) 0 0;
  overflow: hidden;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  padding-bottom: var(--spacing-section);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 8px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--spacing-xxl);
  width: fit-content;
  animation: shimmer 3s ease infinite;
  background-size: 200% auto;
}
.hero__badge-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes shimmer {
  0%   { box-shadow: var(--shadow-card); }
  50%  { box-shadow: 0 4px 20px rgba(179,173,224,0.25); }
  100% { box-shadow: var(--shadow-card); }
}

.hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: var(--spacing-xl);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-tertiary);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-bottom: 32px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}
.hero__social-proof span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.hero__social-proof .divider {
  width: 4px;
  height: 4px;
  background: var(--text-secondary);
  border-radius: 50%;
  opacity: 0.4;
}

/* ── iPhone Mockup ── */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.iphone-mockup {
  width: 260px;
  background: #1C1C1E;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25), 0 8px 24px var(--gradient-shadow);
  position: relative;
  z-index: 2;
}
.iphone-mockup__notch {
  width: 100px;
  height: 28px;
  background: #1C1C1E;
  border-radius: var(--radius-pill);
  margin: 0 auto 8px;
}
.iphone-mockup__screen {
  background: var(--bg-primary);
  border-radius: 36px;
  overflow: hidden;
  min-height: 480px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Screen UI */
.phone-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.phone-header span { display: block; font-size: 11px; font-weight: 400; color: var(--text-secondary); margin-top: 1px; }

.phone-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(var(--gradient-primary) 0% 72%, rgba(0,0,0,0.08) 72% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 0 6px var(--bg-primary);
}
.phone-ring__inner {
  width: 104px;
  height: 104px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.phone-ring__number { font-size: 32px; font-weight: 800; color: var(--gradient-primary); font-variant-numeric: tabular-nums; }
.phone-ring__label { font-size: 10px; font-weight: 600; color: var(--text-secondary); }

.phone-streak-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: linear-gradient(135deg, rgba(199,194,235,0.2), rgba(140,127,209,0.15));
  border-radius: var(--radius-card);
  padding: 10px 12px;
}
.phone-streak-icon { font-size: 20px; }
.phone-streak-text { font-size: 12px; font-weight: 700; color: var(--text-primary); }
.phone-streak-text span { display: block; font-size: 10px; font-weight: 400; color: var(--text-secondary); }

.phone-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}
.phone-mini-card {
  background: var(--bg-card);
  border-radius: var(--radius-chip);
  padding: 8px;
  box-shadow: var(--shadow-card);
}
.phone-mini-card__icon { font-size: 14px; margin-bottom: 2px; }
.phone-mini-card__value { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.phone-mini-card__label { font-size: 9px; color: var(--text-secondary); font-weight: 500; }

/* ── 3-Phone Fan Layout ── */
.phones-fan {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.phones-fan__glow {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(179,173,224,0.45) 0%, rgba(140,127,209,0.2) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
  z-index: 0;
}

.fan-phone {
  flex-shrink: 0;
  transform-origin: bottom center;
}

.fan-phone--left {
  transform: rotate(-15deg) translateY(40px);
  z-index: 1;
  margin-right: -30px;
}

.fan-phone--center {
  z-index: 3;
  margin: 0 8px;
}

.fan-phone--right {
  transform: rotate(15deg) translateY(40px);
  z-index: 1;
  margin-left: -30px;
}

.fan-phone__frame {
  background: #1C1C1E;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 6px 20px rgba(140,127,209,0.25);
  border: none;
}

.fan-phone--left  .fan-phone__frame,
.fan-phone--right .fan-phone__frame {
  width: 190px;
  border-radius: 34px;
}

.fan-phone--center .fan-phone__frame {
  width: 240px;
}


.fan-phone__screen {
  border-radius: 28px;
  overflow: hidden;
  background: #f5f5f8;
}

.fan-phone--center .fan-phone__screen {
  border-radius: 32px;
}

.fan-phone__screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── Floating Stat Cards ── */
.hero__float-cards {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}
.float-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  box-shadow: var(--shadow-prominent);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}
.float-card:nth-child(1) { top: 10%; right: -10px; animation-delay: 0s; }
.float-card:nth-child(2) { top: 42%; right: -20px; animation-delay: 2s; }
.float-card:nth-child(3) { bottom: 18%; right: -5px; animation-delay: 4s; }
.float-card__icon { font-size: 18px; }
.float-card__sub { font-size: 10px; font-weight: 400; color: var(--text-secondary); display: block; }

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

/* ═══════════════════════════════════════════════════
   PERSONA SECTION
   ═══════════════════════════════════════════════════ */
.personas {
  padding: var(--spacing-section) 0;
  background: var(--bg-card);
}
.personas__heading {
  text-align: center;
  margin-bottom: 48px;
}
.personas__heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
.personas__heading p {
  font-size: 16px;
  color: var(--text-tertiary);
  max-width: 500px;
  margin: 0 auto;
}
.personas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}
.persona-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: var(--spacing-xxl);
  box-shadow: var(--shadow-card);
  border-left: 4px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-prominent);
}
.persona-card:nth-child(1) { border-left-color: var(--gradient-primary); }
.persona-card:nth-child(2) { border-left-color: var(--gold-streak); }
.persona-card:nth-child(3) { border-left-color: var(--green-success); }
.persona-card:nth-child(4) { border-left-color: var(--teal-cravings); }
.persona-card:nth-child(5) { border-left-color: var(--gradient-deep); }
.persona-card:nth-child(6) { border-left-color: #E57373; }

.persona-card__icon { font-size: 32px; margin-bottom: var(--spacing-lg); display: block; }
.persona-card__title { font-size: 18px; font-weight: 700; margin-bottom: var(--spacing-md); }
.persona-card__desc { font-size: 14px; color: var(--text-tertiary); line-height: 1.55; }

/* ═══════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════ */
.how-it-works {
  padding: var(--spacing-section) 0;
  background: var(--bg-primary);
}
.how-it-works__heading {
  text-align: center;
  margin-bottom: 64px;
}
.how-it-works__heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
.how-it-works__heading p {
  font-size: 16px;
  color: var(--text-tertiary);
}

.steps-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.steps-wrapper::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(33.33% - 32px);
  right: calc(33.33% - 32px);
  height: 2px;
  border-top: 2px dashed;
  border-image: var(--gradient-main) 1;
  opacity: 0.4;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 32px var(--spacing-xxl);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-prominent);
}
.step-card__icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-main);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-gradient);
}
.step-card__number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}
.step-card__title { font-size: 20px; font-weight: 700; margin-bottom: var(--spacing-md); }
.step-card__desc { font-size: 15px; color: var(--text-tertiary); line-height: 1.6; }

/* ═══════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════ */
.features {
  padding: var(--spacing-section) 0;
  background: var(--bg-card);
}
.features__heading {
  text-align: center;
  margin-bottom: 48px;
}
.features__heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
.features__heading p {
  font-size: 16px;
  color: var(--text-tertiary);
  max-width: 500px;
  margin: 0 auto;
}

/* ── Tab Bar ── */
.features__tabs {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  padding-bottom: var(--spacing-md);
  margin-bottom: 36px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.features__tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-primary);
  color: var(--text-tertiary);
  transition: all 0.25s ease;
}
.tab-btn.active {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: none;
}
.tab-btn:hover:not(.active) {
  background: rgba(179,173,224,0.12);
  color: var(--gradient-primary);
}

/* ── Feature Panels ── */
.features__panels { }

.feature-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-panel.active { display: grid; }

.feature-panel__phone {
  display: flex;
  justify-content: center;
}

/* Mini phone for feature panels */
.mini-phone {
  width: 220px;
  background: #1C1C1E;
  border-radius: 38px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 6px 20px var(--gradient-shadow);
}
.mini-phone__notch {
  width: 80px;
  height: 22px;
  background: #1C1C1E;
  border-radius: var(--radius-pill);
  margin: 0 auto 6px;
}
.mini-phone__screen {
  background: var(--bg-primary);
  border-radius: 30px;
  min-height: 380px;
  padding: 16px 12px;
  overflow: hidden;
}

/* Phone screen content variants */
.phone-screen-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.phone-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-bottom: 12px;
}
.phone-chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--gradient-primary), var(--gradient-light));
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
}
.phone-check-in {
  background: var(--bg-card);
  border-radius: var(--radius-chip);
  padding: 10px;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-card);
}
.phone-check-in__label { font-size: 10px; color: var(--text-secondary); font-weight: 500; }
.phone-check-in__value { font-size: 14px; font-weight: 700; margin-top: 2px; }

.phone-entry {
  background: var(--bg-card);
  border-radius: var(--radius-chip);
  padding: 10px;
  margin-bottom: var(--spacing-md);
  border-left: 3px solid var(--gradient-primary);
  box-shadow: var(--shadow-card);
}
.phone-entry__date { font-size: 9px; color: var(--text-secondary); }
.phone-entry__text { font-size: 11px; font-weight: 500; margin-top: 3px; line-height: 1.4; }

.phone-game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}
.phone-game-tile {
  background: var(--bg-card);
  border-radius: var(--radius-chip);
  padding: 10px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.phone-game-tile__icon { font-size: 18px; margin-bottom: 4px; }
.phone-game-tile__name { font-size: 9px; font-weight: 600; color: var(--text-tertiary); }

.phone-meditation {
  background: linear-gradient(135deg, rgba(199,194,235,0.2), rgba(140,127,209,0.15));
  border-radius: var(--radius-chip);
  padding: 16px;
  text-align: center;
  margin-bottom: var(--spacing-md);
}
.phone-meditation__icon { font-size: 28px; margin-bottom: 6px; }
.phone-meditation__title { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.phone-meditation__desc { font-size: 10px; color: var(--text-secondary); }

.phone-breathing-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-main);
  margin: 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  font-weight: 600;
  animation: breathe 4s ease-in-out infinite;
  box-shadow: var(--shadow-gradient);
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%       { transform: scale(1.18); opacity: 1; }
}

/* ── Feature Bezel Phone ── */
.feature-bezel__frame {
  width: 260px;
  background: #1C1C1E;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 6px 20px rgba(140,127,209,0.25);
}
.feature-bezel__screen {
  border-radius: 36px;
  overflow: hidden;
  background: #f5f5f8;
}
.feature-bezel__screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Feature Panel Content ── */
.feature-panel__content { }
.feature-panel__content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  line-height: 1.25;
}
.feature-panel__content p {
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 7px 14px;
  background: var(--bg-primary);
  border-radius: var(--radius-chip);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid rgba(0,0,0,0.06);
  transition: background 0.2s;
}
.feature-chip:hover { background: rgba(179,173,224,0.15); }

/* ═══════════════════════════════════════════════════
   SOS MODE
   ═══════════════════════════════════════════════════ */
.sos-section {
  padding: 0 0 var(--spacing-section);
  background: var(--bg-card);
}
.sos-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-prominent);
  border-top: 4px solid var(--red-emergency);
  position: relative;
  overflow: hidden;
}
.sos-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-emergency), var(--gradient-primary));
}
.sos-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 5px 12px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
}
.sos-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}
.sos-card__header-left h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}
.sos-card__header-left p {
  font-size: 16px;
  color: var(--text-tertiary);
  max-width: 480px;
  line-height: 1.6;
}

/* SOS Flow */
.sos-flow {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin: 32px 0;
  overflow-x: auto;
  padding-bottom: var(--spacing-sm);
  flex-wrap: wrap;
}
.sos-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--bg-primary);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  min-width: 130px;
  text-align: center;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.05);
}
.sos-step__icon { font-size: 24px; }
.sos-step__label { font-size: 12px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.sos-arrow {
  font-size: 18px;
  color: var(--gradient-primary);
  flex-shrink: 0;
  font-weight: 700;
}

.sos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: 24px;
}
.sos-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 8px 14px;
  background: rgba(220,38,38,0.06);
  border: 1px solid rgba(220,38,38,0.15);
  border-radius: var(--radius-chip);
  font-size: 13px;
  font-weight: 500;
  color: var(--red-emergency);
}

/* ═══════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════ */
.stats-bar {
  background: var(--gradient-main);
  padding: 48px 0;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item__value {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  display: block;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}
.stat-item__label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════ */
.testimonials {
  padding: var(--spacing-section) 0;
  background: var(--bg-primary);
}
.testimonials__heading {
  text-align: center;
  margin-bottom: 48px;
}
.testimonials__heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
.testimonials__heading p {
  font-size: 16px;
  color: var(--text-tertiary);
}

.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.testimonials__track::-webkit-scrollbar { display: none; }

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-prominent);
}

.testimonial-card__stars { font-size: 16px; letter-spacing: 1px; }
.testimonial-card__quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  flex: 1;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.testimonial-card__name { font-size: 15px; font-weight: 700; }
.testimonial-card__persona {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: var(--spacing-xs);
}

/* ═══════════════════════════════════════════════════
   PRICING / CTA
   ═══════════════════════════════════════════════════ */
.pricing {
  padding: var(--spacing-section) 0;
  background: var(--bg-card);
}
.pricing__heading {
  text-align: center;
  margin-bottom: 52px;
}
.pricing__heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
.pricing__heading p {
  font-size: 16px;
  color: var(--text-tertiary);
  max-width: 500px;
  margin: 0 auto;
}

.pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-prominent); }
.pricing-card.popular {
  border-color: var(--gradient-primary);
  box-shadow: var(--shadow-prominent);
  position: relative;
}
.pricing-card__popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-card__plan { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); margin-bottom: var(--spacing-md); }
.pricing-card__price { font-size: 40px; font-weight: 800; margin-bottom: var(--spacing-sm); font-variant-numeric: tabular-nums; }
.pricing-card__price span { font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.pricing-card__desc { font-size: 14px; color: var(--text-tertiary); margin-bottom: 28px; }

.pricing-card__features { display: flex; flex-direction: column; gap: var(--spacing-lg); margin-bottom: 32px; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  font-size: 14px;
  color: var(--text-primary);
}
.pricing-feature__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(141,200,141,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-feature__check svg { width: 12px; height: 12px; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  background: #1C1C1E;
  color: #fff;
  padding: 60px 0 32px;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  margin-bottom: 48px;
  align-items: start;
}
.footer__brand {}
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
}
.footer__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--spacing-md);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.footer__tagline { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 24px; }
.footer__links-group h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer__links-group ul { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.footer__links-group a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer__links-group a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}
.footer__copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* App Store Badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 10px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-button-md);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.appstore-badge:hover { background: rgba(255,255,255,0.14); }
.appstore-badge svg { width: 18px; height: 18px; fill: #fff; }

/* ═══════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════ */
.legal-page {
  background: var(--bg-primary);
  min-height: 100vh;
}
.legal-hero {
  background: var(--bg-card);
  padding: 56px 0 48px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.legal-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
.legal-hero p {
  font-size: 14px;
  color: var(--text-secondary);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px var(--spacing-xl) 80px;
}
.legal-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.legal-section {
  margin-bottom: 40px;
}
.legal-section:last-child { margin-bottom: 0; }

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xl);
}
.legal-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--spacing-xl);
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.legal-section ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.legal-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin: 36px 0;
}

/* ═══════════════════════════════════════════════════
   SUPPORT PAGE
   ═══════════════════════════════════════════════════ */

/* Contact cards row */
.support-contacts {
  padding: 48px 0 0;
}
.support-contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}
.support-contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.support-contact-card__icon {
  font-size: 28px;
  line-height: 1;
}
.support-contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.support-contact-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.support-contact-card__link {
  font-size: 13px;
  font-weight: 600;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.support-contact-card__link:hover { opacity: 0.75; }

/* FAQ heading & category labels */
.support-faq__heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
}
.support-faq__category {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

/* FAQ accordion items */
.faq-item {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-button-md);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open {
  box-shadow: var(--shadow-card);
}
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  border: none;
  outline: none;
}
.faq-item__question:hover { background: rgba(0,0,0,0.02); }
.faq-item__chevron {
  font-size: 20px;
  color: var(--gradient-deep);
  transition: transform 0.25s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-item__chevron {
  transform: rotate(90deg);
}
.faq-item__answer {
  padding: 0 20px 18px;
}
.faq-item__answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--spacing-md);
}
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__answer ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}
.faq-item__answer ol li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* CTA block at bottom */
.support-cta {
  text-align: center;
  padding: 12px 0 4px;
}
.support-cta__emoji {
  font-size: 32px;
  margin-bottom: var(--spacing-lg);
}
.support-cta h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
.support-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive support contacts */
@media (max-width: 640px) {
  .support-contacts__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Tablet (768px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero__title { font-size: 42px; }
  .hero__subtitle { max-width: 100%; }
  .hero__ctas { justify-content: center; }
  .hero__social-proof { justify-content: center; }
  .hero__badge { margin: 0 auto var(--spacing-xxl); }

  .hero__visual { order: -1; }
  .phones-fan { height: 440px; }
  .fan-phone--left  .fan-phone__frame,
  .fan-phone--right .fan-phone__frame { width: 150px; border-radius: 28px; padding: 7px; }
  .fan-phone--center .fan-phone__frame { width: 200px; padding: 8px; }
  .fan-phone--left  { transform: rotate(-15deg) translateY(30px); margin-right: -24px; }
  .fan-phone--right { transform: rotate(15deg)  translateY(30px); margin-left: -24px; }

  .personas__grid { grid-template-columns: repeat(2, 1fr); }
  .steps-wrapper { grid-template-columns: 1fr; gap: 24px; }
  .steps-wrapper::before { display: none; }

  .feature-panel { grid-template-columns: 1fr; }
  .feature-panel__phone { display: none; }

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

  .pricing__cards { grid-template-columns: 1fr; max-width: 460px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile (375px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --spacing-section: 56px; }

  .navbar__links { display: none; }
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  .hero__title { font-size: 36px; letter-spacing: -0.5px; }
  .hero__subtitle { font-size: 16px; }
  .btn-primary, .btn-secondary { padding: 13px 22px; font-size: 15px; }
  .phones-fan { height: 360px; }
  .fan-phone--left  .fan-phone__frame,
  .fan-phone--right .fan-phone__frame { width: 110px; border-radius: 22px; padding: 5px; }
  .fan-phone--center .fan-phone__frame { width: 155px; border-radius: 26px; padding: 6px; }
  .fan-phone--left  { transform: rotate(-15deg) translateY(24px); margin-right: -20px; }
  .fan-phone--right { transform: rotate(15deg)  translateY(24px); margin-left: -20px; }

  .personas__grid { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testimonials__track { grid-template-columns: 1fr; }
  .pricing__cards { grid-template-columns: 1fr; }

  .sos-card { padding: 24px var(--spacing-xl); }
  .sos-flow { gap: var(--spacing-md); }
  .sos-step { min-width: 100px; padding: 12px; }

  .legal-card { padding: 28px var(--spacing-xl); }

  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
