/* --- VARIABLES DE DISEÑO PREMIUM --- */
:root {
    --bg-principal: #090d16;
    --bg-tarjeta: #121824;
    --bg-tarjeta-hover: #182030;
    --texto-principal: #f8fafc;
    --texto-secundario: #94a3b8;
    --azul-brillante: #3b82f6;
    --azul-glow: rgba(59, 130, 246, 0.15);
    --verde-whatsapp: #22c55e;
    --borde-sutil: rgba(255, 255, 255, 0.06);
}

/* --- RESET Y ESTILOS BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-principal);
    color: var(--texto-principal);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- HEADER GLASSMORPHISM --- */
header {
    background-color: rgba(9, 13, 22, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--borde-sutil);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--texto-secundario);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--texto-principal);
}

/* --- SECCIÓN HERO --- */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

/* Efecto de luz difusa de fondo (Glow) */
.hero::before {
    content: "";
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.tagline {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    max-width: 800px;
    margin: 0 auto 24px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 36px;
    color: var(--texto-secundario);
    font-weight: 400;
}

/* Botones modernos */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--texto-principal);
    color: var(--bg-principal);
}

.btn-primary:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.btn-whatsapp:hover {
    background-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
}

/* --- SECCIÓN SOLUCIONES --- */
.pricing {
    padding: 100px 0;
}

.pricing h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.pricing p.subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: var(--texto-secundario);
    font-size: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Tarjetas modernas */
.card {
    background-color: var(--bg-tarjeta);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--borde-sutil);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    background-color: var(--bg-tarjeta-hover);
}

/* Tarjeta destacada sutil */
.card.featured {
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px var(--azul-glow);
    position: relative;
}

.card.featured::before {
    content: "RECOMENDADO";
    position: absolute;
    top: -12px;
    left: 36px;
    background-color: var(--azul-brillante);
    color: var(--texto-principal);
    padding: 4px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card .modality {
    font-size: 12px;
    font-weight: 500;
    color: #60a5fa;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.price {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--texto-secundario);
}

.features {
    list-style: none;
    margin-bottom: 32px;
    border-top: 1px solid var(--borde-sutil);
    padding-top: 24px;
}

.features li {
    margin-bottom: 14px;
    font-size: 14px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li::before {
    content: "→";
    color: var(--azul-brillante);
    font-weight: 600;
}

/* Botones dentro de las tarjetas */
.card .btn-card {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--texto-principal);
    border: 1px solid var(--borde-sutil);
    padding: 12px;
    font-size: 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.card .btn-card:hover {
    background-color: var(--texto-principal);
    color: var(--bg-principal);
}

.card.featured .btn-card {
    background-color: var(--azul-brillante);
    border: none;
}

.card.featured .btn-card:hover {
    background-color: #2563eb;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--borde-sutil);
    padding: 40px 0;
    text-align: center;
    font-size: 13px;
    color: var(--texto-secundario);
    margin-top: 60px;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 15px; }
    .cta-group { flex-direction: column; gap: 12px; width: 100%; max-width: 280px; margin: 0 auto; }
    .card.featured { transform: none; }
}
