/* ========================================
   SavorAI — Scroll Landing Page with GSAP Animations
   ======================================== */

/* ========================================
   Base Overrides for Landing Page
   ======================================== */

html {
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
}

/* ========================================
   Landing Container
   ======================================== */

.slideshow-landing {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--bg, #0a0a0b);
  color: var(--text, #e8e8eb);
}

.scroll-landing {
  display: block;
  width: 100%;
}

/* GPU acceleration for animated elements */
.scroll-landing .hero-text,
.scroll-landing .hero-phone,
.scroll-landing .iphone,
.scroll-landing .section-tag,
.scroll-landing .slide-features h2,
.scroll-landing .slide-subtitle,
.scroll-landing .slide-proof,
.scroll-landing .feature-card,
.scroll-landing .slide-how h2,
.scroll-landing .step-card,
.scroll-landing .step-number,
.scroll-landing .accuracy-content,
.scroll-landing .accuracy-visual,
.scroll-landing .accuracy-visual img,
.scroll-landing .slide-testimonial blockquote,
.scroll-landing .slide-testimonial cite,
.scroll-landing .slide-cta h2,
.scroll-landing .slide-cta .cta-sub,
.scroll-landing .slide-cta .app-store-buttons,
.scroll-landing .slide-cta .form-note,
.scroll-landing .slide-footer,
.scroll-landing .store-badge {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Smooth transitions for interactive elements */
.scroll-landing .feature-card {
  transition: box-shadow 0.3s ease;
}

.scroll-landing .feature-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.scroll-landing .step-card {
  transition: transform 0.3s ease;
}

.scroll-landing .store-badge {
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Ensure accuracy image doesn't overflow during parallax */
.scroll-landing .accuracy-visual {
  overflow: hidden;
  border-radius: var(--radius-lg, 20px);
}

.scroll-landing .accuracy-visual img {
  transform-origin: center center;
}

/* ========================================
   Slides Container
   ======================================== */

.slides-container {
  position: relative;
  width: 100%;
}

.slide {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  padding: 80px 48px 64px;
}

.slide-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================================
   Slide Navigation
   ======================================== */

/* Removed slideshow navigation for scroll mode */

/* ========================================
   Slide 1: Hero
   ======================================== */

.slide-hero .slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-text .hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-muted);
  border: 1px solid rgba(232, 93, 4, 0.3);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-text h1,
.hero-text .hero-sub,
.hero-text .hero-cta {
  text-align: left;
}

.hero-text h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-text h1 .highlight {
  color: var(--primary);
}

.hero-text .hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-text .hero-cta {
  display: flex;
  gap: 12px;
}

.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================
   3D iPhone Mockup
   ======================================== */

.iphone-container {
  position: relative;
  perspective: 1200px;
}

.is-firefox-android .iphone-container {
  /* Firefox Android can glitch video in 3D perspective layers. */
  perspective: none;
}

.iphone {
  position: relative;
  width: 260px;
  height: 540px;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #0d0d0d 100%);
  border-radius: 44px;
  padding: 0;
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 60px 100px -30px rgba(0, 0, 0, 0.5),
    0 30px 60px -20px rgba(0, 0, 0, 0.4);
  transform: rotateY(-12deg) rotateX(4deg);
  transform-style: preserve-3d;
  overflow: visible;
  z-index: 2;
}

.is-firefox-android .iphone {
  /* Flatten to 2D to avoid solid-color flashing in Firefox Android video decoding. */
  transform: rotate(-1.25deg) !important;
  transform-style: flat;
}

.is-firefox-android .hero-phone {
  /* Ensure GSAP can't force transforms on the video container. */
  transform: none !important;
}

.is-firefox-android .iphone-screen .demo-video {
  /* Nudge Firefox to keep a stable composited layer. */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.is-firefox-android .iphone-screen .demo-poster,
.is-firefox-android .iphone-screen .demo-video {
  /* Avoid opacity-transition compositing issues on Firefox Android. */
  transition: none !important;
}

.is-firefox-android .iphone-reflection {
  display: none !important;
}

/* Mirrored phone reflection (exact phone flipped 180deg) */
.iphone-reflection {
	position: absolute;
	left: 0;
	right: 0;
	/* top: calc(100% + 16px); */
	margin: 0 auto;
	/* transform: scaleY(-1); */
	transform-origin: top center;
	opacity: 1;
	filter: blur(0.9px) saturate(0.9);
	pointer-events: none;
	z-index: 1;
	mask-image: linear-gradient( to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.12) 80%, rgba(0, 0, 0, 0.0) 100% );
	-webkit-mask-image: linear-gradient( to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.12) 60%, rgba(0, 0, 0, 0.0) 100% );
	height: 20em;
	rotate: 185deg;
	translate: -2.5em 21em;
}
/* iPhone stays dark in both themes */
[data-theme="light"] .iphone {
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #0d0d0d 100%);
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 60px 100px -30px rgba(0, 0, 0, 0.5),
    0 30px 60px -20px rgba(0, 0, 0, 0.4);
}

.iphone::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0d0d0d;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

/* Notch stays dark in light mode too */
[data-theme="light"] .iphone::before {
  background: #0d0d0d;
}

.iphone-screen {
  position: absolute;
  inset: 2px;
  background: #000;
  border-radius: 40px;
  overflow: hidden;
}

/* Screen glare disabled; use external reflection instead */
.iphone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.iphone-screen .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  padding: 24px;
  text-align: center;
  border-radius: 40px;
  position: relative;
  z-index: 1;
}

