/* Pymetito ERP — marketing site */
:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-600); }
ul { list-style: none; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--slate-900);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--slate-600);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav-cta {
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600)) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
}

.nav-cta:hover { filter: brightness(1.08); }

.nav-login {
  color: var(--teal-700) !important;
  border: 1px solid var(--teal-300) !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-login:hover {
  background: var(--teal-50) !important;
  border-color: var(--teal-500) !important;
  color: var(--teal-800) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--slate-700);
  font-size: 1.25rem;
  line-height: 1;
}

/* Nav Dropdown (Productos) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  color: var(--slate-600);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active,
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown.open .nav-dropdown-btn {
  color: var(--teal-700);
  background: var(--teal-50);
}

.dropdown-arrow {
  transition: transform 0.2s ease;
  width: 14px;
  height: 14px;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: #ffffff !important;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16), 0 4px 6px rgba(15, 23, 42, 0.05);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1200;
  margin-top: 0.35rem;
  animation: navDropdownFade 0.15s ease-out;
}

/* Puente invisible para evitar que se cierre el hover al mover el mouse */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

@keyframes navDropdownFade {
  from { transform: translateY(-3px); }
  to { transform: translateY(0); }
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem !important;
  border-radius: 8px;
  text-decoration: none;
  color: var(--slate-800) !important;
  background: transparent !important;
  transition: background 0.15s, transform 0.1s;
}

.nav-dropdown-item:hover {
  background: var(--slate-50) !important;
  transform: translateX(2px);
}

.nav-dropdown-item.active {
  background: var(--teal-50) !important;
  color: var(--teal-800) !important;
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-item-desc {
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.3;
  margin-top: 0.15rem;
}

.badge-offline {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  letter-spacing: 0.02em;
}

.badge-cloud {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  letter-spacing: 0.02em;
}

.badge-custom {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  letter-spacing: 0.02em;
}

.badge-red {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  letter-spacing: 0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}
.btn-primary:hover { color: var(--white); filter: brightness(1.06); }
.btn-secondary {
  background: var(--white);
  color: var(--teal-700);
  border: 1.5px solid var(--teal-200);
}
.btn-secondary:hover { background: var(--teal-50); color: var(--teal-800); }
.btn-ghost {
  background: transparent;
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(20, 184, 166, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(37, 99, 235, 0.08), transparent),
    var(--slate-50);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--slate-600);
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-note {
  font-size: 0.88rem;
  color: var(--slate-600);
}
.hero-note a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero App Preview Window (SaaS Dashboard Mockup) */
.hero-preview-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 0;
  max-width: 100%;
}
.hero-preview-window:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.window-topbar {
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.window-dots {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-600);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  flex-shrink: 0;
}
.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.window-body {
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 480px) {
  .window-topbar { padding: 0.55rem 0.75rem; }
  .window-body { padding: 0.85rem 0.65rem; }
}

/* KPI Mini Grid */
.kpi-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (max-width: 640px) {
  .kpi-mini-grid { grid-template-columns: 1fr; }
}
.kpi-mini-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.6rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.kpi-mini-card .kpi-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi-mini-card .kpi-val {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.kpi-mini-card .kpi-trend {
  font-size: 0.67rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi-mini-card .kpi-trend.positive { color: #059669; }
.kpi-mini-card .kpi-trend.neutral { color: #2563eb; }
.kpi-mini-card .kpi-trend.ia { color: #7c3aed; }

/* Activity Stream */
.activity-mini-stream {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.activity-mini-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.activity-mini-item:hover {
  border-color: var(--teal-300);
  background: #fbfdfc;
}
.activity-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.activity-icon.icon-invoice { background: #eff6ff; }
.activity-icon.icon-ocr { background: #f5f3ff; }
.activity-icon.icon-recibo { background: #ecfdf5; }

.activity-info {
  flex: 1;
  min-width: 0;
}
.activity-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}
.activity-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-amount {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--slate-900);
  flex-shrink: 0;
}
.activity-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #7c3aed;
  background: #f5f3ff;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  border: 1px solid #ddd6fe;
  flex-shrink: 0;
}
.activity-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-500);
  margin-top: 0.1rem;
}
.activity-sub strong { color: #059669; }

/* Role Pill Bar */
.role-pill-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--slate-200);
  font-size: 0.75rem;
}
.role-pill-label {
  font-weight: 600;
  color: var(--slate-500);
}
.role-pill {
  background: var(--white);
  color: var(--slate-600);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--slate-200);
}
.role-pill.active {
  background: var(--teal-50);
  color: var(--teal-800);
  border-color: var(--teal-200);
  font-weight: 700;
}

/* Sections */
section { padding: 4rem 0; }
.section-alt { background: var(--slate-50); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--slate-900);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--slate-600); font-size: 1.05rem; }

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cards-4,
.cards.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.card h3 {
  font-size: 1.05rem;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}
.card p { color: var(--slate-600); font-size: 0.95rem; }

/* Pain / solution table style */
.solve-grid {
  display: grid;
  gap: 0.85rem;
}
.solve-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  align-items: start;
}
.solve-row .pain {
  font-weight: 600;
  color: var(--slate-800);
  font-size: 0.95rem;
}
.solve-row .fix {
  color: var(--slate-600);
  font-size: 0.95rem;
}
.solve-row .fix strong { color: var(--teal-700); }

/* Personas */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.persona {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.persona .role-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-700);
  background: #eff6ff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.persona h3 {
  font-size: 1.2rem;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}
