/* ========================================
   CONNECTINC — Landing Page Styles
   White Vibrant Theme — Per-Section Colors
   Premium Disruptive Animations
   ======================================== */

/* ===== RESET & VARIABLES ===== */
:root {
  /* Light Theme Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fc;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfe;

  /* Section Accent Colors */
  --orange: #FF6B00;
  --orange-light: #FFF7ED;
  --orange-lighter: #FFEDD5;
  --orange-soft: rgba(255, 107, 0, 0.08);
  --orange-border: rgba(255, 107, 0, 0.15);
  --orange-glow: rgba(255, 107, 0, 0.25);

  --blue: #2563EB;
  --blue-light: #EFF6FF;
  --blue-lighter: #DBEAFE;
  --blue-soft: rgba(37, 99, 235, 0.08);
  --blue-border: rgba(37, 99, 235, 0.15);

  --red: #EF4444;
  --red-light: #FEF2F2;
  --red-lighter: #FEE2E2;
  --red-soft: rgba(239, 68, 68, 0.08);
  --red-border: rgba(239, 68, 68, 0.15);

  --green: #16A34A;
  --green-light: #F0FDF4;
  --green-lighter: #DCFCE7;
  --green-soft: rgba(22, 163, 74, 0.08);
  --green-border: rgba(22, 163, 74, 0.15);

  --purple: #7C3AED;
  --purple-light: #F5F3FF;
  --purple-lighter: #EDE9FE;
  --purple-soft: rgba(124, 58, 237, 0.08);
  --purple-border: rgba(124, 58, 237, 0.15);

  /* KPI Colors */
  --positive: #16A34A;
  --negative: #EF4444;
  --positive-bg: rgba(22, 163, 74, 0.08);
  --negative-bg: rgba(239, 68, 68, 0.08);
  --positive-border: rgba(22, 163, 74, 0.2);
  --negative-border: rgba(239, 68, 68, 0.2);

  /* Gradients */
  --gradient-orange: linear-gradient(135deg, #FF6B00, #FFB800);
  --gradient-blue: linear-gradient(135deg, #2563EB, #06B6D4);
  --gradient-red: linear-gradient(135deg, #EF4444, #F97316);
  --gradient-green: linear-gradient(135deg, #16A34A, #84CC16);
  --gradient-purple: linear-gradient(135deg, #7C3AED, #A855F7);

  /* Text */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a4;
  --text-white: #ffffff;

  /* Borders */
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-light: rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

.cursor-glow.active {
  opacity: 1;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-orange);
  z-index: 10000;
  width: 0%;
  transition: width 0.05s linear;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-medium);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 2px;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
}

.nav-cta-btn {
  color: var(--text-white) !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--gradient-orange);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--orange-glow);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  overflow: hidden;
  z-index: 1;
  gap: 60px;
}

/* Video Background — white overlay */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(255, 255, 255, 0.55) 40%,
      rgba(255, 255, 255, 0.6) 70%,
      rgba(255, 255, 255, 0.9) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  text-align: left;
  flex-shrink: 0;
}

.hero-tag-wrapper {
  margin-bottom: 20px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange);
  padding: 8px 20px;
  border: 2px solid var(--orange-border);
  border-radius: 50px;
  background: var(--orange-soft);
  text-transform: uppercase;
  animation: tag-pulse 3s ease-in-out infinite;
}

