@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;800&display=swap");

/* Custom static styles to emulate project's utilities */
:root {
  --primary-orange: #ff6b00;
  --secondary-black: #1a1a1a;
  --accent-yellow: #ffd700;
  --accent-green: #25d366;
  --accent-red: #000000;
  --white: #ffffff;
  --light-gray: #fafafa;
  --dark-text: #000000;

  /* Functional mappings - LIGHT MODE */
  --background: #ffffff; /* White */
  --foreground: #000000; /* Black Text */
  --primary: var(--primary-orange);
  --secondary: var(--secondary-black);
  --muted: #6b7280;
  --border-subtle: rgba(255, 107, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 107, 0, 0.1);
  --shadow-color: rgba(255, 107, 0, 0.15);
  --card-bg: #ffffff;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: var(--background);
  color: var(--foreground);
}

.font-display {
  font-family: "Outfit", sans-serif;
}

.container-custom {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

/* Glass utilities (Light mode optimized) */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.2);
}

/* Glow button */
.glow-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-orange), #ff8c00);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-button:hover {
  background: linear-gradient(135deg, #ff8c00, var(--primary-orange));
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
  transform: translateY(-2px) scale(1.05);
}

/* Text gradient */
.text-gradient {
  background: linear-gradient(90deg, #ff6b00, #ffd700); /* Orange to Gold */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Header scrolled state */
#site-header {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

#site-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 107, 0, 0.3);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.2);
}

/* Mobile menu open */
#mobile-menu.open {
  max-height: 500px;
  padding-bottom: 1rem;
  background: #ffffff;
}

/* small helpers */
.rounded-3xl {
  border-radius: 1rem;
}

/* Toast */
#toast {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--dark-text);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive tweaks */
@media (min-width: 1024px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Footer styles */
footer {
  background: var(--secondary-purple);
  color: var(--white);
}

footer h4 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

footer ul li {
  list-style: none;
}

footer a,
footer p,
footer li {
  color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
  color: var(--accent-yellow);
  text-decoration: none;
}

@media (max-width: 768px) {
  footer .container-custom {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

/* Language transition */
.translatable {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-changing .translatable {
  opacity: 0;
  transform: translateY(5px);
}

/* Language select */
#lang-select,
#lang-select-mobile {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px 8px;
  border-radius: 6px;
  color: inherit;
}
/* Inverted for footer or dark headers */
footer #lang-select,
#mobile-menu #lang-select-mobile {
  border-color: rgba(255, 255, 255, 0.2);
  color: inherit;
}

/* Floating FABs */
.fab {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

/* Phone FAB (left) */
.fab-phone {
  background: #ffffff;
  color: var(--primary-purple);
  border: 1px solid rgba(94, 43, 122, 0.1);
  transform-origin: center;
  animation: pulse-ring 2s infinite; /* Continuous pulse */
}

/* Pulse Ring Animation */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 43, 122, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(94, 43, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(94, 43, 122, 0);
  }
}

.fab-phone:hover {
  transform: scale(1.15) !important; /* Force scale on hover */
  animation: none; /* Stop pulse on hover */
  box-shadow: 0 14px 30px rgba(255, 197, 6, 0.3);
}

/* WhatsApp FAB */
.fab-whatsapp {
  background: var(--accent-green);
  color: #fff;
  animation: bounce-slight 3s infinite; /* Continuous gentle bounce */
}

@keyframes bounce-slight {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.fab-whatsapp:hover {
  transform: scale(1.15) !important;
  animation: none;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
}

/* Hero visual floating icons */
.hero-bg {
  overflow: hidden;
}

.hero-network {
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  display: block;
  width: 64px;
  height: 64px;
  opacity: 0.8;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 8px 15px rgba(94, 43, 122, 0.15));
  transform-origin: center;
}

/* Premium Hero Styles (Light) */
#hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #313131 100%);
  min-height: auto;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  --mx: 0;
  --my: 0;
  position: relative;
}

@media (max-width: 768px) {
  #hero {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* Hide scroll indicator to save vertical space */
#hero .animate-bounce {
  display: none;
}

/* badge */
.badge-premium {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(94, 43, 122, 0.1);
  background: rgba(94, 43, 122, 0.05);
  color: var(--primary-purple);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Heading */
.hero-title {
  font-size: 2.25rem;
  line-height: 1.05;
  margin: 0 0 0.8rem;
  font-weight: 800;
  color: var(--dark-text);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.25rem;
  }
}

.hero-value {
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Features */
.hero-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Feature Pills */
.feature-pill:hover {
  background: rgba(94, 43, 122, 0.05);
  border-color: rgba(94, 43, 122, 0.2);
  transform: translateY(-2px);
}

/* Premium Button Styles */
.btn-primary-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-orange), #ff8c00);
  border-radius: 9999px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
}

