/* Affection Arc — Premium Light Romance Theme */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Premium Color Palette */
  --rose: #6d28d9; /* Primary Purple */
  --rose-light: #8b5cf6; /* Light Purple */
  --rose-deep: #4c1d95; /* Deep Purple */
  --rose-gold: #3b82f6; /* Primary Blue */
  --champagne: #34d399; /* Aqua */
  --lavender: #3b82f6; /* Blue instead of lavender */
  --lavender-light: #eff6ff; /* Light blue */
  --pearl: #f0f4ff; /* Light bg */
  --cream: #f8fafc;
  --blush: #e0e7ff; /* Light Indigo */
  --surface: #ffffff;
  --gold: #34d399; /* Aqua */
  --text-primary: #1e293b;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --white: #ffffff;
  
  /* Premium Gradients */
  --grad-main: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #3b82f6 100%);
  --grad-rose-gold: linear-gradient(135deg, #a78bfa 0%, #3b82f6 50%, #34d399 100%);
  --grad-aurora: linear-gradient(135deg, #a78bfa 0%, #3b82f6 50%, #34d399 100%);
  --grad-soft: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  
  /* Animation Speeds */
  --float-speed: 6s;
  --shimmer-speed: 2s;
  --stagger-delay: 100ms;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-size: 1.05rem;
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 45%, #f8fafc 100%);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Premium Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--blush); }
::-webkit-scrollbar-thumb { 
  background: var(--grad-rose-gold); 
  border-radius: 99px;
  border: 2px solid var(--blush);
}
::-webkit-scrollbar-thumb:hover { background: var(--grad-main); }

/* Premium Selection */
::selection { 
  background: var(--grad-rose-gold); 
  color: white; 
  text-shadow: none;
}

/* Typography */
.font-display { 
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Premium Animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes aurora-border {
  0%, 100% { border-color: rgba(124, 58, 237, 0.2); }
  25% { border-color: rgba(59, 130, 246, 0.2); }
  50% { border-color: rgba(167, 139, 250, 0.2); }
  75% { border-color: rgba(52, 211, 153, 0.2); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.5); }
}

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

@keyframes tilt {
  0%, 100% { transform: perspective(1000px) rotateX(0) rotateY(0); }
  25% { transform: perspective(1000px) rotateX(1deg) rotateY(1deg); }
  75% { transform: perspective(1000px) rotateX(-1deg) rotateY(-1deg); }
}

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

/* Animation Classes */
.animate-float { animation: float var(--float-speed) ease-in-out infinite; }
.animate-shimmer { 
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer var(--shimmer-speed) linear infinite;
}
.animate-aurora-border { animation: aurora-border 8s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-tilt { animation: tilt 10s ease-in-out infinite; }
.animate-gradient-text { 
  background-size: 200% auto;
  animation: gradient-text 3s ease-in-out infinite;
}

/* Premium Navbar */
.navbar-premium {
  background: rgba(255, 240, 245, 0.95); /* Slight rose/pink tint */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-premium.scrolled {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.2);
}

/* Premium Cards */
.premium-card {
  background: var(--grad-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 20px 60px rgba(124, 58, 237, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-radius: 2rem;
  border-top-left-radius: 40% 15%; /* Arc based style */
  border-top-right-radius: 40% 15%; /* Arc based style */
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Specific Arc Class for Hero Images and Containers */
.arc-style {
  border-top-left-radius: 50% 15%;
  border-top-right-radius: 50% 15%;
}

.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-aurora);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 30px 80px rgba(124, 58, 237, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.premium-card:hover::before {
  opacity: 0.1;
}

/* Aurora Border Card */
.aurora-card {
  border: 2px solid;
  border-image: var(--grad-aurora) 1;
  animation: aurora-border 8s ease-in-out infinite;
}

/* Premium Buttons */
.btn-premium {
  background: var(--grad-main);
  color: white;
  border-radius: 9999px;
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-premium:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.35);
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 9999px;
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 12px 32px rgba(126, 99, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-premium-secondary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(124, 58, 237, 0.15);
  border-color: var(--rose);
  background: white;
}

/* Gradient Text */
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
}

.gradient-text-animated {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-text 3s ease-in-out infinite;
}

/* Section Labels */
.section-label-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  background: rgba(124, 58, 237, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(4px);
}

/* Floating Elements */
.floating-element {
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Orb Backgrounds */
.orb-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.orb-rose { background: var(--rose-light); }
.orb-lavender { background: var(--lavender); }
.orb-peach { background: var(--champagne); }

/* Profile Card Hover Effect */
.profile-card-3d {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.profile-card-3d:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(124, 58, 237, 0.2);
}

/* Stagger Animation Helper */
.stagger-item:nth-child(1) { animation-delay: 0ms; }
.stagger-item:nth-child(2) { animation-delay: 100ms; }
.stagger-item:nth-child(3) { animation-delay: 200ms; }
.stagger-item:nth-child(4) { animation-delay: 300ms; }
.stagger-item:nth-child(5) { animation-delay: 400ms; }
.stagger-item:nth-child(6) { animation-delay: 500ms; }

/* Live Badge */
.live-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.live-badge::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: var(--rose);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Stat Counter */
.stat-counter {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Feature Icon Box */
.feature-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.15);
  transition: all 0.3s ease;
}

.feature-icon-box:hover {
  background: var(--grad-rose-gold);
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
}

.feature-icon-box:hover i {
  color: white !important;
}

/* Testimonial Card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 2rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-aurora);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(124, 58, 237, 0.1);
}

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

/* FAQ Accordion */
.faq-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 1.5rem;
  transition: all 0.3s ease;
}

.faq-accordion summary:hover {
  background: white;
  border-color: rgba(124, 58, 237, 0.2);
}

.faq-accordion[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}

.faq-accordion div {
  padding: 1.5rem;
  background: white;
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-top: none;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}

/* Footer */
.premium-footer {
  background: linear-gradient(135deg, #fff0f5 0%, #fff3f7 45%, #f8f4ff 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
  overflow: hidden;
}

.premium-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(120deg, transparent 0 45%, rgba(124, 58, 237, 0.05) 45% 100%),
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.05), transparent 32%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08), transparent 38%);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .premium-card {
    border-radius: 1.5rem;
  }
  
  .stat-counter {
    font-size: 2.5rem;
  }
  
  .btn-premium,
  .btn-premium-secondary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* Utility Classes */
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.transition-all-300 { transition: all 0.3s ease; }
.transition-all-400 { transition: all 0.4s ease; }
.transition-transform-300 { transition: transform 0.3s ease; }

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}