/* CSS Variables for Deep Teal Theme - HIGH CONTRAST */
:root {
    /* Main Backgrounds */
    --bg-dark-teal: #021419;
    /* Deeper teal/almost black for maximum contrast */
    --bg-surface: #07252d;
    /* Solid teal for cards */
    --bg-surface-glass: rgba(7, 37, 45, 0.6);

    /* Vibrant Accents */
    --accent-cyan: #00ffd0;
    /* Sharp Cyan-Green */
    --accent-green: #00e676;
    /* Bright Green */
    --accent-red: #ff4500;
    /* Saturated Orange-Red for CTAs */
    --accent-red-hover: #ff6a33;

    /* Typography */
    --text-main: #f0fdfa;
    /* Pure white-teal */
    --text-muted: #99f6e4;
    /* Bright muted teal */
    --text-dark: #000000;

    /* Shadows & Glows */
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --glow-cyan: 0 0 15px rgba(0, 255, 208, 0.4);

    /* Transitions */
    --transition-fast: all 0.2s ease-in-out;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark-teal);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography Helpers */
.text-cyan {
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
}

.text-green {
    color: var(--accent-green);
}

.text-red {
    color: #ff3366;
}

.text-orange {
    color: #ffb703;
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.justify-center {
    justify-content: center;
}

/* Layout Helpers */
.container {
    width: 100%;
    padding: 0 24px;
    /* Default mobile safe area padding */
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 4rem 0;
    /* Consistent tighter padding for mobile */
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.7rem;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    min-height: 52px;
    /* Ergonomic touch target perfectly between 48-56px */
}

.btn-cta-main {
    background-color: #90EE90;
    color: #0a2a0a;
    box-shadow: 0 4px 15px rgba(144, 238, 144, 0.4);
}

.btn-cta-main:hover {
    background-color: #70d870;
    box-shadow: 0 6px 20px rgba(144, 238, 144, 0.6);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 2rem;
}

.btn-full-mobile {
    /* Kept default, but true full width controlled in media queries below */
    max-width: 400px;
}

/* HERO */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0 60px 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(0, 255, 208, 0.05), transparent 70%);
}

