/**
 * Céntimo — Estilos de la Landing (Tema Claro)
 */

/* ── Fondo decorativo ── */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.bg-blob-1 {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, #c7d7fe, transparent 70%);
}

.bg-blob-2 {
  width: 520px;
  height: 520px;
  top: 380px;
  left: -220px;
  background: radial-gradient(circle, #bbf7d0, transparent 70%);
  opacity: 0.4;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

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

.brand-logo {
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
  margin: 1.25rem 0 1.25rem;
}

.text-gradient {
  background: linear-gradient(120deg, var(--primary) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-green {
  background: linear-gradient(120deg, #10b981, var(--profit));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 600px;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.5rem;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
}

.check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--profit-100);
  color: var(--profit);
  font-size: 0.72rem;
  font-weight: 800;
}

/* ── Mockup teléfono ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.phone {
  position: relative;
  width: 300px;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(160deg, #ffffff, #e2e8f0);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite;
}

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

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 12px;
  background: #0f172a;
  z-index: 2;
}

.phone-screen {
  border-radius: 34px;
  background: var(--bg);
  padding: 46px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-hello { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
.app-biz { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }

.app-rate {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
}

.app-rate span { font-size: 0.6rem; font-weight: 700; color: var(--primary); }
.app-rate strong { font-size: 0.82rem; color: var(--primary-600); }

.app-kpi {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.kpi-label { font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.kpi-sub, .kpi-mini { font-size: 0.64rem; color: var(--text-muted); font-weight: 600; }

.app-kpi-main {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: #fff;
}
.app-kpi-main .kpi-label, .app-kpi-main .kpi-sub { color: rgba(255, 255, 255, 0.8); }
.kpi-value { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; }

.app-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.app-kpi-row strong { font-size: 0.98rem; font-weight: 800; }
.app-kpi-cxc strong { color: var(--warning); }
.app-kpi-cxp strong { color: var(--loss); }

.app-section-title {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 2px;
}

.app-wallets { display: flex; flex-direction: column; gap: 6px; }

.app-wallet {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.72rem;
}

.w-ico {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 0.8rem;
}
.w-bank { background: var(--primary-50); }
.w-cash { background: var(--profit-50); }
.w-usdt { background: var(--warning-50); }
.w-name { font-weight: 600; color: var(--text-2); }
.app-wallet strong { font-weight: 800; }

.app-tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
  padding: 6px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.app-tabbar .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  padding: 4px 6px;
  border-radius: 12px;
  opacity: 0.6;
}
.app-tabbar .tab small { font-size: 0.52rem; font-weight: 700; color: var(--text-muted); }
.app-tabbar .tab.active { opacity: 1; background: var(--primary-50); }
.app-tabbar .tab.active small { color: var(--primary); }

/* Notificaciones flotantes */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}

.float-card strong { display: block; font-size: 0.8rem; }
.float-card span { color: var(--text-muted); font-weight: 600; }

.float-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-weight: 800;
}
.float-ico.profit { background: var(--profit-100); color: var(--profit); }
.float-ico.loss { background: var(--loss-100); color: var(--loss); }
.float-ico.warn { background: var(--warning-100); }

.float-in { top: 12%; left: -6%; animation-delay: -1s; }
.float-out { bottom: 22%; right: -8%; animation-delay: -3s; }
.float-stock { bottom: 4%; left: -2%; animation-delay: -4.5s; }

/* ── Barra de tasas ── */
.rates-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.rates-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.rates-title { font-size: 0.85rem; font-weight: 700; color: var(--text-2); }

.rate-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.rate-chip span { color: var(--text-2); font-weight: 600; }
.rate-chip strong { color: var(--text); }

.rates-note { font-size: 0.78rem; color: var(--text-muted); font-style: italic; }

/* ── Secciones ── */
.section { padding: 6rem 0; }

.section-tint {
  background: linear-gradient(180deg, var(--bg-tint), var(--bg));
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  margin: 1rem 0 0.9rem;
}

.section-head p { color: var(--text-2); font-size: 1.06rem; }

.section-head-left { text-align: left; margin: 0; }

/* ── Flujos ── */
.flows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.flow-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.flow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.flow-sale::before { background: linear-gradient(90deg, #10b981, var(--primary)); }
.flow-purchase::before { background: linear-gradient(90deg, var(--warning), var(--loss)); }

.flow-head h3 { font-size: 1.5rem; font-weight: 800; margin-top: 0.6rem; }

.flow-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.flow-tag.profit { background: var(--profit-50); color: var(--profit); }
.flow-tag.loss { background: var(--loss-50); color: var(--loss); }

.flow-steps {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
  padding-bottom: 1.4rem;
}

.flow-steps li:last-child { padding-bottom: 0; }

.flow-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: 4px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--border-strong) 0 4px, transparent 4px 8px);
}

