/* ScratchGone Landing Page - Light Theme */

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-surface: #F1F5F9;
  --accent-cta: #F97316;
  --accent-hover: #EA580C;
  --accent-urgent: #EF4444;
  --accent-success: #22C55E;
  --border: #E2E8F0;
}

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

/* Scroll animation base */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA pulse glow */
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.3); }
  50% { box-shadow: 0 0 24px 6px rgba(249, 115, 22, 0.25); }
}

.cta-primary {
  animation: cta-pulse 2s ease-in-out infinite;
  animation-delay: 3s;
  position: relative;
  overflow: hidden;
}

.cta-primary:hover {
  animation: none;
}

/* Shimmer sweep across CTA */
@keyframes cta-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cta-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: cta-shimmer 2.5s ease-in-out infinite;
  animation-delay: 1s;
  pointer-events: none;
}

/* Mobile sticky CTA enhanced - light theme */
.mobile-cta-bar {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,1) 100%);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.mobile-cta-btn {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #F97316 100%);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  position: relative;
  overflow: hidden;
}

.mobile-cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: cta-shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Bundle card highlight pulse */
.bundle-popular {
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
  animation: bundle-glow 2s ease-in-out infinite;
}

@keyframes bundle-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(249, 115, 22, 0.1); }
  50% { box-shadow: 0 4px 30px rgba(249, 115, 22, 0.25); }
}

/* FAQ toggle animation */
.faq-icon.rotated {
  transform: rotate(180deg);
}

/* Extra bottom padding on mobile for sticky CTA bar */
@media (max-width: 1023px) {
  footer { padding-bottom: 5rem; }
}

/* Safe area for iPhone notch */
.safe-area-bottom {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

/* Before/After CTA midpage */
.cta-midpage {
  position: relative;
  overflow: hidden;
}

.cta-midpage::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: cta-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
  .cta-primary { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
