/* ============================================================
   KitchUp — Home / Landing Page
   ============================================================ */

/* ----- Page-top gradient blend (navbar + hero) ----- */
/*
   Subtle 3D wash that flows through the transparent navbar.
   Layered like a soft studio light setup so the page feels
   dimensional while keeping a clear pink/warm brand tint.
     1) Warm highlight  — top-left "key light" (no color, just brightness)
     2) Pink/red tint   — center wash around the phone (brand)
     3) Cool shadow     — bottom-right corner falloff (depth)
     4) Top wash        — soft warm base for the navbar area
*/

body.home-page {
  background-image:
    radial-gradient(
      ellipse 60vw 70vh at 18% 0%,
      rgba(255, 248, 240, 0.45) 0%,
      rgba(255, 240, 230, 0.15) 35%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 75vw 90vh at 72% 32vh,
      rgba(238, 83, 135, 0.14) 0%,
      rgba(212, 54, 27, 0.08) 35%,
      rgba(238, 83, 135, 0.03) 60%,
      transparent 78%
    ),
    radial-gradient(
      ellipse 60vw 60vh at 92% 85vh,
      rgba(110, 125, 160, 0.09) 0%,
      rgba(110, 125, 160, 0.04) 40%,
      transparent 70%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 245, 240, 0.30) 0%,
      rgba(238, 83, 135, 0.04) 35%,
      transparent 80%
    );
  background-repeat: no-repeat;
  background-size: 100% 110vh;
  background-position: top;
  background-color: #ffffff;
}

@media (max-width: 767px) {
  body.home-page {
    background-image:
      radial-gradient(
        ellipse 90vw 60vh at 30% 0%,
        rgba(255, 248, 240, 0.45) 0%,
        transparent 65%
      ),
      radial-gradient(
        ellipse 100vw 70vh at 50% 35vh,
        rgba(238, 83, 135, 0.13) 0%,
        rgba(212, 54, 27, 0.07) 40%,
        transparent 75%
      ),
      radial-gradient(
        ellipse 80vw 50vh at 80% 80vh,
        rgba(110, 125, 160, 0.08) 0%,
        transparent 65%
      ),
      linear-gradient(
        to bottom,
        rgba(255, 245, 240, 0.25) 0%,
        rgba(238, 83, 135, 0.03) 40%,
        transparent 80%
      );
  }
}

/* ----- Hero ----- */

#features,
#how-it-works,
#faq,
#download {
  scroll-margin-top: 1.5rem;
}

@media (min-width: 768px) {
  #features,
  #how-it-works,
  #faq,
  #download {
    scroll-margin-top: 2rem;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/*
   Hero overlay removed — the warm wash now lives on the body
   (body.home-page background) so it can flow seamlessly through
   the transparent navbar without creating a color step at the
   hero's top edge.
*/

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Hero Badge */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background-color: rgba(212, 54, 27, 0.1);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* Hero Title */

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.hero-title .gradient-text {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}

/* Hero Subtitle */

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.25rem; }
}

/* Hero CTA */

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero-cta { flex-direction: row; }
}

