/*
Theme Name: Zupo
Theme URI: https://zupo.com
Author: Zupo
Description: Tema personalizado para Zupo - Agencia Web
Version: 1.0
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #05080F;
  --navy2:  #0C1220;
  --blue:   #6366F1;
  --blue2:  #818CF8;
  --violet: #A78BFA;
  --pink:   #EC4899;
  --green:  #10B981;
  --white:  #FFFFFF;
  --gray:   #6B7280;
  --gray2:  #9CA3AF;
  --border: rgba(255,255,255,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 7rem 0; }

/* ===== ANIMACIONES BASE ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes border-glow {
  0%, 100% { border-color: rgba(99,102,241,0.3); box-shadow: 0 0 20px rgba(99,102,241,0.1); }
  50% { border-color: rgba(167,139,250,0.6); box-shadow: 0 0 40px rgba(167,139,250,0.2); }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.34,1.56,0.64,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Línea que se dibuja */
@keyframes draw-line {
  from { width: 0; }
  to { width: 100%; }
}
.line-draw {
  height: 2px;
  background: linear-gradient(90deg, #6366F1, #A78BFA, #EC4899);
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.line-draw.visible { width: 100%; }

/* Número con glow al entrar */
@keyframes pop-in {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.pop-in {
  opacity: 0;
}
.pop-in.visible {
  animation: pop-in 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* ===== TEXTOS ===== */
.gradient-text {
  background: linear-gradient(135deg, #818CF8 0%, #A78BFA 50%, #EC4899 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

.shimmer-text {
  background: linear-gradient(90deg, #818CF8 0%, #ffffff 40%, #A78BFA 60%, #818CF8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  color: #818CF8;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
}

/* ===== BOTONES ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366F1, #A78BFA);
  background-size: 200% auto;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(99,102,241,0.4);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(99,102,241,0.55);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  font-family: inherit;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s;
}
.navbar.scrolled {
  background: rgba(5,8,15,0.9);
  backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.navbar-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.navbar-logo-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  -webkit-text-fill-color: rgba(255,255,255,0.35);
}
.navbar-logo .logo-brand {
  white-space: nowrap;
}
.navbar-logo .logo-brand span {
  background: linear-gradient(135deg, #818CF8, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  position: relative;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, #6366F1, #A78BFA);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.navbar-links a:hover { color: #fff; }
.navbar-links a:hover::after { transform: scaleX(1); }

.navbar-ig {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.navbar-ig:hover { color: #E1306C; }
.navbar-cta {
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  color: #818CF8;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.navbar-cta:hover {
  background: rgba(99,102,241,0.25);
  border-color: rgba(99,102,241,0.6);
  color: #fff;
  box-shadow: 0 0 20px rgba(99,102,241,0.3);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  background: #02040A;
}

#code-rain {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(2,4,10,0.1) 0%, rgba(2,4,10,0.85) 100%),
    linear-gradient(to bottom, rgba(2,4,10,0.6) 0%, transparent 20%, transparent 80%, rgba(2,4,10,0.9) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow { animation: fade-up 0.8s ease both; }

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s ease 0.15s both;
  text-shadow: 0 0 80px rgba(99,102,241,0.3);
}

/* Palabra rotatoria */
.hero-rotating-wrap {
  display: inline-block;
  position: relative;
}
.hero-rotating {
  display: inline-block;
  background: linear-gradient(135deg, #818CF8 0%, #A78BFA 50%, #EC4899 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  transition: opacity 0.2s, transform 0.2s;
}
.hero-cursor {
  display: inline-block;
  color: #818CF8;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  -webkit-text-fill-color: #818CF8;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.45);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fade-up 0.8s ease 0.3s both;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
  animation: fade-up 0.8s ease 0.45s both;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 20px;
  background: rgba(5,8,20,0.7);
  backdrop-filter: blur(20px);
  overflow: hidden;
  animation: fade-up 0.8s ease 0.6s both;
  box-shadow: 0 0 40px rgba(99,102,241,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero-stat {
  flex: 1;
  min-width: 130px;
  padding: 1.75rem 1.5rem;
  border-right: 1px solid rgba(99,102,241,0.12);
  text-align: center;
  transition: background 0.3s;
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(99,102,241,0.08); }
.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #818CF8, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

/* ===== TECH SECTION ===== */
.tech-section {
  background: var(--navy2);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 2rem;
}
.tech-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  transition: all 0.3s;
  cursor: default;
  min-width: 80px;
}
.tech-item svg {
  width: 28px; height: 28px;
  transition: transform 0.3s, filter 0.3s;
  filter: grayscale(30%) opacity(0.7);
}
.tech-item span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}
.tech-item:hover {
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(99,102,241,0.15);
}
.tech-item:hover svg { transform: scale(1.15); filter: grayscale(0%) opacity(1); }
.tech-item:hover span { color: rgba(255,255,255,0.7); }

/* Trust bar */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 1.5rem 2.5rem;
  transition: background 0.3s;
}
.trust-item:hover { background: rgba(99,102,241,0.06); }
.trust-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #818CF8, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.trust-label {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .trust-divider { display: none; }
  .trust-item { border-bottom: 1px solid var(--border); width: 100%; }
  .trust-item:last-child { border-bottom: none; }
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-header p {
  color: rgba(255,255,255,0.45);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SERVICIOS ===== */
.services {
  background: var(--navy2);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}
.services::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: float 13s ease-in-out infinite reverse;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.25rem;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366F1, #A78BFA, #EC4899);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(99,102,241,0.18), 0 0 0 1px rgba(99,102,241,0.1);
}
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.4s;
  position: relative;
  z-index: 1;
}
.service-card:hover .service-icon-wrap {
  background: rgba(99,102,241,0.22);
  border-color: rgba(99,102,241,0.5);
  box-shadow: 0 0 24px rgba(99,102,241,0.4);
  transform: scale(1.1) rotate(-3deg);
}
.service-card h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 0.6rem;
  position: relative; z-index: 1;
}
.service-card p {
  color: rgba(255,255,255,0.42); font-size: 14px; line-height: 1.7;
  position: relative; z-index: 1;
}
.service-tag {
  display: inline-block; margin-top: 1.25rem;
  font-size: 11px; font-weight: 700; color: #818CF8;
  letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; z-index: 1;
}

/* ===== CÓMO FUNCIONA ===== */
.how {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.how-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}
.how-orb-1 {
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 70%);
}
.how-orb-2 {
  width: 300px; height: 300px;
  top: 20%; right: 5%;
  background: radial-gradient(circle, rgba(236,72,153,0.08) 0%, transparent 70%);
  animation: float 9s ease-in-out infinite;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), rgba(167,139,250,0.4), rgba(236,72,153,0.3), transparent);
  animation: shimmer 3s linear infinite;
}

.step { text-align: center; position: relative; }
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(2,4,10,0.8);
  border: 1px solid rgba(99,102,241,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900;
  margin: 0 auto 1.25rem;
  color: #818CF8;
  transition: all 0.4s;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(99,102,241,0.15);
}
.step:hover .step-num {
  border-color: rgba(99,102,241,0.7);
  box-shadow: 0 0 40px rgba(99,102,241,0.5), 0 0 0 8px rgba(99,102,241,0.05);
  transform: scale(1.15);
  color: #fff;
  background: rgba(99,102,241,0.2);
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 0.6rem; }
.step p { color: rgba(255,255,255,0.4); font-size: 14px; line-height: 1.7; }

/* ===== PRECIOS ===== */
.pricing {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.pricing::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: float 11s ease-in-out infinite;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.pricing-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.25rem;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}
.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.1), transparent 70%);
  pointer-events: none;
}
.pricing-card:hover::after { opacity: 1; }
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 30px 70px rgba(99,102,241,0.15);
}
.pricing-card.featured {
  background: linear-gradient(160deg, rgba(99,102,241,0.15) 0%, rgba(167,139,250,0.06) 100%);
  border-color: rgba(99,102,241,0.4);
  animation: border-glow 4s ease-in-out infinite;
}
.pricing-card.featured:hover { animation: none; border-color: rgba(167,139,250,0.6); }

