/* =============================================
   NEXIORA AI — Premium Landing Page
   Dark SaaS · Tecnología · Conversión
   ============================================= */

/* === VARIABLES === */
:root {
  --bg:         #060810;
  --bg-2:       #080c14;
  --bg-3:       #0a0f1e;
  --surface:    rgba(255,255,255,0.04);
  --surface-2:  rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.08);
  --border-2:   rgba(255,255,255,0.12);

  --blue:       #1a6bff;
  --blue-light: #3d8cff;
  --cyan:       #00d4ff;
  --cyan-dim:   rgba(0,212,255,0.15);
  --violet:     #7c3aed;
  --violet-dim: rgba(124,58,237,0.15);
  --green:      #00e676;
  --green-dim:  rgba(0,230,118,0.15);

  --white:      #ffffff;
  --gray-1:     #c8d0e0;
  --gray-2:     #8892a4;
  --gray-3:     #4a5568;

  --grad-main:  linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-hero:  linear-gradient(135deg, #1a6bff 0%, #00d4ff 50%, #7c3aed 100%);
  --grad-text:  linear-gradient(120deg, #60a5fa 0%, #00e5ff 45%, #c084fc 100%);

  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --max-w:      1200px;
  --nav-h:      72px;

  --shadow-blue: 0 0 40px rgba(26,107,255,0.3);
  --shadow-cyan: 0 0 40px rgba(0,212,255,0.2);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* === UTILS === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  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: none;
}
.reveal-delay { transition-delay: 0.2s; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(6,8,16,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(6,8,16,0.95);
  border-bottom-color: var(--border-2);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-1);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: var(--surface); }
.btn-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--green);
  color: #000;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 50px;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.btn-nav:hover {
  background: #33ee8a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,230,118,0.35);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background: rgba(6,8,16,0.98);
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--gray-1);
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--white); background: var(--surface); }
.nav-mobile .btn-nav { margin-top: 8px; justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: rgba(26,107,255,0.22);
  top: -140px; left: -120px;
  animation: glowPulse 8s ease-in-out infinite;
}
.hero-glow-2 {
  width: 560px; height: 560px;
  background: rgba(0,212,255,0.15);
  top: 15%; right: -100px;
  animation: glowPulse 10s ease-in-out infinite reverse;
}
.hero-glow-3 {
  width: 460px; height: 460px;
  background: rgba(124,58,237,0.14);
  bottom: -80px; left: 38%;
  animation: glowPulse 12s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 32px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.2);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 4.8vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
/* Boost gradient text in hero title specifically */
.hero-title .gradient-text {
  background: linear-gradient(110deg, #7dd3fc 0%, #00f0ff 40%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0,224,255,0.35));
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-1);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26,107,255,0.45);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-pills span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gray-2);
}
.hero-pills span svg { color: var(--cyan); }

/* WhatsApp hero primary button */
.btn-wpp-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00c853 0%, #00e676 60%, #69f0ae 100%);
  color: #003d1a;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow:
    0 0 0 1px rgba(0,230,118,0.3),
    0 8px 24px rgba(0,200,83,0.35),
    0 0 60px rgba(0,230,118,0.15);
}
.btn-wpp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  opacity: 0;
  transition: var(--transition);
}
.btn-wpp-hero:hover::before { opacity: 1; }
.btn-wpp-hero:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(0,230,118,0.5),
    0 16px 40px rgba(0,200,83,0.5),
    0 0 80px rgba(0,230,118,0.25);
}
/* Pulse ring on wpp button */
.btn-wpp-hero::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50px;
  border: 2px solid rgba(0,230,118,0.4);
  animation: wppRing 2.5s ease-in-out infinite;
}
@keyframes wppRing {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.06); }
}

/* Demo secondary button */
.btn-demo-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gray-1);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 15px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: var(--transition);
}
.btn-demo-hero:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

