/* =====================================================
   YOOMENTO — Global Design System
   Brand: calm, focused, premium wellness+mentorship
   Palette inspired by app UI screenshots
   ===================================================== */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── DESIGN TOKENS ── */
:root {
  /* Brand Palette */
  --indigo-900: #1a1466;
  --indigo-800: #2d2192;
  --indigo-700: #3730a3;
  --indigo-600: #4f46e5;
  --indigo-500: #6366f1;
  --indigo-400: #818cf8;
  --indigo-300: #a5b4fc;
  --indigo-100: #e0e7ff;
  --indigo-50:  #eef2ff;

  /* Primary (app periwinkle/violet-blue) */
  --primary:        #5b5fcb;
  --primary-dark:   #3730a3;
  --primary-light:  #818cf8;
  --primary-pale:   #ede9fe;
  --primary-bg:     #f5f3ff;

  /* Accent orange (premium / info) */
  --accent:         #f97316;
  --accent-pale:    #fff7ed;

  /* Success green */
  --success:        #22c55e;
  --success-pale:   #f0fdf4;

  /* Teal */
  --teal:           #0ea5e9;
  --teal-pale:      #f0f9ff;

  /* Neutral text */
  --text:           #18182f;
  --text-2:         #2d2f3e;
  --text-3:         #4a4f6a;
  --text-4:         #7c819a;

  /* Surfaces */
  --white:          #ffffff;
  --bg:             #f8f7ff;
  --bg-2:           #f3f4f6;
  --border:         #e5e7eb;
  --border-light:   #f0effe;

  /* App lavender page background */
  --lavender-bg:    #f0effe;
  --lavender-card:  #e8e4fb;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(91,95,203,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 4px 16px rgba(91,95,203,.12), 0 2px 6px rgba(0,0,0,.05);
  --shadow-md:   0 8px 32px rgba(91,95,203,.16), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:   0 20px 60px rgba(91,95,203,.2),  0 4px 16px rgba(0,0,0,.08);
  --shadow-xl:   0 32px 80px rgba(91,95,203,.25), 0 8px 24px rgba(0,0,0,.1);

  /* Radius */
  --r-sm:   8px;
  --r:      14px;
  --r-md:   18px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 9999px;

  /* Spacing */
  --section-pad:      96px 24px;
  --section-pad-sm:   64px 24px;
  --container:        1160px;
  --gap:              24px;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-2); line-height: 1.7; }

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION ── */
.section { padding: var(--section-pad); }
.section-sm { padding: var(--section-pad-sm); }

/* ── LABELS / EYEBROW ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-pale);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
.badge-purple { background: var(--primary-pale); color: var(--primary); }
.badge-orange { background: var(--accent-pale); color: var(--accent); }
.badge-green  { background: var(--success-pale); color: var(--success); }
.badge-teal   { background: var(--teal-pale);    color: var(--teal);   }
.badge-free   { background: #dcfce7; color: #16a34a; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  transition: all .22s ease;
  white-space: nowrap;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(91,95,203,.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91,95,203,.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-pale);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-2); }

/* ── High-contrast green CTA ── */
.btn-green {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(22,163,74,.35);
}
.btn-green:hover {
  background: #15803d;
  border-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22,163,74,.45);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: var(--shadow);
}
.btn-white:hover {
  background: var(--primary-pale);
  transform: translateY(-2px);
}
.btn-sm { font-size: 0.82rem; padding: 9px 18px; }
.btn-lg { font-size: 1.05rem; padding: 16px 34px; }

/* ── CARD ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-purple {
  background: linear-gradient(135deg, #5b5fcb 0%, #4338ca 60%, #6366f1 100%);
  color: #fff;
  border-color: transparent;
}
.card-purple p, .card-purple h3, .card-purple h4 { color: #fff; }
.card-lavender {
  background: var(--lavender-bg);
  border-color: var(--lavender-card);
}

/* ── ICON BOX ── */
.icon-box {
  width: 52px; height: 52px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}
