/* ==========================================================================
   ABURTO LEGAL OS - TEMA: EJECUTIVO PREMIUM (SaaS)
   ========================================================================== */

/* 1. VARIABLES GLOBALES (Paleta de Colores) */
:root {
    --bg-main: #ffffff;          /* Blanco corporativo */
    --bg-light: #f8f9fa;         /* Gris muy sutil para contrastes */
    --bg-dark: #121418;          /* Grafito oscuro (SaaS vibe) */
    --text-main: #2d3748;        /* Gris oscuro legible */
    --text-muted: #718096;       /* Gris medio para subtítulos */
    --accent-blue: #004080;      /* Azul marino de autoridad */
    --accent-gold: #c5a059;      /* Dorado sutil para detalles premium */
    --danger-red: #e53e3e;       /* Rojo para semáforos/alertas */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

/* 2. RESET Y TIPOGRAFÍA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.center-text { text-align: center; }

/* 3. NAVEGACIÓN (Navbar Minimalista) */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

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

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: var(--bg-dark);
}

.logo span {
    color: var(--text-muted);
    font-weight: 400;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    margin-left: 2rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-blue); }

/* 4. BOTONES */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 64, 128, 0.39);
}

.btn-primary:hover {
    background-color: #002b5e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
}

/* 5. HERO SECTION (El Gancho) */
.hero {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    text-align: center;
}

.badge {
    background-color: #e6f0fa;
    color: var(--accent-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--bg-dark);
    letter-spacing: -1px;
}

.hero .highlight { color: var(--accent-blue); }

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

/* 6. SECCIONES GENERALES */
.section { padding: 5rem 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: white; }

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

/* 7. GRID DE SERVICIOS (Tarjetas) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #edf2f7;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bg-dark);
}

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

/* 8. MURO DE PAGO (Pricing Grid) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    color: var(--text-main);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.pricing-card:hover { transform: translateY(-5px); }

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card-premium {
    border-top: 6px solid var(--accent-gold);
    box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.6);
    transform: scale(1.02);
}

.pricing-card-premium .card-title {
    color: var(--accent-gold);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.95rem;
}

.paywall-alert {
    background-color: #fffaf0;
    border-left: 4px solid var(--accent-gold);
    padding: 1rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: #975a16;
}

.secure-checkout {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* 9. FOOTER */
.footer {
    background-color: #000;
    color: #718096;
    text-align: center;
    padding: 3rem 0;
    font-size: 0.9rem;
    border-top: 1px solid #1a202c;
}

/* 10. WHATSAPP FLOATING BUTTON */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.whatsapp-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
}