@keyframes tag-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.15); }
  50% { box-shadow: 0 0 0 12px rgba(255, 107, 0, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.hero-title-accent {
  display: block;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer text effect */
.text-shimmer {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Hero Mockup */
.hero-mockup {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.hero-mockup-img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 30px 60px rgba(255, 107, 0, 0.15));
}

/* ===== CTA BUTTON ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 60px;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.cta-hero {
  background: var(--gradient-orange);
  color: var(--text-white);
  box-shadow: 0 8px 40px rgba(255, 107, 0, 0.3);
}

.cta-hero:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 107, 0, 0.4);
}

.cta-hero:active {
  transform: translateY(-1px) scale(0.99);
}

/* CTA Shine Animation */
.cta-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: cta-shine-sweep 3s ease-in-out infinite;
}

@keyframes cta-shine-sweep {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.cta-icon {
  font-size: 1.3rem;
}

.cta-arrow {
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.cta-button:hover .cta-arrow {
  transform: translateX(6px);
}

.cta-large {
  padding: 22px 52px;
  font-size: 1.15rem;
}

/* ===== HERO BADGES ===== */
.hero-badges {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.badge-glow:hover {
  background: var(--orange-soft);
  border-color: var(--orange-border);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.1);
}

.badge-icon {
  font-size: 1rem;
}

/* ===== FLOATING ANIMATION ===== */
.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce-down 2s ease-in-out infinite;
  z-index: 3;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--orange);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

.wave-hero-to-kpis { color: var(--blue-light); }
.wave-kpis-to-diagnostico { color: var(--red-light); }
.wave-diagnostico-to-arbitraje { color: var(--green-light); }
.wave-arbitraje-to-nodos { color: var(--purple-light); }
.wave-nodos-to-cierre { color: var(--orange-light); }

/* ===== SECTIONS COMMON ===== */
.section {
  position: relative;
  padding: var(--section-padding);
  z-index: 1;
}

.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.section-layout-reverse {
  grid-template-columns: 1.2fr 0.8fr;
}

.section-layout-reverse .section-visual {
  order: -1;
}

.section-header {
  margin-bottom: 48px;
}

.section-layout .section-header {
  text-align: left;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Section tag color variants */
.section-tag-orange {
  color: var(--orange);
  border: 1px solid var(--orange-border);
  background: var(--orange-soft);
}

.section-tag-blue {
  color: var(--blue);
  border: 1px solid var(--blue-border);
  background: var(--blue-soft);
}

.section-tag-red {
  color: var(--red);
  border: 1px solid var(--red-border);
  background: var(--red-soft);
}

.section-tag-green {
  color: var(--green);
  border: 1px solid var(--green-border);
  background: var(--green-soft);
}

.section-tag-purple {
  color: var(--purple);
  border: 1px solid var(--purple-border);
  background: var(--purple-soft);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

/* Title accent color variants */
.title-accent-orange {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-accent-blue {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-accent-red {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-accent-green {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-accent-purple {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Mockups */
.section-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-mockup {
  max-width: 100%;
  width: 420px;
  height: auto;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.1));
}

.section-visual-center {
  margin-top: 60px;
  text-align: center;
}

.section-mockup-wide {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.1));
}

/* ===== SECCIÓN 2: KPIs (AZUL) ===== */
.section-kpis {
  background: var(--blue-light);
}

.kpis-legend {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.kpi-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.kpi-legend-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
}

.kpi-legend-positive .kpi-legend-icon {
  background: var(--positive-bg);
  color: var(--positive);
  border: 1px solid var(--positive-border);
}

.kpi-legend-negative .kpi-legend-icon {
  background: var(--negative-bg);
  color: var(--negative);
  border: 1px solid var(--negative-border);
}

.kpis-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.kpi-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.kpi-positive {
  border-left: 4px solid var(--positive);
}

.kpi-positive:hover {
  border-color: var(--positive);
  box-shadow: 0 12px 40px rgba(22, 163, 74, 0.1);
}

.kpi-negative {
  border-left: 4px solid var(--negative);
}

.kpi-negative:hover {
  border-color: var(--negative);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.1);
}

.kpi-indicator {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.2rem;
}

.kpi-indicator-up {
  background: var(--positive-bg);
  color: var(--positive);
  border: 1px solid var(--positive-border);
}

.kpi-indicator-down {
  background: var(--negative-bg);
  color: var(--negative);
  border: 1px solid var(--negative-border);
}

.kpi-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.kpi-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.kpi-card p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== SECCIÓN 3: DIAGNÓSTICO (ROJO) ===== */
.section-diagnostico {
  background: var(--red-light);
}

.diagnostico-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diagnostico-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.diagnostico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-red);
  opacity: 0;
  transition: var(--transition-medium);
}

.diagnostico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(239, 68, 68, 0.08);
}

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

.card-icon-wrapper {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.card-icon-red {
  background: var(--red-soft);
  border: 1px solid var(--red-border);
}

.card-icon {
  font-size: 1.4rem;
}

.diagnostico-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.diagnostico-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.diagnostico-card p strong {
  color: var(--red);
  font-weight: 600;
}

/* Stat card */
.diagnostico-card-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--red-lighter);
  border-color: var(--red-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.stat-label strong {
  color: var(--red);
}

/* ===== SECCIÓN 4: ARBITRAJE (VERDE) ===== */
.section-arbitraje {
  background: var(--green-light);
}

.section-arbitraje .section-header {
  text-align: center;
}

.arbitraje-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.arbitraje-intro strong {
  color: var(--green);
  font-weight: 600;
}

.pricing-comparison {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.pricing-comparison::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-green);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
  position: relative;
}

.price-old {
  opacity: 0.55;
}

.price-old .price-label,
.price-old .price-value {
  position: relative;
}

.strikethrough-animated {
  position: relative;
  display: inline-block;
}

.strikethrough-animated::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.strikethrough-animated.struck::after {
  width: 100%;
}

.price-label {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.price-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.price-struck {
  color: var(--text-muted);
}

.price-x {
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 700;
  width: 28px;
  text-align: center;
}

.price-check {
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 700;
  width: 28px;
  text-align: center;
}

.price-divider {
  height: 1px;
  background: var(--border-light);
  margin: 12px 0;
}

.price-new {
  opacity: 1;
}

.price-new .price-label {
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-new-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--green);
  text-transform: uppercase;
}

.price-highlight {
  font-size: 1.6rem;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-currency {
  font-size: 0.8rem;
  -webkit-text-fill-color: var(--text-secondary);
}

.price-iva {
  font-size: 0.7rem;
  font-weight: 400;
  -webkit-text-fill-color: var(--text-muted);
}

.savings-banner {
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.savings-banner strong {
  color: var(--green);
}

.savings-icon {
  margin-right: 8px;
}

/* ===== SECCIÓN 5: NODOS DE PODER (MORADO) ===== */
.section-nodos {
  background: var(--purple-light);
}

.section-nodos .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.nodos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.nodo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 36px 40px;
  text-align: center;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nodo-card-purple:hover {
  background: var(--purple-lighter);
  border-color: var(--purple-border);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12);
  transform: translateY(-8px);
}

.nodo-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(124, 58, 237, 0.06);
  line-height: 1;
}

.nodo-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nodo-icon {
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
}

.nodo-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: rotate-ring 8s linear infinite;
}

.nodo-ring-purple {
  border: 2px solid rgba(124, 58, 237, 0.2);
}

.nodo-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.nodo-ring-purple::before {
  background: var(--purple);
}

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nodo-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.nodo-subtitle {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.nodo-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.nodo-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.nodo-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.nodo-feature {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 50px;
}

.nodo-feature-purple {
  background: var(--purple-soft);
  border: 1px solid var(--purple-border);
  color: var(--purple);
}

/* ===== SECCIÓN 6: CIERRE (NARANJA) ===== */
.section-cierre {
  background: var(--orange-light);
  text-align: center;
  padding: 140px 0;
}

.cierre-content {
  max-width: 700px;
  margin: 0 auto;
}

.cierre-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  color: var(--text-primary);
}

.cierre-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 48px;
}