.icon-box-purple { background: var(--primary-pale); }
.icon-box-orange { background: var(--accent-pale); }
.icon-box-green  { background: var(--success-pale); }
.icon-box-teal   { background: var(--teal-pale); }
.icon-box-sm { width: 40px; height: 40px; font-size: 1.1rem; border-radius: var(--r-sm); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #5b5fcb 0%, #4338ca 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li > a,
.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 10px 14px;
  border-radius: var(--r-pill);
  transition: color .18s, background .18s;
  cursor: pointer;
  white-space: nowrap;
  /* button reset */
  background: none;
  border: none;
  font-family: inherit;
  line-height: inherit;
  text-decoration: none;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-dd-trigger:hover,
.nav-dd-trigger.is-active {
  color: var(--primary);
  background: var(--primary-pale);
}
/* Caret rotates when open */
.nav-dd-caret {
  transition: transform .2s ease;
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.7;
}
.nav-dropdown.is-open .nav-dd-caret {
  transform: rotate(180deg);
}

/* ── Dropdown container ── */
.nav-dropdown {
  position: relative;
  list-style: none;
}

/* ── Dropdown menu panel ── */
.nav-dropdown-menu {
  position: absolute;
  /* sit flush — no gap. The padding-top on the menu itself provides
     visual breathing room while keeping pointer-events continuous */
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;   /* outer wrapper is transparent */
  padding-top: 8px;          /* visual gap without a pointer-event dead zone */
  min-width: 230px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility 0s linear .15s;
}
.nav-dropdown-menu::before {
  /* this pseudo is the visible white card */
  content: '';
  display: none;
}
/* ── Inner card that users actually see ── */
.nav-dropdown-menu .nav-dd-inner {
  background: #ffffff;
  border: 1px solid rgba(99,102,241,0.13);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(30,27,75,0.13), 0 2px 8px rgba(0,0,0,0.06);
  padding: 6px;
  transform: translateY(-4px);
  transition: transform .15s ease;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .15s ease, visibility 0s linear 0s;
}
.nav-dropdown.is-open .nav-dd-inner {
  transform: translateY(0);
}

/* ── Menu items ── */
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--lavender-bg);
  color: var(--primary);
  outline: none;
}
.nav-dd-icon {
  font-size: 1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-actions a.btn-primary { font-size: 0.875rem; padding: 10px 20px; }

/* Mobile menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .22s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 2000;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-menu-close {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-3);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  background: var(--bg-2);
}
.mobile-menu-links { flex: 1; }
.mobile-menu-links a {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-links .submenu-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
  padding: 18px 0 6px;
}
.mobile-menu-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.mobile-menu-ctas .btn { justify-content: center; width: 100%; }

/* ══════════════════════════════════════
   HERO — SHARED
══════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 30%, #e0e7ff 70%, #f0f9ff 100%);
  padding: 32px 24px 40px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.08) 0%, transparent 70%);
  pointer-events: none;
}
/* Hero sub-lines (below h1, above hero-layout) */
.hero-sub-line {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: #2e3150;
  line-height: 1.65;
  margin: 16px auto 10px;
  max-width: 640px;
}
.hero-sub-cta {
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  font-weight: 600;
  color: #3d4266;
  line-height: 1.6;
  margin: 0 auto 0;
  max-width: 640px;
}
.hero-sub-link {
  color: #5b5fcb !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline !important;
  margin-left: 2px;
  transition: color .18s;
}
.hero-sub-link:hover {
  color: #4338ca !important;
  transform: none;
  box-shadow: none;
}
.hero-top {
  text-align: center;
  margin-bottom: 32px;
}
.hero-top .hero-badge { margin-bottom: 16px; }
.hero-top h1 { margin-bottom: 0; max-width: 780px; margin-left: auto; margin-right: auto; }

/* ── Hero logo mark (always centred, above hero-layout) ── */
.hero-logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  text-align: center;
}
.hero-logo-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  min-height: 76px !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #3ecfb2 0%, #1a9e8f 30%, #0e7490 60%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  font-size: 2rem !important;
  font-weight: 900 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.04em !important;
  box-shadow: 0 12px 36px rgba(14,116,144,.32), 0 4px 14px rgba(30,58,138,.2), 0 2px 6px rgba(0,0,0,.10) !important;
  flex-shrink: 0 !important;
  user-select: none;
  line-height: 1 !important;
  text-align: center !important;
  overflow: hidden !important;
}
.hero-logo-wordmark {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #1a237e;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

/* hero-layout base — desktop overrides in scoped <style> */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
}
.hero-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* keep .hero-text as alias for backward compat */
.hero-text { min-width: 0; }
.hero-visual { order: 2; }
.hero-content { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; }
.hero-badge { margin-bottom: 20px; }
.hero h1 {
  margin-bottom: 22px;
  max-width: 680px;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #3d4266;
  max-width: 580px;
  margin: 0 0 36px;
  line-height: 1.8;
  font-weight: 450;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-metric-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.hero-metric-label {
  font-size: 0.78rem;
  color: var(--text-4);
  font-weight: 500;
}

/* ══════════════════════════════════════
   HERO APP FEATURE CARDS (in hero-left)
══════════════════════════════════════ */
.hero-app-showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-app-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.72);
  border: 1.5px solid rgba(99,102,241,0.13);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(99,102,241,0.07);
  transition: box-shadow .2s, transform .2s;
}
.hero-app-feature:hover {
  box-shadow: 0 6px 24px rgba(99,102,241,0.13);
  transform: translateY(-1px);
}
.hero-app-feature-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg,#ede9fe 0%,#e0e7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-app-feature-body { flex: 1; min-width: 0; }
.hero-app-feature-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e1b4b;
  line-height: 1.3;
}
.hero-app-feature-desc {
  font-size: 0.76rem;
  color: #6b7280;
  margin-top: 2px;
}
.hero-app-feature-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  background: #ede9fe;
  color: #5b21b6;
  white-space: nowrap;
}
.hero-app-feature-pill--green { background: #dcfce7; color: #15803d; }
.hero-app-feature-pill--sky   { background: #e0f2fe; color: #0369a1; }

/* ══════════════════════════════════════
   APP SHOWCASE SECTION (below hero)
   Standalone app mockup + lead text
══════════════════════════════════════ */
.app-showcase-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 16px;
}

/* Phone-frame wrapper — matches screenshot proportions */
.app-mockup-wrap {
  width: 100%;
  max-width: 420px;
  background: #eef0fb;
  border-radius: 40px;
  padding: 0 0 28px;
  box-shadow: 0 24px 64px rgba(99,102,241,0.15), 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}
.app-mockup-notch {
  width: 100px;
  height: 28px;
  background: #1e1b4b;
  border-radius: 0 0 20px 20px;
  margin: 0 auto 20px;
}
.app-mockup-screen {
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Header card — deep purple gradient */
.app-mockup-header {
  background: linear-gradient(135deg, #5b5fcb 0%, #4338ca 60%, #3730a3 100%);
  border-radius: 22px;
  padding: 20px 20px 24px;
  margin-bottom: 4px;
}
.app-mockup-header-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.app-mockup-logo-tile {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.app-mockup-header-info { flex: 1; }
.app-mockup-brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}
.app-mockup-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  margin-top: 2px;
  line-height: 1.4;
}
.app-mockup-online {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}
.app-mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  display: block;
}
.app-mockup-greeting {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  text-align: center;
  margin-bottom: 6px;
}
.app-mockup-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  text-align: center;
}

