/* =============================================================================
   WHOOP-HERO.CSS — WHOOP-style hero, scroll gallery, sticky Join Now
   ============================================================================= */

/* ── Hero ──
   The wrapper is taller than one viewport so the media panel (sticky)
   has room to stay pinned while the next section slides up over it. */
.hero-whoop {
  position: relative;
  /* dvh accounts for the mobile browser's address bar showing/hiding;
     vh is a fallback for browsers that don't support dvh yet. */
  height: 160vh;
  height: 160dvh;
  padding: 0;
}

/* ── Full-bleed media panel (stands in for a live video), pinned ── */
.hero-whoop-media {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: linear-gradient(160deg, #0A0A0A 0%, #1c1c1c 45%, #0A0A0A 100%);
}

/* ── Headline overlaid directly on the video ── */
.hero-whoop-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  max-width: 1100px;
  padding: 0 40px;
  transform-origin: left center;
  will-change: transform, opacity;
}

.hero-whoop-text h1 {
  font-family: 'Mulish', 'Inter', sans-serif;
  font-size: clamp(2.1rem, 9.8vw, 7.4rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: #fff;
}

.hero-whoop-text p {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-whoop-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* A real hero video is now in place (assets/video/hero/hero.mp4) - the
   animated placeholder scene below it (sky glow, skyline, particles) was
   only ever a stand-in for that, and briefly showing through before the
   video's first frame paints reads as a flash of "the old design". Hide it
   outright now that there's a real video; the plain dark gradient set on
   .hero-whoop-media above is a much less noticeable loading state. */
.hero-whoop-media .media-sky,
.hero-whoop-media .media-skyline,
.hero-whoop-media .media-particles {
  display: none;
}

.hero-whoop-media .media-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 20% 15%, rgba(255,255,255,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 700px 400px at 85% 75%, rgba(15,211,172,0.10) 0%, transparent 65%);
  animation: mediaDrift 14s ease-in-out infinite alternate;
}

@keyframes mediaDrift {
  0%   { background-position: 0% 0%, 0% 0%; }
  100% { background-position: 6% 4%, -6% -4%; }
}

.hero-whoop-media .media-skyline {
  position: absolute;
  left: -5%;
  right: -5%;
  width: 110%;
  bottom: 0;
  height: 46%;
  animation: skylinePan 26s linear infinite alternate;
}

@keyframes skylinePan {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-3%); }
}

.hero-whoop-media .media-particles span {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  animation: particleRise linear infinite;
}

@keyframes particleRise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  100% { transform: translateY(-260px) translateX(14px); opacity: 0; }
}

.hero-whoop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-whoop-media .media-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

/* =============================================================================
   RESULTS — "what happens when you use Vacalion" (WHOOP-style)
   ============================================================================= */
/* Slides up over the still-pinned hero video as the user scrolls through
   the hero wrapper's extra 60vh of height (this is the first section
   directly after the sticky hero, so it owns the slide-over styling). */
.results-section {
  position: relative;
  z-index: 2;
  margin-top: -60vh;
  margin-top: -60dvh;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.25);
  padding: 96px 0 120px;
  background: #fff;
}

.results-header {
  margin-bottom: 40px;
  padding: 0 clamp(64px, 16vw, 230px);
  container-type: inline-size;
}