.cierre-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.cierre-price-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cierre-price-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cierre-price-amount small {
  font-size: 1.2rem;
  -webkit-text-fill-color: var(--text-secondary);
}

.cierre-price-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cierre-guarantee {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.guarantee-icon {
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links-group h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-group a:hover {
  color: var(--orange);
}

.footer-social-icon {
  display: flex;
  align-items: center;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== PREMIUM REVEAL ANIMATIONS ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.19s; }
.stagger-4 { transition-delay: 0.26s; }
.stagger-5 { transition-delay: 0.33s; }
.stagger-6 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section-layout,
  .section-layout-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-layout-reverse .section-visual {
    order: 0;
  }

  .section-layout .section-header {
    text-align: center;
  }

  .diagnostico-grid {
    max-width: 600px;
    margin: 0 auto;
  }

  .nodos-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
    max-width: 700px;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-mockup-img {
    max-width: 300px;
  }

  .kpis-legend {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  /* Mobile Navbar */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: var(--transition-medium);
    border-left: 1px solid var(--border-subtle);
    z-index: 1001;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
  }

  .nav-cta-btn {
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    padding: 100px 20px 80px;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-video-overlay {
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.50) 30%,
        rgba(255, 255, 255, 0.55) 60%,
        rgba(255, 255, 255, 0.85) 100%
      );
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-mockup-img {
    max-width: 250px;
  }

  .cta-button {
    padding: 16px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .cta-large {
    padding: 18px 32px;
    font-size: 1rem;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .badge {
    width: 100%;
    justify-content: center;
  }

  .scroll-indicator {
    display: none;
  }

  /* Sections mobile */
  .section-container {
    padding: 0 20px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-tag {
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 5px 12px;
  }

  /* Pricing mobile */
  .pricing-comparison {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }

  .price-row {
    flex-wrap: wrap;
    gap: 4px;
    padding: 14px 0;
  }

  .price-label {
    flex-basis: 100%;
    font-size: 0.82rem;
  }

  .price-value {
    font-size: 0.85rem;
  }

  .price-highlight {
    font-size: 1.3rem;
  }

  .price-x, .price-check {
    width: 24px;
    font-size: 1rem;
  }

  .savings-banner {
    font-size: 0.85rem;
    padding: 14px 16px;
  }

  /* Nodos mobile */
  .nodo-card {
    padding: 36px 24px 32px;
  }

  .nodo-number {
    font-size: 2.5rem;
  }

  .nodo-icon-wrapper {
    width: 64px;
    height: 64px;
  }

  .nodo-features {
    gap: 6px;
  }

  /* KPIs mobile */
  .kpis-legend {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .kpi-card {
    padding: 20px 16px;
    gap: 12px;
  }

  .kpi-indicator {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .kpi-title {
    font-size: 1rem;
  }

  .kpi-card p {
    font-size: 0.85rem;
  }

  /* Cierre mobile */
  .cierre-price-amount {
    font-size: 2.5rem;
  }

  .section-cierre {
    padding: 100px 0;
  }

  .cierre-text {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  .cierre-guarantee {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8rem;
  }

  /* Footer mobile */
  .footer-top {
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links-group ul {
    align-items: center;
  }

  /* Mockups mobile */
  .section-mockup {
    width: 300px;
  }

  .section-mockup-wide {
    max-width: 100%;
  }

  /* Wave dividers smaller on mobile */
  .wave-divider svg {
    height: 50px;
  }

  /* Hide cursor glow on mobile */
  .cursor-glow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stat-number {
    font-size: 3.5rem;
  }

  .diagnostico-card {
    padding: 24px 18px;
  }

  .diagnostico-card h3 {
    font-size: 1.1rem;
  }

  .diagnostico-card p {
    font-size: 0.88rem;
  }

  .cta-button {
    padding: 14px 20px;
    font-size: 0.88rem;
    gap: 8px;
  }

  .cta-large {
    padding: 16px 24px;
    font-size: 0.92rem;
  }

  .nav-logo-text {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
  }

  .nav-logo-img {
    width: 30px;
    height: 30px;
  }

  .pricing-comparison {
    padding: 22px 14px;
  }

  .price-label {
    font-size: 0.78rem;
  }

  .price-new-tag {
    font-size: 0.6rem;
  }

  .hero-mockup-img {
    max-width: 200px;
  }

  .section-mockup {
    width: 250px;
  }
}