/* Menu row cards */
.app-mockup-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.app-mockup-card--green {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
}
.app-mockup-icon-tile {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: #ede9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.app-mockup-icon-tile--green { background: #dcfce7; }
.app-mockup-card-text { flex: 1; }
.app-mockup-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e1b4b;
  line-height: 1.3;
}
.app-mockup-card-title--green { color: #15803d; }
.app-mockup-card-sub {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 3px;
}
.app-mockup-chevron {
  font-size: 1.2rem;
  color: #d1d5db;
  font-weight: 300;
}
.app-mockup-free-badge {
  background: #16a34a;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 20px;
}

/* Lead text below mockup */
.hero-lead-text {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: 1.25rem !important;
  color: #18182f !important;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.15;
  font-weight: 800 !important;
  text-align: center;
  letter-spacing: -0.03em;
}

/* ══════════════════════════════════════
   APP MOCKUP / PHONE FRAME
══════════════════════════════════════ */
.phone-frame {
  width: 280px;
  background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 100%);
  border-radius: 40px;
  border: 3px solid rgba(91,95,203,.15);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,.6);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}
.phone-notch {
  background: var(--text);
  width: 90px; height: 24px;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 16px;
}
.phone-screen { padding: 0 16px 24px; }
.phone-screen-header {
  background: linear-gradient(135deg, #5b5fcb, #4338ca);
  border-radius: var(--r-md);
  padding: 16px;
  margin-bottom: 12px;
  color: white;
}
.phone-card {
  background: white;
  border-radius: var(--r);
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.phone-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.phone-card-text .title { font-size: 0.78rem; font-weight: 700; color: var(--text); }
.phone-card-text .sub   { font-size: 0.7rem; color: var(--text-4); }
.phone-chevron { margin-left: auto; color: var(--text-4); font-size: 0.75rem; }

/* ══════════════════════════════════════
   GRID HELPERS
══════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: var(--gap); }

/* ══════════════════════════════════════
   FEATURE LIST
══════════════════════════════════════ */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item p { font-size: 0.93rem; color: var(--text-2); margin: 0; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
.testimonial-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 14px; }
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.testimonial-role { font-size: 0.78rem; color: var(--text-4); }

/* ══════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: white;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: white;
  transition: background .15s;
  font-family: inherit;
}
.faq-question:hover { background: var(--lavender-bg); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .22s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.8;
}

/* ══════════════════════════════════════
   STEP / HOW IT WORKS
══════════════════════════════════════ */
.steps { display: flex; flex-direction: column; gap: 32px; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(91,95,203,.35);
}
.step-content h4 { margin-bottom: 6px; }
.step-content p  { font-size: 0.93rem; margin: 0; }

/* ══════════════════════════════════════
   PRICING CARD
══════════════════════════════════════ */
.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  transition: all .28s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  background: linear-gradient(160deg, #5b5fcb 0%, #4338ca 100%);
  border-color: transparent;
  color: white;
}
.pricing-card.featured h3,
.pricing-card.featured p,
.pricing-card.featured li { color: white; }
.pricing-card.featured .pricing-feature-item { opacity: .9; }
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
}
.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.pricing-price sup { font-size: 1.2rem; font-weight: 600; vertical-align: top; margin-top: 8px; }
.pricing-price .period { font-size: 1rem; font-weight: 500; opacity: .6; }
.pricing-features { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, #5b5fcb 0%, #4338ca 50%, #4f46e5 100%);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-banner h2, .cta-banner p { color: white; }
.cta-banner p { opacity: .85; margin-bottom: 32px; }
.cta-banner-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 72px 24px 32px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.footer-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #5b5fcb, #4338ca);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: white;
}
.footer-tagline { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background .18s;
  color: rgba(255,255,255,.7);
}
.footer-social a:hover { background: var(--primary); color: white; }
.footer-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  transition: color .16s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.83rem; color: rgba(255,255,255,.45); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,.45);
  transition: color .16s;
}
.footer-bottom-links a:hover { color: white; }

