/* ========== RED THEME WITH LIGHTNING ANIMATION - ENLARGED FOOTER ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --goto-primary: #DC2626;
  --goto-primary-light: #EF4444;
  --goto-primary-dark: #B91C1C;
  --goto-dark: #1E1B2E;
  --goto-dark-bg: #0F0D1A;
  --goto-gray: #6B7280;
  --goto-light: #FEF2F2;
  --goto-white: #FFFFFF;
  --cyan-accent: #DC2626;
  --whatsapp-green: #25D366;
  --footer-bg: #1a0a0a;
  --footer-bg-darker: #0f0606;
  --section-gap: 5rem;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--goto-white);
  color: var(--goto-dark);
  overflow-x: hidden;
  position: relative;
}

/* Lightning Animation Overlay */
.lightning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  background: transparent;
  opacity: 0;
  transition: opacity 0.05s ease;
}

@keyframes lightningFlash {
  0% {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
  }

  5% {
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 200, 0.9), rgba(255, 200, 100, 0.4));
    box-shadow: 0 0 50px 20px rgba(255, 255, 200, 0.8);
  }

  10% {
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 220, 0.95), rgba(255, 180, 80, 0.5));
    box-shadow: 0 0 80px 30px rgba(255, 220, 100, 0.9);
  }

  15% {
    background: radial-gradient(circle at 40% 80%, rgba(255, 255, 200, 0.85), rgba(255, 150, 50, 0.4));
    box-shadow: 0 0 60px 25px rgba(255, 200, 80, 0.8);
  }

  20% {
    background: radial-gradient(circle at 60% 30%, rgba(255, 255, 210, 0.9), rgba(255, 160, 60, 0.45));
    box-shadow: 0 0 70px 28px rgba(255, 210, 90, 0.85);
  }

  25% {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
  }

  100% {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
  }
}

.lightning-overlay.active {
  animation: lightningFlash 0.8s ease-out forwards;
}

/* Random lightning bolt effect */
@keyframes lightningBolt {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  10% {
    opacity: 1;
    transform: scaleX(1);
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scaleX(0);
  }
}

.lightning-bolt {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: linear-gradient(180deg,
      rgba(255, 255, 200, 0) 0%,
      rgba(255, 255, 180, 0.3) 10%,
      rgba(255, 255, 150, 0.6) 20%,
      rgba(255, 255, 120, 0.8) 30%,
      rgba(255, 255, 100, 0.9) 40%,
      rgba(255, 255, 80, 1) 50%,
      rgba(255, 255, 100, 0.9) 60%,
      rgba(255, 255, 120, 0.8) 70%,
      rgba(255, 255, 150, 0.6) 80%,
      rgba(255, 255, 180, 0.3) 90%,
      rgba(255, 255, 200, 0) 100%);
  clip-path: polygon(45% 0%, 55% 0%, 52% 30%, 58% 25%, 53% 50%, 60% 45%, 54% 70%, 48% 65%, 50% 85%, 44% 80%, 46% 60%, 40% 65%, 44% 40%, 38% 45%, 42% 20%, 36% 25%, 40% 10%);
  opacity: 0;
  animation: lightningBolt 0.4s ease-out forwards;
}

/* Pulsing glow animation on cards */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.2);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(220, 38, 38, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.app-card-elegant,
.pricing-card-professional,
.glass-card-elegant {
  animation: pulseGlow 3s infinite;
}

.app-card-elegant:hover,
.pricing-card-professional:hover {
  animation: none;
}

/* Button lightning effect */
@keyframes buttonFlash {
  0% {
    text-shadow: 0 0 0px rgba(255, 255, 200, 0);
    box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.3);
  }

  50% {
    text-shadow: 0 0 8px rgba(255, 255, 200, 0.8);
    box-shadow: 0 4px 20px 0 rgba(220, 38, 38, 0.6), 0 0 15px rgba(255, 200, 100, 0.5);
  }

  100% {
    text-shadow: 0 0 0px rgba(255, 255, 200, 0);
    box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.3);
  }
}

.btn-primary-custom {
  animation: buttonFlash 2s infinite;
}

.btn-primary-custom:hover {
  animation: none;
}

/* Hero section lightning text effect */
@keyframes textLightning {
  0% {
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }

  50% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 5px rgba(220, 38, 38, 0.5);
  }

  100% {
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }
}

.main-title-elegant {
  animation: textLightning 3s infinite;
}

/* Spinner */
#spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
}