.pricing-popular {
  position: absolute;
  top: -1px; right: 28px;
  background: linear-gradient(135deg, #6366F1, #A78BFA);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.pricing-price {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.pricing-price .currency { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.5); margin-left: 4px; vertical-align: super; }
.pricing-period { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 0.3rem; }
.pricing-cuotas { font-size: 12px; color: #818CF8; font-weight: 600; margin-bottom: 1rem; }
.pricing-cuotas-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  color: #818CF8;
  font-size: 0.85rem;
  font-weight: 600;
}
.pricing-desc {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  margin-bottom: 1.75rem;
  line-height: 1.6;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.pricing-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.pricing-check {
  width: 18px; height: 18px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--green);
  margin-top: 1px;
}
.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.pricing-btn-main {
  background: linear-gradient(135deg, #6366F1, #A78BFA);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}
.pricing-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(99,102,241,0.5);
}
.pricing-btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
}
.pricing-btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

/* Plan mantenimiento */
.pricing-addon {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  transition: all 0.3s;
}
.pricing-addon:hover {
  border-color: rgba(99,102,241,0.25);
  background: rgba(99,102,241,0.04);
}
.pricing-addon-price {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ===== ADD-ONS ===== */
.addons-section {
  margin-top: 3.5rem;
}
.addons-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.addons-header h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 0.5rem;
}
.addons-header p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.addon-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.addon-card:hover {
  border-color: rgba(99,102,241,0.35);
  background: rgba(99,102,241,0.05);
  transform: translateY(-4px);
}
.addon-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.addon-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.addon-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.addon-price {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #818CF8, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.addon-price span {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.7;
}
.addons-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.addons-note a {
  color: #818CF8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.addons-note a:hover {
  color: #A78BFA;
}

/* ===== DUDAS CTA ===== */
.dudas-cta {
  margin-top: 2.5rem;
}
.dudas-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  flex-wrap: wrap;
}
.dudas-wa-icon {
  color: #25D366;
  flex-shrink: 0;
}
.dudas-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 200px;
}
.dudas-cta-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.dudas-cta-text span {
  font-size: 0.875rem;
  color: var(--muted);
}
.dudas-cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.dudas-cta-btn:hover {
  background: #20b858;
  transform: translateY(-2px);
}

