
:root{
  --primary: #00B8A9;
  --secondary: #18C7D9;
  --bg-dark: #020617; 
  --card-bg: rgba(15, 23, 42, 0.8);
  --accent: #38BDF8;
  --white: #ffffff;
  
  /* Alias for old variables to maintain compatibility */
  --turquesa: var(--primary);
  --cyan: var(--secondary);
  --azul: #0F172A;
  --azul2: #1E293B;
}

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

body{
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100vh;
  color: var(--white);
  background: 
    linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.6)),
    url('../img/FOND.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden; /* Evita la barra lateral horizontal */
}

header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 7%;
  height: 110px; /* Un poco más alto para el logo más grande */
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(24, 199, 217, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand img{
  height: 180px; /* Logo imponente */
  width: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 10px; 
  cursor: pointer;
}

.brand img:hover{
  transform: scale(1.02);
}

nav{
  display:flex;
  gap:28px;
}

nav a{
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px; /* Botones más grandes */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px 24px;
  border-radius: 14px;
}

nav a:hover{
  color: var(--secondary); /* Color azul/cian llamativo */
  background: rgba(24, 199, 217, 0.1);
  box-shadow: 
    0 0 0 1px rgba(24, 199, 217, 0.2),
    0 10px 20px -10px rgba(24, 199, 217, 0.4);
  transform: translateY(-2px);
  text-shadow: 0 0 15px rgba(24, 199, 217, 0.6);
}

.top-access{
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.top-access:hover{
  background: var(--secondary);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(24, 199, 217, 0.4);
}

main{
  min-height:calc(100vh - 100px);
  display:grid;
  grid-template-columns:1fr 420px;
  align-items:center;
  gap:50px;
  padding:80px 7%;
}

.badge{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  margin-bottom:25px;
}

.hero h1{
  font-size:72px;
  line-height:1;
  margin-bottom:25px;
}

.hero h1 span{
  color:var(--turquesa);
}

.hero p{
  font-size:18px;
  line-height:1.7;
  max-width:650px;
  color:rgba(255,255,255,.85);
  margin-bottom:30px;
}

.hero-buttons{
  display:flex;
  gap:15px;
}

.btn-primary,
.btn-secondary{
  padding:16px 28px;
  border-radius:16px;
  text-decoration:none;
  font-weight:bold;
}

.btn-primary{
  background:linear-gradient(135deg,var(--turquesa),var(--cyan));
  color:var(--azul);
}

.btn-secondary{
  border:1px solid rgba(255,255,255,.2);
  color:white;
}

.login-card{
  background: rgba(255, 255, 255, 0.35) !important; /* Equilibrio perfecto de blanco y transparencia */
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #020617 !important; 
  padding: 80px 60px; 
  border-radius: 50px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 500px;
}

.login-card h2{
  color: #008f83 !important; /* Turquesa oscuro para contraste */
  margin-bottom: 10px;
  font-weight: 800;
}

.login-card p{
  color: #1e293b !important; /* Gris oscuro */
  margin-bottom:20px;
}

.login-card form{
  display:flex;
  flex-direction:column;
  gap:25px; /* Más espacio entre inputs */
}

.login-card input{
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.05); /* Fondo suave oscuro para los inputs */
  color: #0f172a;
  transition: all 0.3s ease;
}

.login-card input::placeholder{
  color: rgba(15, 23, 42, 0.5);
}

.login-card input:focus{
  outline: none;
  border-color: var(--secondary);
  background: rgba(0, 0, 0, 0.08);
}

.login-card button{
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-card button:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 184, 169, 0.3);
}

.login-error {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 12px 16px;
  border-radius: 14px;
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  animation: fadeIn 0.4s ease forwards;
}

/* --- Modal Overlay & Card --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #020617 !important;
  padding: 50px 40px;
  border-radius: 40px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
  width: 90%;
  max-width: 480px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #020617;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.close-modal-btn:hover {
  color: #dc2626;
}

.modal-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #008f83;
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.modal-card h2 {
  color: #008f83 !important;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal-card p {
  color: #1e293b !important;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 25px;
}

.modal-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-card input {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.05);
  color: #0f172a;
  transition: all 0.3s ease;
}

.modal-card input:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(0, 0, 0, 0.08);
}

.modal-payment-sim {
  background: rgba(0, 184, 169, 0.1);
  border: 1px dashed rgba(0, 184, 169, 0.4);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.85rem;
  color: #006b62;
  font-weight: 600;
}

.modal-card button[type="submit"] {
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-card button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 184, 169, 0.3);
}

/* --- Super Admin Panel Styles --- */
.superadmin-card {
  max-width: 900px !important;
  width: 95% !important;
  padding: 40px !important;
}