.persona .hook {
  font-style: italic;
  color: var(--slate-600);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  border-left: 3px solid var(--teal-500);
  padding-left: 0.75rem;
}
.persona ul { display: grid; gap: 0.45rem; margin-bottom: 1.25rem; flex: 1; }
.persona li {
  font-size: 0.92rem;
  color: var(--slate-600);
  padding-left: 1.1rem;
  position: relative;
}
.persona li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: 700;
}

/* Industry / Business Types Grid (para-quien.html & index.html) */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .industry-grid { grid-template-columns: 1fr; }
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-300);
}
.industry-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}
.industry-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
}
.industry-card h3 {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin: 0;
}
.industry-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}
.industry-rubros {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}
.industry-rubros strong {
  color: var(--slate-800);
}
.industry-pain-box {
  background: var(--slate-50);
  border-left: 3px solid var(--teal-600);
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: var(--slate-700);
  margin-bottom: 1.15rem;
  line-height: 1.45;
}
.industry-features-list {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.industry-features-list li {
  font-size: 0.9rem;
  color: var(--slate-700);
  padding-left: 1.2rem;
  position: relative;
}
.industry-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: 800;
}


/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal-800), var(--blue-700));
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.75rem;
}
.cta-band p {
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}
.cta-band .btn-primary {
  background: var(--white);
  color: var(--teal-800);
  box-shadow: none;
}
.cta-band .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Page hero (inner) */
.page-hero {
  padding: 3rem 0 2rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.page-hero p {
  color: var(--slate-600);
  font-size: 1.1rem;
  max-width: 640px;
}

/* Feature list blocks */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-block h3 {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin-bottom: 0.6rem;
}
.feature-block p, .feature-block li {
  color: var(--slate-600);
  font-size: 0.98rem;
}
.feature-block ul { display: grid; gap: 0.4rem; margin-top: 0.75rem; }
.feature-block li {
  padding-left: 1.2rem;
  position: relative;
}
.feature-block li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal-600);
}
.feature-visual {
  background: linear-gradient(145deg, var(--teal-50), #eff6ff);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.feature-visual .pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  box-shadow: var(--shadow);
}

/* Conditional note */
.note-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  color: #92400e;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}
.note-box strong { color: #78350f; }

.info-box {
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  color: var(--teal-800);
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

/* Demo */
.demo-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.demo-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.demo-step::before {
  counter-increment: step;
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.demo-step h3 { font-size: 1.05rem; color: var(--slate-900); margin-bottom: 0.25rem; }
.demo-step p { color: var(--slate-600); font-size: 0.93rem; }
.demo-step .time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 0.2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.video-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-card video {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--slate-900);
  display: block;
}
.video-card .caption {
  padding: 1rem 1.15rem;
}
.video-card h3 { font-size: 1rem; color: var(--slate-900); margin-bottom: 0.25rem; }
.video-card p { font-size: 0.88rem; color: var(--slate-500); }

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info h2 {
  font-size: 1.5rem;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}
.contact-info p { color: var(--slate-600); margin-bottom: 1.25rem; }
.contact-info ul { display: grid; gap: 0.65rem; }
.contact-info li {
  color: var(--slate-700);
  font-size: 0.95rem;
  padding-left: 1.3rem;
  position: relative;
}
.contact-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: 700;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 8px;
  font: inherit;
  color: var(--slate-800);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-success {
  display: none;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  color: var(--teal-800);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.form-success.show { display: block; }
.form-hint {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 0.75rem;
}

/* Roles table */
.roles {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
}
.roles table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.roles th, .roles td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
}
.roles th {
  background: var(--slate-50);
  color: var(--slate-700);
  font-weight: 600;
}
.roles tr:last-child td { border-bottom: none; }
.roles td:first-child { font-weight: 600; color: var(--slate-800); }

/* Footer */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.inline-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  display: block;
}

.footer-brand img {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  object-fit: contain;
}
.site-footer p { font-size: 0.9rem; line-height: 1.55; max-width: 320px; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.site-footer ul { display: grid; gap: 0.4rem; }
.site-footer a { color: var(--slate-300); font-size: 0.9rem; }
.site-footer a:hover { color: var(--teal-200); }
.footer-bottom {
  border-top: 1px solid var(--slate-700);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* Utility */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.badge-ventas {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-800);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

@media (max-width: 900px) {
  /* En registro, dejar la explicación del alta después del formulario. */
  #reg-sidebar { display: contents; }
  #reg-main-card { order: 1; }
  #reg-trial-info { order: 2; }

  .hero-grid,
  .feature-block,
  .feature-block.reverse,
  .contact-layout,
  .video-grid {
    grid-template-columns: 1fr;
  }
  .feature-block.reverse { direction: ltr; }
  .cards,
  .cards-4,
  .cards.cards-4,
  .persona-grid {
    grid-template-columns: 1fr;
  }
  .solve-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--slate-800);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: var(--slate-100);
    border-color: var(--teal-500);
  }
  .nav { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    right: -1rem;
    width: calc(100% + 2rem);
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1rem 1.25rem;
    gap: 0.35rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
    z-index: 1000;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links a {
    padding: 0.65rem 0.85rem;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 8px;
  }
  .nav-links .nav-login {
    margin-top: 0.35rem;
    text-align: center;
    background: var(--slate-100);
  }
  .nav-links .nav-cta {
    text-align: center;
    padding: 0.75rem 1rem !important;
  }
  .nav-dropdown {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-dropdown-btn * {
    pointer-events: none;
  }
  .nav-dropdown-menu {
    display: none !important;
    position: static;
    box-shadow: none;
    border: 1px solid var(--slate-200);
    background: var(--slate-50);
    margin: 0.25rem 0 0.5rem;
    padding: 0.35rem;
    min-width: 0;
    width: 100%;
    animation: none !important;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .form-row { grid-template-columns: 1fr; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-4,
  .cards.cards-4 { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: 1fr 1fr; }
}

/* Screenshot gallery — Así se ve */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.shot-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.shot-card a {
  display: block;
  line-height: 0;
}
.shot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}
.shot-card figcaption {
  padding: 0.85rem 1rem 1rem;
}
.shot-card h3 {
  font-size: 0.98rem;
  margin: 0 0 0.25rem;
  color: var(--slate-900);
}
.shot-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.45;
}
@media (max-width: 900px) {
  .screenshot-gallery { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .screenshot-gallery { grid-template-columns: repeat(2, 1fr); }
}


/* Pricing stub */
.badge-propuesta {
  display: none; /* scrub comercial: badge PROPUESTA fuera de UI visible */
}
.pricing-cards { align-items: stretch; }
.pricing-card .price-stub {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 0.5rem 0 0.75rem;
}
.pricing-card.featured {
  border-color: var(--teal-300);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
}
.pricing-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--slate-600);
}
.pricing-list li {
  padding-left: 1.2rem;
  position: relative;
}
.pricing-list li::before {
  content: "·";
  position: absolute;
  left: 0.35rem;
  color: var(--teal-600);
  font-weight: 700;
}

/* IA badge */
.badge-ia {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  vertical-align: middle;
}


/* === Prod polish: a11y, forms, spacing (UX) === */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--slate-900);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}
.btn:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
.btn-row.left { justify-content: flex-start; }
.pricing-card .btn { margin-top: 1rem; }

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.form-error {
  display: none;
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 0.35rem;
}
.form-error.show { display: block; }
.form-group.has-error label { color: #b91c1c; }

.hero-note {
  color: var(--slate-600); /* better contrast than slate-500 */
}

.nav-links a.active:not(.nav-cta) {
  color: var(--teal-800);
  background: var(--teal-100);
  font-weight: 600;
}
.nav-cta.active {
  filter: brightness(1.05);
  box-shadow: 0 0 0 2px var(--teal-200);
}

/* Tablet nav: slightly tighter to reduce wrap before hamburger */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav-links a {
    font-size: 0.88rem;
    padding: 0.4rem 0.55rem;
  }
  .nav-cta { padding: 0.45rem 0.85rem !important; }
}

/* Roles table empty / sticky header on mobile scroll */
.roles th {
  position: sticky;
  top: 0;
  z-index: 1;
}
@media (max-width: 900px) {
  .roles {
    -webkit-overflow-scrolling: touch;
  }
  .roles table { min-width: 560px; }
  .page-hero { padding: 2.25rem 0 1.5rem; }
  .page-hero h1 { font-size: 1.65rem; }
  section { padding: 3rem 0; }
  .cta-band { padding: 2.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .card:hover { transform: none; }
}

/* Empty gallery / missing media fallback */
.shot-card img[src=""],
.shot-card img:not([src]) {
  min-height: 140px;
  background: var(--slate-100);
}


/* Lightbox — media in-page, no new tab */
.lightbox-trigger { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-dialog {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 90vh;
  outline: none;
}
.lightbox-dialog img,
.lightbox-dialog video {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  background: #0f172a;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.lightbox-close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-900);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.lightbox-close:hover { filter: brightness(0.95); }
.lightbox-overlay[hidden] { display: none !important; }

/* Product map — anclas internas (producto.html) */
.product-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 2rem;
}
.product-map a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  color: var(--teal-800);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.product-map a:hover {
  background: var(--teal-100);
  border-color: var(--teal-500);
  color: var(--teal-700);
}
.module-section {
  scroll-margin-top: 5rem;
}


/* Price strip (home conversión) */
.price-strip {
  text-align: center;
  padding: 1.25rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: var(--white);
}
.price-strip-amounts {
  font-size: 1.35rem;
  color: var(--slate-900);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.price-strip-amounts span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-600);
}
.price-strip-note {
  margin: 0;
  color: var(--slate-600);
  font-size: 1rem;
}
.price-strip-note a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Pricing Interactive Toggle, Cards & Checkout Modal (CRO / Sales / UX)
   ========================================================================== */

/* Pricing Toggle */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto 2.5rem;
  font-weight: 600;
  font-size: 1.05rem;
}
.pricing-toggle-wrapper .toggle-label {
  color: var(--slate-600);
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}
.pricing-toggle-wrapper .toggle-label.active {
  color: var(--slate-900);
  font-weight: 700;
}
.pricing-toggle-switch {
  width: 56px;
  height: 30px;
  background: var(--slate-300);
  border-radius: 999px;
  border: 2px solid transparent;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
  outline: none;
}
.pricing-toggle-switch:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}
.pricing-toggle-switch[aria-checked="true"] {
  background: var(--teal-600);
}
.pricing-toggle-switch .toggle-indicator {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-toggle-switch[aria-checked="true"] .toggle-indicator {
  transform: translateX(26px);
}
.discount-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* Pricing Cards Enhanced */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-300);
}
.pricing-card.featured {
  border-color: var(--teal-500);
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.18);
  z-index: 2;
}
.pricing-card.featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(13, 148, 136, 0.24);
}
.pricing-card.plan-full {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  border-color: #0d9488;
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.2);
}
.pricing-badge-full {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0d9488, #2563eb);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card-header { min-height: auto !important; margin-bottom: 0.85rem !important; }
  .price-subnote { min-height: auto !important; margin-bottom: 1rem !important; }
}

