@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,600;0,700;0,900;1,300;1,400;1,700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap');

:root {
    --mbi-orange: #FF832A;
    --mbi-dark: #000000;
    --mbi-black: #050505;
    --mbi-text-light: #ffffff;
    --mbi-text-muted: #dcdcdc;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--mbi-dark);
    color: var(--mbi-text-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY UTILITIES (from landing01)
   ======================================== */
.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-bold {
    font-weight: 700;
}

.font-italic {
    font-style: italic;
}

.text-orange {
    color: var(--mbi-orange) !important;
}

/* ========================================
   HEADER & NAV (from landing01)
   ======================================== */
.main-header {
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

.main-header .container {
    max-width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

.navbar-brand img {
    height: 50px;
}

.btn-outline-orange {
    color: #fff;
    border: 1px solid var(--mbi-orange);
    border-radius: 50px;
    padding: 0.5rem 2.5rem;
    font-size: 0.95rem;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-orange:hover {
    background: var(--mbi-orange);
    color: #fff;
}

.btn-orange {
    background-color: var(--mbi-orange);
    color: #fff;
    border-radius: 50px;
    padding: 0.5rem 2.5rem;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-orange:hover {
    background-color: #d85c15;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 131, 42, 0.4);
}

.menu-icon {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    margin-left: 20px;
}

.menu-icon span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--mbi-orange);
}

/* ========================================
   HERO EBOOK SECTION
   ======================================== */
.hero-ebook {
    background: #000;
    padding: 140px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Imagen del libro como fondo a la izquierda */
.hero-ebook::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 100%;
    background: url('../1.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

/* Contenedor principal: el texto flota a la derecha */
.hero-ebook .container {
    position: relative;
    z-index: 1;
}

.hero-ebook .row {
    justify-content: flex-end;
}

.hero-ebook-col {
    position: relative;
    z-index: 1;
}

/* Ocultar la columna de imagen (ahora es fondo) */
.hero-book-img {
    display: none;
}

@keyframes floatBook {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-ebook-title {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-ebook-title span {
    display: block;
}

.hero-ebook-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--mbi-text-muted);
    max-width: 480px;
    line-height: 1.65;
}

/* ========================================
   BENEFITS STRIP
   ======================================== */
.benefits-strip {
    padding: 50px 0;
}

.benefit-block {
    padding: 1.5rem 0;
    position: relative;
    padding-top: 20px;
}

.benefit-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--mbi-orange);
}

.benefit-title {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.benefit-desc {
    color: var(--mbi-text-muted);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.55;
    margin-bottom: 0;
}

/* ========================================
   INLINE FORM SECTION
   ======================================== */
.inline-form-section {
    padding: 40px 0;
}

.inline-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    max-width: 850px;
    margin: 0 auto;
}

.inline-form .form-group {
    flex: 1;
}

.inline-form .form-group label {
    display: block;
    color: var(--mbi-text-muted);
    font-size: 0.85rem;
    font-weight: 300;
    margin-bottom: 0.3rem;
}

.inline-form .form-group input {
    width: 100%;
    background: #e5e5e5;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.inline-form .form-group input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 131, 42, 0.25);
}

.inline-form .btn-cta-submit {
    background-color: var(--mbi-orange);
    color: #fff;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border: none;
    white-space: nowrap;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.inline-form .btn-cta-submit:hover {
    background-color: #d85c15;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 131, 42, 0.4);
}

.form-note {
    max-width: 850px;
    margin: 1.5rem auto 0;
    color: var(--mbi-text-muted);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
    text-align: center;
}

/* Override Fidelizador default styles */
.fide-form .form-control,
#fide-content-code-embed .form-control {
    background: #e5e5e5 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.8rem 1.2rem !important;
    color: #333 !important;
    font-family: 'Roboto', sans-serif !important;
    width: 100% !important;
}

.fide-form .form-control:focus,
#fide-content-code-embed .form-control:focus {
    background: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 131, 42, 0.25) !important;
}

.fide-form label,
#fide-content-code-embed label {
    color: var(--mbi-text-muted) !important;
    font-weight: 300 !important;
    font-size: 0.85rem !important;
    font-family: 'Poppins', sans-serif !important;
}

.btn-send-form-fide {
    background-color: var(--mbi-orange) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 0.8rem 2rem !important;
    font-weight: 600 !important;
    border: none !important;
    white-space: nowrap !important;
    font-size: 0.9rem !important;
    font-family: 'Poppins', sans-serif !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.btn-send-form-fide:hover {
    background-color: #d85c15 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 131, 42, 0.4);
}

/* ========================================
   INTRO SECTION
   ======================================== */
.intro-section {
    padding: 60px 0 20px;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    color: var(--mbi-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ========================================
   TARGET PROFILES
   ======================================== */
.target-profiles {
    padding: 60px 0 80px;
}

.profile-card {
    height: 100%;
}

.profile-card-img {
    width: 100%;
    /* Proporción 16:10 en todo momento */
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: block;
}

.profile-card-img:hover {
    transform: scale(1.02);
}

.profile-card h4 {
    font-weight: 600;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.profile-card p {
    color: var(--mbi-text-muted);
    font-weight: 300;
    font-size: 0.8rem;
    line-height: 1.65;
}

/* ========================================
   EXCLUSION SECTION
   ======================================== */
.exclusion-section {
    padding: 30px 0 60px;
}

.exclusion-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
    font-style: italic;
    color: var(--mbi-text-muted);
    font-size: 1rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1rem;
}

/* "no es para ti" no debe ser bold */
.exclusion-text strong {
    color: #fff;
    font-weight: 300;
}

/* ========================================
   BOOK PREVIEW
   ======================================== */
.book-preview {
    padding: 60px 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

.book-preview::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(255, 131, 42, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.book-preview-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.6));
    position: relative;
    z-index: 1;
}

/* ========================================
   GUIDE CONTENTS
   ======================================== */
.guide-contents {
    padding: 80px 0;
    background: #000;
    width: 80%;
    margin: auto;
}

.guide-contents-item-title {
    /* El bloque de título se queda al lado de los primeros 3 capítulos */
    padding-right: 1rem;
    padding-top: 1.5rem;
}

.guide-chapters-right {
    /* Columna derecha: capítulos 01-03 apilados */
}

/* ---- ZONA INFERIOR: capítulos 04-07 en 2 columnas iguales ---- */
.guide-bottom-grid,
.guide-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
}

/* Responsive */
@media (max-width: 991px) {
    .guide-top-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .guide-contents-item-title {
        padding-right: 0;
        padding-bottom: 1.5rem;
    }

    .guide-bottom-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
}

/* Título grande: "¿Qué contiene" naranja , "la guía?" blanco */
.guide-title {
    font-size: clamp(4.5rem, 7vw, 6.5rem);
    color: var(--mbi-orange);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.guide-title .guide-title-white {
    color: #fff;
}

.guide-subtitle {
    color: var(--mbi-text-muted);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ---- CADA CAPÍTULO: número grande izq + título/bajada der + línea naranja ---- */
.chapter-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: 1.2rem;
    padding: 1.5rem 0;
    align-items: center;
    margin-bottom: 0;
}

.chapter-number {
    font-size: clamp(5rem, 6vw, 6.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1;
    font-style: normal;
    align-self: center;
}

/* Wrapper de título + descripción */
.chapter-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-bottom: 1px solid var(--mbi-orange);
    padding-bottom: 1.5rem;
    margin: 0 2rem
}

.chapter-title {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    line-height: 1.25;
}

.chapter-desc {
    color: var(--mbi-text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0;
}


/* ========================================
   WHY MBI SECTION
   ======================================== */
.why-mbi-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo ocupa toda la sección, más visible en la mitad inferior */
.why-mbi-bg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: url("../6.png") center bottom / cover no-repeat;
}

/* Overlay oscuro para asegurar legibilidad del texto */
.why-mbi-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 0;
}

.why-mbi-title {
    font-size: clamp(4rem, 7vw, 6rem);
    font-weight: 600;
    color: var(--mbi-orange);
    line-height: 1;
    margin-bottom: 0;
}

.why-mbi-heading {
    font-weight: 300;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: normal;
    line-height: 1.45;
}

.why-mbi-text {
    font-weight: 300;
    color: var(--mbi-text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 1rem;
}

.why-mbi-stats {
    margin-top: 3rem;
    padding-top: 2.5rem;
}

.stat-item h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.stat-item p {
    font-size: 0.85rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    color: var(--mbi-text-muted);
    line-height: 1.4;
}

/* ========================================
   CTA DOWNLOAD SECTION
   ======================================== */
.cta-download {
    padding: 80px 0 20px;
    background: #000;
    position: relative;
}

.cta-download::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: radial-gradient(ellipse at center bottom, rgba(255, 131, 42, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-download-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-download-title .highlight {
    color: var(--mbi-orange);
    font-style: italic;
}

.cta-download-subtitle {
    font-weight: 300;
    font-style: italic;
    color: var(--mbi-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-benefits-heading {
    font-weight: 300;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.cta-benefits-subheading {
    font-weight: 700;
    color: var(--mbi-orange);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cta-benefits-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.cta-benefits-list li {
    color: var(--mbi-text-light);
    font-weight: 300;
    font-size: 0.8rem;
    margin-bottom: .6rem;
    padding-left: 1.4rem;
    position: relative;
    line-height: 1.5;
}

.cta-benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--mbi-text-light);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Bottom form wrapper */
.bottom-form-wrapper {
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

/* Account CTA link */
.account-cta {
    text-align: center;
    padding: 1rem 0 2rem;
    color: var(--mbi-text-muted);
    font-size: 0.88rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.account-cta a {
    color: var(--mbi-orange);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.account-cta a:hover {
    color: #d85c15;
}

/* ========================================
   FOOTER (from landing01)
   ======================================== */
footer {
    background: #FF832A;
    background: linear-gradient(0deg, rgba(255, 131, 42, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.2rem;
    position: relative;
    padding-left: 20px;
}

.footer-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--mbi-text-light);
}

.footer-links a {
    color: var(--mbi-text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--mbi-orange);
}

.btn-webinar {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    text-align: left;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-webinar:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.app-store-badge {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* ========================================
   SIDEBAR MENU (from landing01)
   ======================================== */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--mbi-black);
    z-index: 2000;
    transition: 0.4s ease;
    padding: 2.5rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.sidebar-nav li {
    margin-bottom: 1.5rem;
}

.sidebar-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    color: var(--mbi-orange);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .hero-ebook {
        padding: 120px 0 40px;
        min-height: auto;
    }

    /* En móvil: mostrar la imagen directamente, ocultar el fondo */
    .hero-ebook::before {
        display: none;
    }

    .hero-book-img {
        display: block;
        max-height: 380px;
        margin: 0 auto 2.5rem;
        max-width: 100%;
        height: auto;
        filter: drop-shadow(0 20px 60px rgba(255, 131, 42, 0.12));
    }

    /* En móvil la columna izquierda vacía no ocupa espacio */
    .hero-ebook .col-lg-5.d-none {
        display: none !important;
    }

    .hero-ebook-title {
        text-align: center;
    }

    .hero-ebook-subtitle {
        text-align: center;
        margin: 0 auto;
    }

    .guide-contents .col-lg-5,
    .guide-contents .col-lg-7 {
        margin-bottom: 2rem;
    }

    .cta-download .col-lg-5 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .inline-form {
        flex-direction: column;
    }

    .inline-form .btn-cta-submit {
        width: 100%;
    }

    .hero-ebook-title {
        font-size: 2.5rem;
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }

    .guide-title {
        font-size: 2.2rem;
        text-align: center;
    }

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

    .why-mbi-title {
        text-align: center;
    }

    .why-mbi-heading {
        text-align: center;
    }

    .why-mbi-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-download-title {
        font-size: 2rem;
        text-align: center;
    }

    .cta-download-subtitle {
        text-align: center;
    }

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

    /* Footer mobile centering */
    footer {
        text-align: center;
    }

    footer .row {
        flex-direction: column;
        align-items: center;
    }

    footer .col-md {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }

    .footer-links {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
    }

    .btn-webinar {
        margin: 0 auto;
    }
}

/* Custom mobile adjustments */
@media (max-width: 768px) {
    /* All sections less padding-bottom */
    .hero-ebook,
    .benefits-strip,
    .inline-form-section,
    .target-profiles,
    .exclusion-section,
    .book-preview,
    .guide-contents,
    .why-mbi-section,
    .cta-download {
        padding-bottom: 20px !important;
    }

    /* Benefits Strip */
    .benefit-block {
        text-align: center;
    }
    .benefit-block::before {
        width: 85%;
        left: 7.5%;
    }
    
    /* Inline Forms */
    .inline-form {
        padding: 0 20px;
        align-items: stretch !important;
    }
    .inline-form .form-group {
        width: 100% !important;
        margin-bottom: 15px;
    }
    .inline-form .form-group input {
        width: 100% !important;
    }
    .inline-form .btn-cta-submit {
        width: 100% !important;
        margin-top: 5px;
    }
    
    /* Guide Contents */
    .guide-contents {
        width: 90% !important;
    }
    .guide-contents .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .chapter-text {
        margin: 0 1rem;
    }
    
    /* CTA Download List */
    .cta-benefits-list {
        max-width: 80%;
        margin: 0 auto;
    }
    .cta-benefits-heading {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}