:root {
  --bg-dark: #070b14;
  --bg-surface: #0f1628;
  --bg-card: rgba(18, 26, 46, 0.78);
  --bg-card-hover: rgba(24, 35, 62, 0.92);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-highlight: rgba(56, 189, 248, 0.45);
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #06b6d4;
  --emerald: #10b981;
  --amber: #f59e0b;
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-xl: 0 22px 50px -12px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Luces ambientales */
.bg-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(135px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}

.bg-glow-1 {
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, #3b82f6, #06b6d4);
}

.bg-glow-2 {
  bottom: 10%;
  right: -140px;
  background: radial-gradient(circle, #10b981, #3b82f6);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  min-width: 44px;
  height: 40px;
  padding: 0 8px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

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

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--emerald);
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--text-main);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.96rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 76px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #22d3ee, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-item strong {
  font-size: 1.15rem;
  color: var(--text-main);
}

.metric-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* Consola / Terminal interactiva */
.hero-terminal {
  background: #0a0f1e;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px;
  border-radius: 8px;
}

.term-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.term-tab.active {
  background: var(--primary);
  color: #fff;
}

.terminal-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--emerald);
}

.terminal-body {
  padding: 16px;
}

.terminal-request {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.http-method {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
}

.terminal-request code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #e2e8f0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-try {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

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

.terminal-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #93c5fd;
  background: rgba(5, 8, 17, 0.7);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  max-height: 310px;
}

/* Secciones generales */
.section {
  padding: 76px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.tax-disclaimer-banner {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: #fcd34d;
  font-size: 0.86rem;
}

/* Productos Activos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.curp-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.rfc-icon {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.product-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.91rem;
  color: #cbd5e1;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.endpoint-chip code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 6px;
  color: #93c5fd;
}

/* Suite Banner */
.suite-banner {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.45), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.suite-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.06em;
}

.suite-info h4 {
  font-size: 1.2rem;
  margin: 4px 0;
}

.suite-info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Precios */
.section-pricing {
  background: radial-gradient(ellipse at top, rgba(30, 64, 175, 0.14), transparent 70%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  background: linear-gradient(180deg, rgba(23, 37, 84, 0.65), rgba(15, 23, 42, 0.92));
  border: 2px solid var(--primary);
  box-shadow: 0 24px 55px rgba(37, 99, 235, 0.22);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #10b981);
  color: #050811;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
}

.discount-pill {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.plan-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 6px;
}

.price-box {
  margin: 24px 0;
  padding: 20px;
  background: rgba(7, 11, 20, 0.55);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.price-Anchor {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.price-Anchor del {
  color: #f87171;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-main .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-main .amount {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-main .period {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.price-note {
  font-size: 0.84rem;
  color: #fcd34d;
  margin-top: 6px;
}

.price-subnote {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

.savings-highlight {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #6ee7b7;
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.plan-features .check {
  color: var(--emerald);
  font-weight: 800;
}

/* Sección de Contratación y Transferencia */
.contract-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.contract-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.step-badge {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.tax-pill {
  font-size: 0.75rem;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
}

.env-badge {
  font-size: 0.75rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
}

.contract-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.form-helper {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: #e2e8f0;
}

.label-tax-hint {
  font-weight: 500;
  font-size: 0.78rem;
  color: #fcd34d;
}

.req {
  color: #f87171;
}

.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(7, 11, 20, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.field-error {
  display: block;
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 5px;
  min-height: 18px;
}

/* Radio de selección de plan */
.plan-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.plan-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.55);
  cursor: pointer;
  transition: all 0.2s;
}

.plan-radio-card.selected {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.12);
}

.plan-radio-card input {
  margin-top: 4px;
}

.plan-radio-content {
  flex: 1;
}

.plan-radio-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-radio-price {
  color: #60a5fa;
  font-weight: 700;
  font-size: 0.95rem;
}

.plan-radio-price small {
  font-size: 0.72rem;
  color: #fcd34d;
}

.plan-radio-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.mini-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Método de pago Transferencia */
.payment-method-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.pm-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pm-radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid var(--emerald);
  background: #fff;
}

.pm-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pm-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.16);
  padding: 4px 10px;
  border-radius: 999px;
}

.form-tax-notice {
  margin-bottom: 18px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.32);
  color: #fde68a;
  font-size: 0.83rem;
}