.pricing-badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.28);
  white-space: nowrap;
}

/* Header de la tarjeta para garantizar que el precio comience a la misma altura */
.pricing-card-header {
  display: flex;
  flex-direction: column;
  min-height: 7.5rem;
  margin-bottom: 1rem;
}
.pricing-card-header h3,
.pricing-card h3 {
  font-size: 1.45rem;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}
.pricing-card-header .plan-tagline,
.pricing-card .plan-tagline {
  color: var(--slate-600);
  font-size: 0.92rem;
  line-height: 1.4;
  margin: 0;
}

/* Price Box */
.price-box {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}
.price-box .price-currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
}
.price-box .price-amount {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-box .price-period {
  font-size: 1rem;
  color: var(--slate-500);
  font-weight: 500;
  margin-left: 0.25rem;
}
.price-subnote {
  font-size: 0.88rem;
  color: var(--teal-700);
  font-weight: 600;
  min-height: 2.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.pricing-card .pricing-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex: 1;
}
.pricing-card .pricing-list li {
  font-size: 0.92rem;
  color: var(--slate-700);
  padding-left: 1.4rem;
  position: relative;
}
.pricing-card .pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: 800;
  font-size: 0.95rem;
}

.pricing-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}
.pricing-card-actions .btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.98rem;
  text-align: center;
}
.pricing-card-actions .trial-link {
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.15s;
}
.pricing-card-actions .trial-link:hover {
  color: var(--teal-700);
}

