/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: ui-monospace, Menlo, Monaco, Consolas, "Fira Code", monospace;
}

/* VARIABLES */
:root {
  --text: #020617;
  --muted: #6b7280;
  --border: rgba(148, 163, 184, 0.45);
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --accent-2: #38bdf8;
  --accent-2-soft: rgba(56, 189, 248, 0.12);
  --panel: #f7f8fa;
  --panel-soft: #eef1f6;
}

/* LAYOUT GENERAL */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--text);
  overflow-x: hidden;
}

main {
  flex: 1;
}

/* ===========================
   FONDO ANIMADO · LUCIÉRNAGAS
=========================== */

.bg-fireflies {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #ffffff;
  overflow: hidden;
}

.firefly {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(190, 242, 100, 0.8);
  filter: blur(5px);
  box-shadow: 0 0 25px rgba(190, 242, 100, 1);
  opacity: 0;
  animation:
    firefly-move 22s ease-in-out infinite,
    firefly-blink 3s ease-in-out infinite;
}

/* posiciones */
.firefly:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.firefly:nth-child(2) { top: 20%; left: 70%; animation-delay: 1s; }
.firefly:nth-child(3) { top: 65%; left: 25%; animation-delay: 2s; }
.firefly:nth-child(4) { top: 40%; left: 40%; animation-delay: 3s; }
.firefly:nth-child(5) { top: 75%; left: 80%; animation-delay: 4s; }
.firefly:nth-child(6) { top: 15%; left: 50%; animation-delay: 5s; }
.firefly:nth-child(7) { top: 30%; left: 10%; animation-delay: 6s; }
.firefly:nth-child(8) { top: 55%; left: 60%; animation-delay: 7s; }
.firefly:nth-child(9) { top: 82%; left: 35%; animation-delay: 8s; }
.firefly:nth-child(10){ top: 12%; left: 85%; animation-delay: 9s; }
.firefly:nth-child(11){ top: 50%; left: 90%; animation-delay: 10s; }
.firefly:nth-child(12){ top: 88%; left: 15%; animation-delay: 11s; }
.firefly:nth-child(13){ top: 28%; left: 30%; animation-delay: 12s; }
.firefly:nth-child(14){ top: 60%; left: 5%;  animation-delay: 13s; }
.firefly:nth-child(15){ top: 35%; left: 80%; animation-delay: 14s; }
.firefly:nth-child(16){ top: 5%;  left: 35%; animation-delay: 15s; }
.firefly:nth-child(17){ top: 45%; left: 55%; animation-delay: 16s; }
.firefly:nth-child(18){ top: 70%; left: 45%; animation-delay: 17s; }
.firefly:nth-child(19){ top: 90%; left: 70%; animation-delay: 18s; }
.firefly:nth-child(20){ top: 22%; left: 55%; animation-delay: 19s; }
.firefly:nth-child(21){ top: 15%; left: 25%; animation-delay: 1.5s; }
.firefly:nth-child(22){ top: 35%; left: 75%; animation-delay: 2.5s; }
.firefly:nth-child(23){ top: 78%; left: 52%; animation-delay: 3.5s; }
.firefly:nth-child(24){ top: 60%; left: 15%; animation-delay: 4.5s; }
.firefly:nth-child(25){ top: 45%; left: 85%; animation-delay: 5.5s; }

@keyframes firefly-move {
  0%   { transform: translate3d(0,0,0) scale(1); }
  25%  { transform: translate3d(20vw, -15vh, 0) scale(1.3); }
  50%  { transform: translate3d(-15vw, 10vh, 0) scale(0.9); }
  75%  { transform: translate3d(15vw, 20vh, 0) scale(1.4); }
  100% { transform: translate3d(-10vw, -10vh, 0) scale(1); }
}

@keyframes firefly-blink {
  0%, 100% { opacity: 0; }
  30%      { opacity: 0.8; }
  50%      { opacity: 1; }
  70%      { opacity: 0.4; }
}

/* Contenido por encima del fondo */
header,
main,
footer {
  position: relative;
  z-index: 1;
}

/* ===========================
   HEADER
=========================== */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand .name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.brand .sub {
  font-size: 11px;
  color: #cbd5e1;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e5e7eb;
  font-size: 11px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* BOTONES GENERALES */
.btn-primary,
.btn-outline,
.btn-ghost {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #020617;
  font-weight: 600;
}

.btn-primary:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-style: dashed;
  border-color: var(--border);
  color: #020617;
}

.btn-outline:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

/* ===========================
   SECCIONES GENERALES
=========================== */

.slide-section {
  padding: 64px 16px;
}

.hero-inner,
.section-inner {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
}

/* Labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-size: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.section-title {
  font-size: 24px;
  margin: 12px 0 4px;
  color: #020617;
}

.section-sub {
  font-size: 13px;
  color: var(--muted);
  max-width: 560px;
}

/* Grid general */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 14px 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  border-color: rgba(148, 163, 184, 0.85);
  background: var(--panel-soft);
}