/* Tarjeta derecha: Datos bancarios (.env) */
.transfer-amount-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(6, 182, 212, 0.14));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.ta-label {
  display: block;
  font-size: 0.8rem;
  color: #93c5fd;
}

.ta-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.ta-tax-note {
  display: block;
  font-size: 0.76rem;
  color: #fcd34d;
  font-weight: 600;
  margin-top: 2px;
}

.ta-method-pill {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #38bdf8;
}

.bank-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.bank-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.bank-val {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text-main);
  text-align: right;
}

.highlight-val {
  color: #34d399;
}

.bank-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: #38bdf8;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-copy:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Resultado de Confirmación de Orden */
.order-result {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.4);
  animation: fadeIn 0.3s ease;
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sim-result-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

.sim-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--emerald);
  color: #050811;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.sim-result-header h4 {
  font-size: 1rem;
  color: #6ee7b7;
}

.sim-result-header p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.sim-result-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.sim-row span {
  color: var(--text-secondary);
}

.sim-row code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 8px;
  border-radius: 5px;
  color: #fde047;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  margin-top: 40px;
  background: rgba(5, 8, 17, 0.8);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.contact-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

.sql-download-link {
  color: #34d399;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  transition: all 0.2s;
}

.sql-download-link:hover {
  background: rgba(16, 185, 129, 0.25);
}

.order-actions-stack {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================================================================
   PORTAL DE CLIENTES (INICIAR SESIÓN, VER CONTRATO Y SUBIR TICKET DE PAGO)
   ========================================================================= */
.section-portal {
  background: radial-gradient(ellipse at bottom, rgba(6, 182, 212, 0.12), transparent 72%);
  border-top: 1px solid var(--border-subtle);
}

.contact-official-pill {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.13);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e2e8f0;
  font-size: 0.88rem;
}

.contact-official-pill a {
  color: #38bdf8;
  text-decoration: none;
}

.contact-official-pill a:hover {
  text-decoration: underline;
}

.portal-login-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.portal-login-card {
  box-shadow: var(--shadow-xl);
}

.demo-credentials-box {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed rgba(56, 189, 248, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.demo-cred-info p {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.demo-cred-info code {
  font-family: 'JetBrains Mono', monospace;
  color: #fde047;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
}

.portal-contact-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.portal-contact-footer a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

/* Dashboard del Portal de Cliente */
.portal-dashboard {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portal-topbar {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.portal-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}

.portal-welcome-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #34d399;
}

.portal-user-info h4 {
  font-size: 1.1rem;
  margin: 1px 0;
}

.portal-client-email {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.portal-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contract-selector-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contract-selector-wrap select {
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Caja de Folio de Licencia y Aviso de Lugar Seguro */
.license-highlight-box {
  margin-bottom: 20px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(37, 99, 235, 0.16));
  border: 2px solid rgba(16, 185, 129, 0.55);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.license-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.license-pill {
  font-size: 0.73rem;
  font-weight: 800;
  color: #052e16;
  background: #34d399;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.license-duration-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
}

.license-folio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(7, 11, 20, 0.78);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.license-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.license-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.08rem;
  font-weight: 800;
  color: #fde047;
  letter-spacing: 0.03em;
}

.license-security-warning {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fef3c7;
  font-size: 0.81rem;
  line-height: 1.45;
}

.license-security-warning strong {
  display: block;
  color: #fcd34d;
  margin-bottom: 3px;
}

/* Dropzone de Subida de Ticket de Pago */
.file-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 18px;
  border: 2px dashed rgba(56, 189, 248, 0.45);
  border-radius: var(--radius-md);
  background: rgba(7, 11, 20, 0.65);
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-dropzone:hover,
.file-dropzone.has-file {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
}

.file-dropzone input[type="file"] {
  display: none;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dropzone-icon {
  font-size: 2rem;
  line-height: 1;
}

.dropzone-content strong {
  font-size: 0.93rem;
  color: #e2e8f0;
}

.dropzone-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--emerald);
  color: #04130d;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid,
  .products-grid,
  .pricing-grid,
  .contract-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .suite-banner {
    flex-direction: column;
    text-align: center;
  }
}