/* Hero Checks */

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-check {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-check svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Hero Screenshots / Phone Mockup */

.hero-screenshots {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-carousel {
  position: relative;
  /* The phone screenshots include shadow padding around the device, so we
     widen the container slightly compared to the old screen-only frames
     to keep the phone itself at a similar visual size. */
  width: 19rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-carousel { width: 21rem; }
}

@media (min-width: 1024px) {
  .hero-carousel { width: 23rem; }
}

/*
   Soft halo behind the phone carousel.
   The phone PNGs now ship with their own cool blue-gray drop shadow, so
   this glow only adds a faint warm + cool wash to ground the device on
   the page — no more punchy pink/red halo that fought with the shadow.
*/
.hero-carousel::before {
  content: '';
  position: absolute;
  inset: -2rem;
  background: radial-gradient(
    ellipse at 50% 55%,
    rgba(238, 83, 135, 0.035) 0%,
    rgba(110, 125, 160, 0.025) 50%,
    transparent 75%
  );
  border-radius: 3rem;
  filter: blur(3rem);
  transform: scale(1.1);
  z-index: -1;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  /* Aspect ratio of the tallest image (mealplan.png = 473 x 840) so that
     all four phone screenshots fit cleanly via object-fit: contain. The
     phone frame and soft cool shadow are baked into each PNG, so we no
     longer wrap the slides in a CSS iPhone frame here. */
  aspect-ratio: 473 / 840;
  border-radius: 0;
  border: none;
  background-color: transparent;
  overflow: visible;
  box-shadow: none;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* No transition here on purpose: when a slide loses the .active class
     it disappears instantly, so the previous slide can never bleed
     through behind the new one mid-transition. */
}

.hero-carousel-slide.active {
  opacity: 1;
  /* Fade ONLY on the way in. */
  transition: opacity 0.4s ease;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/*
   --framed slides hold raw screen-only screenshots (no baked phone frame).
   We add a CSS iPhone frame so they visually match the other slides whose
   phone bezel + cool drop shadow are baked into the PNG.
*/
.hero-carousel-slide--framed {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* keep the shadow visible — overrides the track-level overflow */
  overflow: visible;
}

.hero-carousel-slide--framed img {
  /* size the framed phone to roughly match the visible phone width of the
     other (baked-frame) slides, anchored to the bottom of the track */
  width: auto;
  max-width: 78%;
  height: auto;
  max-height: 88%;
  object-fit: contain;
  border-radius: 2.25rem;
  border: 6px solid rgba(23, 23, 23, 0.9);
  background-color: var(--card);
  box-shadow:
    0 1.25rem 2.5rem -0.5rem rgba(110, 125, 160, 0.55),
    0 0.75rem 1.25rem -0.5rem rgba(110, 125, 160, 0.35);
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hero-carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(23, 23, 23, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-carousel-dot.active {
  background-color: var(--primary);
  width: 1.5rem;
  border-radius: 9999px;
}

/* ============================================================
   Feature Badges
   ============================================================ */

.feature-badges {
  padding: 4rem 0;
  background-color: rgba(245, 245, 245, 0.5);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .badges-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: var(--background);
  border: 1px solid rgba(229, 229, 229, 0.5);
  transition: all 0.3s ease;
}

.badge-card:hover {
  border-color: rgba(212, 54, 27, 0.3);
  box-shadow: var(--shadow-lg);
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(212, 54, 27, 0.1);
  color: var(--primary);
  margin-bottom: 1rem;
}

.badge-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.badge-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ============================================================
   Features Showcase (alternating)
   ============================================================ */

.features {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-title {
  color: var(--foreground);
}

.section-title .gradient-text {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 768px) {
  .feature-block--reverse .feature-text {
    order: 2;
  }
  .feature-block--reverse .feature-image {
    order: 1;
  }
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 1rem;
  background-color: rgba(212, 54, 27, 0.1);
  color: var(--recipes);
}

.feature-label svg {
  display: none;
}

#feature-mealplan .feature-label {
  background-color: rgba(232, 97, 89, 0.1);
  color: var(--mealplan);
}

#feature-groceries .feature-label {
  background-color: rgba(46, 128, 71, 0.1);
  color: var(--groceries);
}

#feature-track .feature-label {
  background-color: rgba(54, 150, 98, 0.1);
  color: var(--track);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .feature-title { font-size: 1.875rem; }
}

.feature-desc {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(23, 23, 23, 0.8);
  line-height: 1.5;
}

.feature-list li svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

#feature-recipes .feature-list li svg { color: var(--recipes); }
#feature-mealplan .feature-list li svg { color: var(--mealplan); }
#feature-groceries .feature-list li svg { color: var(--groceries); }
#feature-track .feature-list li svg { color: var(--track); }

.feature-image {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}

.feature-image--placeholder {
  background-color: rgba(212, 54, 27, 0.05);
  border: 1px solid rgba(212, 54, 27, 0.1);
  padding: 2rem;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image--placeholder .placeholder-inner {
  text-align: center;
}

.feature-image--placeholder .placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: rgba(212, 54, 27, 0.1);
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-image--placeholder .placeholder-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

#feature-mealplan .feature-image--placeholder {
  background-color: rgba(232, 97, 89, 0.05);
  border-color: rgba(232, 97, 89, 0.1);
}

#feature-mealplan .feature-image--placeholder .placeholder-icon {
  background-color: rgba(232, 97, 89, 0.1);
  color: var(--mealplan);
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: contain;
}

/* ----- Phone screenshots: keep transparent, soft edges ----- */

#feature-recipes .feature-image,
#feature-mealplan .feature-image,
#feature-groceries .feature-image,
#feature-track .feature-image {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

#feature-recipes .feature-image img,
#feature-mealplan .feature-image img,
#feature-groceries .feature-image img,
#feature-track .feature-image img {
  background: transparent;
  border-radius: 0;
  /*
     Combined mask:
     - Vertical: keeps the top crisp, fades the bottom 35% so the
       cool shadow under the phone melts into the page.
     - Horizontal: gentle side fade so the shadow's left/right
       edges don't end in a hard vertical line.
  */
  -webkit-mask-image:
    linear-gradient(to bottom, #000 60%, rgba(0,0,0,0.6) 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, #000 60%, rgba(0,0,0,0.6) 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-composite: intersect;
}

/* The mealplan section uses --placeholder color too — make sure the
   tinted box doesn't show now that we replaced it with a real image. */
#feature-mealplan .feature-image--placeholder {
  background: transparent;
  border-color: transparent;
}

/* The groceries section uses --placeholder color too — make sure the
   tinted box doesn't show now that we replaced it with a real image. */
#feature-groceries .feature-image--placeholder,
#feature-track .feature-image--placeholder {
  background: transparent;
  border-color: transparent;
}