.card h3 {
  margin-bottom: 6px;
  font-size: 15px;
  color: #020617;
}

.card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
  border: 1px solid transparent;
}

.badge-green {
  background: var(--accent-soft);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.7);
}

.badge-blue {
  background: var(--accent-2-soft);
  color: #0f172a;
  border-color: rgba(56, 189, 248, 0.7);
}

.badge-red {
  background: rgba(248, 113, 113, 0.09);
  color: #b91c1c;
  border-color: rgba(248, 113, 113, 0.6);
}

/* ===========================
   HERO
=========================== */

.hero {
  background: transparent;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  font-size: 11px;
}

.hero-badge .emph {
  color: #bbf7d0;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 span {
  background: linear-gradient(to right, #22c55e, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  font-size: 11px;
  color: var(--muted);
}

.hero-right {
  display: flex;
  justify-content: center;
}

/* PANEL HERO / WHATSAPP */
.hero-panel {
  width: 100%;
  max-width: 380px;
  border-radius: 18px;
  border: 1px solid #1f2933;
  background: #020617;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.55);
  padding: 14px;
  font-size: 11px;
  color: #e5e7eb;
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.hero-panel-title {
  font-size: 10px;
  color: #9ca3af;
}

.dot-row {
  display: flex;
  gap: 6px;
}

.dot-row span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4b5563;
}

.dot-row span:nth-child(1) { background: var(--accent); }
.dot-row span:nth-child(2) { background: #facc15; }
.dot-row span:nth-child(3) { background: #ef4444; }

/* WHATSAPP UI */
.wa-phone {
  display: flex;
  flex-direction: column;
  background: #020617;
  border-radius: 12px;
  padding: 8px;
  gap: 6px;
}

.wa-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.wa-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #020617;
}

.wa-name {
  font-size: 11px;
  font-weight: 600;
}

.wa-status {
  font-size: 10px;
  color: #6ee7b7;
}

.wa-icons {
  display: flex;
  gap: 4px;
}

.wa-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #9ca3af;
}

/* Chat */
.wa-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 2px;
  overflow-y: auto;
  max-height: 220px;
}

.wa-chat::-webkit-scrollbar {
  width: 4px;
}
.wa-chat::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.wa-msg {
  display: flex;
  flex-direction: column;
  max-width: 90%;
  font-size: 11px;
}

.wa-msg-them { align-self: flex-start; }
.wa-msg-bot  { align-self: flex-end; }

.wa-bubble {
  padding: 5px 8px;
  border-radius: 12px;
  line-height: 1.4;
  word-break: break-word;
}

.wa-msg-them .wa-bubble {
  background: #0f172a;
  color: #e5e7eb;
  border-bottom-left-radius: 2px;
}

.wa-msg-bot .wa-bubble {
  background: #22c55e;
  color: #022c22;
  border-bottom-right-radius: 2px;
}

.wa-time {
  font-size: 9px;
  color: #9ca3af;
  margin-top: 1px;
  align-self: flex-end;
}

.wa-msg-system {
  align-self: center;
  font-size: 9px;
  color: #9ca3af;
  margin-top: 2px;
}

/* burbuja "escribiendo..." */
.wa-typing .wa-bubble {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 999px;
}

.wa-typing-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.wa-typing-dots span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
  opacity: 0.4;
  animation: waTyping 1s infinite ease-in-out;
}

.wa-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes waTyping {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

/* barra de entrada */
.wa-input-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 999px;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.wa-input-placeholder {
  flex: 1;
  font-size: 10px;
  color: #6b7280;
}

.wa-send-icon {
  font-size: 11px;
  color: #22c55e;
}

/* ===========================
   CÓMO FUNCIONA GRID
=========================== */

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.step-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
}

.step-index {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.step-title {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #020617;
}

.step-card p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ===========================
   USO PANEL
=========================== */

.usage-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  margin-top: 22px;
}

.usage-steps {
  display: grid;
  gap: 10px;
}

.usage-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.usage-step strong {
  color: #020617;
}

.usage-step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #020617;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}

/* MINI PANEL DEMO */
.demo-panel {
  background: #020617;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #1e293b;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.35);
  color: #e5e7eb;
  font-size: 11px;
  width: 100%;
  max-width: 360px;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.demo-header-title {
  font-size: 11px;
  color: #9ca3af;
}

.demo-header-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.6);
  background: rgba(21, 128, 61, 0.18);
  font-size: 10px;
  color: #bbf7d0;
}

.demo-header-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.demo-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.demo-tab-btn {
  flex: 1;
  padding: 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  color: #e5e7eb;
  font-size: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.12s ease;
}

.demo-tab-btn.is-active {
  background: #f9fafb;
  color: #020617;
  border-color: #f9fafb;
  transform: translateY(-1px);
}

