﻿/* ================= CUSTOM VARIABLES ================= */
:root {
    /* Colors */
    --color-bg-dark: #111111;
    --color-bg-light: #F5F5F5;
    /* A premium light grey/white for light sections */
    --color-accent: #E9B83F;
    --color-accent-hover: #f0c55a;

    --color-text-light: #ffffff;
    --color-text-dark: #111111;

    --color-white-80: rgba(255, 255, 255, 0.8);
    --color-white-70: rgba(255, 255, 255, 0.7);
    --color-white-50: rgba(255, 255, 255, 0.5);

    --color-card-bg: rgba(34, 34, 34, 0.5);
    --color-card-bg-hover: #222222;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;

    /* Spacing & Layout */
    --max-width: 1200px;
    --section-spacing-mobile: 60px;
    --section-spacing-tablet: 80px;
    --section-spacing-desktop: 90px;

    /* Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-btn: 0.3s ease;

    /* Z-Index */
    --z-modal: 1000;
    --z-modal-content: 1001;
}

/* ================= RESET & BASE ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-btn);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--color-accent);
}

.icon-accent {
    color: var(--color-accent);
}

.text-bold {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

/* Backgrounds */
.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.bg-light {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.bg-light .text-accent {
    color: var(--color-accent);
}

/* Sections */
.section {
    padding: var(--section-spacing-mobile) 0;
    width: 100%;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-white-70);
    max-width: 700px;
    margin: 0 auto;
}

.bg-light .section-subtitle {
    color: #555;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-btn);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    /* Mobile first full width */
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(233, 184, 63, 0.2);
    outline: none;
}

.btn-primary:active {
    transform: translateY(0);
}

/* ================= 1. HERO ================= */
.hero {
    position: relative;
    padding-top: calc(var(--section-spacing-mobile) * 1.5);
    padding-bottom: 5rem;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-content {
    padding-top: 50px;
}

.hero-logo {
    max-width: 520px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-title .text-accent {
    font-weight: 700;
    display: block;
}

.hero-description {
    color: var(--color-white-80);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-bullets {
    margin-bottom: 1.5rem;
}

.hero-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-white-80);
}

.hero-bullets i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero-metadata {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid var(--color-white-50);
    padding-top: 1.25rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-accent);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-image-wrapper {
    display: none;
    position: relative;
    width: 100%;
    /* Maintain crop / premium ratio */
    overflow: hidden;
    border-radius: 4px;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-bg-dark) 0%, var(--color-bg-dark) 15%, transparent 55%, transparent 100%);
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: auto;
    z-index: 10;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* ================= 2. AUDIENCE ================= */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.audience-card {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.audience-card p {
    margin-bottom: 0;
    color: #444;
}

.card-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.audience-card.card-accent {
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(233, 184, 63, 0.1);
}

.audience-card:hover,
.audience-card:focus-within {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* ================= 3. TIMELINE ================= */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.timeline-card {
    background-color: var(--color-card-bg);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.timeline-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: inline-block;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.timeline-desc {
    color: var(--color-white-70);
    flex-grow: 1;
}

.timeline-date {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-white-50);
}

.timeline-card:hover,
.timeline-card:focus-within,
.timeline-card:active {
    background-color: var(--color-card-bg-hover);
    border-bottom-color: var(--color-accent);
}

/* ================= 4. TRUST ================= */
.carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 1rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    font-family: serif;
    margin-bottom: -1rem;
}

.carousel-content {
    transition: opacity var(--transition-smooth);
}

#testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: #333;
    margin-bottom: 1.5rem;
}

#testimonial-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

#testimonial-role {
    font-size: 0.85rem;
    color: #666;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-controls button {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-dark);
    transition: var(--transition-btn);
}

.carousel-controls button:hover,
.carousel-controls button:focus {
    border-color: var(--color-accent);
    color: var(--color-accent);
    outline: none;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition-btn);
}

.dot.active {
    background-color: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0.6;
    filter: grayscale(100%);
}

.brand-logo {
    height: 30px;
}

/* ================= 5. AUTHORITY ================= */
.authority-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.authority-image-wrapper {
    order: -1;
    /* Mobile first: Image top */
    position: relative;
    border-left: 2px solid var(--color-accent);
    padding-left: 1rem;
}

.authority-image {
    filter: grayscale(100%);
    transition: filter var(--transition-smooth);
}