/* ===== GARANTÍAS ===== */
.garantias {
  background: var(--navy2);
  position: relative;
  overflow: hidden;
}
.garantias::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(99,102,241,0.04) 0px,
    rgba(99,102,241,0.04) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
}
.garantias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.garantia-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.garantia-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366F1, #A78BFA, #EC4899);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.garantia-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  background: radial-gradient(circle at 0% 100%, rgba(99,102,241,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.garantia-card:hover::before { transform: scaleX(1); }
.garantia-card:hover::after { opacity: 1; }
.garantia-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(99,102,241,0.12);
}
.garantia-icon {
  font-size: 1.75rem;
  line-height: 1;
  transition: transform 0.3s;
  position: relative; z-index: 1;
}
.garantia-card:hover .garantia-icon { transform: scale(1.2) rotate(-5deg); }
.garantia-card h3 {
  font-size: 16px; font-weight: 700;
  position: relative; z-index: 1;
}
.garantia-card p {
  color: rgba(255,255,255,0.4); font-size: 14px; line-height: 1.7;
  position: relative; z-index: 1;
}

/* ===== PORTAFOLIO ===== */
.portfolio {
  background: var(--navy2);
  position: relative;
  overflow: hidden;
}
.portfolio::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: float 14s ease-in-out infinite reverse;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  transition: all 0.4s;
  cursor: pointer;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.portfolio-img {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-img-bg {
  position: absolute; inset: 0;
  transition: transform 0.5s;
}
.portfolio-card:hover .portfolio-img-bg { transform: scale(1.05); }
.portfolio-img-1 {
  background: linear-gradient(135deg, #0B2559 0%, #1B4FBB 100%);
}
.portfolio-img-placeholder {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(167,139,250,0.08));
  border: 2px dashed rgba(99,102,241,0.2);
}
.portfolio-emoji { font-size: 3.5rem; position: relative; z-index: 1; }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.portfolio-info { padding: 1.75rem; }
.portfolio-tag {
  font-size: 11px;
  font-weight: 700;
  color: #818CF8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.portfolio-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 0.4rem; }
.portfolio-info p { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.6; }

/* ===== CTA FINAL ===== */
.cta-final {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final-orb {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,0.14) 0%, rgba(167,139,250,0.05) 40%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(99,102,241,0.04) 0px,
    rgba(99,102,241,0.04) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
}
.cta-final h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 1rem; letter-spacing: -0.02em; }
.cta-final p { color: rgba(255,255,255,0.45); font-size: 17px; max-width: 480px; margin: 0 auto 3rem; line-height: 1.7; }
.cta-scarcity {
  margin-top: 1.5rem;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cta-scarcity-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

/* ===== FOOTER ===== */
.footer {
  background: #020408;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.footer-logo span {
  background: linear-gradient(135deg, #818CF8, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(129,140,248,0.6); margin-bottom: 4px; }
.footer-social { margin: 0.75rem 0 0.25rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social a:hover { color: #E1306C; }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 13px; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.3); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-links, .navbar-cta { display: none; }
  .hero-stats { flex-direction: column; gap: 0; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stat:last-child { border-bottom: none; }
  .steps-grid::before { display: none; }
  .section { padding: 5rem 0; }
  .pricing-addon { flex-direction: column; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .addons-grid { grid-template-columns: 1fr; }
}