/* MOCKUP upgrades */
.hero-right { position: relative; }
.mockup-wrap {
  position: relative;
  animation: floatMockup 6s ease-in-out infinite;
  /* Ambient glow around entire mockup */
  filter: drop-shadow(0 0 40px rgba(0,212,255,0.08)) drop-shadow(0 0 80px rgba(26,107,255,0.06));
}
@keyframes floatMockup {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.wa-panel {
  background: linear-gradient(160deg, #0d1829 0%, #080d1a 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 50px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 80px rgba(0,212,255,0.07),
    0 0 160px rgba(26,107,255,0.08);
  position: relative;
}
/* Top edge light */
.wa-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.6), rgba(124,58,237,0.4), transparent);
  z-index: 1;
}
/* Bottom glow reflection */
.wa-panel::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 10%; right: 10%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.12) 0%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
}
.wa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.wa-avatar {
  width: 38px; height: 38px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.wa-info { flex: 1; }
.wa-name { font-weight: 600; font-size: 0.9rem; }
.wa-status {
  font-size: 0.75rem;
  color: var(--gray-2);
  display: flex;
  align-items: center;
  gap: 5px;
}
.status-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
}
.wa-icon-wpp { color: var(--green); flex-shrink: 0; }
.wa-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
}
.wa-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
}
.wa-msg.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.wa-msg-in {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.wa-msg-out {
  background: linear-gradient(135deg, rgba(26,107,255,0.25), rgba(0,212,255,0.15));
  border: 1px solid rgba(0,212,255,0.2);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg-time {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-3);
  margin-top: 4px;
  text-align: right;
}
.wa-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--gray-2);
}
.wa-typing span {
  width: 6px; height: 6px;
  background: var(--gray-3);
  border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
}
.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* Float cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(13,24,41,0.95) 0%, rgba(8,13,26,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  font-size: 0.82rem;
  box-shadow:
    0 20px 48px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(255,255,255,0.04);
  z-index: 2;
}
.float-card-1 {
  top: -18px; left: -30px;
  animation: floatCard1 7s ease-in-out infinite;
}
.float-card-2 {
  top: 40%; right: -36px;
  animation: floatCard2 9s ease-in-out infinite;
}
.float-card-3 {
  bottom: -14px; left: -20px;
  animation: floatCard3 8s ease-in-out infinite;
}
@keyframes floatCard1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(4px,-8px); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(6px, 6px); }
}
@keyframes floatCard3 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-4px, -6px); }
}
.fc-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fc-green { background: var(--green-dim); color: var(--green); }
.fc-cyan  { background: var(--cyan-dim); color: var(--cyan); }
.fc-violet{ background: var(--violet-dim); color: #a78bfa; }
.fc-label { font-size: 0.7rem; color: var(--gray-2); }
.fc-value { font-weight: 700; font-size: 0.9rem; color: var(--white); }

/* Stats strip */
.stats-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 12px;
  overflow: hidden;
}
.stat-item {
  flex: 1;
  padding: 14px 16px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl { font-size: 0.72rem; color: var(--gray-2); margin-top: 2px; }
.stat-div { width: 1px; background: var(--border); height: 40px; }

/* =============================================
   TRUST STRIP
   ============================================= */
.trust-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.8rem;
  color: var(--gray-3);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trust-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gray-1);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 50px;
  transition: var(--transition);
}
.trust-tag:hover {
  background: var(--surface-2);
  color: var(--white);
  border-color: var(--border-2);
}
.trust-tag svg { color: var(--cyan); }

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section {
  padding: 120px 0;
  position: relative;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-1);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* =============================================
   PROBLEMA
   ============================================= */
.problema {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 100%);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,80,80,0.5), transparent);
  opacity: 0;
  transition: var(--transition);
}
.problem-card:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-4px); }
.problem-card:hover::before { opacity: 1; }
.pc-icon {
  width: 48px; height: 48px;
  background: rgba(255,80,80,0.1);
  border: 1px solid rgba(255,80,80,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b6b;
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.problem-card p { font-size: 0.9rem; color: var(--gray-1); line-height: 1.6; }

/* =============================================
   CÓMO FUNCIONA
   ============================================= */
.como-funciona {
  background: var(--bg-2);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.4;
}
.step-card {
  padding: 0 24px;
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 20px;
}
.step-line {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 100%;
  background: var(--border);
  display: none;
}
.step-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(26,107,255,0.15), rgba(0,212,255,0.1));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 24px;
  transition: var(--transition);
}
.step-card:hover .step-icon {
  background: linear-gradient(135deg, rgba(26,107,255,0.25), rgba(0,212,255,0.2));
  box-shadow: 0 0 24px rgba(0,212,255,0.2);
  transform: scale(1.05);
}
.step-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.step-card p { font-size: 0.9rem; color: var(--gray-1); line-height: 1.6; }