/* ══════════════════════════════════════
   INFO BANNER (app-style orange)
══════════════════════════════════════ */
.info-banner {
  background: var(--accent-pale);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.info-banner-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════
   DISCLAIMER (app-style)
══════════════════════════════════════ */
.disclaimer {
  background: var(--primary-bg);
  border: 1px solid var(--indigo-100);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-3);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* ══════════════════════════════════════
   PAGE HEADER (interior pages)
══════════════════════════════════════ */
.page-header {
  background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 100%);
  padding: 72px 24px 80px;
  text-align: center;
}
.page-header .eyebrow { margin-bottom: 14px; }
.page-header h1 { margin-bottom: 18px; }
.page-header p {
  font-size: 1.18rem;
  max-width: 600px;
  margin: 0 auto;
  color: #3d4266;
  font-weight: 450;
  line-height: 1.75;
}

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-4);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-4); transition: color .15s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { opacity: .5; }

/* ══════════════════════════════════════
   BLOG CARD
══════════════════════════════════════ */
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .28s, box-shadow .28s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-pale), var(--indigo-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 24px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.blog-card-body p  { font-size: 0.88rem; }
.blog-card-footer {
  padding: 0 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-4);
}

/* ══════════════════════════════════════
   FORM
══════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,95,203,.15);
}
.form-textarea { min-height: 130px; resize: vertical; }

/* ══════════════════════════════════════
   UTILITY CLASSES
══════════════════════════════════════ */
.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent  { color: #0ea5e9; }   /* sky-500 — complements the indigo primary */
.text-muted   { color: var(--text-3); }
.text-sm      { font-size: 0.875rem; }
.text-xs      { font-size: 0.78rem; }
.fw-600       { font-weight: 600; }
.fw-700       { font-weight: 700; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.relative { position: relative; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .hero-layout { grid-template-columns: 1fr 280px; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; --section-pad-sm: 48px 20px; }
  .container { padding: 0 20px; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .page-header { padding: 52px 20px 60px; }
  /* Hero: stack to single column on tablet/mobile */
  .hero { text-align: center; padding: 60px 20px 72px; }
  .hero-logo-mark { align-items: center; }
  .hero-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px;
  }
  /* On mobile: hero-left (text) first, phone below */
  .hero-visual {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  /* Mobile: hero-left (logo/text) first, phone below */
  .hero-left { order: 1 !important; width: 100% !important; align-items: center !important; }
  .hero-text { order: 1 !important; width: 100% !important; }
  .hero-phone-wrap { display: flex; flex-direction: column; align-items: center; }
  .hero h1 { margin-left: auto; margin-right: auto; }
  .hero-lead { margin: 0 auto 24px !important; text-align: center; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-metrics { justify-content: center; }
  .dl-badges-row { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-metrics { gap: 20px; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .cta-banner-actions .btn { justify-content: center; }
  /* Dividers in hero metrics */
  .hero-metrics > div[style*="width:1px"] { display: none !important; }
}

/* ══════════════════════════════════════
   SUBTITLE & LEAD TEXT — BOLD, LARGE, VISIBLE
   +6px across all subtitle/subtext types
   font-weight: 700 (bold) everywhere
══════════════════════════════════════ */

/* --- Base paragraph upgrade --- */
p {
  color: #2d2f3e;
  line-height: 1.75;
}

/* --- Hero lead (homepage big subheading) --- */
.hero-lead {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem) !important;
  color: #1e2140 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  line-height: 1.78 !important;
}

/* --- Page header subtitle (all interior pages) --- */
.page-header p {
  font-size: 1.35rem !important;
  color: #1e2140 !important;
  font-weight: 700 !important;
  line-height: 1.75 !important;
  max-width: 640px;
}

/* --- Section intro paragraphs (below h2 in text-center blocks) --- */
.section > .container > .text-center > p,
.section > .container > div > .text-center > p {
  font-size: 1.15rem !important;
  color: #2e3150 !important;
  font-weight: 700 !important;
  line-height: 1.75;
}

/* --- Feature list item text --- */
.feature-item p {
  color: #1e2140 !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
}

/* --- Card paragraph text --- */
.card p:not([style*="rgba(255"]):not([style*="white"]):not([style*="#fff"]) {
  color: #2e3150 !important;
  font-weight: 600 !important;
}

/* --- Inline muted — still readable, bold --- */
.text-muted {
  color: #3d4266 !important;
  font-weight: 600 !important;
}

/* --- Step descriptions --- */
.step-content p {
  color: #2e3150 !important;
  font-size: 1.0rem !important;
  font-weight: 600 !important;
}

/* --- Testimonial body text --- */
.testimonial-text {
  color: #1e2140 !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
}

/* --- Blog card body --- */
.blog-card-body p {
  color: #2e3150 !important;
  font-weight: 600 !important;
  font-size: 0.97rem !important;
}

/* --- FAQ answer text --- */
.faq-answer-inner {
  color: #1e2140 !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
}

/* --- Footer tagline --- */
.footer-tagline {
  color: rgba(255,255,255,.9) !important;
  font-weight: 600 !important;
}

/* --- Info banner text --- */
.info-banner {
  color: #1e2140 !important;
  font-size: 1.0rem !important;
  font-weight: 600 !important;
}

/* --- text-sm helper class — bigger + bold --- */
.text-sm {
  font-size: 0.97rem !important;
  color: #2e3150 !important;
  font-weight: 600 !important;
}

/* --- text-xs helper class — bigger + bold --- */
.text-xs {
  font-size: 0.85rem !important;
  color: #3d4266 !important;
  font-weight: 600 !important;
}

/* Ensure white-text cards keep their contrast */
.card-purple p,
.card-purple .text-sm,
.card-purple .text-muted,
.card-purple .text-xs {
  color: rgba(255,255,255,.95) !important;
  font-weight: 600 !important;
}

/* ══════════════════════════════════════
   MOBILE RESPONSIVENESS — FULL FIX
   Prevents cut-off on iPhone / small screens
══════════════════════════════════════ */

/* --- Universal overflow prevention --- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* --- Universal safe-area & overflow prevention for iPhone --- */
html {
  overflow-x: hidden;
}

/* --- Prevent any element from breaking out --- */
.container {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  overflow-x: hidden;
}

/* --- Fix grid on small mobile --- */
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .grid-auto {
    grid-template-columns: 1fr !important;
  }

  .section { padding: 48px 16px !important; }
  .section-sm { padding: 36px 16px !important; }

  .hero {
    padding: 48px 16px 56px !important;
    text-align: center !important;
  }

  /* Hero layout becomes single-column flex, phone on top */
  .hero-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  /* hero-left (text) first, phone LAST on small phones */
  .hero-visual { order: 2 !important; }
  .hero-text  { order: 1 !important; }

  .hero h1 {
    font-size: 1.9rem !important;
    letter-spacing: -0.02em;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-lead {
    font-size: 1.1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    justify-content: center !important;
  }
  .hero-actions .btn {
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-metrics {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    justify-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-metrics > div[style*="width:1px"] {
    display: none !important;
  }

  .hero-visual, .hero-phone-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  /* Badges row: centered on mobile */
  .dl-badges-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .dl-badge {
    min-width: 130px !important;
    height: 48px !important;
    padding: 8px 12px 8px 10px !important;
  }
  .dl-line2 { font-size: 0.88rem !important; }
  .dl-qr-tile { width: 87px !important; height: 87px !important; }

  .card { padding: 20px 16px !important; }

  .cta-banner { padding: 36px 20px !important; }
  .cta-banner h2 { font-size: 1.5rem !important; }

  .cta-banner-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .cta-banner-actions .btn {
    justify-content: center !important;
    width: 100% !important;
  }

  .page-header { padding: 48px 16px 56px !important; }
  .page-header h1 { font-size: 1.75rem !important; }
  .page-header p { font-size: 1.1rem !important; }

  .footer-grid { grid-template-columns: 1fr !important; }
  .footer { padding: 56px 16px 24px !important; }

  .nav { height: 60px; }
  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 1.1rem; }
  .nav-logo-icon { width: 32px; height: 32px; }

  .btn-lg { font-size: 0.95rem !important; padding: 13px 22px !important; }

  .pricing-card { padding: 28px 20px !important; }

  /* Phone mockup */
  .phone-frame { width: 100% !important; max-width: 300px !important; }

  /* Two-col layouts → stack */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  [style*="grid-template-columns:1fr 1.5fr"],
  [style*="grid-template-columns: 1fr 1.5fr"],
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns:2fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
}

@media (max-width: 768px) {
  .container { padding-left: 20px; padding-right: 20px; }

  .hero { padding: 64px 20px 72px; }

  /* Hero layout: flex column — phone on top, text below */
  .hero-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
  }
  .hero-visual { order: 1 !important; width: 100% !important; }
  .hero-text   { order: 2 !important; width: 100% !important; }

  /* All inline grid layouts collapse */
  [style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }
  [style*="grid-template-columns:1fr 1.5fr"],
  [style*="grid-template-columns:1.5fr 1fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns:1fr 2fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

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

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

  /* Fix hero floating badges */
  .badge-1, .badge-2 { display: none !important; }

  /* Fix mentor card inner layout */
  .card[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .pricing-card { padding: 32px 24px; }

  .hero-metrics { gap: 20px; }

  /* App showcase section: tighter on mobile */
  .app-showcase-section { padding-top: 36px !important; gap: 28px !important; }
  .app-mockup-wrap { max-width: 340px !important; }
  .app-mockup-greeting { font-size: 1.15rem !important; }
  .hero-lead-text { font-size: 1.25rem !important; padding: 0 4px; line-height: 1.5 !important; }

  /* App feature cards in hero: full width */
  .hero-app-showcase { max-width: 100% !important; }
  .hero-app-feature { text-align: left !important; }

  /* Testimonials */
  .grid-3 { grid-template-columns: 1fr !important; }
}

/* --- iPhone SE / very small screens --- */
@media (max-width: 375px) {
  .hero h1 { font-size: 1.7rem !important; }
  .hero-lead { font-size: 1rem !important; }
  .btn { font-size: 0.88rem !important; padding: 11px 18px !important; }
  .btn-lg { font-size: 0.9rem !important; padding: 12px 20px !important; }
  .nav-logo-icon { width: 28px; height: 28px; font-size: 0.9rem; }
}

/* --- Hero right column: phone + QR --- */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: visible;
}
.hero-phone-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
/* ══════════════════════════════════════
   DOWNLOAD BADGES ROW
   App Store | Google Play | QR tile
   Reference: white outlined badges in a single horizontal row
   Positioned in LEFT hero text column (below metrics)
══════════════════════════════════════ */

/* ── Store badges: App Store + Google Play side by side ── */
.dl-badges-top {
  justify-content: center !important;
  margin-top: 28px !important;
  margin-bottom: 16px !important;
  flex-wrap: wrap;
  gap: 16px !important;
}
/* ── QR row: centered below store badges ── */
.dl-qr-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 32px;
}
.dl-qr-large {
  width: 80px !important;
  height: 80px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
}
.dl-qr-large svg {
  width: 60px !important;
  height: 60px !important;
}
.dl-badges-top .dl-badge {
  height: 64px !important;
  min-width: 180px !important;
  padding: 12px 24px 12px 18px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.10) !important;
}
.dl-badges-top .dl-badge-icon { width: 28px !important; }
.dl-badges-top .dl-line1 { font-size: 0.65rem !important; }
.dl-badges-top .dl-line2 { font-size: 1.15rem !important; }
.dl-badges-top .dl-qr-tile {
  width: 64px !important;
  height: 64px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.10) !important;
}
.dl-badges-top .dl-qr-tile svg { width: 52px !important; height: 52px !important; }

@media (max-width: 480px) {
  .dl-badges-top .dl-badge  { min-width: 150px !important; height: 56px !important; }
  .dl-badges-top .dl-line2  { font-size: 1rem !important; }
  .dl-badges-top .dl-qr-tile { width: 56px !important; height: 56px !important; }
}

/* ── Download badges row (main definition) ── */
.dl-badges-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── Shared badge base ── */
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #111 !important;
  text-decoration: none !important;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 18px 10px 14px;
  height: 54px;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: box-shadow .2s, transform .18s, border-color .18s;
  cursor: pointer;
  flex-shrink: 0;
}
.dl-badge:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  transform: translateY(-1px);
  border-color: #9ca3af;
}

/* ── Icon container ── */
.dl-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  color: #111;
}

