/* ========== MAX TV PRO THEME - SINGLE RED COLOR ========== */
:root {
  --max-white: #FFFFFF;
  --max-light-bg: #F8FAFE;
  --max-card-light: #FFFFFF;
  --max-soft-gray: #F1F5F9;
  --max-border-light: #E2E8F0;
  --max-red: #DC2626;
  --max-red-dark: #B91C1C;
  --max-red-glow: #EF4444;
  --max-text-dark: #0F172A;
  --max-text-muted: #475569;
  --max-gradient: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  --max-shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --max-shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --section-gap: 4rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--max-light-bg);
  color: var(--max-text-dark);
  overflow-x: hidden;
}

.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#DC2626 0.8px, transparent 0.8px);
  background-size: 32px 32px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* ========== ADVANCED ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }

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

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

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

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

/* Animation Classes */
.animate-fade-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-down {
  animation: fadeInDown 0.8s ease forwards;
}

.animate-fade-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-right {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-scale {
  animation: scaleIn 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

.animate-bounce {
  animation: bounceIn 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

.pulse-animation {
  animation: pulseGlow 2s infinite;
}

/* Hover animations */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

.hover-scale:hover {
  transform: scale(1.05);
}

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

.elegant-spinner {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(220, 38, 38, 0.15);
  border-top: 3px solid var(--max-red);
  border-right: 3px solid var(--max-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ========== FIXED STICKY NAVBAR ========== */
.navbar-elegant {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.5rem 2rem;
  border-bottom: 1px solid var(--max-border-light);
  transition: all 0.3s ease;
}

/* Ensure navbar stays sticky properly */
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand img {
  filter: drop-shadow(8px 12px 20px rgba(0, 0, 0, 0.6));
  transition: all 0.3s ease;
}

.navbar-brand img:hover {
  filter: drop-shadow(10px 15px 25px rgba(0, 0, 0, 0.7));
  transform: scale(1.02);
}

.nav-link-elegant {
  color: var(--max-text-muted);
  font-weight: 500;
  margin: 0 0.25rem;
  padding: 0.6rem 1rem;
  transition: all 0.3s ease;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

.nav-link-elegant::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--max-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-elegant:hover::before,
.nav-link-elegant.active::before {
  width: 60%;
}

.nav-link-elegant:hover,
.nav-link-elegant.active {
  color: var(--max-red);
  background: rgba(220, 38, 38, 0.08);
}

.btn-blue,
.btn-outline-red,
.btn-red {
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.btn-blue:hover,
.btn-outline-red:hover,
.btn-red:hover {
  transform: translateY(-3px);
}

.btn-blue {
  background: linear-gradient(95deg, var(--max-red), var(--max-red-glow));
  border: none;
  padding: 8px 24px;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(220, 38, 38, 0.2);
}

.btn-blue:hover {
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
  color: white;
}

.btn-outline-red {
  background: transparent;
  border: 1.5px solid var(--max-red);
  padding: 6px 22px;
  border-radius: 40px;
  color: var(--max-red);
  font-weight: 600;
  text-decoration: none;
}

.btn-outline-red:hover {
  background: var(--max-red);
  color: white;
}

.btn-red {
  background: var(--max-red);
  border: none;
  padding: 10px 28px;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn-red:hover {
  background: var(--max-red-dark);
  color: white;
}

/* HERO SECTION */
.hero-elegant {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  animation: scaleIn 1.5s ease forwards;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-text-box {
  background: rgba(255, 255, 255, 0.92);
  padding: 2.5rem 2.8rem;
  border-radius: 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.2);
  max-width: 800px;
  margin: 0 auto;
  animation: bounceIn 0.9s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

.hero-title-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(220, 38, 38, 0.12);
  padding: 0.4rem 1.2rem;
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--max-red);
}

.main-title-elegant {
  font-family: 'Space Grotesk', monospace;
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0F172A, var(--max-red), var(--max-red-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -1.5px;
}

.title-sub-elegant {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--max-red);
  margin-bottom: 1rem;
}

.hero-desc-elegant {
  max-width: 620px;
  margin: 1rem auto;
  color: var(--max-text-dark);
  font-size: 1rem;
}

/* STATS */
.stats-modern {
  background: var(--max-card-light);
  border-radius: 60px;
  padding: 1rem 2rem;
  box-shadow: var(--max-shadow-sm);
  border: 1px solid var(--max-border-light);
  margin-top: -2.8rem;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.stat-card {
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number-elegant {
  font-weight: 800;
  font-size: 1.3rem;
  background: linear-gradient(90deg, var(--max-red), var(--max-red-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--max-border-light);
}

.whatsapp-stat a {
  font-weight: 700;
  text-decoration: none;
  color: var(--max-red) !important;
}

.glass-card-elegant {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  padding: 2rem;
  border: 1px solid var(--max-border-light);
  transition: all 0.4s ease;
}

.glass-card-elegant:hover {
  transform: translateY(-8px);
  box-shadow: var(--max-shadow-md);
}

.free-trial-wide {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
}

.app-card-elegant {
  background: var(--max-card-light);
  border-radius: 28px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid var(--max-border-light);
  height: 100%;
}

.app-card-elegant:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--max-red);
  box-shadow: var(--max-shadow-md);
}

.app-icon-elegant {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.app-card-elegant:hover .app-icon-elegant {
  transform: scale(1.1);
}

.btn-app-elegant {
  background: var(--max-soft-gray);
  border-radius: 40px;
  padding: 8px 25px;
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--max-text-dark);
  margin: 3px;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-app-elegant:hover {
  background: var(--max-red);
  color: white;
  transform: translateY(-2px);
}

.pricing-card-professional {
  background: var(--max-card-light);
  border-radius: 32px;
  padding: 1.8rem;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid var(--max-border-light);
  height: 100%;
}

.pricing-card-professional:hover {
  border-color: var(--max-red);
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--max-shadow-md);
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0F172A, var(--max-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-features-elegant li {
  margin: 0.8rem 0;
  font-size: 0.9rem;
  color: var(--max-text-muted);
  transition: all 0.3s ease;
}

.price-features-elegant li:hover {
  transform: translateX(5px);
  color: var(--max-red);
}

.price-features-elegant i {
  color: var(--max-red);
  margin-right: 10px;
}

.faq-item-new {
  background: var(--max-card-light);
  border-radius: 24px;
  margin-bottom: 1rem;
  border: 1px solid var(--max-border-light);
  transition: all 0.3s ease;
}

.faq-item-new:hover {
  border-color: var(--max-red);
  transform: translateX(5px);
}

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

.faq-question-new:hover {
  color: var(--max-red);
}

.faq-answer-new {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
  color: var(--max-text-muted);
}

.faq-item-new.active .faq-answer-new {
  max-height: 220px;
  padding: 0 1.5rem 1.2rem 1.5rem;
}

.faq-item-new.active .faq-question-new i.fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s;
}

.feature-item-elegant {
  background: var(--max-card-light);
  border-radius: 32px;
  padding: 1.2rem;
  border: 1px solid var(--max-border-light);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  text-align: center;
}

.feature-item-elegant:hover {
  border-color: var(--max-red);
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--max-shadow-md);
}

.feature-item-elegant img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.feature-item-elegant:hover img {
  transform: scale(1.1) rotate(5deg);
}

.footer-elegant {
  background: var(--max-white);
  border-top: 1px solid var(--max-border-light);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

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

.footer-links-elegant li {
  margin-bottom: 0.6rem;
  transition: all 0.3s ease;
}

.footer-links-elegant li:hover {
  transform: translateX(8px);
}

.footer-links-elegant a {
  color: var(--max-text-muted);
  text-decoration: none;
  transition: 0.2s;
  font-size: 0.9rem;
}

.footer-links-elegant a:hover {
  color: var(--max-red);
}

.project-name {
  color: var(--max-red);
  font-weight: 800;
}

.whatsapp-float-elegant {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  padding: 10px 18px;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  z-index: 99;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  animation: pulseGlow 2s infinite;
  transition: all 0.3s ease;
}

.whatsapp-float-elegant:hover {
  transform: scale(1.1);
  background: #20b859;
}

.back-to-top-elegant {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--max-red);
  width: 42px;
  height: 42px;
  border-radius: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

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

.back-to-top-elegant:hover {
  background: var(--max-red-dark);
  transform: translateY(-5px);
}

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

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

  .stats-grid {
    justify-content: center;
    gap: 0.8rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-text-box {
    padding: 1.5rem 1.2rem;
    border-radius: 32px;
  }

  .feature-item-elegant img {
    width: 60px;
    height: 60px;
  }

  .navbar-elegant {
    padding: 0.5rem 1rem;
  }
}

.section-header-elegant h2 {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 6px 18px;
}

.border-top {
  border-top: 1px solid var(--max-border-light) !important;
}


html,
body {
  overflow-x: hidden;
}

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