.authority-image:hover {
    filter: grayscale(0%);
}

.authority-desc {
    color: var(--color-white-80);
}

.authority-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.authority-bullets li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white-80);
    font-size: 0.95rem;
}

.authority-quote {
    padding-left: 1.5rem;
    border-left: 4px solid var(--color-accent);
}

.authority-quote p {
    color: var(--color-accent);
    margin: 0;
}

/* ================= 6. CLOSING ================= */
.closing-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.closing-steps p {
    color: #444;
}

.closing-image-wrapper {
    order: -1;
    /* Image top in mobile or let the content go first? Rule said text first, so remove negative order */
    position: relative;
}

.closing-image {
    border-radius: 8px;
}

/* ================= 7. FOOTER ================= */
.footer {
    padding: 2rem 0;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(233, 184, 63, 0.3);
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 24px;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: color var(--transition-btn);
}

.footer-social a:hover,
.footer-social a:focus {
    color: var(--color-accent-hover);
    outline: none;
}

.social-icon {
    width: 28px;
    height: 28px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--color-accent);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin: 0;
}

.hidden {
    display: none !important;
}

/* ================= MODAL ================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: hidden;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--color-bg-dark);
    border: 1px solid rgba(233, 184, 63, 0.3);
    /* Subtle gold border */
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 3rem);
    overflow: hidden;
    padding: 2.5rem 2rem;
    position: relative;
    z-index: var(--z-modal-content);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-bg-dark);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--color-white-50);
    cursor: pointer;
    transition: var(--transition-btn);
    z-index: 10;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--color-accent);
    outline: none;
}

.modal-header {
    text-align: center;
    margin-bottom: 0;
}

.modal-logo {
    height: 24px;
    margin: 0 auto;
}