.btn-primary-glow:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 35px rgba(255, 107, 0, 0.5);
  color: #fff;
  background: linear-gradient(135deg, #ff8c00, var(--primary-orange));
}

/* Shimmer Animation Effect */
@keyframes shimmer {
  0% {
    left: -100%;
    opacity: 0;
  }
  5% {
    opacity: 0.5;
  }
  50% {
    left: 200%;
    opacity: 0;
  }
  100% {
    left: 200%;
    opacity: 0;
  }
}

.btn-primary-glow::after,
.glow-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: shimmer 4s infinite;
}

.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: shimmer 4s infinite;
}

/* Stronger Hover for Sign Up Buttons */
.shimmer-effect:hover,
.btn-primary-glow:hover {
  transform: translateY(-4px) scale(1.05); /* Pop up and grow */
  box-shadow: 0 12px 30px rgba(94, 43, 122, 0.4);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  color: var(--primary-purple);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(94, 43, 122, 0.15);
  border-radius: 9999px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.btn-glass:hover {
  background: #ffffff;
  border-color: var(--primary-purple);
  box-shadow: 0 4px 15px rgba(94, 43, 122, 0.1);
}

/* Feature Pill */
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--dark-text);
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

/* Animations */
.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-medium {
  animation: floatMedium 5s ease-in-out infinite;
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatMedium {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Lead form card */
.lead-form-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 1);
  padding: 10px;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(94, 43, 122, 0.08); /* Purple shadow */
  backdrop-filter: blur(12px);
}

/* Testimonials */
/* Testimonials Marquee */
.testimonial-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 25px rgba(94, 43, 122, 0.05); /* subtle purple shadow */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(94, 43, 122, 0.12); /* enhanced glow */
  border-color: var(--primary-purple);
  background: #ffffff;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* simple linear shift */
}

.animate-marquee {
  animation: marquee 30s linear infinite;
  width: max-content;
}

.animate-marquee-slow {
  animation: marquee 100s linear infinite;
  width: max-content;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.testimonials-viewport {
  position: relative;
  overflow: hidden;
}

.testimonials-viewport .glass-card {
  flex: 0 0 clamp(300px, 33.33vw - 32px, 420px);
}

@media (max-width: 640px) {
  .testimonials-viewport .glass-card {
    flex: 0 0 clamp(240px, 85vw, 320px);
  }
}

.testimonials-viewport::before,
.testimonials-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 2;
}

.testimonials-viewport::before {
  left: 0;
  background: linear-gradient(to right, #000000 70%, rgba(0,0,0,0));
}

.testimonials-viewport::after {
  right: 0;
  background: linear-gradient(to left, #000000 70%, rgba(0,0,0,0));
}

.testimonial-photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 9999px;
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffffff;
}

.testimonial-quote {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  font-style: italic;
}

.testimonial-card .name {
  font-weight: 700;
  color: var(--primary-purple);
}

.testimonial-card .role {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .text-gradient {
    display: inline;
  }
}