.results-eyebrow {
  font-family: 'Mulish', 'Inter', sans-serif;
  font-size: clamp(1.2rem, 7.3cqw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #0A0A0A;
  margin-bottom: 16px;
  white-space: nowrap;
}

.results-header h2 {
  font-family: 'Mulish', 'Inter', sans-serif;
  /* Sized relative to this header's own rendered width (cqw) instead of
     the viewport, so it reliably wraps to 2 lines regardless of how the
     safe-space padding happens to stack at a given breakpoint. */
  font-size: clamp(1.3rem, 8.07cqw, 3.2rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #4A4A4A;
  margin-bottom: 20px;
}

.results-header p {
  font-size: 1.05rem;
  color: #4A4A4A;
  line-height: 1.65;
  max-width: 640px;
}

.results-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  margin: 0 clamp(64px, 16vw, 230px);
}

.results-visual-bg {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  /* Layers a real photo on top of the gradient once one exists at
     assets/img/results/photo.jpg - if it's missing, the browser just fails
     to paint that layer and the gradient shows through as a placeholder. */
  background: url('../assets/img/results/photo.jpg') center/cover no-repeat,
              linear-gradient(160deg, #16333a 0%, #0A0A0A 55%, #0A0A0A 100%);
}

.results-vignette {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
}

@media (max-width: 720px) {
  .results-visual {
    aspect-ratio: 3 / 4;
    margin: 0 clamp(16px, 4vw, 40px);
  }
  .results-header {
    padding: 0 clamp(16px, 4vw, 40px);
  }
}

/* ── Horizontal scroll gallery ──
   (the slide-over-the-pinned-hero styling now lives on .results-section,
   which is the section that immediately follows the sticky hero). */
.scroll-gallery-section {
  position: relative;
  padding: 72px 0 88px;
  background: #fff;
  /* If this section (or a card inside it) is ever scrolled/focused into
     view, keep its top clear of the fixed navbar instead of tucking it
     underneath. */
  scroll-margin-top: var(--nav-height);
}

.scroll-gallery-head {
  margin-bottom: 28px;
}

/* Desktop only - match the results-section heading's extra safe-space
   so all the section headings share the same inset; the card row below
   keeps its own edge-to-edge bleed untouched. */
@media (min-width: 768px) {
  .scroll-gallery-head,
  .outcomes-header,
  .testimonials-header {
    padding: 0 clamp(64px, 16vw, 230px);
  }
}

.scroll-gallery-wrap {
  position: relative;
}

/* Bleed the swipeable card row past the section's normal safe-space so
   cards run to the screen edge (both phone and desktop) - only this row,
   not the heading/subtitle above it, which keep their own inset. Pulls
   the wrap out by exactly the container's own side padding at each
   breakpoint, matching css/base.css's .container formula. */
.scroll-gallery-wrap,
.outcomes-gallery-wrap {
  margin-left: calc(-1 * clamp(24px, 6.5vw, 96px));
  margin-right: calc(-1 * clamp(24px, 6.5vw, 96px));
}

@media (min-width: 768px) {
  .scroll-gallery-wrap,
  .outcomes-gallery-wrap {
    margin-left: calc(-1 * clamp(100px, calc(6.5vw + 76px), 172px));
    margin-right: calc(-1 * clamp(100px, calc(6.5vw + 76px), 172px));
  }
}

.scroll-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  /* pan-x alone would also block vertical page scroll while a finger
     starts on a card - pan-x pan-y keeps both directions working: a
     mostly-horizontal drag scrolls the carousel, a mostly-vertical one
     scrolls the page, same as the browser's native swipe heuristics. */
  touch-action: pan-x pan-y;
  /* Leading edge gets the same breathing room as the gap between cards
     instead of touching the screen edge; the trailing edge stays flush
     so the next card keeps peeking as a swipe hint. Matches the snap
     "start" reference to this same inset so it isn't auto-corrected away. */
  padding-left: 20px;
  scroll-padding-left: 20px;
}

.scroll-gallery::-webkit-scrollbar { display: none; }

/* ── Prev/Next arrow buttons ── */
.scroll-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  z-index: 5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.scroll-gallery-arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.scroll-gallery-arrow-prev { left: 12px; }
.scroll-gallery-arrow-next { right: 12px; }

.scroll-gallery-arrow[disabled] {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .scroll-gallery-arrow { display: none; }
}

/* ── Pagination dots ── */
.scroll-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.scroll-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.2);
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.scroll-gallery-dot:hover {
  background: rgba(10, 10, 10, 0.4);
}

