/* ===================================
   memu Landing Page Styles
   =================================== */

:root {
  /* Colors */
  --color-primary: #f5576c;
  --color-primary-light: #f093fb;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-background: #fefefe;
  --color-surface: #ffffff;
  --color-border: #e5e5e5;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Layout */
  --max-width: 1260px;
  --nav-height: 72px;
}

/* ===================================
   Reset & Base
   =================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 22.37%;
}

.nav-cta {
  padding: 0.625rem 1.25rem;
  background: var(--color-text);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  position: relative;
  z-index: 2;
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  overflow: clip;
}

/* Background palette 1: You flow (first challenge - "you" sends) */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,252,250,0.35) 100%),
    radial-gradient(ellipse 120% 80% at 0% 0%, #a9c6e9 0%, transparent 70%),
    radial-gradient(ellipse 100% 120% at 100% 100%, #1d1f2a 0%, transparent 70%),
    radial-gradient(ellipse 80% 100% at 100% 0%, #918074 0%, transparent 60%),
    linear-gradient(160deg, #a9c6e9 0%, #918074 50%, #1d1f2a 100%);
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

/* Background palette 2: Partner flow (second challenge - "partner" sends) */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(250,252,255,0.35) 100%),
    radial-gradient(ellipse 120% 80% at 0% 0%, #4988c3 0%, transparent 70%),
    radial-gradient(ellipse 100% 120% at 100% 100%, #b99670 0%, transparent 70%),
    radial-gradient(ellipse 80% 100% at 100% 0%, #d0cec8 0%, transparent 60%),
    linear-gradient(160deg, #4988c3 0%, #d0cec8 50%, #b99670 100%);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

/* Toggle to palette 2 */
.hero.palette-2::before {
  opacity: 0;
}

.hero.palette-2::after {
  opacity: 1;
}

/* Noise overlay */
.hero .hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='turbulence' baseFrequency='4.5' numOctaves='1' seed='15' result='noise'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.32;
  pointer-events: none;
  z-index: 1;
}

.hero-logo {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: var(--spacing-xl);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  border-radius: 22.37%;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  overflow: visible;
}

.hero-content {
  max-width: 540px;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.text-emphasis {
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: flex-start;
}

.app-store-button img {
  height: 64px;
  width: auto;
}

.app-store-button {
  display: inline-block;
}

.android-waitlist {
  display: flex;
  align-items: center;
}

.android-waitlist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 64px;
  padding: 0 1.5rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.android-waitlist-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 64px;
}

.android-waitlist-form input {
  height: 100%;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  min-width: 200px;
  caret-color: var(--color-primary);
}

.android-waitlist-form input:focus {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
}

.android-waitlist-form input::placeholder {
  color: var(--color-text-muted);
}

.android-waitlist-form button {
  height: 100%;
  padding: 0 1rem;
  background: var(--color-text);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.android-waitlist-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.waitlist-message {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.hidden {
  display: none !important;
}

/* iPhone Mockup */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iphone-shadow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 92%;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  filter: blur(40px);
  z-index: 0;
}

.iphone-mockup {
  position: relative;
  width: 280px;
  z-index: 1;
}

.iphone-frame {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
}

.iphone-screen {
  position: absolute;
  top: 1.6%;
  left: 4.5%;
  width: 91%;
  height: 97%;
  border-radius: 38px;
  overflow: hidden;
  z-index: 1;
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================
   Dual Phone Demo
   =================================== */

.dual-phone-demo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  min-height: 600px;
  margin-top: var(--spacing-lg);
}

.phone-wrapper {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: bottom center;
  transition: transform 0.38s cubic-bezier(0.34, 1.12, 0.64, 1),
              opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Front position (active, in focus) */
.phone-wrapper.front {
  z-index: 2;
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Back position (inactive, peeking from behind) */
.phone-wrapper.back {
  z-index: 1;
  opacity: 0.55;
  transform: scale(0.88);
}

/* You starts on left, Partner on right */
.phone-wrapper.you.front {
  z-index: 2;
  transform: translateX(-15%) scale(1);
}

.phone-wrapper.you.back {
  z-index: 1;
  transform: translateX(-45%) scale(0.88);
}

.phone-wrapper.partner.front {
  z-index: 2;
  transform: translateX(15%) scale(1);
}

.phone-wrapper.partner.back {
  z-index: 1;
  transform: translateX(45%) scale(0.88);
}

/* Swap animations - fluid arc motion with ease-in/ease-out */
@keyframes you-to-back {
  0% { transform: translateX(-15%) scale(1); opacity: 1; z-index: 2; }
  15% { transform: translateX(-22%) scale(0.98); opacity: 1; z-index: 2; }
  50% { transform: translateX(-52%) scale(0.92); opacity: 1; z-index: 1; }
  85% { transform: translateX(-47%) scale(0.89); opacity: 0.75; z-index: 1; }
  100% { transform: translateX(-45%) scale(0.88); opacity: 0.55; z-index: 1; }
}

@keyframes you-to-front {
  0% { transform: translateX(-45%) scale(0.88); opacity: 0.55; z-index: 1; }
  15% { transform: translateX(-47%) scale(0.89); opacity: 0.75; z-index: 1; }
  50% { transform: translateX(-52%) scale(0.92); opacity: 1; z-index: 2; }
  85% { transform: translateX(-22%) scale(0.98); opacity: 1; z-index: 2; }
  100% { transform: translateX(-15%) scale(1); opacity: 1; z-index: 2; }
}

@keyframes partner-to-back {
  0% { transform: translateX(15%) scale(1); opacity: 1; z-index: 2; }
  15% { transform: translateX(22%) scale(0.98); opacity: 1; z-index: 2; }
  50% { transform: translateX(52%) scale(0.92); opacity: 1; z-index: 1; }
  85% { transform: translateX(47%) scale(0.89); opacity: 0.75; z-index: 1; }
  100% { transform: translateX(45%) scale(0.88); opacity: 0.55; z-index: 1; }
}

@keyframes partner-to-front {
  0% { transform: translateX(45%) scale(0.88); opacity: 0.55; z-index: 1; }
  15% { transform: translateX(47%) scale(0.89); opacity: 0.75; z-index: 1; }
  50% { transform: translateX(52%) scale(0.92); opacity: 1; z-index: 2; }
  85% { transform: translateX(22%) scale(0.98); opacity: 1; z-index: 2; }
  100% { transform: translateX(15%) scale(1); opacity: 1; z-index: 2; }
}

.phone-wrapper.you.swap-to-back {
  animation: you-to-back 0.5s linear forwards;
}

.phone-wrapper.you.swap-to-front {
  animation: you-to-front 0.5s linear forwards;
}

.phone-wrapper.partner.swap-to-back {
  animation: partner-to-back 0.5s linear forwards;
}

.phone-wrapper.partner.swap-to-front {
  animation: partner-to-front 0.5s linear forwards;
}

.phone-label {
  display: block;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(26, 26, 26, 0.7);
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.02em;
  transition: opacity 0.4s ease;
}

.phone-wrapper.you .phone-label {
  text-align: left;
  padding-left: calc(var(--spacing-sm) * 2);
}

.phone-wrapper.partner .phone-label {
  text-align: right;
  padding-right: calc(var(--spacing-sm) * 2);
}

.phone-wrapper.back .phone-label {
  opacity: 0.6;
}

/* Phone wrapper positioning */
.phone-wrapper .iphone-shadow {
  position: absolute;
  top: calc(var(--spacing-sm) + 24px);
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  height: 99%;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 44px;
  filter: blur(25px);
  z-index: 0;
}

.phone-wrapper.back .iphone-shadow {
  opacity: 0.5;
}

.phone-wrapper .iphone-mockup {
  position: relative;
  width: 280px;
  z-index: 1;
}

.phone-wrapper .iphone-screen {
  position: absolute;
  top: 1.6%;
  left: 4.5%;
  width: 91%;
  height: 97%;
  border-radius: 38px;
  overflow: hidden;
  z-index: 1;
}

/* Screen transitions */
.phone-wrapper .iphone-screen .screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.phone-wrapper .iphone-screen .screen.active {
  opacity: 1;
  z-index: 2;
}

/* Keep outgoing screen visible during crossfade */
.phone-wrapper .iphone-screen .screen.outgoing {
  opacity: 1;
  z-index: 1;
  transition: none;
}

/* "Off" screen state - black screen */
.phone-wrapper .iphone-screen .screen.off {
  background-color: #000;
  border-radius: 38px;
  width: 100%;
  height: 100%;
}

/* Reduced motion support */
.dual-phone-demo.reduced-motion .phone-wrapper {
  transition: none !important;
}

.dual-phone-demo.reduced-motion .screen {
  transition: none !important;
}


/* ===================================
   Social Proof Section
   =================================== */

.social-proof {
  padding: var(--spacing-2xl) 0 var(--spacing-lg) 0;
  background: var(--color-background);
}

.social-proof-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
}

.social-proof-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-xl);
}

/* Trust Badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) calc(var(--spacing-xs) + 8px) var(--spacing-xs) var(--spacing-xs);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-xl);
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  margin-left: -12px;
  object-fit: cover;
}

.avatar:first-child {
  margin-left: 0;
}

/* Hero Trust Badge */
.hero-content .trust-badge {
  margin-bottom: var(--spacing-md);
}

.trust-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.7);
}

/* Testimonials Marquee */
.testimonials-marquee {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  margin-top: var(--spacing-xl);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.testimonials-track {
  display: flex;
  gap: var(--spacing-lg);
  animation: scroll 40s linear infinite;
  width: max-content;
}

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

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 3px;
  margin-bottom: var(--spacing-sm);
}

.testimonial-content p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ===================================
   Footer
   =================================== */

.footer {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
}

.footer-cta {
  margin-bottom: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-qr {
  width: 140px;
  height: 140px;
  border-radius: 12px;
}

.desktop-only {
  display: block;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

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

.footer-links svg {
  display: block;
}

.footer-copyright p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-copyright .trademark-notice {
  font-size: 0.6875rem;
  margin-top: var(--spacing-sm);
  opacity: 0.6;
}

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

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-content {
    max-width: 600px;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-image {
    order: 1;
    justify-content: center;
    margin-top: var(--spacing-lg);
  }

  .iphone-mockup {
    width: 240px;
  }

  /* Dual phone demo tablet */
  .dual-phone-demo {
    order: 1;
    margin-top: var(--spacing-md);
    min-height: 500px;
  }

  .phone-wrapper .iphone-mockup {
    width: 220px;
  }

  .phone-wrapper .iphone-shadow {
    width: 180px;
    border-radius: 36px;
    filter: blur(28px);
  }

  .phone-wrapper .iphone-screen {
    border-radius: 32px;
  }

  .phone-wrapper .iphone-screen .screen.off {
    border-radius: 32px;
  }

  .phone-wrapper.you.front {
    transform: translateX(-12%) scale(1);
  }

  .phone-wrapper.you.back {
    transform: translateX(-50%) scale(0.88);
  }

  .phone-wrapper.partner.front {
    transform: translateX(12%) scale(1);
  }

  .phone-wrapper.partner.back {
    transform: translateX(50%) scale(0.88);
  }

  @keyframes you-to-back {
    0% { transform: translateX(-12%) scale(1); opacity: 1; z-index: 2; }
    15% { transform: translateX(-22%) scale(0.98); opacity: 1; z-index: 2; }
    50% { transform: translateX(-62%) scale(0.92); opacity: 1; z-index: 1; }
    85% { transform: translateX(-52%) scale(0.89); opacity: 0.75; z-index: 1; }
    100% { transform: translateX(-50%) scale(0.88); opacity: 0.55; z-index: 1; }
  }

  @keyframes you-to-front {
    0% { transform: translateX(-50%) scale(0.88); opacity: 0.55; z-index: 1; }
    15% { transform: translateX(-52%) scale(0.89); opacity: 0.75; z-index: 1; }
    50% { transform: translateX(-62%) scale(0.92); opacity: 1; z-index: 2; }
    85% { transform: translateX(-22%) scale(0.98); opacity: 1; z-index: 2; }
    100% { transform: translateX(-12%) scale(1); opacity: 1; z-index: 2; }
  }

  @keyframes partner-to-back {
    0% { transform: translateX(12%) scale(1); opacity: 1; z-index: 2; }
    15% { transform: translateX(22%) scale(0.98); opacity: 1; z-index: 2; }
    50% { transform: translateX(62%) scale(0.92); opacity: 1; z-index: 1; }
    85% { transform: translateX(52%) scale(0.89); opacity: 0.75; z-index: 1; }
    100% { transform: translateX(50%) scale(0.88); opacity: 0.55; z-index: 1; }
  }

  @keyframes partner-to-front {
    0% { transform: translateX(50%) scale(0.88); opacity: 0.55; z-index: 1; }
    15% { transform: translateX(52%) scale(0.89); opacity: 0.75; z-index: 1; }
    50% { transform: translateX(62%) scale(0.92); opacity: 1; z-index: 2; }
    85% { transform: translateX(22%) scale(0.98); opacity: 1; z-index: 2; }
    100% { transform: translateX(12%) scale(1); opacity: 1; z-index: 2; }
  }


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

@media (max-width: 640px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
  }

  .nav-container {
    padding: 0 var(--spacing-sm);
  }

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

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

  .iphone-mockup {
    width: 200px;
  }

  /* Dual phone demo mobile */
  .dual-phone-demo {
    min-height: 500px;
  }

  .phone-wrapper .iphone-mockup {
    width: 235px;
  }

  .phone-wrapper .iphone-shadow {
    width: 192px;
    border-radius: 34px;
    filter: blur(26px);
  }

  .phone-wrapper .iphone-screen {
    border-radius: 32px;
  }

  .phone-wrapper .iphone-screen .screen.off {
    border-radius: 32px;
  }

  .phone-label {
    font-size: 0.75rem;
    margin-bottom: var(--spacing-xs);
  }

  .phone-wrapper.you.front {
    transform: translateX(-8%) scale(1);
  }

  .phone-wrapper.you.back {
    transform: translateX(-45%) scale(0.85);
  }

  .phone-wrapper.partner.front {
    transform: translateX(8%) scale(1);
  }

  .phone-wrapper.partner.back {
    transform: translateX(45%) scale(0.85);
  }

  @keyframes you-to-back {
    0% { transform: translateX(-8%) scale(1); opacity: 1; z-index: 2; }
    15% { transform: translateX(-18%) scale(0.97); opacity: 1; z-index: 2; }
    50% { transform: translateX(-56%) scale(0.88); opacity: 1; z-index: 1; }
    85% { transform: translateX(-48%) scale(0.86); opacity: 0.75; z-index: 1; }
    100% { transform: translateX(-45%) scale(0.85); opacity: 0.55; z-index: 1; }
  }

  @keyframes you-to-front {
    0% { transform: translateX(-45%) scale(0.85); opacity: 0.55; z-index: 1; }
    15% { transform: translateX(-48%) scale(0.86); opacity: 0.75; z-index: 1; }
    50% { transform: translateX(-56%) scale(0.88); opacity: 1; z-index: 2; }
    85% { transform: translateX(-18%) scale(0.97); opacity: 1; z-index: 2; }
    100% { transform: translateX(-8%) scale(1); opacity: 1; z-index: 2; }
  }

  @keyframes partner-to-back {
    0% { transform: translateX(8%) scale(1); opacity: 1; z-index: 2; }
    15% { transform: translateX(18%) scale(0.97); opacity: 1; z-index: 2; }
    50% { transform: translateX(56%) scale(0.88); opacity: 1; z-index: 1; }
    85% { transform: translateX(48%) scale(0.86); opacity: 0.75; z-index: 1; }
    100% { transform: translateX(45%) scale(0.85); opacity: 0.55; z-index: 1; }
  }

  @keyframes partner-to-front {
    0% { transform: translateX(45%) scale(0.85); opacity: 0.55; z-index: 1; }
    15% { transform: translateX(48%) scale(0.86); opacity: 0.75; z-index: 1; }
    50% { transform: translateX(56%) scale(0.88); opacity: 1; z-index: 2; }
    85% { transform: translateX(18%) scale(0.97); opacity: 1; z-index: 2; }
    100% { transform: translateX(8%) scale(1); opacity: 1; z-index: 2; }
  }


  .social-proof-title {
    font-size: 2rem;
  }

  .trust-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .hero-cta {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }

  .app-store-button img {
    height: 54px;
  }

  .desktop-only {
    display: none;
  }

  .android-waitlist-btn {
    height: 54px;
    padding: 0 1rem;
    font-size: 0.875rem;
  }

  .android-waitlist-form {
    height: 54px;
  }

  .android-waitlist-form input {
    min-width: 120px;
    font-size: 1rem; /* Must be 16px+ to prevent iOS zoom */
    padding: 0 0.75rem;
  }

  .android-waitlist-form button {
    padding: 0 0.75rem;
    font-size: 0.875rem;
  }
}

/* Extra small screens */
@media (max-width: 420px) {
  .dual-phone-demo {
    min-height: 480px;
  }

  .phone-wrapper .iphone-mockup {
    width: 220px;
  }

  .phone-wrapper .iphone-shadow {
    width: 180px;
    border-radius: 32px;
    filter: blur(24px);
  }

  .phone-wrapper .iphone-screen {
    border-radius: 30px;
  }

  .phone-wrapper .iphone-screen .screen.off {
    border-radius: 30px;
  }

  .phone-wrapper.you.front {
    transform: translateX(-5%) scale(1);
  }

  .phone-wrapper.you.back {
    transform: translateX(-40%) scale(0.82);
  }

  .phone-wrapper.partner.front {
    transform: translateX(5%) scale(1);
  }

  .phone-wrapper.partner.back {
    transform: translateX(40%) scale(0.82);
  }

  @keyframes you-to-back {
    0% { transform: translateX(-5%) scale(1); opacity: 1; z-index: 2; }
    15% { transform: translateX(-14%) scale(0.96); opacity: 1; z-index: 2; }
    50% { transform: translateX(-50%) scale(0.85); opacity: 1; z-index: 1; }
    85% { transform: translateX(-43%) scale(0.83); opacity: 0.75; z-index: 1; }
    100% { transform: translateX(-40%) scale(0.82); opacity: 0.55; z-index: 1; }
  }

  @keyframes you-to-front {
    0% { transform: translateX(-40%) scale(0.82); opacity: 0.55; z-index: 1; }
    15% { transform: translateX(-43%) scale(0.83); opacity: 0.75; z-index: 1; }
    50% { transform: translateX(-50%) scale(0.85); opacity: 1; z-index: 2; }
    85% { transform: translateX(-14%) scale(0.96); opacity: 1; z-index: 2; }
    100% { transform: translateX(-5%) scale(1); opacity: 1; z-index: 2; }
  }

  @keyframes partner-to-back {
    0% { transform: translateX(5%) scale(1); opacity: 1; z-index: 2; }
    15% { transform: translateX(14%) scale(0.96); opacity: 1; z-index: 2; }
    50% { transform: translateX(50%) scale(0.85); opacity: 1; z-index: 1; }
    85% { transform: translateX(43%) scale(0.83); opacity: 0.75; z-index: 1; }
    100% { transform: translateX(40%) scale(0.82); opacity: 0.55; z-index: 1; }
  }

  @keyframes partner-to-front {
    0% { transform: translateX(40%) scale(0.82); opacity: 0.55; z-index: 1; }
    15% { transform: translateX(43%) scale(0.83); opacity: 0.75; z-index: 1; }
    50% { transform: translateX(50%) scale(0.85); opacity: 1; z-index: 2; }
    85% { transform: translateX(14%) scale(0.96); opacity: 1; z-index: 2; }
    100% { transform: translateX(5%) scale(1); opacity: 1; z-index: 2; }
  }

}