/* Trust & Guarantee Badges */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 3rem 0 2rem;
}
.guarantees-grid-3,
.section-guarantees-bar .guarantees-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}
.section-guarantees-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.25rem 0;
}
@media (max-width: 900px) {
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantees-grid-3,
  .section-guarantees-bar .guarantees-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .guarantees-grid,
  .guarantees-grid-3,
  .section-guarantees-bar .guarantees-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.15rem;
}
.guarantee-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--teal-600);
  flex-shrink: 0;
}
.guarantee-item h4 {
  font-size: 0.95rem;
  color: var(--slate-900);
  margin-bottom: 0.2rem;
}
.guarantee-item p {
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.4;
  margin: 0;
}

/* FAQ Commercial Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.faq-item h3 {
  font-size: 1.05rem;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}
.faq-item p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   Checkout Modal (Transferencia Bancaria, QR Interoperable & Tarjetas)
   ========================================================================== */

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.checkout-overlay.open {
  display: flex;
}
.checkout-modal {
  position: relative;
  background: var(--white);
  width: min(650px, 100%);
  max-height: 92vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--slate-200);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  z-index: 10;
}
.checkout-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.checkout-header {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  background: linear-gradient(to bottom, var(--slate-50), var(--white));
}
.checkout-steps-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--teal-50);
  color: var(--teal-800);
  border: 1px solid var(--teal-200);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.checkout-header h2 {
  font-size: 1.45rem;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}
.checkout-header p {
  color: var(--slate-600);
  font-size: 0.92rem;
  margin: 0;
}

.checkout-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  margin: 1.25rem 1.75rem 0;
}
.checkout-selected-plan {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 1.05rem;
}
.checkout-selected-period {
  font-size: 0.85rem;
  color: var(--slate-500);
  display: block;
}
.checkout-total-price {
  text-align: right;
}
.checkout-amount {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--teal-700);
}
.checkout-tax-note {
  font-size: 0.78rem;
  color: var(--slate-500);
  display: block;
}

/* Payment Tabs */
.checkout-body {
  padding: 1.5rem 1.75rem 1.75rem;
}
.payment-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: var(--slate-100);
  padding: 0.35rem;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .payment-tabs { grid-template-columns: 1fr; }
}
.payment-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.65rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.payment-tab:hover {
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.5);
}
.payment-tab.active {
  background: var(--white);
  color: var(--teal-800);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}
.payment-tab .tab-icon {
  font-size: 1.15rem;
}
.payment-tab .tab-badge {
  font-size: 0.68rem;
  background: #ecfdf5;
  color: #047857;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-weight: 700;
}

.payment-panel {
  display: none;
  animation: panelFade 0.2s ease;
}
.payment-panel.active {
  display: block;
}
@keyframes panelFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bank Details Grid (Transferencia) */
.bank-highlight-box {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.bank-highlight-box p {
  margin: 0;
  font-size: 0.92rem;
  color: #0f766e;
}
.bank-highlight-box strong {
  color: #115e59;
}

.bank-details-grid {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.bank-row {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.bank-row-info {
  display: flex;
  flex-direction: column;
}
.bank-row-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
}
.bank-row-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  font-family: monospace;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-copy:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
}
.btn-copy.copied {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

.bank-entity-info {
  font-size: 0.85rem;
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

/* WhatsApp Notification Box */
.whatsapp-action-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.whatsapp-action-box h4 {
  color: #166534;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.whatsapp-action-box p {
  color: #15803d;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #22c55e;
  color: var(--white) !important;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
}
.btn-whatsapp:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}
.btn-whatsapp svg {
  flex-shrink: 0;
}

/* QR Code Panel */
.qr-container {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 600px) {
  .qr-container { flex-direction: column; text-align: center; }
}
.qr-box {
  background: var(--white);
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.qr-box svg, .qr-box img {
  display: block;
}
.qr-instructions h4 {
  font-size: 1.1rem;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}
.qr-instructions p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}
.qr-wallets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.wallet-pill {
  background: var(--white);
  border: 1px solid var(--slate-200);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}
.btn-mobile-qr {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
}

/* Card Subscription Panel */
.card-sub-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.card-sub-box h4 {
  font-size: 1.15rem;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
}
.card-sub-box p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  max-width: 440px;
  margin-inline: auto;
}
.card-badges {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--slate-600);
  font-weight: 600;
}