/* ============================================================
   How It Works
   ============================================================ */

.how-it-works {
  padding: 6rem 0;
  background-color: rgba(245, 245, 245, 0.3);
}

.how-it-works .section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 4rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background-color: var(--background);
  border: 1px solid rgba(229, 229, 229, 0.5);
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: rgba(212, 54, 27, 0.3);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: rgba(212, 54, 27, 0.1);
  color: var(--primary);
  margin-bottom: 1.25rem;
  order: -1;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(212, 54, 27, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: -1rem;
    width: 2rem;
    height: 0;
    border-top: 2px dashed var(--border);
  }
}

/* ============================================================
   Testimonials
   ============================================================ */

.testimonials {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.testimonials .section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.testimonials-marquee {
  position: relative;
}

.testimonials-marquee::before,
.testimonials-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}

.testimonials-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}

.testimonials-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 320px;
  flex-shrink: 0;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: var(--card);
  border: 1px solid rgba(229, 229, 229, 0.5);
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(212, 54, 27, 0.2);
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
  color: #facc15;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
}

.testimonial-quote {
  font-size: 0.875rem;
  color: rgba(23, 23, 23, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  color: var(--foreground);
  display: block;
}

.testimonial-location {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.testimonial-feature {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(212, 54, 27, 0.7);
  background-color: rgba(212, 54, 27, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  padding: 6rem 0;
  background-color: rgba(245, 245, 245, 0.3);
}

.faq .container {
  max-width: 48rem;
}

.faq .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.faq-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(229, 229, 229, 0.5);
  background-color: var(--background);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}

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

.faq-question::marker {
  display: none;
  content: '';
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ============================================================
   Download CTA
   ============================================================ */

.download-cta {
  padding: 6rem 0;
}

.download-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, var(--primary), var(--primary), var(--secondary));
  padding: 3rem 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .download-card { padding: 4rem; }
}

.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

.download-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.download-title {
  position: relative;
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .download-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .download-title { font-size: 3rem; }
}

.download-subtitle {
  position: relative;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.download-card .btn-white {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background-color: white;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.download-card .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  color: var(--foreground);
}

.download-card .btn-white .app-store-text {
  text-align: left;
}

.download-card .btn-white .app-store-label {
  display: block;
  font-size: 0.625rem;
  line-height: 1;
  opacity: 0.7;
  font-weight: 400;
}

.download-card .btn-white .app-store-name {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
}

.download-platforms {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.download-dot {
  width: 1px;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   Mobile Responsive Overrides
   ============================================================ */

@media (max-width: 767px) {
  /* Tighter vertical rhythm on mobile */
  .features,
  .how-it-works,
  .testimonials,
  .faq,
  .download-cta {
    padding: 3rem 0;
  }

  .feature-badges {
    padding: 2.5rem 0;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero .container {
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-checks {
    gap: 0.75rem 1rem;
  }

  .hero-check {
    font-size: 0.8125rem;
  }

  .hero-screenshots {
    order: -1;
  }

  .hero-carousel {
    width: 15rem;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-subtitle {
    font-size: 0.9375rem;
    margin-top: 0.75rem;
  }

  /* Features */
  .feature-block {
    gap: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .feature-title {
    font-size: 1.375rem;
  }

  .feature-desc {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  /* Steps */
  .steps-grid {
    gap: 1.25rem;
  }

  .step-card {
    padding: 1.5rem 1.25rem;
  }

  /* Testimonials — narrower cards on small screens */
  .testimonial-card {
    width: 280px;
    padding: 1.25rem;
  }

  .testimonials-marquee::before,
  .testimonials-marquee::after {
    width: 2.5rem;
  }

  /* FAQ */
  .faq-question {
    padding: 1rem 1.125rem;
    font-size: 0.9375rem;
  }

  .faq-answer {
    padding: 0 1.125rem 1.125rem;
  }

  .faq-answer p {
    font-size: 0.9375rem;
  }

  /* Download CTA */
  .download-card {
    padding: 2.25rem 1.25rem;
    border-radius: 1.25rem;
  }

  .download-title {
    font-size: 1.625rem;
    margin-bottom: 0.75rem;
  }

  .download-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }

  .download-platforms {
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-size: 0.8125rem;
  }

  /* Feature badges grid stays 2 cols but more compact */
  .badges-grid {
    gap: 0.75rem;
  }

  .badge-card {
    padding: 1.125rem 0.875rem;
  }

  .badge-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.625rem;
  }

  .badge-title {
    font-size: 0.8125rem;
  }

  .badge-desc {
    font-size: 0.6875rem;
  }
}

/* Very small phones */
@media (max-width: 374px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .testimonial-card {
    width: 260px;
  }
}
