@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&family=DM+Serif+Display:ital@0;1&display=swap');

/* =====================================================
   ADMIN LAB - EBOOK EXCEL BÁSICO
   DISEÑO ELEVADO INSPIRADO EN LAS MEJORES WEBS MODERNAS
===================================================== */

:root {
    /* Paleta Corporativa Refinada */
    --primary: #0A2F74;
    --primary-dark: #071E4A;
    --primary-light: #2563EB;
    --primary-accent: #3B82F6;
    --secondary: #60A5FA;
    
    /* WhatsApp Oficial & Acento con alto contraste */
    --whatsapp: #16A34A;
    --whatsapp-dark: #15803D;
    --whatsapp-glow: rgba(22, 163, 74, 0.35);
    
    /* Superficies y Neutros */
    --background: #F8FAFC;
    --surface: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.85);
    --surface-hover: #F1F5F9;
    
    --text-main: #0A1E42;
    --text-body: #1E293B;
    --text-muted: #475569;
    
    /* Bordes & Sombras Sofisticadas */
    --border-light: rgba(226, 232, 240, 0.85);
    --border-highlight: rgba(37, 99, 235, 0.2);
    --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 0 1px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(11, 61, 145, 0.12), 0 0 1px rgba(37, 99, 235, 0.2);
    --shadow-glow: 0 0 45px -10px rgba(37, 99, 235, 0.18);
    
    /* Radios */
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-pill: 9999px;
    
    /* Tipografía */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===========================
   RESET & FUNDAMENTOS
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    letter-spacing: -0.03em;
    font-weight: 800;
}

.serif-accent {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===========================
   TOPBAR CON EFECTO VIDRIO ESMERILADO
=========================== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(10, 47, 116, 0.12);
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-tag {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 1px solid transparent;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-light);
    background: #EFF6FF;
    border-color: #DBEAFE;
}

/* ===========================
   BOTONES DE ALTO IMPACTO
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.45);
    background: linear-gradient(135deg, #166534 0%, #15803D 100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16.5px;
    width: 100%;
}

/* Punto de pulso "En línea" */
.live-pulse {
    width: 8px;
    height: 8px;
    background-color: #22C55E;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ===========================
   SECCIONES Y CONTENEDORES
=========================== */
.section {
    padding: 85px 7%;
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
}

.section-alt {
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-alt .section {
    padding: 85px 7%;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-light);
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===========================
   HERO CON EFECTO AMBIENTAL (STYLE STRIPE / LINEAR)
=========================== */
.hero-wrapper {
    position: relative;
    padding-top: 130px;
    padding-bottom: 85px;
    background: #F8FAFC;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

/* Luces difusas de fondo */
.hero-glow-1 {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(96, 165, 250, 0.03) 60%, transparent 80%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 50px;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 7%;
    z-index: 1;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    background: #FFFFFF;
    color: var(--primary);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.badge-highlight {
    background: #DCFCE7;
    color: #15803D;
    border-color: #BBF7D0;
}

.hero-title {
    font-size: clamp(38px, 5vw, 54px);
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 18px;
    letter-spacing: -0.035em;
}

.hero-title span.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 28px;
}

/* Tarjeta de Acción Hero */
.hero-action-card {
    background: #FFFFFF;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.hero-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.hero-action-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-note {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mockup Flotante con Profundidad 3D */
.hero-mockup-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-backdrop-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-hover);
    position: relative;
    max-width: 340px;
    width: 100%;
    text-align: center;
    transition: var(--transition);
}

.mockup-backdrop-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: var(--shadow-glow), var(--shadow-hover);
}

.mockup-floating-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #0F172A;
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.mockup-image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(10, 47, 116, 0.15);
    margin-bottom: 16px;
    background: #FFFFFF;
}

.mockup-caption {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===========================
   SECCIÓN: EL PROBLEMA (TARJETAS MINIMALISTAS)
=========================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.problem-card {
    background: #FFFFFF;
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #CBD5E1;
}

.problem-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    color: #EF4444;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card p {
    font-size: 15.5px;
    color: var(--text-body);
    font-weight: 500;
    line-height: 1.55;
}

.problem-solution-callout {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-md);
    padding: 20px 28px;
    text-align: center;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--primary);
    max-width: 760px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

/* ===========================
   BENTO GRID: LO QUE VAS A APRENDER
=========================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bento-card {
    background: #FFFFFF;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.bento-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bento-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bento-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
}

.bento-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.mini-tag {
    font-size: 11.5px;
    font-weight: 700;
    background: #F1F5F9;
    color: #475569;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

/* ===========================
   ¿PARA QUIÉN ES? (3 PERFILES)
=========================== */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.profile-card {
    background: #FFFFFF;
    padding: 34px 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #86EFAC;
}

.profile-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card h3 {
    font-size: 20px;
    color: var(--text-main);
}

.profile-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ===========================
   TU COMPRA INCLUYE
=========================== */
.includes-wrapper {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 40px 32px;
    max-width: 960px;
    margin: 0 auto;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.include-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.include-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.include-item:hover .include-icon-wrap {
    transform: scale(1.08);
    background: var(--primary);
    color: #FFFFFF;
}

.include-item h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-main);
}

.include-item p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* ===========================
   PREGUNTAS FRECUENTES (ACORDEÓN PREMIUM)
=========================== */
.faq-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #CBD5E1;
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.faq-question {
    padding: 20px 24px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-heading);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--primary-light);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 24px;
    background: #FAFAFA;
}

.faq-item.active .faq-answer {
    padding: 14px 24px 22px;
    max-height: 220px;
    border-top: 1px solid #F1F5F9;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.65;
}

/* ===========================
   BANNER CTA FINAL
=========================== */
.cta-banner {
    background: linear-gradient(135deg, #071E4A 0%, #0A2F74 60%, #0F172A 100%);
    border-radius: var(--radius-xl);
    padding: 65px 40px;
    text-align: center;
    color: #FFFFFF;
    box-shadow: 0 25px 50px -10px rgba(10, 47, 116, 0.35);
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner h2 {
    color: #FFFFFF;
    font-size: clamp(30px, 4.2vw, 44px);
    margin-bottom: 14px;
}

.cta-banner p {
    color: #CBD5E1;
    font-size: 17px;
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

.cta-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: #061126;
    color: #E2E8F0;
    padding: 45px 7% 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    text-align: center;
    padding-top: 22px;
    font-size: 13.5px;
    color: #64748B;
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .problem-grid,
    .profiles-grid,
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .section {
        padding: 55px 5%;
    }
    .section-alt .section {
        padding: 55px 5%;
    }
    .hero-wrapper {
        padding-top: 105px;
        padding-bottom: 50px;
    }
    .includes-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner {
        padding: 45px 22px;
    }
    .btn-lg {
        font-size: 15.5px;
        padding: 15px 20px;
    }
    .topbar {
        padding: 12px 5%;
    }
}