/* ==========================================================================
   Unified Registration & Checkout Flow (Step 1 + Step 2)
   ========================================================================== */
.step-progress-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}
.step-badge.active {
  background: var(--teal-50);
  color: var(--teal-800);
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
.step-badge.completed {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.step-divider {
  flex: 1;
  height: 2px;
  background: var(--slate-200);
  border-radius: 2px;
}
.step-divider.active {
  background: var(--teal-500);
}

/* Plan summary in registration sidebar */
.reg-plan-card {
  background: var(--white);
  border: 1.5px solid var(--teal-200);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
  margin-bottom: 1.25rem;
}

.reg-trial-summary {
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.reg-plan-details > summary {
  cursor: pointer;
  color: var(--teal-700);
  font-weight: 700;
}

.reg-plan-details > summary span {
  display: block;
  margin: 0.3rem 0 0.75rem;
  color: var(--slate-600);
  font-size: 0.85rem;
  font-weight: 400;
}
.reg-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.reg-plan-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.reg-plan-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 0.2rem;
}
.reg-plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.6rem 0 0.25rem;
}
.reg-plan-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal-700);
  letter-spacing: -0.02em;
}
.reg-plan-period {
  font-size: 0.9rem;
  color: var(--slate-500);
}
.reg-plan-savings {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.reg-plan-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px dashed var(--slate-200);
  font-size: 0.85rem;
  gap: 0.5rem;
}
.reg-plan-switcher select {
  font-size: 0.84rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--slate-300);
  background: #fff;
  font-weight: 600;
  color: var(--slate-800);
}

/* Step 2 Checkout Confirmation */
.checkout-confirmation-card {
  animation: panelFade 0.3s ease;
}
.success-banner-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 1.35rem;
  color: #14532d;
  margin-bottom: 1.25rem;
}
.erp-login-cta-box {
  background: #ffffff;
  border: 2px solid var(--teal-500);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.12);
}
.checkout-summary-compact {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.checkout-fiscal-info {
  font-size: 0.84rem;
  color: var(--slate-600);
  background: #fff;
  border: 1px solid var(--slate-200);
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}
.trial-upgrade-cta {
  background: #f8fafc;
  border: 1.5px dashed var(--teal-300);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.25rem;
  text-align: center;
}

/* ==========================================================================
   Slide-Over Drawer de Pago (Desplegable Horizontal CRO & UX)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s ease;
}
.drawer-overlay.open {
  visibility: visible;
  pointer-events: auto;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.drawer-overlay.open .drawer-backdrop {
  opacity: 1;
}
.drawer-panel {
  position: relative;
  z-index: 10;
  width: min(540px, 100%);
  height: 100%;
  max-height: 100vh;
  background: var(--white);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.drawer-overlay.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--slate-200);
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}
.drawer-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.drawer-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-700);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.drawer-eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 2px var(--teal-100);
}
.drawer-title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.drawer-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
  transform: scale(1.05);
}

.drawer-body {
  padding: 1.25rem 1.5rem 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
}

/* Plan summary inside drawer */
.drawer-plan-card {
  background: linear-gradient(135deg, #f0fdfa, #f8fafc);
  border: 1.5px solid var(--teal-200);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.drawer-plan-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 0.15rem;
}
.drawer-plan-cycle {
  font-size: 0.82rem;
  color: var(--teal-800);
  font-weight: 600;
}
.drawer-plan-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--teal-700);
  text-align: right;
  letter-spacing: -0.02em;
}
.drawer-plan-subnote {
  font-size: 0.72rem;
  color: var(--slate-500);
  text-align: right;
  display: block;
}

.drawer-fiscal-banner {
  font-size: 0.82rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 1.25rem;
  color: var(--slate-700);
  line-height: 1.4;
}

/* Drawer: Informative alert banner */
.drawer-info-alert {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.15rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #1e40af;
  font-size: 0.86rem;
  line-height: 1.45;
}
.drawer-info-alert-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.drawer-info-alert p {
  margin: 0.25rem 0 0;
  color: #1e3a8a;
  font-size: 0.84rem;
}

/* Drawer: Section headings */
.drawer-section-heading {
  margin-bottom: 0.85rem;
}
.drawer-section-heading h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.2rem;
}
.drawer-section-heading p {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin: 0;
}

/* Drawer: Methods list */
.drawer-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.drawer-method-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.drawer-method-card:hover {
  border-color: var(--teal-300);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.06);
}
.drawer-method-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}
.drawer-method-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.drawer-method-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 0;
}
.drawer-method-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal-700);
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 4px;
  padding: 1px 6px;
  margin-top: 2px;
}
.drawer-method-desc {
  font-size: 0.83rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin: 0 0 0.4rem;
}
.drawer-method-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: #15803d;
  font-weight: 600;
}

/* Drawer: Steps guide */
.drawer-steps-guide {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.drawer-steps-guide h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 0 0 0.45rem;
}
.drawer-steps-guide ol {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.4;
}
.drawer-steps-guide li strong {
  color: var(--slate-800);
}

.drawer-footer {
  padding: 0.85rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid var(--slate-200);
  flex-shrink: 0;
}
.drawer-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: var(--slate-600);
  font-weight: 600;
  flex-wrap: wrap;
}

/* Floating WhatsApp Button */
.whatsapp-floating {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--white) !important;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}
.whatsapp-floating:hover {
  background: #20ba5a;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: var(--white) !important;
}
.whatsapp-floating svg {
  flex-shrink: 0;
}
.whatsapp-floating-badge {
  background: #ef4444;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

@media (max-width: 768px) {
  .whatsapp-floating {
    bottom: 4.5rem;
    right: 1rem;
    padding: 0.7rem;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  .whatsapp-floating .whatsapp-text {
    display: none;
  }
}

/* Loading State for Buttons */
.btn.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Mobile Sticky Bottom Conversion Bar */
.mobile-sticky-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--slate-200);
    padding: 0.65rem 1rem;
    gap: 0.6rem;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }
}