/* ── Text stack ── */
.dl-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.dl-line1 {
  font-size: 0.58rem !important;
  font-weight: 400 !important;
  color: #374151 !important;
  letter-spacing: 0.02em;
  display: block;
  white-space: nowrap;
}
.dl-line2 {
  font-size: 1.0rem !important;
  font-weight: 700 !important;
  color: #111111 !important;
  letter-spacing: -0.02em;
  display: block;
  white-space: nowrap;
}

/* Google Play "GET IT ON" all-caps micro label */
.dl-badge-google .dl-line1 {
  text-transform: uppercase;
  font-size: 0.55rem !important;
  letter-spacing: 0.06em;
}

/* ── QR code tile: same height, square ── */
.dl-qr-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 98px;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  flex-shrink: 0;
  cursor: default;
  transition: box-shadow .2s, border-color .18s;
}
.dl-qr-tile:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  border-color: #9ca3af;
}

/* ── Mobile: wrap, shrink slightly ── */
@media (max-width: 600px) {
  .dl-badges-row { gap: 10px; margin-top: 24px; }
  .dl-badge { min-width: 138px; height: 50px; padding: 9px 14px 9px 12px; }
  .dl-line2 { font-size: 0.92rem !important; }
  .dl-qr-tile { width: 91px; height: 91px; }
}
@media (max-width: 400px) {
  .dl-badge { min-width: 0; width: calc(50% - 5px); }
  .dl-qr-tile { width: 84px; height: 84px; }
}

