/* NextEnd Solutions - Luxury Gold & Obsidian Black Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --bg-dark: #040406;
  --bg-card: rgba(18, 18, 24, 0.78);
  --bg-card-hover: rgba(28, 28, 38, 0.9);
  --border-glass: rgba(212, 175, 55, 0.18);
  --border-glow: rgba(212, 175, 55, 0.4);
  
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-amber: #ffb703;
  --gold-dark: #aa7c11;
  
  /* Color themes for plans */
  --plan-green: #10b981;
  --plan-blue: #3b82f6;
  --plan-purple: #a855f7;
  --plan-gold: #d4af37;

  --text-main: #fcfcfd;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  
  --gradient-gold: linear-gradient(135deg, #fff3c4 0%, #d4af37 50%, #aa7c11 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #f3e5ab 40%, #d4af37 100%);
  --shadow-gold: 0 0 35px rgba(212, 175, 55, 0.22);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Three.js Fixed Full-Screen Background Canvas */
.three-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.three-bg-canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Background Ambient Gold Lighting Orbs */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.orb-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent);
  top: -120px;
  left: -120px;
}

.orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.16), transparent);
  top: 50%;
  right: -150px;
}

/* Typography Helpers */
h1, h2, h3, h4, .brand-font {
  font-family: 'Outfit', sans-serif;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  backdrop-filter: blur(8px);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-primary);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Layout & Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(4, 4, 6, 0.93);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.4rem;
  font-weight: 800;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  color: #040406;
  font-weight: 900;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 1.4rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #040406;
  box-shadow: 0 4px 25px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.55);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-3px) scale(1.03);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 60px;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.12;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Feature Showcase Panel (Gold Accents) */
.hero-feature-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
}

.hero-feature-panel:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 25px 60px rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 14px;
}

.hero-panel-header h4 {
  font-size: 1.05rem;
  color: var(--gold-light);
}

.hero-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.hero-feature-item:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--text-main);
  transform: translateX(4px);
}

.hero-feature-item .icon-glow {
  font-size: 1.1rem;
  color: var(--gold-primary);
}

.hero-3d-action-btn {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.hero-3d-action-btn:hover {
  background: var(--gold-primary);
  color: #040406;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* KPI Bar */
.kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.kpi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kpi-val {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
}

.kpi-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Features Grid */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-top: 12px;
  margin-bottom: 14px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.2);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.15) rotate(6deg);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Rubros Section */
.rubros-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
}

.rubros-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) transparent;
}

.rubro-tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rubro-tab-btn.active, .rubro-tab-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.rubro-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.rubro-info-box h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.rubro-info-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.rubro-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.rubro-tag {
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.06);
  font-size: 0.8rem;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.product-preview-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(4, 4, 6, 0.7);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.product-preview-table th, .product-preview-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
}

.product-preview-table th {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  font-weight: 600;
  border-bottom: 1px solid var(--border-glass);
}

.product-preview-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

/* Interactive Simulator Widget */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.sim-form-card, .sim-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input, .form-select {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(4, 4, 6, 0.8);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.sim-result-preview {
  background: #040406;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* PRICING PLANS */
.plans-section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.plan-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.plan-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* PLAN 1: BÁSICO (Green Accent) */
.plan-basico {
  border-color: var(--plan-green);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}

.plan-basico .plan-badge-header { background: var(--plan-green); color: #ffffff; }
.plan-basico .price-text { color: var(--plan-green); }
.plan-basico .annual-box { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.3); }

/* PLAN 2: PROFESIONAL (Gold / Blue) - MÁS POPULAR */
.plan-profesional {
  border-color: var(--gold-primary);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
}

.plan-profesional .plan-badge-header { background: var(--gradient-gold); color: #040406; }
.plan-profesional .price-text { color: var(--gold-light); }
.plan-profesional .annual-box { background: rgba(212, 175, 55, 0.15); border: 1px solid rgba(212, 175, 55, 0.35); }

.popular-banner {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-amber);
  color: #040406;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 18px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* PLAN 3: EMPRESARIAL (Purple Accent) */
.plan-empresarial {
  border-color: var(--plan-purple);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.12);
}

.plan-empresarial .plan-badge-header { background: var(--plan-purple); color: #ffffff; }
.plan-empresarial .price-text { color: var(--plan-purple); }
.plan-empresarial .annual-box { background: rgba(168, 85, 247, 0.12); border: 1px solid rgba(168, 85, 247, 0.3); }

/* PLAN 4: PERSONALIZADOS (Orange Accent) */
.plan-personalizado {
  border-color: var(--plan-orange);
  background: rgba(249, 115, 22, 0.05);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.1);
}

.plan-personalizado .plan-badge-header { background: var(--plan-orange); color: #ffffff; }

/* Plan Card Inner Structure */
.plan-badge-header {
  text-align: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.plan-subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-price-box {
  text-align: center;
  margin: 16px 0;
}

.price-text {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-sublabel {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.annual-box {
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.annual-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
  text-transform: uppercase;
}

.annual-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
}

.annual-equiv {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.4;
}

.plan-features-list li .check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-basico .check-icon { background: rgba(16, 185, 129, 0.2); color: var(--plan-green); }
.plan-profesional .check-icon { background: rgba(212, 175, 55, 0.2); color: var(--gold-primary); }
.plan-empresarial .check-icon { background: rgba(168, 85, 247, 0.2); color: var(--plan-purple); }

.btn-plan {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.plan-basico .btn-plan { background: var(--plan-green); color: #ffffff; }
.plan-profesional .btn-plan { background: var(--gradient-gold); color: #040406; }
.plan-empresarial .btn-plan { background: var(--plan-purple); color: #ffffff; }
.plan-personalizado .btn-plan { background: var(--plan-orange); color: #ffffff; }

.btn-plan:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.custom-icon-box {
  text-align: center;
  font-size: 3.5rem;
  margin: 16px 0;
}

.custom-question {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.custom-desc {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(4, 4, 6, 0.96);
  padding: 60px 0 30px 0;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Modal PDF Preview */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 6, 0.88);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #0d0e14;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.ticket-preview-box {
  background: #ffffff;
  color: #1e293b;
  padding: 24px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  max-width: 360px;
  margin: 20px auto 0 auto;
}

.ticket-header {
  text-align: center;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.ticket-table {
  width: 100%;
  margin: 12px 0;
}

.ticket-totals {
  border-top: 1px dashed #cbd5e1;
  padding-top: 8px;
  margin-top: 8px;
}

/* RESPONSIVENESS */
@media (max-width: 1100px) {
  .hero-title { font-size: 2.8rem; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .rubro-detail-grid, .sim-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .mobile-toggle { display: block; }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(4, 4, 6, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    display: none;
  }

  .nav-links.mobile-open { display: flex; }
  .nav-actions { display: none; }
  
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-feature-list { grid-template-columns: 1fr; }

  .kpi-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  section { padding: 60px 0; }
  .hero-title { font-size: 2rem; }
  .price-text { font-size: 2.3rem; }
  .kpi-bar { grid-template-columns: 1fr; }
  .rubros-wrapper { padding: 20px 14px; }
  .sim-form-card, .sim-result-card { padding: 20px 16px; }
}
