:root {
  --background: #fafbfc;
  --foreground: #1e293b;
  --card: #ffffff;
  --card-foreground: #334155;
  --primary: #00d4ff;
  --primary-strong: #0094c6;
  --secondary: #7c3aed;
  --accent: #06ffa5;
  --accent-strong: #059669;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --destructive: #ff4757;
  --whatsapp: #25d366;
  --radius: 0.75rem;
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  --gradient: linear-gradient(135deg, #00d4ff, #06ffa5, #7c3aed);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(0, 212, 255, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--foreground);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Utilidades de marca Sukoi ---------- */

.gradient-text {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 5s ease-in-out infinite;
}

.cyber-gradient {
  background: linear-gradient(135deg, #00d4ff, #06ffa5, #7c3aed, #ff6b6b);
  background-size: 400% 400%;
  animation: gradient-shift 7s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.badge-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(6, 255, 165, 0.7);
  animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 255, 165, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(6, 255, 165, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 255, 165, 0);
  }
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease;
}

.btn svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
}

.btn-primary {
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 148, 198, 0.25);
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.28);
}

.btn-outline {
  background: var(--card);
  border-color: var(--primary);
  color: var(--primary-strong);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1fb857;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.15rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

.btn-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
}

/* ---------- Cabecera de vidrio ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(250, 251, 252, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(250, 251, 252, 0.88);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  width: fit-content;
  color: var(--muted-foreground);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-home svg {
  width: 14px;
  height: 14px;
}

.back-home:hover {
  color: var(--accent-strong);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  padding: 4px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(6, 255, 165, 0.2));
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(3deg);
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-by {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.74rem;
  font-weight: 600;
  -webkit-text-fill-color: var(--muted-foreground);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.55rem 1.05rem;
  border-radius: 2rem;
  color: var(--foreground);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.nav-cta {
  margin-left: 0.5rem;
}

.menu-btn {
  display: none;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--muted);
  color: var(--foreground);
  cursor: pointer;
}

.menu-btn svg {
  width: 24px;
  height: 24px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 90px;
  background-image: linear-gradient(rgba(0, 212, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: cyber-grid 20s linear infinite;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, var(--background), transparent);
  pointer-events: none;
}

@keyframes cyber-grid {
  to {
    background-position: 50px 50px;
  }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  pointer-events: none;
  animation: quantum-float 9s ease-in-out infinite;
}

.blob-1 {
  top: 90px;
  left: -60px;
  width: 260px;
  height: 260px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.blob-2 {
  right: -80px;
  bottom: 40px;
  width: 340px;
  height: 340px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  opacity: 0.3;
  animation-delay: -4s;
}

.blob-3 {
  top: 45%;
  left: 38%;
  width: 140px;
  height: 140px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  opacity: 0.25;
  animation-delay: -2s;
}

@keyframes quantum-float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(12px, -18px);
  }
  66% {
    transform: translate(-10px, 10px);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.hero h1 {
  margin: 1.4rem 0 1.2rem;
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
}

.nowrap {
  white-space: nowrap;
}

.hero-lead {
  max-width: 36rem;
  color: var(--muted-foreground);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
}

.hero-lead strong {
  color: var(--foreground);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-ctas .btn-primary {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.btn-stack {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  font-weight: 700;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(6, 255, 165, 0.25);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 900;
}

.platform-note {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--primary);
  border-radius: var(--radius);
  background: rgba(0, 212, 255, 0.06);
  color: var(--foreground);
  font-size: 0.95rem;
}

.platform-note.visible {
  display: block;
}

/* ---------- Mockup del producto ---------- */

.mockup {
  position: relative;
}

.app-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.16), 0 0 0 8px rgba(255, 255, 255, 0.5);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.mockup:hover .app-window {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted-foreground);
}

.window-bar i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-bar span {
  margin-left: 0.5rem;
}

.window-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 360px;
}

.demo-form {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.2rem;
  border-right: 1px solid var(--border);
  background: #fbfdff;
}

.demo-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-step b {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  font-size: 0.72rem;
}

.demo-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--card-foreground);
}

.demo-form input,
.demo-form select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--foreground);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-form input:focus,
.demo-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
}