.elegant-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(220, 38, 38, 0.2);
  border-top: 3px solid var(--goto-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Navbar */
.navbar-elegant {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-link-elegant {
  color: var(--goto-dark) !important;
  font-weight: 500;
  margin: 0 0.25rem;
  padding: 0.6rem 1rem !important;
  transition: all 0.3s;
  border-radius: 40px;
}

.nav-link-elegant:hover,
.nav-link-elegant.active {
  color: var(--goto-primary) !important;
  background: rgba(220, 38, 38, 0.1);
}

.btn-primary-custom {
  background: linear-gradient(105deg, var(--goto-primary), var(--goto-primary-light));
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
  color: white;
  animation: none;
}

.btn-outline-cyan {
  background: transparent;
  border: 1.5px solid var(--cyan-accent);
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  color: var(--cyan-accent);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-cyan:hover {
  background: var(--cyan-accent);
  color: white;
}

/* Hero Section */
.hero-elegant {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a0a0a 0%, #2d0a0a 100%);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  margin: 0;
}

.hero-title-wrapper {
  background: rgba(220, 38, 38, 0.2);
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

.main-title-elegant {
  font-size: 4.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.title-sub-elegant {
  font-size: 1.5rem;
  font-weight: 500;
  color: #FEE2E2;
  margin-bottom: 1rem;
}

.hero-desc-elegant {
  max-width: 650px;
  margin: 1rem auto;
  color: #FEE2E2;
}

/* Stats Block */
.stats-wrapper {
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}

.stats-modern {
  background: white;
  border-radius: 60px;
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-number-elegant {
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
  color: var(--goto-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--goto-gray);
}

.stat-divider {
  width: 1px;
  height: 35px;
  background: rgba(0, 0, 0, 0.1);
}

.whatsapp-stat a {
  color: var(--whatsapp-green);
  text-decoration: none;
  font-weight: 700;
}

/* Glass Card */
.glass-card-elegant {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.1);
}

/* App Cards */
.app-card-elegant {
  background: white;
  border-radius: 28px;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid rgba(220, 38, 38, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.app-card-elegant:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(220, 38, 38, 0.2);
  animation: none;
}

.app-icon-elegant {
  width: 120px;
  margin-bottom: 1rem;
}

.btn-app-elegant {
  background: rgba(220, 38, 38, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.7rem;
  color: var(--goto-primary);
  text-decoration: none;
  margin: 0 0.2rem;
  display: inline-block;
  font-weight: 500;
}

.btn-app-elegant:hover {
  background: var(--goto-primary);
  color: white;
}

.text-muted-custom {
  color: var(--goto-gray);
}

/* Pricing Cards */
.pricing-section {
  background: var(--goto-light);
  padding: var(--section-gap) 0;
}

.pricing-card-professional {
  background: white;
  border-radius: 32px;
  padding: 1.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  height: 100%;
}

.pricing-card-professional:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 35px rgba(220, 38, 38, 0.15);
  animation: none;
}

.price-header {
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 1rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--goto-primary);
}

.price-period {
  font-size: 0.9rem;
  color: var(--goto-gray);
}

.price-features-elegant li {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features-elegant i {
  color: #10B981;
}

/* FAQ */
.faq-item-new {
  background: white;
  border-radius: 24px;
  margin-bottom: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-question-new {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--goto-dark);
}

.faq-answer-new {
  padding: 0 1.5rem 1.2rem 1.5rem;
  display: none;
  color: var(--goto-gray);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item-new.active .faq-answer-new {
  display: block;
}

/* Features */
.features-section {
  padding: var(--section-gap) 0;
  background: white;
}

.feature-item-elegant img {
  transition: transform 0.3s;
}

.feature-item-elegant img:hover {
  transform: scale(1.05);
}

/* Footer - ENLARGED, NO BORDER ON IMAGE */
.footer-elegant {
  background: linear-gradient(135deg, #1a0a0a 0%, #0f0606 100%);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
  border-top: 2px solid var(--goto-primary);
}

.footer-heading-elegant {
  color: var(--goto-primary-light);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.footer-links-elegant {
  list-style: none;
  padding-left: 0;
}

.footer-links-elegant li {
  margin-bottom: 0.8rem;
}

.footer-links-elegant a {
  color: #e5e7eb;
  text-decoration: none;
  transition: 0.2s;
  font-size: 1rem;
}

.footer-links-elegant a:hover {
  color: var(--goto-primary-light);
  padding-left: 5px;
}

.footer-links-elegant a i {
  color: var(--goto-primary);
  margin-right: 5px;
}

.footer-copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(220, 38, 38, 0.3);
  color: #9CA3AF;
  font-size: 0.95rem;
}

.footer-copyright a {
  color: var(--goto-primary-light);
  text-decoration: none;
  font-weight: 600;
}

.footer-copyright a:hover {
  color: var(--goto-primary);
  text-decoration: underline;
}

/* Footer image - NO BORDER */
.footer-app-box img {
  border: none !important;
  box-shadow: none;
}

.whatsapp-float-elegant {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: var(--whatsapp-green);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.back-to-top-elegant {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--goto-primary);
  width: 45px;
  height: 45px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  opacity: 0;
  transition: 0.3s;
  z-index: 100;
}

.back-to-top-elegant.visible {
  opacity: 1;
}

.back-to-top-elegant:hover {
  background: var(--goto-primary-light);
  color: white;
}

@media (max-width: 768px) {
  .main-title-elegant {
    font-size: 2.8rem;
  }

  .hero-desc-elegant {
    font-size: 0.9rem;
  }

  .stat-number-elegant {
    font-size: 1.2rem;
  }

  .stats-grid {
    gap: 0.5rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-content {
    background: transparent;
    margin: 0;
    padding: 1.5rem;
  }

  .footer-heading-elegant {
    font-size: 1.1rem;
  }

  .footer-links-elegant a {
    font-size: 0.9rem;
  }
}

.section-header-elegant h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded-4 {
  border-radius: 1rem;
}

html,
body {
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}