/* ==========================================================================
   PRODUCTO.HTML — Visual Storytelling, Frames & UI Mockups
   ========================================================================== */

/* Hero Browser Preview */
.hero-browser-frame {
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  max-width: 980px;
}
.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}
.browser-dots {
  display: flex;
  gap: 0.35rem;
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }
.browser-url {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 0.2rem 0.75rem;
  font-size: 0.78rem;
  color: var(--slate-500);
  flex: 1;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.browser-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-left: auto;
}

/* Feature Screenshot Frame */
.feature-screen-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}
.feature-screen-frame {
  display: block;
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  line-height: 0;
}
.feature-screen-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  border-color: var(--teal-400);
}
.feature-screen-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.feature-screen-frame .zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
}
.feature-screen-frame:hover .zoom-badge {
  background: var(--teal-600);
  transform: scale(1.04);
}
.feature-visual .pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* UI Mockup Cards (para módulos sin screenshot full) */
.ui-mockup-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
}
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0.65rem;
}
.mockup-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.mockup-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-200);
}
.mockup-badge.success {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.mockup-badge.warning {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}
.mockup-badge.blue {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.mockup-body {
  display: grid;
  gap: 0.6rem;
}
.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate-600);
  padding: 0.4rem 0.5rem;
  background: var(--slate-50);
  border-radius: 8px;
  border: 1px solid var(--slate-100);
}
.mockup-row.highlight {
  background: var(--teal-50);
  border-color: var(--teal-100);
  color: var(--teal-900);
  font-weight: 600;
}
.mockup-row strong {
  color: var(--slate-900);
  font-weight: 700;
}
.mockup-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mockup-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--slate-600);
  font-weight: 600;
}
.mockup-bar {
  height: 8px;
  background: var(--slate-100);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.mockup-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-600));
}
.mockup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.35rem;
}
@media (max-width: 640px) {
  .mockup-actions .mockup-btn {
    width: 100%;
    justify-content: center;
  }
}
.mockup-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.mockup-btn.primary {
  background: var(--teal-600);
  color: var(--white);
  border-color: var(--teal-600);
}

/* Feature block text enhancements */
.feature-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-600);
  margin-bottom: 0.4rem;
}
.feature-block h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}
.feature-lead {
  font-size: 1.02rem;
  color: var(--slate-700);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}
.feature-block ul {
  margin-top: 1rem;
}
.feature-block li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.45;
}
.feature-block li strong {
  color: var(--slate-800);
}

/* ==========================================================================
   Social Proof: Métricas & Testimonios (P1)
   ========================================================================== */
.proof-metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: var(--slate-900);
  color: var(--white);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.proof-metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.proof-metric-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--teal-500);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.proof-metric-label {
  font-size: 0.92rem;
  color: var(--slate-300);
  font-weight: 500;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 768px) {
  .proof-metrics-strip {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }
  .testimonial-card {
    padding: 1.35rem 1.15rem;
  }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  border-color: var(--teal-200);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--slate-700);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.author-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  display: inline-block;
  margin-top: 0.25rem;
}

/* ==========================================================================
   FAQ Section (Preguntas Frecuentes & Schema)
   ========================================================================== */
.faq-grid {
  max-width: 820px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--teal-500);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
}

.faq-question {
  padding: 1.15rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--slate-500);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--teal-700);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   MCP (Model Context Protocol) Section & AI Agent Cards
   ========================================================================== */
.mcp-container {
  margin: 3.5rem 0;
}

.mcp-banner {
  background: linear-gradient(145deg, #090d16 0%, #0f172a 60%, #132038 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.mcp-banner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mcp-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.mcp-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: #5eead4;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.mcp-title {
  color: #ffffff;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.mcp-title .highlight {
  color: #2dd4bf;
}

.mcp-lead {
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.6;
}

.mcp-agents-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.mcp-agents-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
  margin-right: 0.35rem;
}

.mcp-agent-badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s, border-color 0.2s;
}

.mcp-agent-badge:hover {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.4);
}

.mcp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .mcp-grid {
    grid-template-columns: 1fr;
  }
}

.mcp-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mcp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.mcp-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.mcp-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #5eead4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.mcp-card-title {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
}

