/* ═══════════════════════════════════════════════════════════
   AI Medication Planner — SwiperJS Landing
   Based on swiper-clone template, adapted for medpillreminder.com
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --primary: #2f55d4;
  --primary-dark: #2548b8;
  --dark: #1a1a2e;
  --body: #555555;
  --slide-bg-a: #f8f9fc;
  --slide-bg-b: #f0f2f8;
  --font: 'Kanit', system-ui, -apple-system, sans-serif;
  --radius-pill: 999px;
  --radius-card: 16px;
}

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

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

body {
  font-family: var(--font);
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════════════════
   Header / Pill Navbar
   ═══════════════════════════════════════════════════════════ */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  padding: 24px 20px;
  pointer-events: none;
}

#navbar-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 22px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}

#navbar.scrolled #navbar-panel {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.logo span {
  color: var(--dark);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links-desktop a {
  color: #555;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links-desktop a:hover,
.nav-links-desktop a.active {
  color: #111;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Language Dropdown (inline links) */
.lang-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-dropdown a {
  padding: 5px 8px;
  border-radius: 8px;
  color: #666;
  transition: all 0.2s;
}

.lang-dropdown a:hover {
  color: #111;
  background: rgba(0,0,0,0.05);
}

.lang-dropdown a.active {
  color: var(--primary);
  background: rgba(47,85,212,0.08);
  font-weight: 700;
}

/* CTA Button */
.btn-download {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-download:hover {
  background: #2d2d44;
  transform: scale(1.03);
}

.btn-download svg {
  width: 15px; height: 15px;
}

/* Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  margin-top: 12px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
  padding: 0 20px;
  pointer-events: auto;
}

.mobile-menu.open { display: block; }

.mobile-menu-panel {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.mobile-menu-panel a {
  color: #444;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.15s;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a.active {
  background: rgba(0,0,0,0.05);
  color: #111;
}

.mobile-menu-panel .btn-download {
  justify-content: center;
  margin-top: 6px;
}

.mobile-menu-panel .lang-dropdown {
  justify-content: center;
  padding: 8px 0;
}

/* ═══════════════════════════════════════════════════════════
   Swiper
   ═══════════════════════════════════════════════════════════ */

.swiper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.swiper-slide {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide backgrounds */
.slide-0 { background: var(--slide-bg-a); }
.slide-0--video-hero { background: #000; } /* dark fallback behind video */
.slide-1 { background: var(--slide-bg-b); }
.slide-2 { background: var(--slide-bg-a); } /* Caregiver */
.slide-3 { background: var(--slide-bg-a); } /* How It Works */
.slide-4 { background: var(--slide-bg-b); } /* Schedule Types */

/* Slide content layout */
.slide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 60px 60px;
  gap: 60px;
}

/* Left column — copy area */
.slide-copy {
  flex: 0 0 45%;
  z-index: 2;
}

/* Badge */
.slide-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Accent colors per slide */
.slide-0 .slide-badge { background: rgba(47,85,212,0.1); color: var(--primary); }
.slide-1 .slide-badge { background: #fef3e2; color: #e68900; }
.slide-2 .slide-badge { background: #fce8e6; color: #c62828; } /* Caregiver */
.slide-3 .slide-badge { background: #ede7f6; color: #7627b9; } /* How It Works */
.slide-4 .slide-badge { background: rgba(0,131,143,0.1); color: #00838f; } /* Schedule Types */

/* Headings */
.slide-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 16px;
}

.slide-copy h1 strong {
  font-weight: 700;
}

.slide-copy .slide-lead {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--body);
  max-width: 420px;
  margin-bottom: 20px;
}

/* CTA button */
.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}

.slide-0 .slide-cta { background: var(--primary); }
.slide-1 .slide-cta { background: #e68900; }
.slide-2 .slide-cta { background: #c62828; } /* Caregiver */
.slide-3 .slide-cta { background: #7627b9; } /* How It Works */
.slide-4 .slide-cta { background: #00838f; } /* Schedule Types */

.slide-cta:hover { transform: scale(1.04); }
.slide-cta svg { width: 16px; height: 16px; }

/* Trust line */
.hero-stats {
  font-size: 0.82rem;
  color: var(--body);
  margin-top: 16px;
}

/* Example quote */
.example-quote {
  font-style: italic;
  border-left: 3px solid var(--primary);
  padding: 12px 0 12px 16px;
  margin: 16px 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #666;
  max-width: 420px;
}

/* Slide bullets */
.slide-bullets {
  margin: 12px 0 20px;
  padding: 0;
}

.slide-bullets li {
  font-size: 0.88rem;
  color: var(--body);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.slide-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Steps row (slide 3) */
.steps-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.step-item {
  flex: 1;
  min-width: 140px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--body);
}

.step-item strong {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

/* Schedule chips */
.schedule-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.schedule-chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0,131,143,0.08);
  color: #00838f;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ── Right column (media) ── */
.slide-media {
  flex: 0 0 50%;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   Slide 0 — Video Hero (full-bleed video + overlay text)
   ═══════════════════════════════════════════════════════════ */

/* Video player fills entire slide */
.slide-video-player--hero {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-video-player--hero .feature-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Whitening overlay — brightens video so text is readable */
.video-whiten-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  z-index: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Hide whitening when playing */
.slide-video-player.is-playing .video-whiten-overlay {
  opacity: 0;
}

/* Play button — right side of slide */
.video-play-overlay--hero {
  background: rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.video-play-overlay--hero:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* Overlay content — positioned on top of video, left side */
.slide-inner--overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  padding: 100px 60px 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.slide-inner--overlay .slide-copy,
.slide-inner--overlay .slide-marketing a,
.slide-inner--overlay .slide-marketing .slide-cta {
  pointer-events: auto;
}

/* Hero text block */
.slide-copy--hero-text {
  flex: 0 0 48%;
  max-width: 520px;
  background: none;
  z-index: 4;
}

/* ── Hero subtitles over video: high-contrast, readable ── */
.slide-0--video-hero .slide-subtitles {
  text-align: left;
  align-items: flex-start;
}

.slide-0--video-hero .subtitle-line {
  /* Strong outline for readability on video */
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.7),
    0 0 3px rgba(0, 0, 0, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.slide-0--video-hero .subtitle-line--headline {
  color: #fff;
  font-weight: 800;
}

.slide-0--video-hero .subtitle-line--body {
  color: rgba(255, 255, 255, 0.9);
}

.slide-0--video-hero .subtitle-line--highlight {
  color: #fff;
  font-weight: 800;
}

.slide-0--video-hero .subtitle-highlight {
  color: #ffd54f;
}

.slide-media-inner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  background: #e0e0e0;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-media-inner img,
.slide-media-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-media-inner--wide {
  aspect-ratio: 16 / 9;
  max-width: 640px;
}

/* Phone frame for pocket slides */
.slide-media-inner--pocket {
  aspect-ratio: 9 / 16;
  max-width: 300px;
  margin-inline: auto;
  border-radius: 36px;
  background: #1a1a2e;
  padding: 8px;
  box-shadow:
    0 0 0 2px #2a2a4a,
    0 20px 60px rgba(0,0,0,0.3);
  overflow: visible;
}

.slide-media-inner--pocket .slide-video-player {
  border-radius: 28px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.slide-media-inner--pocket .video-play-overlay {
  border-radius: 28px;
}

/* ═══════════════════════════════════════════════════════════
   Responsive — Slide 0 Video Hero
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .slide-inner--overlay {
    padding: 110px 28px 40px;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }

  .slide-copy--hero-text {
    flex: auto;
    max-width: 100%;
    text-align: center;
  }

  .slide-0--video-hero .slide-subtitles {
    text-align: center;
    align-items: center;
  }

  .slide-copy--hero-text .slide-lead {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .slide-inner--overlay {
    padding: 100px 18px 32px;
  }
}

/* ═══════════════════════════════════════════════════════════
   Video Player — Dual-Pane UX
   ═══════════════════════════════════════════════════════════ */

.slide-copy {
  position: relative;
  min-height: 280px;
}

/* Marketing fade-out — smooth with lift */
.slide-marketing,
.info-text .slide-marketing {
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.slide-subtitles {
  opacity: 0;
  visibility: hidden;
  padding-top: 40px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.slide-subtitles[hidden] { display: none; }

/* Info-section subtitle overrides */
.info-text {
  position: relative;
  min-height: 200px;
}

.info-text .slide-subtitles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: right;
  align-items: flex-end;
  padding-top: 0;
}

.info-text .subtitle-line {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--dark);
}

.info-text .subtitle-line--headline {
  font-weight: 700;
  color: var(--dark);
}

.info-text .subtitle-line--body {
  font-weight: 400;
  color: var(--body);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.info-text .subtitle-line--highlight {
  font-weight: 700;
  color: var(--dark);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
}

.info-text .subtitle-highlight {
  color: var(--primary);
  font-weight: 800;
}

/* ── State: IDLE → PLAYING (also for info-section videos) ── */
.slide-copy[data-state="playing"] .slide-marketing,
.slide-copy[data-state="ended_hold"] .slide-marketing,
.info-text[data-state="playing"] .slide-marketing,
.info-text[data-state="ended_hold"] .slide-marketing {
  opacity: 0;
  transform: translateY(-16px);
  visibility: hidden;
  position: absolute;
  pointer-events: none;
}

.slide-copy[data-state="playing"] .slide-subtitles,
.slide-copy[data-state="ended_hold"] .slide-subtitles,
.info-text[data-state="playing"] .slide-subtitles,
.info-text[data-state="ended_hold"] .slide-subtitles {
  opacity: 1;
  visibility: visible;
}

/* ── Subtitle stack — right-aligned, queue effect ── */

/* Each line: stack from bottom, fade-in on enter, collapse on exit */
.subtitle-line {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  margin: 0;
  max-width: 440px;
  max-height: 200px;
  overflow: hidden;
  margin-bottom: 6px;
  animation: sub-enter 0.4s ease both;
  transition: opacity 0.45s ease, max-height 0.45s ease 0.12s, margin-bottom 0.45s ease 0.12s;
}

.subtitle-line--headline {
  font-weight: 700;
  color: var(--dark);
}

.subtitle-line--body {
  font-weight: 400;
  color: var(--body);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.subtitle-line--quote {
  font-style: italic;
  color: #777;
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
}

.subtitle-line--highlight {
  font-weight: 700;
  color: var(--dark);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
}

.subtitle-highlight {
  color: var(--primary);
  font-weight: 800;
}

/* ── Exit: smooth collapse — opacity + max-height → 0, then remove */
.subtitle-line.fading {
  animation: none;
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  pointer-events: none;
}

.subtitle-line.removing {
  display: none;
}

/* ── Entrance (new line slides up + fades in) ── */
@keyframes sub-enter {
  from { opacity: 0; transform: translateY(16px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0);  max-height: 200px; }
}

/* Video player container */
.slide-video-player {
  position: relative;
  width: 100%;
  height: 100%;
}

.feature-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s;
  z-index: 2;
}

.slide-video-player.is-playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-play-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.video-play-overlay:hover .video-play-icon {
  transform: scale(1.1);
}

.video-play-icon::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent var(--dark);
  margin-left: 4px;
}

/* ═══════════════════════════════════════════════════════════
   Swiper Pagination (left vertical dots)
   ═══════════════════════════════════════════════════════════ */

.swiper-pagination {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: opacity 0.3s;
}

.swiper-pagination.hidden-pag {
  opacity: 0;
  pointer-events: none;
}

.swiper-pagination-bullet {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
  opacity: 0.5;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  position: relative;
}

.swiper-pagination-bullet-active {
  background: var(--dark);
  opacity: 1;
  transform: scale(1.4);
}

/* Pagination tooltip (fixed, separate element) */
.bullet-tooltip {
  position: fixed;
  left: 56px;
  z-index: 9999;
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bullet-tooltip.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ═══════════════════════════════════════════════════════════
   Scroll-down hint
   ═══════════════════════════════════════════════════════════ */

.scroll-hint {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #999;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: var(--font);
}

.scroll-hint:hover { color: #555; }

.scroll-hint svg {
  width: 20px; height: 20px;
  stroke: #aaa;
  animation: bounce-down 1.6s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

/* ═══════════════════════════════════════════════════════════
   Slide 4 — Scrollable (contains all static sections)
   ═══════════════════════════════════════════════════════════ */

.slide-4--scroll {
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  height: 100vh;
  -webkit-overflow-scrolling: touch;
}

.slide-scroll-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* The slide-inner inside scrollable slide keeps its flex layout */
.slide-4--scroll > .slide-scroll-wrapper > .slide-inner {
  flex-shrink: 0;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════
   Static Sections (below Swiper / inside last slide)
   ═══════════════════════════════════════════════════════════ */

.static-below-swiper {
  position: relative;
  z-index: 1;
  background: #fff;
  flex-shrink: 0;
}

/* ── Info Section ── */
.info-section {
  padding: 100px 0;
  background: #fff;
}

.info-section.alt { background: var(--slide-bg-a); }

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 80px;
}

.info-text {
  flex: 0 0 45%;
}

.info-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--dark);
  margin: 16px 0;
}

.info-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 14px;
}

.info-media {
  flex: 0 0 50%;
}

.info-media img {
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  width: 100%;
}

/* Problem cards */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.who-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 28px 24px;
}

.who-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.who-card p {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.6;
}

/* Schedule grid */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.schedule-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 20px;
}

.schedule-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.schedule-card p {
  font-size: 0.82rem;
  color: #888;
}

/* Compact 9-type preview inside phone pocket (#schedules slide) */
.schedule-pocket {
  width: 100%;
  height: 100%;
  padding: 20px 14px;
  background: linear-gradient(180deg, #f8fafb 0%, #eef4f6 100%);
  border-radius: 28px;
  overflow: hidden;
}
.schedule-pocket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 100%;
  align-content: center;
}
.schedule-pocket-card {
  background: #fff;
  border: 1px solid rgba(0, 131, 143, 0.12);
  border-radius: 12px;
  padding: 10px 10px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.schedule-pocket-card span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #00838f;
  margin-bottom: 2px;
}
.schedule-pocket-card small {
  display: block;
  font-size: 0.62rem;
  line-height: 1.3;
  color: #6b7280;
}

/* ── Pricing Section ── */
.pricing-section {
  padding: 100px 0;
  background: var(--slide-bg-b);
}

.pricing-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  background: #e6f4ea;
  color: #1e8e3e;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -1px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.plan-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(47,85,212,0.12);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.plan-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.plan-header p {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 24px;
}

.plan-price {
  margin-bottom: 24px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -1px;
}

.price-amount small {
  font-size: 1rem;
  font-weight: 400;
  color: #999;
  vertical-align: middle;
}

.price-usd {
  display: block;
  font-size: 0.8rem;
  color: #999;
  margin-top: 2px;
}

.price-period {
  display: block;
  font-size: 0.85rem;
  color: #999;
  margin-top: 2px;
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 28px;
  transition: all 0.2s;
  background: var(--dark);
  color: #fff;
  font-family: var(--font);
  border: none;
  cursor: pointer;
}

.plan-card.popular .plan-cta {
  background: var(--primary);
}

.plan-cta:hover {
  transform: scale(1.02);
}

.plan-card.popular .plan-cta:hover {
  background: var(--primary-dark);
}

.plan-cta.outline {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.1);
  color: var(--dark);
}

.plan-cta.outline:hover {
  border-color: var(--dark);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #444;
}

.plan-features li.yes::before {
  content: '✓';
  color: #1e8e3e;
  font-weight: 700;
}

.plan-features li.no::before {
  content: '—';
  color: #ccc;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.82rem;
  color: #999;
}

/* ── Comparison Table ── */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 32px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.comparison-table th {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  min-width: 180px;
}

.comparison-table .highlight-col {
  color: var(--primary);
}

.comparison-table .yes {
  color: #1e8e3e;
  font-weight: 700;
}

/* ── FAQ Section ── */
.faq-section {
  padding: 100px 0;
  background: #fff;
}

.faq-grid {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  width: 18px; height: 18px;
  stroke: #888;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--body);
}

/* ── Final CTA ── */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--slide-bg-a);
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  padding: 80px 0 32px;
  background: var(--dark);
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo span { color: #fff; }
.footer-brand .logo-icon { background: rgba(255,255,255,0.1); }

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 5px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════
   Preloader
   ═══════════════════════════════════════════════════════════ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.preloader.loaded {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 40px; height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   Text / Legal Pages
   ═══════════════════════════════════════════════════════════ */

.bg-white { background: #fff; }

.section { padding: 120px 0; }

.container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.site-heading { margin-bottom: 50px; }

.site-heading .section-label {
  display: inline-block;
  font-size: 18px; font-weight: 800; text-transform: uppercase;
  color: var(--primary); letter-spacing: 0.04em; margin-bottom: 0;
}

.site-heading .area-title {
  display: block;
  font-size: clamp(32px, 5vw, 48px); font-weight: 700;
  line-height: 1.2; margin-bottom: 0;
}

.site-heading .devider {
  display: inline-block; width: 50px; height: 3px;
  background: var(--primary); position: relative; z-index: 1;
  left: 10px; margin: 15px 0; border-radius: 2px;
}

.site-heading .devider::before {
  position: absolute; left: -15px; top: 0; content: "";
  height: 3px; width: 10px; background: var(--primary); border-radius: 2px;
}

.legal-content {
  font-size: 16px; line-height: 1.8; color: #666;
}

.legal-content h2 { font-size: 22px; margin-top: 40px; }
.legal-content h3 { font-size: 18px; margin-top: 24px; }
.legal-content ul, .legal-content ol { margin: 0 0 15px; padding-left: 1.4em; }
.legal-content p { margin-bottom: 16px; }
.legal-content a { color: var(--primary); text-decoration: underline; }
.legal-content code { background: #f0f2f8; padding: 2px 6px; border-radius: 4px; font-size: 0.9rem; }
.legal-content strong { color: var(--dark); }

.legal-content .legal-note {
  margin-top: 40px; font-size: 14px; color: #666; padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.legal-content .legal-note a { color: var(--primary); text-decoration: none; }
.legal-content .legal-note a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .slide-inner {
    flex-direction: column;
    padding: 110px 28px 40px;
    gap: 32px;
  }

  .slide-4--scroll > .slide-scroll-wrapper > .slide-inner {
    min-height: auto;
    padding-bottom: 20px;
  }

  .slide-copy {
    flex: auto;
    text-align: center;
  }

  .slide-copy .slide-lead { max-width: 100%; }
  .slide-copy .example-quote { max-width: 100%; }

  .slide-media { flex: auto; width: 100%; }
  .slide-media-inner--pocket { max-width: 260px; border-radius: 32px; padding: 6px; }
  .slide-media-inner--pocket .slide-video-player { border-radius: 26px; }
  .slide-media-inner--wide { max-width: 100%; }

  .info-row { flex-direction: column; gap: 40px; }
  .info-text { flex: auto; text-align: center; }
  .info-media { flex: auto; width: 100%; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto; margin-right: auto;
  }

  .schedule-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr; }

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

@media (max-width: 767px) {
  .nav-links-desktop { display: none; }
  .menu-toggle { display: flex; }
  #navbar-panel { padding: 10px 16px; }
  .btn-download { display: none; }
  .mobile-menu-panel .btn-download { display: flex; }

  .slide-inner { padding: 100px 18px 32px; }

  .swiper-pagination { left: 10px; gap: 10px; }
  .swiper-pagination-bullet { width: 8px; height: 8px; }

  .info-container { padding: 0 20px; }
  .info-section, .pricing-section, .faq-section { padding: 60px 0; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .slide-copy h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
}