.modal-title {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.modal-subtitle {
    color: var(--color-white-70);
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    text-align: center;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--color-white-50);
    font-size: 0.8rem;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

/* Modal Form Wrapper (Overrides for GHL) */
.form-wrapper {
    width: 100%;
    min-height: 380px;
    /* Base height for form to prevent layout shift */
    position: relative;
}

.form-wrapper {
    padding: 22px;
}

.form-wrapper iframe {
    /* El iframe viene con estilos inline de GHL, pero le forzamos tamaño natural */
    width: 100% !important;
    border-radius: 8px !important;
    /* Evitar el flash blanco mientras carga */
    background: transparent;
}


/* ================= MEDIA QUERIES ================= */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .section {
        padding: var(--section-spacing-tablet) 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .btn {
        width: auto;
    }

    .hero-metadata {
        flex-direction: row;
        gap: 2rem;
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .closing-container {
        flex-direction: row;
        align-items: center;
    }

    .closing-image-wrapper {
        order: 1;
        /* Reset to natural order on desktop so it is on the right */
        flex: 1;
    }

    .closing-content {
        flex: 1;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .section {
        padding: var(--section-spacing-desktop) 0;
    }

    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .hero-content {
        width: 50%;
        padding-right: 4rem;
        flex: none;
        /* Override previous flex rule */
    }

    .hero-image-wrapper {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 55%;
        z-index: 1;
        border-radius: 0;
    }

    .hero-image-wrapper::after {
        background: linear-gradient(to right, var(--color-bg-dark) 0%, var(--color-bg-dark) 20%, transparent 40%, transparent 100%);
    }

    .hero-image-wrapper .hero-image {
        max-width: none;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: right bottom;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .authority-container {
        flex-direction: row;
        align-items: center;
    }

    .authority-image-wrapper {
        flex: 1;
        order: 1;
        /* Image right or left? Mockup has image on left and text on right */
        /* Let's fix to: image left */
        order: 0;
    }

    .authority-content {
        flex: 1;
        padding-left: 3rem;
    }
}


/* ================= ANIMATIONS ================= */
.reveal {
    opacity: 0;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up {
    transform: translateY(30px);
}

.fade-left {
    transform: translateX(-30px);
}

.fade-right {
    transform: translateX(30px);
}

/* Stagger adjustments */
.stagger-1 {
    transition-delay: 1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ================= THANK YOU PAGE ================= */
.ty-page {
    background-color: var(--color-bg-dark);
    color: var(--color-white-80);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ty-header {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(233, 184, 63, 0.2);
}

.ty-header-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .ty-header-flex {
        flex-direction: row;
        justify-content: space-between;
    }
}

.ty-logo {
    height: 35px;
}

.ty-header-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

@media (min-width: 768px) {
    .ty-header-meta {
        flex-direction: row;
        gap: 2rem;
    }
}

.ty-header-meta .meta-item {
    font-size: 0.9rem;
    color: var(--color-white-80);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ty-header-meta .meta-item i {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.ty-main {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
}

.ty-content-wrapper {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.ty-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.ty-progress-wrapper {
    margin-bottom: 3rem;
}

.ty-progress-bar {
    width: 100%;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.75rem;
}

.ty-progress-fill {
    height: 100%;
    background-color: var(--color-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1.5rem;
    transition: width 1s ease-in-out;
}

.ty-progress-text {
    color: #111;
    font-size: 0.9rem;
    font-weight: 800;
}

.ty-progress-label {
    color: var(--color-white-50);
    font-size: 0.9rem;
}

.ty-steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ty-step-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ty-step-card.active {
    background-color: rgba(233, 184, 63, 0.05);
    /* very subtle gold */
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(233, 184, 63, 0.1);
}

.ty-step-card.disabled {
    opacity: 0.6;
}

.ty-step-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white-80);
}

.ty-step-card.active .ty-step-badge {
    background-color: var(--color-accent);
    color: #111;
}

.ty-step-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.ty-step-card.active .ty-step-title {
    color: var(--color-accent);
}

.ty-step-desc {
    color: var(--color-white-80);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.ty-step-card.disabled .ty-step-desc {
    margin-bottom: 1rem;
    /* Need some margin above icons */
}

.ty-step-card.disabled:nth-child(3) .ty-step-desc,
.ty-step-card.disabled:nth-child(4) .ty-step-desc {
    margin-bottom: 0;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background-color: #1EBE5C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    outline: none;
    color: #fff;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

.ty-step-icons {
    display: flex;
    gap: 1rem;
    color: var(--color-white-50);
}

.ty-step-icons i {
    width: 28px;
    height: 28px;
}

.ty-footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(233, 184, 63, 0.3);
    margin-top: auto;
}

.ty-footer p {
    color: var(--color-accent);
    font-size: 0.8rem;
    margin: 0;
}

/* ================= EPISODE PAGES ================= */
.ep-page {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.ep-header {
    background-color: #000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ep-logo {
    height: 30px;
}

.ep-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .ep-grid {
        grid-template-columns: 1fr 350px;
        align-items: start;
    }
}

.ep-presenter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.presenter-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.presenter-info {
    display: flex;
    flex-direction: column;
}

.presenter-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.presenter-name {
    font-size: 0.85rem;
    color: var(--color-white-70);
}

.ep-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ep-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ep-day-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-dark);
    background-color: var(--color-accent);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.ep-release-text {
    font-size: 0.9rem;
    color: var(--color-white-70);
    margin-bottom: 0.5rem;
}

.ep-main-title {
    font-size: 1.8rem;
    color: var(--color-text-light);
    font-weight: 800;
}

@media (min-width: 768px) {
    .ep-main-title {
        font-size: 2.5rem;
    }
}

/* Timeline */
.ep-schedule-header {
    margin-bottom: 1.5rem;
}

.ep-schedule-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.ep-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ep-timeline-item {
    display: flex;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    align-items: center;
    transition: var(--transition-smooth);
}

.ep-timeline-item.past {
    background-color: rgba(233, 184, 63, 0.05);
    border-color: var(--color-bg-light);
}

.ep-timeline-item.active {
    background-color: rgba(233, 184, 63, 0.05);
    border-color: var(--color-accent);
}

.ep-timeline-item.upcoming {
    opacity: 0.2;
}

.ep-tl-thumb {
    position: relative;
    width: 100px;
    flex-shrink: 0;
    border-radius: 4px;
    /*overflow: hidden;*/
    line-height: 0;
}

.ep-tl-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
}

.ep-tl-play,
.ep-tl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ep-timeline-item.active .ep-tl-play {
    color: var(--color-accent);
}

.ep-tl-info {
    display: flex;
    flex-direction: column;
}

.ep-tl-day {
    font-size: 0.75rem;
    color: var(--color-white-50);
}

.ep-tl-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.2rem 0;
}

.ep-tl-date {
    font-size: 0.75rem;
    color: var(--color-white-70);
    margin: 0;
}

/* Bonus Block Ep1 */
.ep-bonus-block {
    background: linear-gradient(135deg, #1b1b1b, #111);
    border: 1px solid rgba(233, 184, 63, 0.2);
    padding: 2rem;
    border-radius: 12px;
}

.ep-bonus-title {
    font-size: 1.5rem;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.ep-bonus-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.ep-bonus-text h3 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

@media(min-width: 768px) {
    .ep-bonus-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.ep-bonus-btn {
    width: 100%;
}

@media(min-width: 768px) {
    .ep-bonus-btn {
        width: auto;
    }
}

.ep-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.ep-footer p {
    color: var(--color-accent);
    font-size: 0.8rem;
}

/* Countdown Widget */
.ep-countdown-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #111;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

@media (max-width: 767px) {
    .ep-countdown-widget {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        border-right: none;
        border-left: none;
        border-bottom: none;
        justify-content: space-between;
        padding: 1rem 5%;
    }
}

.countdown-info {
    display: flex;
    flex-direction: column;
}

.countdown-day {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.8rem;
}

.countdown-sub {
    font-size: 0.7rem;
    color: var(--color-white-80);
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-val {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.timer-label {
    font-size: 0.55rem;
    color: var(--color-white-50);
    margin-top: 0.2rem;
}

.timer-sep {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: -0.5rem;
}


/* ================= SALES PAGE ================= */

.sp-page {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.sp-topbar {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.sp-topbar p {
    margin: 0;
}

.sp-hero {
    padding-top: 3rem;
}

.sp-logo {
    height: 40px;
    display: block;
    margin: 0 auto;
}

.sp-hero-title {
    font-weight: 900;
    font-size: 2rem;
}

@media (min-width: 768px) {
    .sp-hero-title {
        font-size: 2.5rem;
    }
}

.sp-hero-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-white-80);
}

.sp-main-video {
    max-width: 900px;
    margin: 2rem auto;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    border: 3px solid var(--color-accent);
    box-shadow: 0 15px 40px rgba(233, 184, 63, 0.15);
}

.sp-main-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sp-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

.sp-payment-methods {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-white-50);
}

.bg-accent {
    background-color: var(--color-accent);
}

.text-dark {
    color: #111;
}

.sp-offer-badge {
    margin-top: 2rem;
}

.sp-benefits-list {
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sp-benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.sp-benefit-number {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(233, 184, 63, 0.3);
    line-height: 1;
}

.sp-stages-card {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: auto;
    overflow: hidden;
}

.sp-stage-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eee;
}

@media (min-width: 768px) {
    .sp-stage-row {
        flex-direction: row;
    }
}

.sp-stage-row:last-child {
    border-bottom: none;
}

.sp-stage-col-left {
    background-color: #fafafa;
    padding: 2rem;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #555;
    border-bottom: 1px solid #eee;
}

@media (min-width: 768px) {
    .sp-stage-col-left {
        width: 150px;
        border-bottom: none;
        border-right: 1px solid #eee;
    }
}

.sp-stage-col-right {
    padding: 2rem;
    flex: 1;
}

.sp-stage-col-right h4 {
    font-size: 1.25rem;
    color: var(--color-bg-dark);
}

.sp-stage-pills {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.sp-stage-pills span {
    background-color: #f0f0f0;
    color: #666;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sp-bonus-list {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sp-bonus-item {
    background: #fff;
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sp-bonus-item h4 {
    margin-bottom: 0.5rem;
}

.sp-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .sp-proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sp-proof-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sp-proof-img {
    background: #222;
    padding: 10px;
    border-radius: 8px;
}

.img-responsive {
    width: 100%;
    height: auto;
    display: block;
}

.text-white-50 {
    color: var(--color-white-50);
}

.sp-authority-row {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .sp-authority-row {
        flex-direction: row;
    }

    .sp-authority-row.reverse {
        flex-direction: row-reverse;
    }
}

.sp-authority-text {
    flex: 1;
}

.sp-authority-text ul {
    margin-top: 1rem;
}

.sp-authority-text ul li {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #444;
}

.sp-authority-text ul li i {
    color: var(--color-accent);
    width: 18px;
}

.sp-authority-image {
    flex: 1;
    text-align: center;
}

.sp-authority-image img {
    max-width: 100%;
    border-radius: 12px;
}

.sp-footer {
    padding: 3rem 0;
    color: var(--color-accent);
    font-size: 0.85rem;
}