.iphone-screen .placeholder-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.iphone-screen .placeholder p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.5;
}

.iphone-screen .demo-poster,
.iphone-screen .demo-video,
.iphone-screen img.demo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.iphone-screen .demo-poster {
  opacity: 1;
  transition: opacity 0.55s ease;
  z-index: 1;
}

.iphone-screen .demo-video {
  opacity: 0;
  transition: opacity 0.65s ease;
  transition-delay: 0s;
  z-index: 2;
}

.iphone-screen.is-loaded .demo-poster {
  opacity: 0;
}

.iphone-screen.is-loaded .demo-video {
  transition-delay: 0.22s;
  opacity: 1;
}

/* Glossy reflection - full screen, fades before halfway */
/* Screen glare disabled; use external reflection instead */
.iphone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

/* Glossy reflection across the whole phone */
/* Disable internal phone reflection */
.iphone::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

/* ========================================
   Slide 2: Features
   ======================================== */

.slide-features .slide-inner {
  text-align: center;
}

.slide-features h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.slide-features .slide-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.slide-features .slide-proof {
  font-size: 14px;
  color: var(--text-muted);
  margin: -28px 0 40px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left;
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-muted);
  border-radius: 12px;
}

.feature-card .feature-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Feature icon colors */
.feature-card .feature-icon img[src*="camera.webp"] {
  filter: brightness(0) saturate(100%) invert(55%) sepia(52%) saturate(600%) hue-rotate(110deg) brightness(95%);
}
.feature-card .feature-icon img[src*="lightning.webp"],
.feature-card .feature-icon img[src*="light_bulb.webp"] {
  filter: brightness(0) saturate(100%) invert(77%) sepia(60%) saturate(800%) hue-rotate(340deg) brightness(100%);
}
.feature-card .feature-icon img[src*="bullseye.webp"] {
  filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(2000%) hue-rotate(346deg) brightness(90%);
}

/* ========================================
   Slide 3: How It Works
   ======================================== */

.slide-how .slide-inner {
  text-align: center;
}


.steps-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
}

.step-card .step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.step-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ========================================
   Slide 4: Accuracy / Trust
   ======================================== */

.slide-accuracy .slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.accuracy-content .section-tag {
  display: block;
  margin-bottom: 12px;
}

.accuracy-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
  line-height: 1.2;
}

.accuracy-content > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.accuracy-proof {
  font-size: 13px;
  color: var(--text-muted);
  margin: -16px 0 24px;
}

.accuracy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accuracy-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
}

.accuracy-list li:last-child {
  border-bottom: none;
}

.accuracy-list .check {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
}

.accuracy-visual {
  display: flex;
  justify-content: center;
}

.accuracy-visual img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* ========================================
   Slide 5: Testimonial
   ======================================== */

.slide-testimonial .slide-inner {
  text-align: center;
  max-width: 800px;
}

.slide-testimonial blockquote {
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 18px;
  position: relative;
}

.slide-testimonial blockquote::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 120px;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.slide-testimonial cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* ========================================
   Slide 6: CTA / Download
   ======================================== */