.demo-hint {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.demo-hint strong {
  color: var(--secondary);
}

.doc {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1.4rem 1.4rem 1.2rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.78rem;
  color: #1f2937;
  background: linear-gradient(#fff, #fff) padding-box;
}

.doc-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.doc-meta {
  display: flex;
  justify-content: space-between;
  color: #475569;
}

.doc-line {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e5e7eb;
}

.doc-line small {
  display: block;
  color: #64748b;
  font-family: 'Nunito', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.doc-amount {
  font-size: 1.15rem;
  font-weight: 700;
  color: #163552;
}

.doc-words {
  min-height: 2.4em;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: rgba(6, 255, 165, 0.12);
  font-weight: 700;
  color: #065f46;
  transition: background 0.4s ease;
}

.doc-words.flash {
  background: rgba(0, 212, 255, 0.22);
}

.doc-sign {
  margin-top: 0.6rem;
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.35rem;
  color: #163552;
}

.doc-sign-line {
  width: 60%;
  border-top: 1px solid #94a3b8;
  padding-top: 0.2rem;
  font-size: 0.68rem;
  color: #64748b;
}

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 800;
  animation: float 6s ease-in-out infinite;
}

.floating-chip .chip-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
}

.chip-pdf {
  top: -18px;
  right: -14px;
}

.chip-pdf .chip-icon {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.chip-paid {
  bottom: -20px;
  left: -22px;
  animation-delay: -3s;
}

.chip-paid .chip-icon {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.floating-chip small {
  display: block;
  color: var(--muted-foreground);
  font-weight: 700;
}

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

/* ---------- Franja de público ---------- */

.audience {
  position: relative;
  z-index: 3;
  padding: 1.4rem 0;
  border-block: 1px solid var(--border);
  background: var(--card);
}

.audience-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem 1.6rem;
  color: var(--muted-foreground);
  font-weight: 700;
}

.audience-inner strong {
  color: var(--foreground);
}

.audience-tag {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--muted);
  color: var(--card-foreground);
  font-size: 0.92rem;
}

/* ---------- Secciones ---------- */

.section {
  position: relative;
  padding: 100px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--background), var(--muted) 40%, var(--background));
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(5, 150, 105, 0.12) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.6;
  pointer-events: none;
}

.section > .container {
  position: relative;
}

.section-head {
  max-width: 46rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head h2 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.section-head p {
  color: var(--muted-foreground);
  font-size: 1.15rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--muted);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.eyebrow::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.card {
  position: relative;
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 212, 255, 0.4);
}

.card h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--muted-foreground);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 16px;
  color: #fff;
  font-size: 1.45rem;
}

.icon-box svg {
  width: 1.6rem;
  height: 1.6rem;
}

.ib-cyan {
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
}