/* =============================================
   BENEFICIOS
   ============================================= */
.beneficios {
  background: var(--bg);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  cursor: default;
}
.benefit-card:hover {
  background: var(--surface-2);
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,212,255,0.1);
}
.ben-icon {
  width: 44px; height: 44px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 16px;
  transition: var(--transition);
}
.benefit-card:hover .ben-icon {
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}
.benefit-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.benefit-card p { font-size: 0.87rem; color: var(--gray-1); line-height: 1.6; }

/* =============================================
   DEMO
   ============================================= */
.demo-section {
  background: var(--bg-2);
}
.demo-wrap {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}
.demo-phone {
  background: linear-gradient(160deg, #0d1526 0%, #0a0f1e 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.demo-avatar {
  width: 36px; height: 36px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.demo-info strong { display: block; font-size: 0.9rem; font-weight: 600; }
.demo-info span {
  font-size: 0.75rem;
  color: var(--gray-2);
  display: flex;
  align-items: center;
  gap: 5px;
}
.demo-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 300px;
}
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  color: var(--gray-3);
  font-size: 0.85rem;
}
.demo-bar svg { color: var(--green); }

.demo-side h3 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.2;
}
.demo-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.demo-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.df-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--cyan);
}
.demo-features strong { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 3px; }
.demo-features div { font-size: 0.87rem; color: var(--gray-1); line-height: 1.5; }

/* =============================================
   IDEAL PARA
   ============================================= */
.ideal-para {
  background: var(--bg);
}
.ideal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ideal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}
.ideal-card:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  transform: translateY(-4px);
}
.ideal-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.ideal-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.ideal-card p { font-size: 0.87rem; color: var(--gray-1); line-height: 1.6; }

/* =============================================
   CTA FINAL
   ============================================= */
.cta-final {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.cta-glow {
  position: absolute;
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(26,107,255,0.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-inner .section-tag { display: inline-block; margin-bottom: 24px; }
.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-inner p {
  font-size: 1rem;
  color: var(--gray-1);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-xl { padding: 15px 30px; font-size: 1rem; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 0.87rem;
  color: var(--gray-2);
  line-height: 1.6;
  margin-top: 10px;
  max-width: 280px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  font-size: 0.87rem;
  color: var(--gray-2);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-3);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-pills { justify-content: center; }
  .hero-right { max-width: 500px; margin: 0 auto; }
  .cards-grid,
  .steps-grid,
  .benefits-grid,
  .ideal-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .demo-wrap { grid-template-columns: 1fr; }
  .demo-phone { max-width: 400px; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .cards-grid,
  .steps-grid,
  .benefits-grid,
  .ideal-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 20px; }
  .float-card-2 { right: -10px; }
  .float-card-1 { left: -10px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .btn-primary, .btn-ghost { padding: 11px 20px; font-size: 0.9rem; }
  .float-card { display: none; }
  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  animation: waFloatPulse 3s infinite;
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.02);
  background: #1ebe5d;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.wa-float svg {
  width: 28px;
  height: 28px;
}
@keyframes waFloatPulse {
  0% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  70% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 768px) {
  .wa-float {
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
  }
}
/* =============================================
   BOTÓN WHATSAPP CTA FINAL
   ============================================= */
.cta-final .btn-ghost[href*="wa.me"] {
  background: linear-gradient(135deg, #00c853 0%, #00e676 60%, #69f0ae 100%) !important;
  color: #003d1a !important;
  border: none !important;
  box-shadow:
    0 0 0 1px rgba(0,230,118,0.3),
    0 8px 24px rgba(0,200,83,0.35),
    0 0 60px rgba(0,230,118,0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cta-final .btn-ghost[href*="wa.me"] svg {
  color: #003d1a !important;
}

.cta-final .btn-ghost[href*="wa.me"]:hover {
  transform: translateY(-3px) !important;
  background: linear-gradient(135deg, #00c853 0%, #00e676 60%, #69f0ae 100%) !important;
  box-shadow:
    0 0 0 1px rgba(0,230,118,0.5),
    0 16px 40px rgba(0,200,83,0.5),
    0 0 80px rgba(0,230,118,0.25) !important;
}