.step-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: 1.2rem;
}
.step-ico.profit-bg { background: var(--profit-100); border-color: #a7f3d0; }
.step-ico.loss-bg { background: var(--loss-100); border-color: #fecaca; }

.flow-steps strong { font-size: 1rem; display: block; margin-top: 0.15rem; }
.flow-steps p { font-size: 0.92rem; color: var(--text-2); margin-top: 0.2rem; }

/* ── Módulos ── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.module-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-100);
}

.module-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.ico-blue { background: var(--primary-50); }
.ico-green { background: var(--profit-50); }
.ico-amber { background: var(--warning-50); }
.ico-violet { background: #f5f3ff; }
.ico-cyan { background: #ecfeff; }
.ico-slate { background: var(--bg-2); }

.module-card h3 { font-size: 1.3rem; font-weight: 800; }
.module-lead { color: var(--text-muted); font-weight: 600; font-size: 0.92rem; margin: 0.3rem 0 1rem; }

.module-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.module-card li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--text-2);
}

.module-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.module-card li strong { color: var(--text); }

/* ── Simulador ── */
.sim {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.sim-ops {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sim-ops-title, .panel-title, .ledger-head {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.sim-ops-title { margin-bottom: 0.25rem; }

.sim-op {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.sim-op:hover:not(:disabled) {
  transform: translateX(4px);
  border-color: var(--primary);
  background: var(--primary-50);
  box-shadow: var(--shadow-sm);
}

.sim-op:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sim-op.just-ran {
  border-color: var(--primary);
  background: var(--primary-50);
}

.op-ico {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 1rem;
  font-weight: 800;
}
.op-ico.profit { background: var(--profit-100); color: var(--profit); }
.op-ico.loss { background: var(--loss-100); color: var(--loss); }
.op-ico.primary { background: var(--primary-100); color: var(--primary); }
.op-ico.warn { background: var(--warning-100); }

.op-text { display: flex; flex-direction: column; line-height: 1.3; }
.op-text strong { font-size: 0.93rem; color: var(--text); }
.op-text small { font-size: 0.78rem; color: var(--text-muted); }

.sim-reset {
  margin-top: 0.4rem;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
  background: transparent;
  color: var(--text-2);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.sim-reset:hover { color: var(--primary); border-color: var(--primary); }

.sim-board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.sim-explain {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--text-2);
  font-size: 0.92rem;
}
.sim-explain strong { color: var(--text); }

.sim-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sim-panel {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}

.sim-panel-wide { grid-column: 1 / -1; }

.panel-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.panel-title-2 { margin-top: 0.9rem; }

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.panel-row:last-child { border-bottom: none; }
.panel-row span { color: var(--text-2); font-weight: 500; }

.panel-row strong {
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.panel-row strong.muted { color: var(--text-muted); font-weight: 600; }

.tag-service, .tag-fee {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  margin-left: 0.3rem;
}
.tag-service { background: #f5f3ff; color: var(--accent-2); }
.tag-fee { background: var(--warning-50); color: var(--warning); }

.flash-up { animation: flashUp 1.6s var(--ease); }
.flash-down { animation: flashDown 1.6s var(--ease); }

@keyframes flashUp {
  0%, 35% { background: var(--profit-100); color: var(--profit); }
  100% { background: transparent; }
}

@keyframes flashDown {
  0%, 35% { background: var(--loss-100); color: var(--loss); }
  100% { background: transparent; }
}

.sim-ledger {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.ledger-rate { text-transform: none; letter-spacing: 0; color: var(--primary); }

.ledger-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 230px;
  overflow-y: auto;
}

.ledger-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
  animation: slideIn 0.35s var(--ease);
}
.ledger-list li:last-child { border-bottom: none; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.ledger-empty {
  display: block !important;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.l-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
}
.l-in .l-ico { background: var(--profit-100); color: var(--profit); }
.l-out .l-ico { background: var(--loss-100); color: var(--loss); }
.l-info .l-ico { background: var(--primary-100); color: var(--primary); }

.l-desc strong { display: block; font-size: 0.86rem; }
.l-desc span { color: var(--text-muted); font-size: 0.76rem; }

.l-amount { font-weight: 800; white-space: nowrap; }
.l-in .l-amount { color: var(--profit); }
.l-out .l-amount { color: var(--loss); }
.l-info .l-amount { color: var(--text-2); }

/* ── Beneficios ── */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.benefit-ico { font-size: 2rem; margin-bottom: 0.9rem; }
.benefit h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }
.benefit p { color: var(--text-2); font-size: 0.95rem; }

/* ── Precio ── */
.pricing {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.12), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.10), transparent 45%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.pricing-main h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; margin: 1rem 0 0.8rem; }
.pricing-main > p { color: var(--text-2); font-size: 1.05rem; }

.price-container {
  margin: 1.5rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.price-period {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.price-cycle {
  font-weight: 700;
  color: var(--text-2);
  font-size: 1.15rem;
}

.price-bs-equiv {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--profit);
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.price-rate-live {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
  font-size: 0.86rem;
  color: var(--text-2);
  width: fit-content;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--profit);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulse 2s infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.price-rate-label {
  font-weight: 500;
  color: var(--text-muted);
}

.price-rate-live strong {
  color: var(--text);
  font-weight: 800;
}

.live-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--profit-50);
  border: 1px solid var(--profit-100);
  color: var(--profit);
}

.live-badge.is-offline {
  background: var(--bg-2);
  border-color: var(--border);
  color: var(--text-muted);
}

.pricing-list {
  list-style: none;
  margin: 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}

.pricing-list li { display: flex; align-items: center; font-weight: 600; color: var(--text-2); font-size: 0.95rem; }

/* ── Pasos ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.6);
}

.step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.step p { color: var(--text-2); font-size: 0.95rem; }

code {
  font-size: 0.85em;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

/* ── FAQ ── */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item.open { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-q i {
  position: relative;
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-2);
}

.faq-q i::before, .faq-q i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q i { background: var(--primary-50); }
.faq-item.open .faq-q i::before, .faq-item.open .faq-q i::after { background: var(--primary); }
.faq-item.open .faq-q i::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-a > p {
  overflow: hidden;
  padding: 0 1.25rem;
  color: var(--text-2);
  font-size: 0.95rem;
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 1.15rem; }

/* ── CTA final ── */
.cta-final { padding: 0 0 6rem; }

.cta-box {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 50%, #ecfdf5 100%);
  border: 1px solid var(--primary-100);
  box-shadow: var(--shadow);
}

.cta-box h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
.cta-box p { color: var(--text-2); font-size: 1.08rem; max-width: 620px; margin: 0.9rem auto 2rem; }

.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.85rem; }

/* ── Footer ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand p { color: var(--text-2); font-size: 0.92rem; margin-top: 1rem; max-width: 380px; }

.site-footer h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer ul a { color: var(--text-2); font-size: 0.92rem; font-weight: 500; transition: color 0.2s var(--ease); }
.site-footer ul a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

.footer-legal-links a {
  font-weight: 700;
  color: #334155;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.footer-legal-links a:hover {
  color: var(--primary) !important;
  text-decoration: none !important;
}
.footer-legal-links a.delete-link {
  color: #ef4444 !important;
  font-weight: 700;
  text-decoration: none !important;
}
.footer-legal-links a.delete-link:hover {
  color: #dc2626 !important;
  text-decoration: none !important;
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.modal[hidden] { display: none; }
.modal.active { opacity: 1; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.modal.active .modal-box { transform: none; }

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--text-2);
  cursor: pointer;
}

.modal-logo { margin: 0 auto 1rem; border-radius: 16px; box-shadow: var(--shadow-sm); }
.modal-box h3 { font-size: 1.4rem; font-weight: 800; }
.modal-status { color: var(--text-2); font-size: 0.92rem; margin: 0.5rem 0 1.1rem; }

.progress {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #10b981, var(--primary));
  transition: width 0.5s var(--ease);
}

.modal-next {
  margin-top: 1.4rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--profit-50);
  border: 1px solid var(--profit-100);
  font-size: 0.88rem;
  color: var(--text-2);
  text-align: left;
}
.modal-next strong { display: block; color: var(--profit); margin-bottom: 0.25rem; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .sim { grid-template-columns: 1fr; }
  .sim-ops { display: grid; grid-template-columns: repeat(2, 1fr); }
  .sim-ops-title, .sim-reset { grid-column: 1 / -1; }
  .sim-op:hover:not(:disabled) { transform: translateY(-2px); }
  .pricing { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .section-head-left { text-align: center; }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 0.5rem; }
  .menu-toggle { display: flex; }
  .flows, .benefits, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section { padding: 4.5rem 0; }
  .hero { padding: 3rem 0; }
  #header-download-btn span { display: none; }
  .modules-grid { grid-template-columns: 1fr; }
  .sim { padding: 1rem; }
  .sim-ops { grid-template-columns: 1fr; }
  .sim-panels { grid-template-columns: 1fr; }
  .pricing { padding: 2rem 1.5rem; }
  .float-in { left: 0; }
  .float-out { right: 0; }
  .float-stock { display: none; }
  .phone { width: 270px; }
}


/* Badge destacado para el Hero */
.hero-badge-highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(99, 102, 241, 0.18) 100%) !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  box-shadow: 0 4px 18px -2px rgba(37, 99, 235, 0.25) !important;
  color: var(--primary, #2563eb) !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  padding: 0.45rem 1.05rem !important;
  font-size: 0.78rem !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-badge-highlight:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px -2px rgba(37, 99, 235, 0.35) !important;
}


/* ========================================================
   BADGE HERO DE ALTO IMPACTO: ¡PARA TI, EMPRENDEDOR!
   Diseño "Sticker holográfico": etiqueta inclinada con borde
   blanco troquelado, foil azul-índigo con vetas cian/esmeralda,
   brillo que la recorre y cohete-sticker que sobresale.
   Solo paleta de la web (sin rosas ni fucsias).
   ======================================================== */
.hero-badge-wrapper {
  margin-bottom: 1.6rem;
  padding: 1.15rem 0 0 1.5rem;
}

.hero-badge-impact {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.95rem 1.75rem 0.95rem 2.75rem !important;
  border-radius: 20px !important;
  border: 4px solid #ffffff !important;
  background:
    linear-gradient(112deg, transparent 18%, rgba(6, 182, 212, 0.65) 26%, transparent 34%),
    linear-gradient(112deg, transparent 56%, rgba(16, 185, 129, 0.55) 64%, transparent 72%),
    linear-gradient(112deg, #1e3a8a 0%, #2563eb 24%, #4338ca 48%, #6366f1 66%, #8b5cf6 82%, #2563eb 100%) !important;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.08),
    0 18px 34px -12px rgba(37, 99, 235, 0.6),
    0 6px 14px -4px rgba(15, 23, 42, 0.28) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-transform: uppercase !important;
  transform: rotate(-2.2deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
}

/* Brillo de luz superior (efecto foil glossy) */
.hero-badge-impact::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}

/* Barrido de luz que recorre la etiqueta */
.hero-badge-impact::after {
  content: '' !important;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 160% 0;
  animation: sticker-shine 3.6s ease-in-out infinite;
  pointer-events: none;
}

.hero-badge-impact:hover {
  transform: rotate(0deg) translateY(-2px) scale(1.035);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.08),
    0 24px 40px -12px rgba(37, 99, 235, 0.7),
    0 8px 16px -4px rgba(15, 23, 42, 0.3) !important;
}

.hero-badge-impact .badge-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.6vw, 1.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: #0b1b5a;
  -webkit-text-fill-color: #0b1b5a;
  background: none;
  /* Contorno blanco redondeado (text-shadow evita las puntas del text-stroke) */
  text-shadow:
    2.6px 0px 0 #ffffff,
    2.4px 0.99px 0 #ffffff,
    1.84px 1.84px 0 #ffffff,
    0.99px 2.4px 0 #ffffff,
    0px 2.6px 0 #ffffff,
    -0.99px 2.4px 0 #ffffff,
    -1.84px 1.84px 0 #ffffff,
    -2.4px 0.99px 0 #ffffff,
    -2.6px 0px 0 #ffffff,
    -2.4px -0.99px 0 #ffffff,
    -1.84px -1.84px 0 #ffffff,
    -0.99px -2.4px 0 #ffffff,
    0px -2.6px 0 #ffffff,
    0.99px -2.4px 0 #ffffff,
    1.84px -1.84px 0 #ffffff,
    2.4px -0.99px 0 #ffffff,
    0 3px 4px rgba(11, 27, 90, 0.35);
}

/* Cohete-sticker (SVG en azul/índigo, llama cian-esmeralda) */
.hero-badge-impact .badge-icon {
  position: absolute;
  left: -34px;
  top: -36px;
  width: 66px;
  height: 66px;
  z-index: 3;
  display: block;
  filter:
    drop-shadow(2px 0 0 #ffffff) drop-shadow(-2px 0 0 #ffffff)
    drop-shadow(0 2px 0 #ffffff) drop-shadow(0 -2px 0 #ffffff)
    drop-shadow(0 5px 6px rgba(15, 23, 42, 0.35));
  animation: sticker-rocket 2.8s ease-in-out infinite alternate;
}

.hero-badge-impact .badge-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes sticker-shine {
  0%, 20% { background-position: 160% 0; }
  70%, 100% { background-position: -60% 0; }
}

@keyframes sticker-rocket {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-5px) rotate(-5deg); }
}

@media (max-width: 640px) {
  .hero-badge-wrapper {
    padding: 1rem 0 0 1.2rem;
  }
  .hero-badge-impact {
    padding: 0.8rem 1.25rem 0.8rem 2.3rem !important;
    border-radius: 17px !important;
  }
  .hero-badge-impact .badge-text {
    text-shadow:
      2.1px 0px 0 #ffffff,
    1.94px 0.8px 0 #ffffff,
    1.48px 1.48px 0 #ffffff,
    0.8px 1.94px 0 #ffffff,
    0px 2.1px 0 #ffffff,
    -0.8px 1.94px 0 #ffffff,
    -1.48px 1.48px 0 #ffffff,
    -1.94px 0.8px 0 #ffffff,
    -2.1px 0px 0 #ffffff,
    -1.94px -0.8px 0 #ffffff,
    -1.48px -1.48px 0 #ffffff,
    -0.8px -1.94px 0 #ffffff,
    0px -2.1px 0 #ffffff,
    0.8px -1.94px 0 #ffffff,
    1.48px -1.48px 0 #ffffff,
    1.94px -0.8px 0 #ffffff,
      0 2px 3px rgba(11, 27, 90, 0.35);
  }
  .hero-badge-impact .badge-icon {
    left: -26px;
    top: -30px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge-impact::after,
  .hero-badge-impact .badge-icon {
    animation: none !important;
  }
}