.mcp-card-prompt-wrap {
  background: rgba(10, 15, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #2dd4bf;
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.85rem;
}

.mcp-card-prompt-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.mcp-card-prompt-text {
  font-size: 0.88rem;
  color: #a5f3fc;
  font-style: italic;
  line-height: 1.45;
  margin: 0;
}

.mcp-card-text {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.mcp-setup-box {
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (max-width: 860px) {
  .mcp-setup-box {
    grid-template-columns: 1fr;
  }
}

.mcp-setup-info h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mcp-setup-info p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.mcp-code-block {
  background: #050811;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.5;
  overflow-x: auto;
}

.mcp-code-block .json-key { color: #5eead4; }
.mcp-code-block .json-string { color: #fde047; }
.mcp-code-block .json-comment { color: #64748b; font-style: italic; }

.mcp-card.highlight-card {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.08);
}

/* ==========================================================================
   Pymetito POS (Offline) & Hybrid Architecture Styles
   ========================================================================== */
.pos-badge-offline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.pos-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: posPulse 2s infinite;
}
@keyframes posPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* POS Terminal Mockup */
.pos-terminal-window {
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid #334155;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3), 0 4px 12px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
}
.pos-terminal-header {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pos-terminal-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}
.pos-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.pos-terminal-body {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem;
  background: #0f172a;
}
@media (max-width: 768px) {
  .pos-terminal-body { grid-template-columns: 1fr; }
}

.pos-cart-panel {
  background: #1e293b;
  border-radius: 10px;
  border: 1px solid #334155;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pos-cart-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f172a;
  border: 1px solid #475569;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}
.pos-cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.pos-cart-table th {
  text-align: left;
  color: #94a3b8;
  padding: 0.4rem 0.25rem;
  border-bottom: 1px solid #334155;
  font-weight: 600;
}
.pos-cart-table td {
  padding: 0.55rem 0.25rem;
  border-bottom: 1px solid #1e293b;
  color: #f1f5f9;
}
.pos-cart-table tr:last-child td { border-bottom: none; }

.pos-pay-panel {
  background: #1e293b;
  border-radius: 10px;
  border: 1px solid #334155;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.pos-total-display {
  background: #020617;
  border: 1px solid #0d9488;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  text-align: right;
}
.pos-total-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #2dd4bf;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.pos-total-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.pos-pay-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.pos-pay-btn {
  background: #334155;
  border: 1px solid #475569;
  border-radius: 6px;
  padding: 0.6rem 0.5rem;
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
}
.pos-pay-btn:hover { background: #475569; }
.pos-pay-btn.active {
  background: #0d9488;
  border-color: #14b8a6;
  color: #ffffff;
}

.pos-action-btn {
  background: linear-gradient(135deg, #10b981, #0d9488);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  padding: 0.85rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Hardware Grid */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 640px) {
  .hardware-grid {
    grid-template-columns: 1fr;
  }
}
.hardware-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hardware-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.hardware-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.hardware-card h4 {
  font-size: 1.05rem;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}
.hardware-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.45;
}

/* Hybrid Architecture Box */
.hybrid-box {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  margin-top: 2.5rem;
}
.hybrid-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.75rem;
}
@media (max-width: 900px) {
  .hybrid-grid { grid-template-columns: 1fr; }
}
.hybrid-column {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.hybrid-column h4 {
  color: #38bdf8;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hybrid-column p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.hybrid-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hybrid-column li {
  font-size: 0.85rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hybrid-column li::before {
  content: "✓";
  color: #34d399;
  font-weight: 700;
}
.hybrid-sync-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.sync-badge-pill {
  background: rgba(13, 148, 136, 0.25);
  border: 1px solid #14b8a6;
  color: #5eead4;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.sync-arrow-icon {
  font-size: 1.6rem;
  color: #14b8a6;
}

/* Modos de Contratación (3 Cards) */
.contracting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .contracting-grid { grid-template-columns: 1fr; }
}
.contracting-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contracting-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.contracting-card.highlight {
  border: 2px solid var(--teal-600);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}
.contracting-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-800);
  margin-bottom: 0.75rem;
  align-self: flex-start;
}
.contracting-card h3 {
  font-size: 1.3rem;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}
.contracting-card p {
  color: var(--slate-600);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.contracting-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contracting-features li {
  font-size: 0.88rem;
  color: var(--slate-700);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.contracting-features li::before {
  content: "•";
  color: var(--teal-600);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

/* Standalone POS Solo Banner (en planes.html) */
.pos-standalone-banner {
  background: var(--white);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .pos-standalone-banner {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
    padding: 1.5rem 1.25rem;
  }
  .pos-standalone-banner a.btn {
    width: 100%;
    justify-content: center;
  }
  .pos-addons-box {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1rem !important;
  }
  .pos-addons-box a.btn {
    width: 100%;
    justify-content: center;
    white-space: normal !important;
  }
}
.pos-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-700);
}
.pos-banner-info h4 {
  font-size: 1.2rem;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}
.pos-banner-info p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin: 0;
}
.pos-standalone-banner > .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

#planes-pos {
  scroll-margin-top: 5rem;
}
.pricing-cards.pos-plan-cards {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  max-width: 920px;
  margin: 2rem auto 0;
}
.pos-compare {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}
.pos-compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.pos-compare th,
.pos-compare td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--slate-100);
  text-align: center;
  vertical-align: middle;
}
.pos-compare thead th {
  background: var(--slate-50);
  color: var(--slate-800);
  font-size: 1rem;
}
.pos-compare thead th:last-child,
.pos-compare tbody td:last-child {
  background: #f0fdfa;
}
.pos-compare thead th:first-child,
.pos-compare tbody th {
  text-align: left;
  font-weight: 600;
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--white);
}
.pos-compare thead th:first-child {
  z-index: 2;
  background: var(--slate-50);
}
.pos-compare-price {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
.pos-compare-price small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-500);
}
.pos-tick {
  color: var(--teal-600);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
}
.pos-compare tfoot td {
  border-bottom: none;
  background: var(--white);
  padding: 1rem;
}
.pos-compare tfoot .btn {
  width: 100%;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .pos-compare tfoot .btn {
    white-space: normal;
  }
}