.scroll-gallery-dot.active {
  background: #0A0A0A;
  transform: scale(1.25);
}

.scroll-card {
  position: relative;
  flex: 0 0 369px;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #0A0A0A;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Keep the card's top clear of the fixed navbar if it's ever
     scrolled/focused into view. */
  scroll-margin-top: var(--nav-height);
}

.scroll-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.scroll-card .card-bg {
  position: absolute;
  inset: 0;
}

.scroll-card .card-vignette {
  position: absolute;
  inset: 0;
  /* Dark at the top (where the white heading sits) so it stays legible
     over any photo, fading clear through the middle, then a soft dark
     base again so the "+" button never sits on a bright patch. */
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 24%, transparent 46%, transparent 65%, rgba(0,0,0,0.55) 100%);
}

.scroll-card .card-number {
  position: absolute;
  top: 40px;
  left: 30px;
  right: 77px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scroll-card .card-heading {
  position: absolute;
  top: 14px;
  left: 26px;
  right: 26px;
  color: #fff;
  font-family: 'Mulish', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.25;
}

/* When a card has a numbered category label, push the heading down below it */
.scroll-card .card-number + .card-heading {
  top: 64px;
}

.scroll-card .card-plus {
  position: absolute;
  bottom: 26px;
  right: 26px;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0A;
  transition: transform 0.2s ease;
}

.scroll-card:hover .card-plus {
  transform: scale(1.1);
}

/* Each card layers a real photo (assets/img/features/<key>/photo.jpg) on
   top of its gradient. If the photo hasn't been added yet, the browser
   just fails to paint that layer and the gradient underneath shows
   through as a placeholder — no code changes needed once you drop it in. */

/* Card 1: quantify bg */
.card-bg-quantify {
  background: url('../assets/img/features/quantify/photo.jpg') center/cover no-repeat,
              linear-gradient(155deg, #16333a 0%, #0A0A0A 55%, #0A0A0A 100%);
}

/* Card 2: score bg */
.card-bg-score {
  background: url('../assets/img/features/score/photo.jpg') center/cover no-repeat,
              linear-gradient(155deg, #123028 0%, #0A0A0A 60%);
}

/* Card 3: cancel-subscription demo bg */
.card-bg-cancel {
  background: url('../assets/img/features/cancel/photo.jpg') center/cover no-repeat,
              linear-gradient(155deg, #241016 0%, #0A0A0A 55%);
}

/* Remaining feature cards — same dark base, subtle unique tint each */
.card-bg-forecast     { background: url('../assets/img/features/forecast/photo.jpg') center/cover no-repeat, linear-gradient(155deg, #0f2430 0%, #0A0A0A 55%); }
.card-bg-transactions { background: url('../assets/img/features/transactions/photo.jpg') center/cover no-repeat, linear-gradient(155deg, #1c1c1c 0%, #0A0A0A 55%); }
.card-bg-receipt      { background: url('../assets/img/features/receipt/photo.jpg') center/cover no-repeat, linear-gradient(155deg, #2a2010 0%, #0A0A0A 55%); }
.card-bg-tax          { background: url('../assets/img/features/tax/photo.jpg') center/cover no-repeat, linear-gradient(155deg, #11271c 0%, #0A0A0A 55%); }
.card-bg-ai           { background: linear-gradient(155deg, #1a1a24 0%, #0A0A0A 55%); }
.card-bg-banklink     { background: url('../assets/img/features/banklink/photo.jpg') center/cover no-repeat, linear-gradient(155deg, #0f2530 0%, #0A0A0A 55%); }
.card-bg-fraud        { background: url('../assets/img/features/fraud/photo.jpg') center/cover no-repeat, linear-gradient(155deg, #2a1414 0%, #0A0A0A 55%); }
.card-bg-debt         { background: url('../assets/img/features/debt/photo.jpg') center/cover no-repeat, linear-gradient(155deg, #132a1c 0%, #0A0A0A 55%); }
.card-bg-bills        { background: url('../assets/img/features/bills/photo.jpg') center/cover no-repeat, linear-gradient(155deg, #2a2210 0%, #0A0A0A 55%); }


/* ── Sticky "Join Now" button ── */
.sticky-join-wrap {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 998;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hidden once the footer scrolls into view, so it never sits on top of it */
.sticky-join-wrap.at-footer {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

.sticky-join-btn {
  background: #0A0A0A;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 34px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(255, 255, 255, 0.35),
    0 0 48px rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sticky-join-btn:hover {
  background: #262626;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 32px rgba(255, 255, 255, 0.5),
    0 0 60px rgba(255, 255, 255, 0.26);
}

@media (max-width: 860px) {
  .scroll-card { flex-basis: 254px; }
  .scroll-card .card-heading { font-size: 1.05rem; right: 30px; }
  .scroll-card .card-plus { width: 37px; height: 37px; }
}

@media (max-width: 600px) {
  /* section-title's default clamp() floors out at a size that wraps this
     headline to 3 lines on narrow phones - override just this heading so
     it settles at 2 lines instead. */
  .scroll-gallery-head .section-title {
    font-size: 1.85rem;
  }
}

/* =============================================================================
   SECURITY — "how we protect your money and data"
   ============================================================================= */
.security-section {
  position: relative;
  padding: 110px 0;
  background: #fff;
  overflow: hidden;
}

.security-glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 211, 172, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.security-header {
  max-width: 700px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.security-card {
  padding: 30px 26px;
  border-radius: 18px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.security-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(10, 10, 10, 0.18);
}

/* The "your data stays on your device" card leads the grid, so it gets a
   dark treatment to visually anchor the trust message. */
.security-card-featured {
  grid-column: span 2;
  background: #0A0A0A;
  border-color: transparent;
}

.security-card-featured:hover {
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

.security-card h3 {
  font-family: 'Mulish', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #0A0A0A;
  margin-bottom: 10px;
}

.security-card p {
  font-size: 0.88rem;
  color: #4A4A4A;
  line-height: 1.6;
}

.security-card-featured h3 {
  color: #fff;
}

.security-card-featured p {
  color: rgba(255, 255, 255, 0.68);
}

.security-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0A0A0A;
  border-bottom: 1px solid rgba(10, 10, 10, 0.25);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.security-link:hover {
  border-color: #0A0A0A;
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Below 560px: match WHOOP's compact mobile mosaic — cards sit two to a
   row (not stacked full-width), collapsed to just their title. Tapping a
   card expands it in place to reveal the description. */
@media (max-width: 560px) {
  .security-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .security-card-featured {
    grid-column: span 2;
  }

  .security-card {
    position: relative;
    padding: 14px;
    padding-right: 34px;
    cursor: pointer;
  }

  .security-card::after {
    content: 'i';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(10, 10, 10, 0.35);
    color: rgba(10, 10, 10, 0.6);
    font-size: 0.68rem;
    font-style: italic;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
  }

  .security-card-featured::after {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.7);
  }

  .security-card.expanded::after {
    display: none;
  }

  .security-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .security-card p,
  .security-card .security-link {
    display: none;
    margin-top: 8px;
  }

  .security-card.expanded p,
  .security-card.expanded .security-link {
    display: block;
  }

  .security-card.expanded h3 {
    margin-bottom: 6px;
  }
}

/* =============================================================================
   OUTCOMES — persona-based "what to expect"
   ============================================================================= */
.outcomes-section {
  padding: 96px 0;
  background: #F7F7F7;
}

.outcomes-header {
  margin-bottom: 48px;
  container-type: inline-size;
}

.outcomes-header .section-subtitle {
  max-width: 640px;
}

/* Below desktop, this sentence is long enough that matching the full
   .section-title size wraps it into 6-7 stacked lines - scale down
   (relative to this header's own rendered width) so it stays a clean
   1-2 lines on tablet/mobile. Desktop keeps the exact size match with
   "Security is not a feature..." untouched. */
@media (max-width: 1399px) {
  .outcomes-header .section-title {
    font-size: clamp(1.1rem, 6.6cqw, 2.1rem);
    line-height: 1.3;
  }
}

.outcomes-gallery-wrap {
  position: relative;
}

.outcomes-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  /* Same as .scroll-gallery - allow both horizontal swipe and vertical
     page scroll to still work when the finger starts on a card. */
  touch-action: pan-x pan-y;
  /* Same leading-edge inset treatment as .scroll-gallery above. */
  padding-left: 20px;
  scroll-padding-left: 20px;
}

.outcomes-gallery::-webkit-scrollbar {
  display: none;
}

.outcome-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  padding: 30px 26px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outcome-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.outcome-card h3 {
  font-family: 'Mulish', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.outcome-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

/* Outcomes gallery reuses the .scroll-gallery-arrow / .scroll-gallery-dots
   look (defined above for #scrollGallery) — just anchored to this wrap. */
.outcomes-gallery-wrap .scroll-gallery-dots {
  margin-top: 20px;
}

.outcomes-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.outcomes-cta h3 {
  font-family: 'Mulish', 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #0A0A0A;
}

.outcomes-cta-stores {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.outcomes-cta-stores .store-btn {
  padding: 12px 20px;
}

@media (max-width: 560px) {
  .outcome-card {
    flex-basis: 250px;
  }
  .outcomes-cta-stores {
    width: 100%;
  }
  .outcomes-cta-stores .store-btn {
    flex: 1;
  }
}

/* =============================================================================
   FEATURE DETAIL MODAL — opened from a feature card / nav dropdown item
   ============================================================================= */
.feature-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.feature-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.feature-modal-card {
  position: relative;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  max-width: 940px;
  width: 100%;
  max-height: calc(100vh - 48px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.feature-modal-overlay.open .feature-modal-card {
  transform: translateY(0) scale(1);
}

/* The close button lives on the non-scrolling card frame (not inside
   .feature-modal-scroll) so it stays put when the content scrolls,
   instead of being carried away with it. */
.feature-modal-scroll {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 56px 72px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
}

.feature-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  z-index: 1;
}

.feature-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.06);
}

/* ── Phone mockup ── */
.feature-modal-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Fixed aspect ratio (matches the standard 853x1844 phone-screenshot
   export) so every card renders at the exact same box size regardless
   of a given screenshot's native dimensions - photos that don't match
   that ratio letterbox via object-fit: contain instead of stretching
   or cropping. */
.fm-phone-screen {
  position: relative;
  width: 100%;
  max-width: 252px;
  aspect-ratio: 853 / 1844;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #0A0A0A 0%, #1c1c1c 60%, #0A0A0A 100%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

/* Real per-feature phone screenshot at assets/img/phone-screenshots/<key>/photo.jpg
   - app.js only reveals it after a successful load. object-fit: contain
   keeps the full, uncropped screenshot visible even if its native aspect
   ratio doesn't exactly match the box above. */
.fm-phone-photo {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fm-phone-photo.loaded {
  display: block;
}

/* ── Content ── */
.feature-modal-content {
  padding-top: 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fm-avail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.fm-avail-badge {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.feature-modal-content h2 {
  font-family: 'Mulish', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.feature-modal-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-bottom: 28px;
}

.fm-spotlight {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 22px;
}

.fm-spotlight::before {
  content: '';
  position: absolute;
  bottom: -26px;
  left: -26px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 197, 66, 0.3) 0%, transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

.fm-spotlight-label,
.fm-spotlight-quote {
  position: relative;
}

.fm-spotlight-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.fm-spotlight-quote {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .feature-modal-scroll {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .fm-phone-screen {
    max-width: 231px;
    margin: 0 auto;
  }
}