.demo-main {
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 8px;
  min-height: 130px;
}

.demo-screen {
  display: none;
}

.demo-screen.is-active {
  display: block;
}

.demo-list {
  list-style: none;
  display: grid;
  gap: 4px;
}

.demo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 8px;
  background: #020617;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.demo-item-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.demo-item-tag.ok {
  border-color: rgba(34, 197, 94, 0.7);
  color: #bbf7d0;
}

.demo-item-tag.off {
  border-color: rgba(248, 113, 113, 0.7);
  color: #fecaca;
}

/* ===========================
   IA GRID
=========================== */

.ia-grid {
  align-items: stretch;
}

.ia-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.ia-logo {
  width: 120px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 4px;
}

.ia-link {
  margin-top: 6px;
  font-size: 11px;
  text-decoration: underline;
  color: #0f172a;
}

/* ===========================
   CTA · PLAN ÚNICO + FORM
=========================== */

.cta-section {
  position: relative;
}

.cta-section .section-inner {
  max-width: 1100px;
}

/* card grande del plan */
.cta-box {
  margin-top: 32px;
  background: radial-gradient(circle at top left, #22c55e, #38bdf8, #a855f7);
  border-radius: 22px;
  padding: 2px;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(15, 23, 42, 0.1);
}

.cta-inner {
  background: #020617;
  border-radius: inherit;
  padding: 28px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 28px;
  color: #f9fafb;
}

/* Columna izquierda: texto + precio */
.cta-inner-text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-inner-text h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.price-main {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  color: #f9fafb;
}

.price-main .unit {
  display: inline-block;
  margin-left: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
}

.price-list {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: #d1d5db;
}

.price-list li::marker {
  color: #22c55e;
}

/* Columna derecha: contenedor formulario */
.cta-form-container {
  flex: 1 1 320px;
  display: flex;
  align-items: stretch;
}

/* FORMULARIO MAUTIC */
.cta-form-container .mauticform_wrapper {
  width: 100%;
  background: radial-gradient(circle at top, #020617 0%, #020617 55%, #020617 100%);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 20px 20px 18px;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.7) inset;
}

/* título del formulario (Comienza tu demo) */
.cta-form-container .form-title,
.cta-form-container .cta-form-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: #f9fafb;
}

/* filas / labels */
.cta-form-container .mauticform-innerform {
  margin: 0;
}

.cta-form-container .mauticform-row {
  margin-bottom: 14px;
}

.cta-form-container .mauticform-label {
  font-size: 12px;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 4px;
}

/* asterisco de obligatorios (por si no lo pones en el texto) */
.cta-form-container
  .mauticform-row.mauticform-required
  .mauticform-label::after {
  content: " *";
  color: #f97373;
  font-weight: 700;
}

/* inputs / selects */
.cta-form-container .mauticform-input,
.cta-form-container .mauticform-textarea,
.cta-form-container .mauticform-selectbox {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  color: #e5e7eb;
  font-size: 13px;
  outline: none;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    transform 0.08s ease;
}

.cta-form-container .mauticform-input:focus,
.cta-form-container .mauticform-textarea:focus,
.cta-form-container .mauticform-selectbox:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.6);
  transform: translateY(-1px);
}

/* errores / mensajes */
.cta-form-container .mauticform-errormsg {
  font-size: 11px;
  color: #fecaca;
  margin-top: 3px;
}

.cta-form-container .mauticform-error {
  font-size: 12px;
  color: #fecaca;
  margin-bottom: 8px;
}

.cta-form-container .mauticform-message {
  font-size: 12px;
  color: #bbf7d0;
  margin-bottom: 8px;
}

/* botón enviar */
.cta-form-container .mauticform-button.btn.btn-default {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #22c55e;
  background: #22c55e;
  color: #020617;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 0;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cta-form-container .mauticform-button.btn.btn-default:hover {
  background: #16a34a;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.7);
  transform: translateY(-1px);
}

/* mensaje final tras enviar */
#mensaje-final {
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.8);
  color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

/* ===========================
   FOOTER
=========================== */

footer {
  background: #000000;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 14px 0;
  font-size: 11px;
  color: #9ca3af;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===========================
   ANIMACIÓN SCROLL
=========================== */

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero-sub {
    max-width: none;
  }

  .usage-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-panel {
    max-width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    padding: 22px 18px 20px;
  }

  .cta-form-container .mauticform_wrapper {
    padding: 18px 16px 16px;
  }

  .price-main {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  header .container {
    padding-inline: 10px;
  }

  .brand .sub {
    display: none;
  }

  .pill-status {
    display: none;
  }

  .slide-section {
    padding: 40px 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .hero-panel {
    max-width: 100%;
  }

  .wa-chat {
    max-height: 200px;
  }

  .cta-box {
    margin-top: 24px;
  }

  .cta-inner-text h3 {
    font-size: 20px;
  }

  .price-main {
    font-size: 30px;
  }
}
