/* ==========================================================================
   LANDING PAGE COMERCIAL · COMANDA MANDA POS (CLEAN HIGH-CONVERSION SAAS)
   ========================================================================== */

/* Papel picado divider */
.picado {
  display: flex;
  height: 22px;
  overflow: hidden;
}
.picado span {
  flex: 1;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
.picado span:nth-child(6n+1) { background: #ec0c8c; }
.picado span:nth-child(6n+2) { background: #fff200; }
.picado span:nth-child(6n+3) { background: #29abe2; }
.picado span:nth-child(6n+4) { background: #f7931e; }
.picado span:nth-child(6n+5) { background: #00a651; }
.picado span:nth-child(6n+6) { background: #ec0c8c; }

:root {
  --bg-dark: #14100f;
  --bg-surface: #211a18;
  --bg-surface-hover: #2c2320;
  --border-subtle: #3d322d;
  --border-focus: #ec0c8c;

  --text-primary: #f8fafc;
  --text-secondary: #b9afa5;
  --text-muted: #8a7d73;

  --color-primary: #ec0c8c;
  --color-primary-hover: #c40b76;
  --color-accent: #fff200;
  --color-success: #00a651;
  --color-warn: #f7931e;
  --color-danger: #ef4444;

  --font-main: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-display: 'Archivo Black', 'Archivo', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px -5px rgba(236, 12, 140, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(20, 16, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

.badge-pro {
  background: rgba(236, 12, 140, 0.15);
  color: var(--color-primary);
  border: 1px solid rgba(236, 12, 140, 0.3);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  margin-left: 0.25rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #14100f;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  box-shadow: 0 4px 14px rgba(236, 12, 140, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--text-secondary);
}

.btn-whatsapp {
  background: #25D366;
  color: #0b2e13;
  font-weight: 800;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.badge-tag {
  display: inline-block;
  background: rgba(236, 12, 140, 0.15);
  color: var(--color-primary);
  border: 1px solid rgba(236, 12, 140, 0.3);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   NUEVO: SECCIÓN DEMO EN 3 PASOS
   ========================================================================== */
.demo-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 2rem;
}

.demo-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.demo-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.demo-step-card.highlight {
  border-color: rgba(255, 242, 0, 0.5);
  background: linear-gradient(180deg, rgba(255, 242, 0, 0.05) 0%, var(--bg-surface) 100%);
}

.demo-step-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 242, 0, 0.2);
}

.demo-step-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.demo-step-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.demo-step-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.demo-cta-box {
  background: linear-gradient(135deg, rgba(236, 12, 140, 0.12) 0%, rgba(33, 26, 24, 0.95) 100%);
  border: 1px solid rgba(236, 12, 140, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-glow);
}

.demo-cta-content h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.3rem;
  font-weight: 900;
}

.demo-cta-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.demo-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   NUEVO: SEGMENTACIÓN POR TIPO DE NEGOCIO (TABS)
   ========================================================================== */
.segment-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0 2rem;
  flex-wrap: wrap;
}

.segment-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.segment-tab-btn:hover {
  color: #fff;
  border-color: var(--text-secondary);
}

.segment-tab-btn.active {
  background: var(--color-primary);
  color: #14100f;
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(236, 12, 140, 0.35);
}

.segment-tab-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.segment-panel-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.segment-panel-badge {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.segment-panel-text h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1.25rem;
  font-weight: 900;
  line-height: 1.3;
}

.segment-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.segment-feature-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.5;
}

.segment-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-success);
  font-weight: 900;
  font-size: 1rem;
}

.segment-feature-list li strong {
  color: #fff;
}

.mockup-glass-card {
  background: #191412;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   NUEVO: COMPATIBILIDAD DE HARDWARE & RESILIENCIA LOCAL
   ========================================================================== */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.compat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.compat-card:hover {
  transform: translateY(-3px);
}

.compat-card.highlight {
  border-color: rgba(0, 166, 81, 0.5);
  background: linear-gradient(180deg, rgba(0, 166, 81, 0.06) 0%, var(--bg-surface) 100%);
}

.compat-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.compat-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.compat-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.compat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.compat-chips span {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

/* ==========================================================================
   NUEVO: BOTÓN FLOTANTE DE WHATSAPP CON TOOLTIP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
  transform: scale(1.06);
}

.floating-whatsapp-tooltip {
  background: rgba(20, 16, 15, 0.95);
  color: #fff;
  border: 1px solid #25D366;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  white-space: nowrap;
  pointer-events: none;
  animation: floatPulse 3s infinite ease-in-out;
}

@keyframes floatPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-4px); }
}

.floating-whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: background 0.15s ease;
}

.floating-whatsapp-btn:hover {
  background: #20ba5a;
}

@media (max-width: 900px) {
  .demo-steps-grid { grid-template-columns: 1fr; }
  .demo-cta-box { flex-direction: column; text-align: center; }
  .demo-cta-actions { justify-content: center; width: 100%; }
  .demo-cta-actions .btn { width: 100%; }
  .segment-panel-grid { grid-template-columns: 1fr; }
  .compat-grid { grid-template-columns: 1fr; }
  .floating-whatsapp-tooltip { display: none; }
}

/* HERO SECTION */
.hero-section {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
}

.hero-container {
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(236, 12, 140, 0.1);
  border: 1px solid rgba(236, 12, 140, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  color: var(--color-primary);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* STATS RIBBON */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* FEATURES SECTION & BENTO */
.features-section, .pricing-section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.bento-wide {
  grid-column: span 2;
}

.bento-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.bento-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.tag-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-surface-hover);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* UI MOCKUPS INSIDE BENTO CARDS */
.bento-mockup {
  background: #14100F;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
  font-size: 0.8rem;
}

.mockup-pos-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .mockup-pos-layout { grid-template-columns: 1fr; }
}

.mockup-tables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mockup-table-pill {
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.mockup-table-pill strong {
  color: #fff;
  font-size: 0.78rem;
}

.mockup-table-pill span {
  font-size: 0.72rem;
  font-weight: 700;
}

.mockup-table-pill.active {
  background: rgba(0, 166, 81, 0.12);
  border-color: #00A651;
}

.mockup-table-pill.active span {
  color: #00A651;
}

.mockup-table-pill.cuenta {
  background: rgba(236, 12, 140, 0.12);
  border-color: #EC0C8C;
}

.mockup-table-pill.cuenta span {
  color: #EC0C8C;
}

.mockup-ticket {
  background: #1A1412;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-ticket-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.72rem;
  margin-bottom: 0.25rem;
}

.mockup-ticket-total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.35rem;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  color: #FFF200;
}

/* KDS MOCKUP */
.mockup-kds {
  background: #1A1412;
  border-left: 4px solid #00A651;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
}

.mockup-kds-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  font-weight: 800;
  color: #fff;
  font-size: 0.75rem;
}

.kds-timer {
  background: rgba(0, 166, 81, 0.2);
  color: #00A651;
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  font-size: 0.7rem;
}

.mockup-kds-item {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

/* RECETAS MOCKUP */
.mockup-receta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mockup-receta-header {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  color: #fff;
}

.mockup-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin: 0.2rem 0;
}

.mockup-progress-fill {
  height: 100%;
  background: #00A651;
  border-radius: 99px;
}

.mockup-receta-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mockup-receta-stats b {
  color: #00A651;
}

/* CHECADOR MOCKUP */
.mockup-checador {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1A1412;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

.mockup-staff-info strong {
  display: block;
  color: #fff;
  font-size: 0.78rem;
}

.mockup-staff-info span {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.mockup-badge-ontime {
  background: rgba(0, 166, 81, 0.15);
  color: #00A651;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.7rem;
}

/* 86 MOCKUP */
.mockup-86 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

.mockup-86-tag {
  background: #EF4444;
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.68rem;
}

/* COMPARATIVA */
.compare-section {
  padding: 5rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.compare-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th, .compare-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table th {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #fff;
  background: var(--bg-surface-hover);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td:first-child {
  color: var(--text-secondary);
  font-weight: 600;
}

.compare-yes {
  color: var(--color-success);
  font-weight: 800;
}

.compare-no {
  color: var(--text-muted);
}

.compare-warn {
  color: var(--color-warn);
}

/* PRICING */
.pricing-gate {
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-popular {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #14100f;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.plan-head h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0.35rem 0 1.25rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: left;
}

.plan-features li {
  line-height: 1.4;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  background: var(--bg-dark);
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.footer h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.footer-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.text-primary { color: var(--color-primary) !important; }
.text-success { color: var(--color-success) !important; }
.text-warn { color: var(--color-warn) !important; }
.text-danger { color: var(--color-danger) !important; }

/* SECCION 2 · EL PROBLEMA */
.problem-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 2rem;
  max-width: 760px;
}

.problem-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
}

.problem-conclusion {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  max-width: 640px;
  margin: 0 auto;
}

.problem-conclusion span { color: var(--color-primary); }

/* SECCION 3 · LOS TRES RESULTADOS */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.result-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.result-card .result-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }

.result-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.result-card p { color: var(--text-secondary); font-size: 0.9rem; }

.results-conclusion {
  text-align: center;
  color: var(--text-secondary);
  font-weight: 700;
}

/* SECCION 4 · EL GRAN DIFERENCIADOR */
.diff-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.flow-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.flow-step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.flow-step h3 { font-size: 1.05rem; color: #fff; margin-bottom: 0.5rem; }
.flow-step p { font-size: 0.85rem; color: var(--text-secondary); }

.diff-disclaimer {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.diff-cta { text-align: center; }

/* SECCION 5 · MOSTRAR LA EXPERIENCIA */
.exp-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 420px;
  margin: 0 auto;
}

.exp-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  width: 100%;
  font-weight: 700;
  color: #fff;
}

.exp-step .exp-icon { font-size: 1.4rem; }

.exp-arrow {
  color: var(--color-primary);
  font-size: 1.1rem;
  line-height: 1;
}

/* SECCION 9 · CALCULADORA (proximamente) */
.calc-preview {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.calc-soon-badge {
  display: inline-block;
  background: rgba(247, 147, 30, 0.15);
  color: var(--color-warn);
  border: 1px solid rgba(247, 147, 30, 0.3);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.calc-inputs-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* SECCION 12 · PRUEBA SOCIAL */
.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.testimonial-quote.pending {
  font-family: var(--font-main);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.testimonial-meta { display: flex; align-items: center; gap: 0.75rem; }

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 800; color: #fff; font-size: 0.95rem; }
.testimonial-sub { font-size: 0.8rem; color: var(--text-secondary); }

/* SECCION 13 · CENTRO DE AYUDA */
.help-questions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.help-question {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.help-question strong { color: #fff; }

.help-cta { text-align: center; }

/* SECCION 14 · IA (peso visual bajo, adrede) */
.ai-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.ai-section h2 {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.ai-section .section-sub { max-width: 620px; margin: 0 auto; }

.ai-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.ai-list span {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .bento-grid-2col { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .flow-steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   INTRO ANIMATION OVERLAY (CINEMATIC OPENING)
   ========================================================================== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-dark, #14100f);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.75s ease, visibility 0.75s ease, background 1.4s cubic-bezier(0.65, 0, 0.35, 1);
  overflow: hidden;
}

.intro-overlay.morph, .intro-overlay.oficios, .intro-overlay.cierre {
  background: #EC0C8C;
}

.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-theater {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: 580px;
  max-height: 960px;
  background: #E8DAC1;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  transition: background 1.4s cubic-bezier(0.65, 0, 0.35, 1), box-shadow 1.4s ease;
}

.intro-theater.morph, .intro-theater.oficios, .intro-theater.cierre {
  background: #EC0C8C;
  box-shadow: none;
}

.intro-theater .codex-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s ease, transform 6.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform-origin: 38% 36%;
  pointer-events: none;
}

.intro-theater .codex-img {
  width: 110%;
  height: auto;
  object-fit: contain;
  filter: contrast(1.08) brightness(1.02);
}

.intro-theater.zoom .codex-layer {
  transform: scale(2.2);
}

.intro-theater.morph .codex-layer, .intro-theater.oficios .codex-layer, .intro-theater.cierre .codex-layer {
  opacity: 0;
  transform: scale(2.6);
}

.intro-theater .parchment-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image: radial-gradient(circle at 50% 50%, rgba(140, 110, 65, 0.2) 0%, transparent 80%);
  transition: opacity 1.2s ease;
}

.intro-theater.morph .parchment-grain, .intro-theater.oficios .parchment-grain, .intro-theater.cierre .parchment-grain {
  opacity: 0;
}

.intro-theater .vector-layer {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 82%;
  max-width: 420px;
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.intro-theater.morph .vector-layer, .intro-theater.oficios .vector-layer, .intro-theater.cierre .vector-layer {
  opacity: 1;
}

.intro-theater .vector-layer svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

#introVirgula {
  fill: none;
  stroke: #29ABE2;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 1.2s ease, transform 1.2s ease;
  transform-origin: 165px 105px;
}

.intro-theater.morph #introVirgula, .intro-theater.oficios #introVirgula, .intro-theater.cierre #introVirgula {
  stroke: #FFF200;
}

.intro-pulse-virgula {
  animation: introPulseScroll 1.2s infinite alternate ease-in-out;
}

@keyframes introPulseScroll {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(41,171,226,0.5)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 10px rgba(41,171,226,0.9)); }
}

.intro-theater .narrative-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  padding: 0 7%;
  text-align: center;
  pointer-events: none;
  z-index: 10;
}

.intro-theater .intro-line {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 5.2vw, 1.85rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: rgba(20, 16, 15, 0.82);
  backdrop-filter: blur(10px);
  padding: 0.55rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-bottom: 0.4rem;
}

.intro-theater .intro-line.line-raised {
  margin-bottom: 5.5rem;
}

.intro-theater .intro-line.active {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
}

.intro-theater .virgula-inline-icon {
  width: 32px;
  height: 26px;
  flex-shrink: 0;
  stroke: #29ABE2;
  filter: drop-shadow(0 0 4px rgba(41, 171, 226, 0.7));
}

.intro-theater .intro-line.highlight {
  color: #FFF200;
}

.intro-theater.morph .intro-line, .intro-theater.oficios .intro-line, .intro-theater.cierre .intro-line {
  color: #fff;
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.intro-theater.morph .intro-line.highlight {
  color: #FFF200;
}

.intro-theater .oficio-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  text-align: center;
  padding: 0 8%;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 6vw, 2.1rem);
  color: #FFF200;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.intro-theater .oficio-card.active {
  opacity: 1;
  transform: translateY(0);
}

.intro-theater .oficio-card span {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.52em;
  color: #ffffff;
  margin-top: 0.35rem;
  letter-spacing: 0.01em;
}

.intro-theater .cierre-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14%;
  text-align: center;
  padding: 0 8%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s ease;
  z-index: 15;
}

.intro-theater.cierre .cierre-box {
  opacity: 1;
  transform: translateY(0);
}

.intro-theater .cierre-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7.5vw, 2.7rem);
  color: #FFF200;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.intro-theater .cierre-sub {
  font-weight: 800;
  font-size: clamp(0.85rem, 3.5vw, 1.1rem);
  color: #ffffff;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.intro-theater .btn-enter-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #FFF200;
  color: #14100F;
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.intro-theater .btn-enter-site:hover {
  transform: scale(1.05);
  background: #fff;
}

.skip-intro-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(20, 16, 15, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  z-index: 30;
  transition: background 0.2s ease;
}

.skip-intro-btn:hover {
  background: rgba(20, 16, 15, 0.95);
}