.slide-cta .slide-inner {
  text-align: center;
  max-width: 600px;
}

.slide.slide-cta {
  /* CTA is the only slide with multiple direct children (CTA + FAQ + footer). */
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}

.slide-cta h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.slide-cta .cta-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.slide-cta .app-store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

.slide-cta .store-badge img {
  height: 65.5px;
  width: auto;
}

.slide-cta .store-badge img[alt*="Google Play"] {
  height: 96px;
  margin: -15px 0;
}

.slide-cta .form-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   FAQ Block (Footer-adjacent SEO content)
   ======================================== */

.faq-block {
  width: 100%;
  padding: 20em 48px 0;
}

.faq-inner {
  max-width: 920px;
  margin: 0 auto;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .faq-inner {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.faq-inner h3 {
  margin: 0 0 14px;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.92;
}

.faq-intro {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-inner details {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  margin: 0 0 12px;
  overflow: hidden;
}

[data-theme="light"] .faq-inner details {
  border-color: rgba(0, 0, 0, 0.09);
  background: rgba(0, 0, 0, 0.02);
}

.faq-inner summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-inner summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

[data-theme="light"] .faq-inner summary::after {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.faq-inner details[open] summary::after {
  content: "–";
  transform: translateY(-1px);
}

.faq-answer {
  padding: 0 16px 14px;
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.faq-answer a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 93, 4, 0.35);
}

.faq-answer a:hover {
  border-bottom-color: rgba(232, 93, 4, 0.6);
}

/* Slide Footer */
.slide-footer {
  position: absolute;
  bottom: 32px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 8px;
}

.slide-footer .footer-links {
  display: flex;
  gap: 24px;
}

.slide-footer .footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.slide-footer .footer-links a:hover {
  color: var(--text-secondary);
}

.slide-footer .copyright {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

/* Footer should flow normally when FAQ exists */
.slide-cta .slide-footer {
  position: relative;
  bottom: auto;
  right: auto;
  left: auto;
  margin: 28px auto 0;
  padding: 18px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  text-align: center;
}

[data-theme="light"] .slide-cta .slide-footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.slide-cta .slide-footer .footer-links {
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 10px;
}

/* ========================================
   Animations
   ======================================== */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================================
   Section Tag (shared)
   ======================================== */

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ========================================
   Minimal Header for Slideshow
   ======================================== */

.slideshow-header {
  position: sticky;
  top: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  background: var(--bg, #0a0a0b);
  border-bottom: 1px solid var(--border, #27272a);
}

.slideshow-header .brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slideshow-header .logo-img {
  height: 28px;
  width: auto;
}

.slideshow-header .wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.slideshow-header .wordmark .ai {
  color: var(--primary);
}

/* Hover effect - entire wordmark turns orange */
.slideshow-header .brand:hover .wordmark {
  color: var(--primary);
}

.slideshow-header .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle in Slideshow */
.slideshow-header .theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.slideshow-header .theme-toggle:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.slideshow-header .theme-toggle svg {
  width: 18px;
  height: 18px;
}

.slideshow-header .theme-toggle .icon-sun,
.slideshow-header .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .slideshow-header .theme-toggle .icon-sun {
  display: block;
}

[data-theme="light"] .slideshow-header .theme-toggle .icon-moon {
  display: block;
}

:root:not([data-theme]) .slideshow-header .theme-toggle .icon-sun {
  display: block;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 900px) {
  .slide {
    padding: 80px 24px 100px;
    align-items: flex-start;
  }
  
  .slide-hero .slide-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .hero-text {
    order: 1;
    text-align: center;
  }
  
  .hero-text h1,
  .hero-text .hero-sub,
  .hero-text .hero-cta {
    text-align: center;
  }
  
  .hero-text .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-text .hero-cta {
    justify-content: center;
  }
  
  .hero-phone {
    order: 0;
  }

  .iphone-reflection {
    display: none;
  }
  
  .iphone {
    width: 200px;
    height: 420px;
    padding: 0;
    transform: rotateY(-8deg) rotateX(3deg);
  }
  
  .iphone::before {
    top: 4px;
    width: 80px;
    height: 22px;
  }
  
  .iphone-screen {
    inset: 2px;
    border-radius: 36px;
  }
  
  .iphone-screen::before {
    border-radius: 36px;
  }

  .iphone-screen::after {
    border-radius: 36px;
  }
  
  .iphone-screen .placeholder {
    border-radius: 36px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  
  .step-card {
    max-width: 100%;
  }
  
  .slide-accuracy .slide-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .accuracy-visual {
    order: -1;
  }
  
  .accuracy-visual img {
    max-width: 300px;
  }
  
  .slideshow-header {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  .slide {
    padding: 84px 20px 90px;
    align-items: flex-start;
  }
  
  /* Hero slide specific adjustments */
  .slide-hero {
    padding-top: 60px;
  }
  
  .slide-hero .slide-inner {
    gap: 24px;
  }
  
  /* Hide badge on mobile */
  .hero-text .hero-badge {
    display: none;
  }
  
  .hero-text h1 {
    font-size: 26px;
    margin-bottom: 14px;
  }
  
  .hero-text .hero-sub {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .hero-text .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .hero-text .hero-cta .btn {
    width: 100%;
    max-width: 220px;
  }
  
  /* Smaller phone on mobile - positioned better */
  .hero-phone {
    margin-top: 0;
  }
  
  .iphone {
    width: 160px;
    height: 338px;
    border-radius: 32px;
    padding: 0;
  }
  
  .iphone::before {
    width: 60px;
    height: 18px;
    top: 3px;
    border-radius: 0 0 10px 10px;
  }
  
  .iphone-screen {
    inset: 2px;
    border-radius: 30px;
  }
  
  .iphone-screen::before {
    border-radius: 30px;
  }

  .iphone-screen::after {
    border-radius: 30px;
  }
  
  .iphone-screen .placeholder {
    border-radius: 30px;
  }
  
  .iphone-screen .placeholder-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }
  
  .iphone-screen .placeholder p {
    font-size: 10px;
  }
  
  .slide-features h2 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .slide-features .slide-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .slide-features .slide-proof {
    font-size: 12px;
    margin: -12px 0 18px;
  }

  .feature-card {
    padding: 14px 14px;
  }

  .feature-card .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .feature-card .feature-icon img {
    width: 22px;
    height: 22px;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 12px;
  }
  
  .slide-testimonial blockquote {
    font-size: 20px;
  }
  
  .slide-testimonial blockquote::before {
    font-size: 60px;
    top: -20px;
  }
  
  /* Fix app store badge sizes on mobile */
  .slide-cta .app-store-buttons {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  
  /* App Store badge height set to 65.5px */
  .slide-cta .store-badge img[alt*="App Store"] {
    height: 72.5px;
    width: auto;
  }
  
  /* Google Play badge - normalized to match App Store visually */
  .slide-cta .store-badge img[alt*="Google Play"] {
    height: 96px;
    margin: -15px 0;
  }
  
  .slideshow-header {
    height: 56px;
    padding: 0 16px;
  }
  
  .slideshow-header .logo-img {
    height: 24px;
  }
  
  .slideshow-header .wordmark {
    font-size: 16px;
  }
  
  /* Footer on mobile */
  .slide-footer {
    bottom: 70px;
    left: 0;
    right: 0;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  
  .slide-footer .footer-links {
    gap: 16px;
  }
  
  .slide-footer .footer-links a {
    font-size: 12px;
  }
  
  .slide-footer .copyright {
    font-size: 10px;
  }

  .faq-block {
    padding: 20em 20px 0;
  }

  .faq-inner {
    padding-top: 26px;
  }

  .faq-inner summary {
    padding: 13px 14px;
    font-size: 13.5px;
  }

  .faq-answer {
    padding: 0 14px 13px;
  }

  .faq-answer p,
  .faq-intro {
    font-size: 13.5px;
  }

  .slide-cta .slide-footer {
    margin-top: 22px;
    padding-top: 16px;
  }
}

/* ========================================
   Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  .slide,
  .hero-text,
  .hero-phone,
  .feature-card,
  .step-card,
  .accuracy-content,
  .accuracy-visual,
  .slide-testimonial blockquote,
  .slide-testimonial cite,
  .slide-cta h2,
  .slide-cta .cta-sub,
  .slide-cta .app-store-buttons,
  .slide-cta .form-note,
  .slide-features .section-tag,
  .slide-features h2,
  .slide-features .slide-subtitle,
  .slide-how .section-tag,
  .slide-how h2 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