.admin-badge {
  background: #7c3aed !important; /* Elegant Purple for Super Admin */
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  margin-top: 20px;
  text-align: left;
}

.admin-col h3 {
  color: #008f83;
  font-size: 1.15rem;
  margin-bottom: 20px;
  font-weight: 800;
  border-bottom: 2px solid rgba(0, 143, 131, 0.1);
  padding-bottom: 10px;
}

.users-list-container {
  max-height: 280px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 10px;
}

.user-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
}

.user-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.user-item-name {
  font-weight: 700;
  color: #020617;
  font-size: 0.9rem;
  word-break: break-all;
}

.user-item-plan {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 800;
  width: fit-content;
}

.plan-tag-basico {
  background: rgba(0, 184, 169, 0.15);
  color: #008f83;
}

.plan-tag-profesional {
  background: rgba(24, 199, 217, 0.15);
  color: #1595a3;
}

.plan-tag-enterprise {
  background: rgba(124, 58, 237, 0.15);
  color: #7c3aed;
}

.delete-user-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s;
}

.delete-user-btn:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

@media (max-width: 768px) {
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .superadmin-card {
    padding: 30px 20px !important;
  }
}




.floating-buttons{
  position:fixed;
  right:30px;
  bottom:30px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.ai-btn,
.ws-btn{
  width:62px;
  height:62px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:white;
  font-weight:bold;
  font-size:24px;
}

.ai-btn{
  background:linear-gradient(135deg,var(--azul2),var(--turquesa));
}

.ws-btn{
  background:#25D366;
}

/* ===== SECCIONES INFORMATIVAS: ARANCEL, NORMATIVA, IMPORTACIONES ===== */
.info-section {
  padding: 120px 7%;
  scroll-margin-top: 130px;
  position: relative;
}

/* Línea decorativa superior entre secciones */
.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  opacity: 0.3;
}

/* Encabezados de sección */
.info-section .section-header {
  text-align: center;
  margin-bottom: 70px;
}
.info-section .section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
}
.info-section .section-header h2 span {
  color: var(--secondary);
  text-shadow: 0 0 40px rgba(24, 199, 217, 0.3);
}
.info-section .section-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── ARANCEL: Grid de 3 columnas ── */
.arancel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjetas con Glassmorphism */
.info-card {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 28px;
  padding: 40px 35px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
/* Brillo decorativo superior */
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.info-card:hover::before {
  opacity: 1;
}
.info-card:hover {
  transform: translateY(-8px);
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(24, 199, 217, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(24, 199, 217, 0.08);
}

/* Iconos circulares */
.info-card .card-icon {
  font-size: 32px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, rgba(0, 184, 169, 0.15), rgba(24, 199, 217, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border: 1px solid rgba(24, 199, 217, 0.2);
  transition: all 0.3s ease;
}
.info-card:hover .card-icon {
  background: linear-gradient(135deg, rgba(0, 184, 169, 0.3), rgba(24, 199, 217, 0.2));
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(24, 199, 217, 0.2);
}

/* Títulos de tarjetas */
.info-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 5px;
  letter-spacing: -0.3px;
}

/* Lista de tributos */
.tax-list {
  list-style: none;
  margin-top: 20px;
  flex-grow: 1;
  padding: 0;
}
.tax-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}
.tax-list li:last-child {
  border-bottom: none;
}
.tax-list li strong {
  color: white;
}

/* ── Simulador de Tributos ── */
.simulator-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  padding: 25px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-grow: 1;
}
.sim-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
.sim-row:last-of-type:not(.total) {
  border-bottom: none;
}
.sim-row.total {
  border-top: 2px solid rgba(24, 199, 217, 0.5);
  border-bottom: none;
  margin-top: 12px;
  padding-top: 18px;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--secondary);
}
.sim-row .value {
  font-weight: 700;
  color: white;
  font-variant-numeric: tabular-nums;
}
.sim-row.total .value {
  color: var(--secondary);
  text-shadow: 0 0 15px rgba(24, 199, 217, 0.4);
}

/* Enlace de texto */
.btn-text {
  display: inline-block;
  margin-top: auto;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  padding-top: 20px;
  font-size: 0.95rem;
}
.btn-text:hover {
  transform: translateX(8px);
  color: white;
}

/* ── NORMATIVA: Layout 2 columnas ── */
.alt-bg {
  background: rgba(0, 0, 0, 0.15);
}
.normative-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.normative-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.norm-card {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 22px;
  padding: 30px 35px;
  border-left: 4px solid var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.35s ease;
}
.norm-card:hover {
  transform: translateX(10px);
  background: rgba(15, 23, 42, 0.75);
  border-left-color: var(--secondary);
  box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.4);
}
.norm-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 1.2px;
  display: inline-block;
  background: rgba(24, 199, 217, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
}
.norm-card h4 {
  margin: 14px 0 10px;
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
}
.norm-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Panel de búsqueda normativa */
.normative-search {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 40px;
  height: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 120px;
}
.normative-search h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.normative-search input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  margin: 20px 0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.normative-search input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 20px rgba(24, 199, 217, 0.15);
}
.normative-search .btn-primary {
  width: 100%;
  text-align: center;
  display: block;
}