.pos-plan-note {
  max-width: 720px;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--slate-600);
  font-size: 0.92rem;
}
.pos-diff-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.pos-diff-list {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.pos-diff-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
}
.pos-diff-list li span {
  color: var(--slate-600);
}
.pos-diff-list li strong {
  text-align: right;
  max-width: 58%;
}
.pos-diff-list li.is-limit {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.pos-diff-list li.is-limit strong {
  color: #c2410c;
}
.pos-diff-list li.is-no {
  background: var(--slate-50);
  border: 1px dashed var(--slate-300);
}
.pos-diff-list li.is-no strong {
  color: var(--slate-500);
  font-weight: 600;
}
.pos-diff-list li.is-yes {
  background: #ecfdf5;
  border: 1px solid #99f6e4;
}
.pos-diff-list li.is-yes strong {
  color: var(--teal-800);
}
.pos-shared-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.pricing-card .pricing-list.pos-shared-list {
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.pricing-card .pricing-list.pos-shared-list li {
  font-size: 0.84rem;
  color: var(--slate-500);
}
@media (max-width: 768px) {
  .pricing-cards.pos-plan-cards {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Sección No Principal: Desarrollo de Software a Medida
   ========================================================================== */
.section-custom-dev {
  padding: 4.5rem 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  scroll-margin-top: 4.5rem;
}

.custom-dev-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.custom-dev-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-600));
}

.custom-dev-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.custom-dev-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.custom-dev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  display: inline-block;
  box-shadow: 0 0 0 2px var(--teal-100);
}

.custom-dev-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.custom-dev-subtitle {
  font-size: 0.98rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.custom-dev-subtitle strong {
  color: var(--slate-800);
}

.custom-dev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.custom-dev-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.custom-dev-item:hover {
  background: var(--white);
  border-color: var(--teal-500);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.custom-dev-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.custom-dev-item:hover .custom-dev-icon {
  border-color: var(--teal-200);
  background: var(--teal-50);
}

.custom-dev-content h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}

.custom-dev-content p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin: 0;
}

.custom-dev-footer {
  border-top: 1px solid var(--slate-200);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.custom-dev-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.custom-dev-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.custom-dev-badge .badge-check {
  color: var(--teal-600);
  font-weight: 800;
}

.custom-dev-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 860px) {
  .custom-dev-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .custom-dev-card {
    padding: 2rem 1.25rem;
  }
  .custom-dev-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .custom-dev-badges {
    justify-content: center;
  }
  .custom-dev-actions {
    flex-direction: column;
    width: 100%;
  }
  .custom-dev-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Pymetito Red (Compras Colectivas, Preventas & Portal B2B)
   ========================================================================== */
.red-badge-network {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.red-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: redPulse 2s infinite;
}

@keyframes redPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Red Interactive Mockup Dashboard */
.red-mockup-window {
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid #334155;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35), 0 4px 12px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
}

.red-mockup-header {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.red-mockup-title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
}

.red-mockup-subtitle {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
}

.red-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.red-mockup-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: #0f172a;
}

.red-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .red-kpi-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
}

.red-kpi-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.red-kpi-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.red-kpi-value {
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.red-kpi-currency {
  font-size: 0.8em;
  opacity: 0.85;
  font-weight: 700;
}

.red-presale-item {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.red-presale-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.red-presale-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f8fafc;
}

.red-presale-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.red-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #334155;
  border-radius: 999px;
  overflow: hidden;
}

.red-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f97316);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.red-presale-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Selector Tabs */
.red-tabs-container {
  margin: 2rem 0;
}

.red-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.red-tab-btn {
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.red-tab-btn:hover {
  border-color: #f87171;
  color: var(--text);
}

.red-tab-btn.active {
  background: #fef2f2;
  border-color: #ef4444;
  color: #b91c1c;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.12);
}

.red-tab-pane {
  display: none;
}

.red-tab-pane.active {
  display: block;
  animation: fadeInPane 0.3s ease;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step Cards */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #fca5a5;
}

.step-badge-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Wholesale B2B Spotlight Styles */
.wholesale-intro-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.wholesale-intro-box h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.wholesale-intro-box p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.solve-badge-pain {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.solve-badge-fix {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.wholesale-portal-preview {
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid #334155;
  padding: 1.5rem;
  color: #f8fafc;
  margin-top: 2rem;
}

.wholesale-portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wholesale-portal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .wholesale-portal-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Invoice OCR Spotlight & PR Roadmap Styles
   ========================================================================== */
.ocr-spotlight-box {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  border: 1px solid #3730a3;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #f8fafc;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4);
  margin-top: 2rem;
}

.ocr-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .ocr-split-grid {
    grid-template-columns: 1fr;
  }
  .ocr-spotlight-box {
    padding: 1.5rem;
  }
}

.ocr-doc-mockup {
  background: #ffffff;
  color: #0f172a;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  font-family: monospace;
  font-size: 0.78rem;
  position: relative;
  overflow: hidden;
}

.ocr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #6366f1, transparent);
  box-shadow: 0 0 10px #6366f1;
  animation: scanInvoice 3s infinite linear;
}

@keyframes scanInvoice {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.ocr-data-extracted {
  background: #1e293b;
  border: 1px solid #4338ca;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ocr-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
  padding-bottom: 0.5rem;
  font-size: 0.85rem;
}

.ocr-data-label {
  color: #94a3b8;
  font-weight: 500;
}

.ocr-data-val {
  color: #a5b4fc;
  font-weight: 700;
}

/* Roadmap & PRs in progress */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

.roadmap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.roadmap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #a5b4fc;
}

.roadmap-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.roadmap-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.roadmap-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.roadmap-tag {
  background: var(--surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* ==========================================================================
   Notifications Showcase Styles
   ========================================================================== */
.notif-spotlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.notif-toast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .notif-toast-grid {
    grid-template-columns: 1fr;
  }
}

.notif-toast-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.notif-toast-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
}

.notif-toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notif-toast-content {
  flex: 1;
}

.notif-toast-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-toast-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.notif-toast-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.notif-toast-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

.notif-toast-link:hover {
  text-decoration: underline;
}