/* ══════════════════════════════════════
   NAMED LAYOUT CLASSES
   Replaces fragile inline grid styles —
   fully controllable via media queries
══════════════════════════════════════ */

/* ── Two-column split layouts ── */
.two-col-split {
  display: grid;
  align-items: center;
  width: 100%;
  min-width: 0;
}

/* Ensure direct children never overflow */
.two-col-split > * {
  min-width: 0;
  overflow: hidden;
}

/* Free Tools section: 1fr 1fr, 64px gap */
.two-col-split--tools {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Benefits section: 1fr 1fr, 72px gap */
.two-col-split--benefits {
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Mentors / For Professionals: 1fr 1fr, 48px gap */
.two-col-split--mentors {
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* ── 2×2 mini card grids ── */
.mini-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}
.mini-card-grid > * { min-width: 0; }

.stats-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
.stats-mini-grid > * { min-width: 0; }

.tool-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}
.tool-cards-grid > * {
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
}

/* ══════════════════════════════════════
   MOBILE OVERRIDES — NAMED CLASSES
   Tablet (≤768px): stack two-col splits,
   keep 2-col mini grids
   Phone (≤480px): stack EVERYTHING
══════════════════════════════════════ */

/* ── Tablet: collapse outer two-col splits ── */
@media (max-width: 768px) {
  .two-col-split--tools,
  .two-col-split--benefits,
  .two-col-split--mentors {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Mentors card: restore readable mobile padding */
  .two-col-split--mentors {
    padding: 32px 24px !important;
  }

  /* Tool & mini grids stay 2-col on tablet, just tighten */
  .tool-cards-grid {
    gap: 12px !important;
  }
  .mini-card-grid,
  .stats-mini-grid {
    gap: 12px !important;
  }
}

/* ── Phone (≤480px): stack ALL grids ── */
@media (max-width: 480px) {
  /* All outer two-col → single column */
  .two-col-split,
  .two-col-split--tools,
  .two-col-split--benefits,
  .two-col-split--mentors {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    overflow: hidden !important;
  }

  /* Mentors card tighter padding */
  .two-col-split--mentors {
    padding: 24px 18px !important;
  }

  /* Tool cards: SINGLE column on phone — no more overlap */
  .tool-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Tool card inner items: full width, no overflow */
  .tool-cards-grid .card,
  .tool-cards-grid a.card {
    width: 100% !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    overflow: hidden !important;
  }

  /* Mini benefit cards: 2-col but compact */
  .mini-card-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .mini-card-grid .card {
    padding: 14px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .mini-card-grid h4 { font-size: 0.85rem !important; }
  .mini-card-grid .text-xs { font-size: 0.72rem !important; }

  /* Stats mini grid: 2-col */
  .stats-mini-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .stats-mini-grid .card {
    padding: 16px !important;
    min-width: 0 !important;
  }
}

/* ── Very small phones (≤360px) ── */
@media (max-width: 360px) {
  .mini-card-grid,
  .stats-mini-grid,
  .tool-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════
   GLOBAL OVERFLOW SAFETY NET
   Catches any remaining overflow source
══════════════════════════════════════ */

/* Prevent absolutely any element from causing horizontal scroll */
section,
.section,
.container,
.card,
.hero,
.hero-layout,
.hero-content,
.two-col-split,
.tool-cards-grid,
.mini-card-grid,
.stats-mini-grid,
footer,
.footer,
nav,
.nav {
  max-width: 100%;
  box-sizing: border-box;
}

/* Prevent wide images / SVGs from overflowing */
img, svg, video, iframe {
  max-width: 100%;
}

/* Prevent long unbreakable words from causing overflow */
p, h1, h2, h3, h4, h5, h6, span, a, li {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Phone frame must never exceed viewport */
.phone-frame {
  max-width: min(240px, calc(100vw - 48px)) !important;
  width: 100% !important;
}

/* Store badges: prevent overflow on tiny screens */
@media (max-width: 380px) {
  .dl-badges-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .dl-badge {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }
  .dl-qr-tile {
    width: 87px !important;
    height: 87px !important;
  }
}

/* Hero badges row: center on small phones */
@media (max-width: 480px) {
  .dl-badges-row {
    justify-content: center !important;
  }
}