/* ── IMPORTACIONES: Grid de pasos con centrado ── */
.steps-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centra los cuadros 5 y 6 si quedan en una fila nueva */
  gap: 25px;
  margin-bottom: 60px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}
.step-item {
  display: flex;
  flex-direction: column;
  flex: 0 1 380px; /* Tamaño base para que quepan 3 o 2 por fila */
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 28px;
  padding: 45px 30px 35px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}
.step-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.step-item:hover::after {
  opacity: 1;
}
.step-item:hover {
  background: rgba(15, 23, 42, 0.7);
  transform: translateY(-8px);
  border-color: rgba(24, 199, 217, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.step-number {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.08;
  position: absolute;
  top: 8px;
  right: 18px;
  line-height: 1;
  transition: all 0.4s ease;
}
.step-item:hover .step-number {
  opacity: 0.2;
  transform: scale(1.08);
}
.step-content {
  position: relative;
  z-index: 1;
}
.step-content h4 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: white;
  font-weight: 700;
}
.step-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* Documentación - Badges */
.docs-highlight {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 50px;
  text-align: center;
  border: 1px solid rgba(24, 199, 217, 0.15);
  max-width: 1200px;
  margin: 0 auto;
}
.docs-highlight h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: 800;
}
.docs-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.docs-badges span {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(24, 199, 217, 0.25);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}
.docs-badges span:hover {
  transform: translateY(-3px);
  background: rgba(24, 199, 217, 0.15);
  border-color: var(--secondary);
  box-shadow: 0 8px 20px rgba(24, 199, 217, 0.2);
  color: white;
}

/* Responsive */
@media (max-width: 900px) {
  .normative-wrapper {
    grid-template-columns: 1fr;
  }
  .info-section .section-header h2 {
    font-size: 2.2rem;
  }
  .arancel-grid {
    grid-template-columns: 1fr;
  }
  .steps-timeline {
    grid-template-columns: 1fr;
  }
}

/* Planes Section - New Design */
.pricing-section {
  padding: 120px 7%;
  background: transparent;
  scroll-margin-top: 130px; /* Un poco más de margen para mayor seguridad */
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  flex: 1;
  background: rgba(15, 23, 42, 0.3); /* Más transparente */
  backdrop-filter: blur(25px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 40px; /* Más largo */
  text-align: center;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 30px;
}

.pricing-card h3 {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 20px;
  margin-bottom: 5px;
}

.subtitle {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.pricing-card .price {
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card .price span {
  font-size: 14px;
  opacity: 0.5;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-card ul li {
  font-size: 13px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card ul li::before {
  content: '●';
  font-size: 8px;
  color: var(--secondary);
}

.btn-plan {
  background: var(--secondary);
  color: var(--bg-dark);
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(24, 199, 217, 0.2);
}

.btn-plan:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 25px rgba(24, 199, 217, 0.4);
}

/* Colores específicos para cada tarjeta (Sutiles) */
.pricing-grid .pricing-card:nth-child(1) .card-icon { background: rgba(24, 199, 217, 0.2); }
.pricing-grid .pricing-card:nth-child(2) .card-icon { background: rgba(0, 184, 169, 0.2); }
.pricing-grid .pricing-card:nth-child(3) .card-icon { background: rgba(56, 189, 248, 0.2); }

.btn-outline {
  display: block;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: white;
  color: var(--bg-dark);
}

/* Contact Section */
.contact-section {
  padding: 120px 7%;
  background: radial-gradient(circle at top right, rgba(24, 199, 217, 0.05), transparent);
  scroll-margin-top: 130px; /* Un poco más de margen para mayor seguridad */
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
}

.contact-info {
  background: linear-gradient(135deg, #0F172A, #020617);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 48px;
  margin-bottom: 25px;
}

.contact-info h2 span {
  color: var(--secondary);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item .icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, rgba(24, 199, 217, 0.2), rgba(0, 184, 169, 0.1));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.contact-form {
  padding: 80px 60px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(24, 199, 217, 0.1);
}

.contact-form textarea {
  height: 160px;
  resize: none;
}

footer {
  padding: 60px 7%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

@media(max-width:1080px){
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 450px;
  }
  
  .pricing-card.featured {
    padding: 50px 40px;
    transform: none;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info, .contact-form {
    padding: 60px 30px;
  }
}
