/* BabushkaPhone Landing Page - Warm Nostalgic Connection */
/* Extends the authentication design system for marketing pages */

/* Landing-specific warm gradient backgrounds */
.landing-hero {
  background: linear-gradient(135deg,
    #FFE5E5 0%,
    #FFF8E7 25%,
    #E8F4F8 50%,
    #F4E8FF 75%,
    #FFE5E5 100%);
  background-size: 400% 400%;
  animation: gradient-flow 15s ease infinite;
  position: relative;
  overflow: hidden;
}

/* Decorative floating elements for hero */
.landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168, 218, 220, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 217, 61, 0.08) 0%, transparent 50%);
  animation: breathe 8s ease-in-out infinite;
  pointer-events: none;
}

/* Hero CTA button - prominent warm gradient */
.landing-cta {
  background: linear-gradient(135deg, #FF6B6B 0%, #FFD93D 50%, #FF8B5A 100%);
  background-size: 200% auto;
  color: white;
  font-family: 'Golos Text', sans-serif;
  font-weight: 700;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 10px 30px rgba(255, 107, 107, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.landing-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.landing-cta:hover::before {
  width: 400px;
  height: 400px;
}

.landing-cta:hover {
  background-position: right center;
  box-shadow:
    0 15px 40px rgba(255, 107, 107, 0.45),
    0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px) scale(1.02);
}

.landing-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Feature cards with warm glow */
.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 8px 24px rgba(255, 107, 107, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(255, 107, 107, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 107, 107, 0.2);
}

/* Pricing cards with distinctive warmth */
.pricing-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 231, 0.98) 100%);
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 8px 24px rgba(255, 107, 107, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card-popular {
  border: 3px solid #FF6B6B;
  box-shadow:
    0 12px 32px rgba(255, 107, 107, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.08);
}

.pricing-card-popular::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(255, 107, 107, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonial cards with personal warmth */
.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 6px 20px rgba(168, 218, 220, 0.12),
    0 3px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 30px rgba(168, 218, 220, 0.15),
    0 6px 15px rgba(0, 0, 0, 0.06);
}

/* Avatar circles with warm gradients */
.avatar-circle {
  border-radius: 50%;
  background: linear-gradient(135deg, #A8DADC 0%, #D4A5FF 100%);
  box-shadow: 0 4px 12px rgba(168, 218, 220, 0.3);
}

/* Section backgrounds with warmth */
.section-warm-light {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFFDF7 100%);
}

.section-warm-accent {
  background: linear-gradient(135deg, #FFE5E5 0%, #F4E8FF 100%);
}

.section-twilight {
  background: linear-gradient(135deg, #E8F4F8 0%, #F4E8FF 100%);
}

/* Comparison table with warmth */
.comparison-negative {
  background: linear-gradient(135deg, rgba(255, 235, 235, 0.6) 0%, rgba(254, 242, 242, 0.6) 100%);
  border-left: 4px solid #E63946;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.comparison-positive {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.6) 0%, rgba(220, 252, 231, 0.6) 100%);
  border-left: 4px solid #95D5B2;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.comparison-negative:hover,
.comparison-positive:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Final CTA section with dramatic gradient */
.final-cta {
  background: linear-gradient(135deg,
    #FF6B6B 0%,
    #FF8B5A 25%,
    #FFD93D 50%,
    #A8DADC 75%,
    #D4A5FF 100%);
  background-size: 400% 400%;
  animation: gradient-flow 20s ease infinite;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
}

/* Header with warm glass effect */
.header-glass {
  background: rgba(255, 248, 231, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 107, 107, 0.1);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.08);
}

/* Footer with warm dark gradient */
.footer-warm {
  background: linear-gradient(135deg, #2D2821 0%, #4D4942 100%);
}

/* Heading styles with warmth */
.heading-gradient {
  background: linear-gradient(135deg, #FF6B6B 0%, #FFD93D 50%, #FF8B5A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* Checkmark icons with warm green */
.checkmark-warm {
  color: #95D5B2;
  filter: drop-shadow(0 2px 4px rgba(149, 213, 178, 0.3));
}

/* Badge styling for "Popular" tags */
.badge-popular {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8B5A 100%);
  color: white;
  font-family: 'Golos Text', sans-serif;
  font-weight: 700;
  border-radius: 20px;
  box-shadow:
    0 4px 12px rgba(255, 107, 107, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.1);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Utility classes for warmth */
.text-warm-coral { color: #FF6B6B; }
.text-warm-peach { color: #FFD93D; }
.text-warm-orange { color: #FF8B5A; }
.text-soft-purple { color: #A8DADC; }
.text-sage-green { color: #95D5B2; }
.text-warm-gray { color: #6B6658; }

.bg-warm-coral { background-color: #FF6B6B; }
.bg-warm-peach { background-color: #FFD93D; }
.bg-cream { background-color: #FFF8E7; }

/* Border utilities */
.border-warm-coral { border-color: #FF6B6B; }
.border-sage-green { border-color: #95D5B2; }
.border-warm-red { border-color: #E63946; }

/* Hover effects for links in content */
.content-link {
  color: #FF6B6B;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.content-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #FF6B6B 0%, #FFD93D 100%);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-link:hover::after {
  width: 100%;
}

.content-link:hover {
  color: #FF8B5A;
}

/* Number animations for statistics */
.stat-number {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 600;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8B5A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle pattern overlays for sections */
.pattern-dots {
  background-image: radial-gradient(circle, rgba(255, 107, 107, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.pattern-grid {
  background-image:
    linear-gradient(rgba(255, 107, 107, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 107, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Loading states with warmth */
.loading-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 248, 231, 0.8) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 248, 231, 0.8) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .landing-cta {
    font-size: 1.125rem;
    padding: 1rem 2rem;
  }

  .feature-card,
  .pricing-card,
  .testimonial-card {
    border-radius: 20px;
  }

  .decorative-circle {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 640px) {
  .landing-hero::before {
    opacity: 0.5;
  }

  .landing-cta {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
}

/* Print styles - clean and warm */
@media print {
  .landing-hero,
  .auth-body {
    background: white;
    animation: none;
  }

  .feature-card,
  .pricing-card,
  .testimonial-card {
    box-shadow: none;
    border: 1px solid #EBE7DD;
  }
}
