/* Custom styles for LP */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Fade-in animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.3s; }

/* iPhone mockup frame */
.phone-mockup {
  position: relative;
  width: 140px;
  margin: 0 auto;
}

.phone-mockup img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

/* Hero gradient fade (replaces wave separator) */
.hero-fade::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
}

@media (min-width: 390px) {
  .phone-mockup {
    width: 180px;
  }
}

@media (min-width: 768px) {
  .phone-mockup {
    width: 280px;
  }
}

/* Feature card hover */
.feature-card {
  border-top: 2px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Model card accent borders */
.model-card-black { border-top: 3px solid #64748b; }
.model-card-gold { border-top: 3px solid #fbbf24; }
.model-card-gorgeous { border-top: 3px solid #c084fc; }

/* App Store badge hover */
.app-store-badge {
  transition: opacity 0.2s ease;
}

.app-store-badge:hover {
  opacity: 0.85;
}

/* Step number circle */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-card {
    transition: none;
  }

  .feature-card:hover {
    transform: none;
  }

  .app-store-badge {
    transition: none;
  }
}
