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

/* ===== CSS Variables ===== */
:root {
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --orange: #f97316;
  --peach: #fdba74;
  --pink: #f472b6;
  --soft-pink: #fce7f3;
  --bg-light: #faf5ff;
  --glass-bg: rgba(255,255,255,0.65);
  --glass-border: rgba(255,255,255,0.3);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Poppins', sans-serif; overflow-x: hidden; }

/* ===== Navbar ===== */
.navbar-glass {
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}
.navbar-glass.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 30px rgba(79,70,229,0.08);
}

/* ===== Mesh Gradient Backgrounds ===== */
.mesh-gradient {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(249,115,22,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(244,114,182,0.08) 0%, transparent 50%),
    linear-gradient(135deg, #faf5ff 0%, #fff7ed 50%, #fce7f3 100%);
}
.mesh-gradient-2 {
  background:
    radial-gradient(ellipse at 10% 90%, rgba(79,70,229,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(244,114,182,0.10) 0%, transparent 50%),
    linear-gradient(180deg, #f5f3ff 0%, #fff1f2 100%);
}
.mesh-gradient-dark {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(249,115,22,0.15) 0%, transparent 50%),
    linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3b0764 100%);
}

/* ===== Glass Card ===== */
.glass-card {
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(79,70,229,0.08), 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(79,70,229,0.14), 0 4px 12px rgba(0,0,0,0.06);
}

/* ===== Gradient Buttons ===== */
.btn-gradient {
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(79,70,229,0.3);
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79,70,229,0.4);
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}
.btn-orange {
  background: linear-gradient(135deg, var(--orange), #ea580c);
  box-shadow: 0 4px 15px rgba(249,115,22,0.3);
}
.btn-orange:hover {
  box-shadow: 0 8px 25px rgba(249,115,22,0.4);
}

/* ===== Floating Animations ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float-slow 8s ease-in-out infinite; }
.float-delay-1 { animation-delay: 1s; }
.float-delay-2 { animation-delay: 2s; }
.float-delay-3 { animation-delay: 3s; }

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Decorative Blobs ===== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* ===== Platform Logo Cards ===== */
.platform-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid #f3f4f6;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.platform-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(79,70,229,0.12);
  border-color: rgba(79,70,229,0.2);
}

/* ===== City Group Cards ===== */
.city-card {
  border-radius: 1.25rem;
  padding: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.city-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}
.city-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* ===== Step Cards ===== */
.step-connector {
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2rem;
  width: 4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--purple));
  opacity: 0.3;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(79,70,229,0.10);
  transform: translateY(-4px);
}

/* ===== Footer ===== */
.footer-gradient {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #3b0764 100%);
}

/* ===== Legal Page Styles ===== */
.legal-section {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.legal-section:hover {
  box-shadow: 0 6px 24px rgba(79,70,229,0.08);
}
.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #312e81;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.legal-section p, .legal-section li {
  color: #4b5563;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===== QR Code Placeholder ===== */
.qr-placeholder {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border: 3px dashed #a78bfa;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.qr-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f5f3ff; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--indigo), var(--purple));
  border-radius: 4px;
}

/* ===== Selection ===== */
::selection {
  background: rgba(79,70,229,0.2);
  color: #312e81;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .step-connector::after { display: none; }
  .hero-floating { display: none; }
}