.hero-title {
    font-size: clamp(1.6rem, 7vw, 3.5rem);
    /* Scaled down slightly for mobile to fit ~40% screen */
    font-weight: 800;
    line-height: 1.15;
    margin: 0 auto 1.2rem auto;
    max-width: 800px;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.1rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    color: var(--accent-cyan);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* CAROUSEL LOGIC */
.carousel-container {
    width: calc(100% + 48px);
    margin-left: -24px;
    /* Negative margin equals to mobile container padding */
    position: relative;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Safari fix */
    gap: 1.5rem;
    padding: 0 24px 2rem 24px;
    /* Padding matches container margins */
}

/* Hide scrollbar */
.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-slide {
    flex: 0 0 82vw;
    /* Clear peek-a-boo effect ensuring next card is visible */
    max-width: 320px;
    scroll-snap-align: center;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    /* Nicer spread for thumbs */
    margin-top: -0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    /* Bigger dots for easier tapping */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.dot::after {
    /* Invisible touch target expander */
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -10px;
    right: -10px;
}

.dot.active {
    background: var(--accent-cyan);
    transform: scale(1.2);
    box-shadow: var(--glow-cyan);
}

/* NEO CARDS */
.neo-card {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.02), 10px 10px 20px var(--shadow-dark);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 208, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.bullet-list {
    list-style: none;
    margin-top: 1rem;
}

.bullet-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.bullet-list li::before {
    content: '•';
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* STACKED MATRIX COMPARISON */
.matrix-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.matrix-card {
    background: var(--bg-surface);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 208, 0.05);
    overflow: hidden;
}

.matrix-category {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    font-size: 1.1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.matrix-split {
    display: flex;
    flex-direction: column;
    /* Stacked vertical by default */
}

.matrix-side {
    padding: 1.5rem;
    position: relative;
}

.presencial-side {
    background: rgba(255, 51, 102, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.remoto-side {
    background: linear-gradient(135deg, rgba(0, 255, 208, 0.08), transparent);
}

.side-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.presencial-side ul {
    list-style: none;
}

.presencial-side li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #a3b8cc;
}

.remoto-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 255, 208, 0.2);
    color: var(--accent-cyan);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
}

.remoto-side p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* EBOOKS */
.glass-card {
    background: var(--bg-surface-glass);
    border: 1px solid rgba(0, 255, 208, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.book-cover-mockup {
    height: 180px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-office {
    background: linear-gradient(135deg, #073b4c, #0b525b);
}

.cover-network {
    background: linear-gradient(135deg, #1b263b, #0d1b2a);
}

.cover-resume {
    background: linear-gradient(135deg, #3d5a80, #293241);
}

.book-spine {
    position: absolute;
    left: 30px;
    width: 12px;
    height: 130px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
}

.book-front {
    width: 100px;
    height: 140px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px 6px 6px 2px;
    padding: 1rem 0.8rem;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

.book-title {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.book-subtitle {
    font-size: 0.5rem;
    color: var(--accent-cyan);
}

.book-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.ebook-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ebook-details .btn {
    width: 100%;
    min-width: unset;
    max-width: unset;
}

.ebook-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.ebook-desc {
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-old {
    font-size: 0.8rem;
    text-decoration: line-through;
}

.price-new {
    font-size: 1.5rem;
    font-weight: 800;
}

/* OFFER SECTION (Compact) */
.green-glass-panel {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    /* Tightened vertical padding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Ensures timer & price are strictly centered */
}

.offer-badge {
    display: inline-block;
    background: rgba(255, 69, 0, 0.2);
    color: var(--accent-red);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 69, 0, 0.3);
}

.offer-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.offer-details-compact p {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.final-price-wrapper {
    margin: 1.2rem 0;
}

.price-old-large {
    color: var(--text-muted);
    font-size: 1rem;
}

.final-price {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.countdown-integrated {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.digital-time {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-left: 0.5rem;
    letter-spacing: 1px;
}

.lock-icon {
    font-size: 0.85rem;
    margin-top: 1.2rem;
}

/* TESTIMONIALS */
.avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-dark-teal);
    border: 2px solid var(--accent-cyan);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.quote-text {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* FAQ ACCORDION */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-header {
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header h3 {
    font-size: 1rem;
    font-weight: 600;
    width: 90%;
}

.faq-icon {
    transition: transform 0.3s;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.faq-body {
    max-height: 0;
    opacity: 0;
    padding: 0 1.2rem;
    transition: all 0.3s;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-body {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 1.2rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    /* We actually change the icon via JS, this rotation is a nice extra flair */
}

.faq-item.active {
    border-color: var(--accent-cyan);
}

/* FOOTER */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-links {
    display: flex;
    gap: 1rem;
}

.legal-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 768px) {
    .container {
        width: 90%;
        padding: 0;
    }

    .section {
        padding: 6rem 0;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        max-width: 1000px;
    }

    /* Reset carousel to natural flow on desktop */
    .carousel-container {
        width: 100%;
        margin-left: 0;
        overflow: hidden;
    }

    .carousel-track {
        padding: 0 0 2rem 0;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: none;
    }

    .carousel-slide {
        flex: 0 0 300px;
        max-width: 300px;
    }

    /* Ebook cards slightly wider on desktop */
    .ebooks-track .carousel-slide {
        flex: 0 0 320px;
        max-width: 320px;
    }

    .btn-full-mobile {
        width: auto;
        min-width: 300px;
    }

    /* Un-stack Matrix on Desktop */
    .matrix-split {
        flex-direction: row;
    }

    .matrix-side {
        flex: 1;
        padding: 2rem;
    }

    .presencial-side {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Benefits section: show all 4 cards as a 4-column grid on desktop */
    #benefits-carousel {
        width: 100%;
        margin-left: 0;
        overflow: visible;
    }

    #benefits-carousel .carousel-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow: hidden;
        gap: 1.5rem;
        padding: 0 0 1rem 0;
        justify-content: unset;
        flex-wrap: unset;
    }

    #benefits-carousel .carousel-slide {
        flex: unset;
        max-width: unset;
        width: 100%;
    }

    #benefits-carousel .carousel-dots {
        display: none;
    }

    /* Offer block max-width on desktop */
    .offer-block {
        max-width: 640px;
        margin: 0 auto;
    }

    /* Footer contact links row */
    .contact-links {
        display: flex;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .btn-full-mobile {
        width: 100%;
        /* Force full width explicitly only on true mobile */
    }
}