.ib-mint {
  background: linear-gradient(135deg, var(--accent-strong), #10b981);
}

.ib-violet {
  background: linear-gradient(135deg, var(--secondary), #a855f7);
}

.ib-coral {
  background: linear-gradient(135deg, #ff6b6b, #f59e0b);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

/* ---------- Dolor ---------- */

.pain-card {
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gradient);
}

.pain-quote {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
  color: var(--foreground) !important;
}

.pain-cost {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--destructive) !important;
}

/* ---------- Antes / después ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 4rem;
}

.compare-col {
  padding: 2rem;
  border-radius: 24px;
}

.compare-col h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  font-size: 1.35rem;
}

.compare-col ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-col li {
  display: flex;
  gap: 0.7rem;
  font-weight: 600;
}

.compare-col li::before {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.compare-before {
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--muted-foreground);
}

.compare-before li::before {
  content: '✕';
  background: rgba(255, 71, 87, 0.14);
  color: var(--destructive);
}

.compare-after {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--gradient) border-box;
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.12);
}

.compare-after li::before {
  content: '✓';
  background: rgba(6, 255, 165, 0.3);
  color: var(--accent-strong);
}

/* ---------- Pasos ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2.4rem;
  left: 16%;
  right: 16%;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
  opacity: 0.45;
}

.step {
  text-align: center;
}

.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 0 0 6px var(--background), 0 12px 30px rgba(0, 212, 255, 0.25);
  font-size: 1.7rem;
  font-weight: 900;
}

.step-num::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: 50%;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.step p {
  color: var(--muted-foreground);
}

.step-time {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 800;
}

.steps-total {
  margin-top: 3rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ---------- Control de cartera ---------- */

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 4rem;
}

.control-copy h2 {
  margin: 1rem 0;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
}

.control-lead {
  color: var(--muted-foreground);
  font-size: 1.15rem;
}

.control-list {
  display: grid;
  gap: 1.1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.control-list li {
  display: flex;
  gap: 1rem;
}

.control-list .icon-box {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 14px;
  font-size: 1.2rem;
}

.control-list strong {
  display: block;
  font-size: 1.05rem;
}

.control-list li > span:last-child {
  color: var(--muted-foreground);
}

.control-mockup .app-window {
  transform: perspective(1400px) rotateY(6deg) rotateX(2deg);
}

.control-mockup:hover .app-window {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}

.dash {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  background: #f7faf9;
}

.dash-hello {
  font-weight: 800;
  font-size: 1.05rem;
}

.dash-hello small {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.78rem;
  font-weight: 600;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.dash-kpi {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.dash-kpi small,
.dash-kpi span {
  color: var(--muted-foreground);
  font-size: 0.7rem;
  font-weight: 700;
}

.dash-kpi b {
  font-size: 1.02rem;
  font-weight: 900;
  white-space: nowrap;
}

.dash-kpi.is-main {
  border-color: rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, rgba(6, 255, 165, 0.12), #fff);
}

.dash-kpi.is-alert {
  border-color: rgba(255, 71, 87, 0.35);
  background: #fff7f7;
}

.dash-kpi.is-alert b,
.dash-list .is-alert {
  color: var(--destructive);
}

.dash-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  height: 120px;
  padding: 0.8rem 0.8rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.dash-chart span {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  align-items: end;
  column-gap: 3px;
}

.dash-chart i {
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
}

.dash-chart i:nth-child(1) {
  height: var(--c);
  background: #c7e9da;
}

.dash-chart i:nth-child(2) {
  height: var(--r);
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
}

.dash-chart em {
  grid-column: 1 / -1;
  padding: 0.2rem 0 0.35rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.reveal.visible .dash-chart i {
  animation: grow 0.9s ease-out both;
}

.dash-list {
  display: grid;
  margin: 0;
  padding: 0 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  list-style: none;
}

.dash-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  font-size: 0.85rem;
}

.dash-list li + li {
  border-top: 1px solid var(--border);
}

.dash-list small {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.72rem;
  font-weight: 600;
}

.chip-whatsapp {
  right: 28px;
  bottom: -26px;
  animation-delay: -2s;
}

.chip-whatsapp .chip-icon {
  background: var(--whatsapp);
}

@keyframes grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* ---------- Privacidad ---------- */

.privacy {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: #0f172a;
  color: #f1f5f9;
}

.privacy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(0, 212, 255, 0.25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(6, 255, 165, 0.18), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.2), transparent 55%);
}

.privacy-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.privacy h2 {
  margin: 1rem 0;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
}

.privacy p {
  color: #cbd5e1;
  font-size: 1.12rem;
}

.privacy .eyebrow {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.privacy-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.privacy-list strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.privacy-list span {
  color: #94a3b8;
}

.privacy-list .icon-box {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  font-size: 1.2rem;
}

/* ---------- Precios ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 1.3rem;
}

.plan {
  display: flex;
  flex-direction: column;
}

.plan-name {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-price {
  margin: 0.8rem 0 0.2rem;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
}

.plan-price small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted-foreground);
}

.plan-sub {
  min-height: 3rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.plan-features {
  display: grid;
  gap: 0.6rem;
  margin: 1.3rem 0 1.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.plan-features li {
  display: flex;
  gap: 0.55rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--accent-strong);
  font-weight: 900;
}

.plan .btn {
  margin-top: auto;
}

.plan-featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--gradient) border-box;
  box-shadow: 0 30px 60px rgba(124, 58, 237, 0.15);
  transform: translateY(-10px);
}

.plan-featured:hover {
  transform: translateY(-16px);
}

.plan-ribbon {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.3);
}

.pricing-note {
  margin-top: 2.2rem;
  text-align: center;
  color: var(--muted-foreground);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.9rem;
  max-width: 50rem;
  margin: 0 auto;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq details[open] {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.1);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--muted);
  color: var(--primary-strong);
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted-foreground);
}

/* ---------- CTA final ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  border-radius: 32px;
  text-align: center;
  color: #fff;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}

.final-cta > * {
  position: relative;
}

.final-cta h2 {
  max-width: 40rem;
  margin: 0 auto 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.25);
}

.final-cta p {
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(15, 23, 42, 0.25);
}

.btn-white {
  background: #fff;
  color: var(--foreground);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.btn-white:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.final-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.final-cta .version-line {
  margin: 1.4rem auto 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3.5rem 0 6rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-dev {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.footer-dev img {
  width: 44px;
  height: 44px;
}

.footer-dev strong {
  display: block;
  color: var(--foreground);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-strong);
}

.footer-copy {
  margin-top: 2rem;
  font-size: 0.88rem;
  text-align: center;
}

/* ---------- WhatsApp flotante y barra móvil ---------- */

.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  animation: whatsapp-pulse 2s infinite;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 2rem;
  height: 2rem;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

.mobile-bar {
  display: none;
}

/* ---------- Animación de entrada ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-featured {
    transform: none;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero {
    padding-top: 120px;
  }

  .hero-grid,
  .privacy-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .control-grid {
    gap: 3rem;
  }

  .control-mockup .app-window {
    transform: none;
  }

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

  .hero-lead {
    margin-inline: auto;
  }

  .hero-ctas,
  .trust-list {
    justify-content: center;
  }

  .app-window {
    transform: none;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .grid-3,
  .steps,
  .compare {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(250, 251, 252, 0.97);
    border-bottom: 1px solid var(--border);
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .nav-links.open {
    max-height: 420px;
    padding: 0.8rem 1.25rem 1.2rem;
    opacity: 1;
  }

  .nav-cta {
    margin: 0.4rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .demo-form {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .floating-chip {
    display: none;
  }

  .dash-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .dash-kpi:last-child {
    grid-column: 1 / -1;
  }

  .grid-4,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
    align-items: center;
  }

  .whatsapp-float {
    bottom: 5.4rem;
    right: 1rem;
    width: 3.4rem;
    height: 3.4rem;
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 55;
    display: flex;
    gap: 0.6rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(110%);
    transition: transform 0.35s ease;
  }

  .mobile-bar.visible {
    transform: none;
  }

  .mobile-bar .btn {
    flex: 1;
    padding: 0.8rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
