/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #1e293b;
    /* Lighter Navy */
    --accent-color: #c5a059;
    /* Gold/Bronze */
    --accent-hover: #b08d4b;
    --text-dark: #334155;
    --text-light: #f8fafc;
    --bg-light: #ffffff;
    --bg-off-white: #f1f5f9;
    --danger: #ef4444;
    --success: #10b981;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.center {
    text-align: center;
}

.white-text {
    color: var(--text-light);
}

.dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.light-bg {
    background-color: var(--bg-off-white);
}

.gradient-text {
    background: linear-gradient(135deg, #c5a059 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e6c575 100%);
    color: #fff;
    /* Keeping it white for better contrast usually, or very dark grey */
    color: #1a1a1a;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('https://i.imgur.com/NQrZPo6.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    /* Restored light text */
    position: relative;
    padding-top: 40px;
}

@media (min-width: 769px) {
    .hero {
        background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('https://i.imgur.com/PaZB3Um.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    /* Restored light badge bg */
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-light);
    /* Restored light text */
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: #cbd5e1;
    /* Restored light subtitle */
}

.description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #94a3b8;
    /* Restored light description */
}

/* Transformation Section */
.transformation .section-title {
    margin-bottom: 50px;
    font-size: 2.5rem;
}

@media (max-width: 480px) {
    .transformation .section-title {
        font-size: 1.6rem;
        /* Increased slightly as requested */
        padding: 0 10px;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-dark);
}

/* Pain Points */
.pain-points .section-subtitle {
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.check-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.check-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.marker {
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

.red-marker .marker {
    color: #ef4444;
}

.emphasis {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 40px;
    color: var(--accent-color);
}

/* Difference Section */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.feature-row {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    color: var(--success);
    font-size: 1.5rem;
}

/* Modules Section */
.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.accordion-header {
    background: var(--bg-light);
    width: 100%;
    text-align: left;
    padding: 20px;
    border: none;
    outline: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
}

.accordion-header:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
}

.accordion-header.active {
    background-color: #f8fafc;
    color: var(--accent-color);
}

.accordion-header.active:after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fdfdfd;
}

.accordion-content ul {
    padding: 20px 40px;
}

.accordion-content li {
    list-style-type: disc;
    margin-bottom: 8px;
    color: var(--text-dark);
}

/* Audience Section */
.grid-2-gap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.audience-box h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.audience-box ul li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.audience-box.correct h3 {
    color: var(--success);
}

.audience-box.incorrect h3 {
    color: var(--danger);
}

/* Testimonials Background */
.testimonials {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-light);
}

.testimonials .section-title {
    color: var(--text-light);
}

/* Carousel Section - Mobile First Defaults (JS Controlled) */
.carousel {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    height: 600px;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #e2e8f0;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 300ms ease-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.carousel-slide img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.7);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.carousel-button:hover {
    background: rgba(15, 23, 42, 1);
}

.carousel-button--left {
    left: -25px;
}

.carousel-button--right {
    right: -25px;
}

.arrow-left,
.arrow-right {
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    width: 12px;
    height: 12px;
}

.arrow-left {
    transform: rotate(135deg);
}

.arrow-right {
    transform: rotate(-45deg);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    gap: 12px;
}

.carousel-indicator {
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicator.current-slide {
    background: var(--accent-color);
}

.is-hidden {
    display: none;
}

/* DESKTOP INFINITE SLIDER - Marquee Effect */
@media (min-width: 769px) {
    .carousel {
        height: 600px;
        /* Or appropriate height */
        max-width: 100%;
        /* Full width container */
        overflow: hidden;
        /* Hide overflow */
    }

    .carousel-track-container {
        width: 100%;
        background: transparent;
        box-shadow: none;
        overflow: hidden;
    }

    .carousel-track {
        /* Flex row for marquee */
        display: flex;
        /* Width must be enough to hold all items. JS width calculations are disabled in script. */
        width: max-content;
        position: relative;
        /* Reset from JS absolute if needed, but flex handles it */
        height: 100%;
        transition: none;
        /* Disable JS transition */
        animation: scroll 20s linear infinite;
        transform: translate3d(0, 0, 0);
    }

    .carousel-track:hover {
        animation-play-state: paused;
    }

    .carousel-slide {
        /* Reset JS absolute positioning */
        position: relative;
        top: auto;
        left: auto !important;
        /* Force override inline JS */
        flex: 0 0 auto;
        width: 400px;
        /* Fixed width per slide on desktop */
        margin-right: 30px;
        background: transparent;
    }

    .carousel-slide img {
        height: 100%;
        width: 100%;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        background: #fff;
        /* Ensure bg for image container */
    }

    /* Hide JS controls */
    .carousel-button,
    .carousel-nav {
        display: none !important;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move left by 50% of the track width IF the track contains 2 sets of identical items */
        /* Assuming 6 items total (3 unique x 2), we want to scroll past the first 3 */
        /* Each item is 400px + 30px margin = 430px. 3 items = 1290px */
        transform: translateX(-1290px);
    }
}

/* Professor Section */
/* Removed grid-2-bias and sticky container as per new layout */

.professor-img-container-inline {
    margin: 30px auto;
    max-width: 400px;
}

.professor-img {
    width: 100%;
    height: auto;
    /* Removed fixed height */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.left-text-on-mobile {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.professor-placeholder {
    width: 100%;
    padding-bottom: 120%;
    /* Aspect ratio */
    background: #334155;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.professor-info h2 {
    color: var(--text-light);
    margin: 15px 0 20px;
    font-size: 2.5rem;
}

.badge-gold {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 0.85rem;
}

.qualifications h3 {
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.qualifications li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.qualifications li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 10px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: #94a3b8;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Floating CTA */
.floating-cta-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    pointer-events: none;
}

.floating-cta-container.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-cta-container .cta-button {
    margin-top: 0;
    padding: 12px 24px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive (Mobile/Tablet specific tweaks if needed) */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .grid-2-bias {
        grid-template-columns: 1fr;
    }

    .professor-placeholder {
        padding-bottom: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .professor-img {
        max-width: 100%;
        height: 450px;
        margin: 0 auto;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-content .cta-button {
        margin-bottom: 40px;
        /* Added spacing below button on mobile */
    }

    .carousel {
        height: 500px;
        /* Force height for absolute positioning on mobile */
    }

    .carousel-button--left {
        left: 0px;
    }

    .carousel-button--right {
        right: 0px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .price-value.green-text {
        font-size: 2.8rem;
    }

    .offer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


.offer-book-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Offer Section */
.offer-container.centered {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Background change for Price and Professor */
/* Background change for Price and Professor to Alternate */
.offer {
    background-color: #1e293b;
    /* Dark Navy for Offer */
}

.professor {
    background-color: #0f172a;
    /* Even Darker/Primary Navy for Professor (Alternating) */
}

.offer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.offer-content {
    color: var(--text-light);
}

.offer-heading {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.offer-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.offer-list li .icon {
    margin-right: 15px;
    font-size: 1.4rem;
}

/* Pricing Card */
.pricing-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 2px solid var(--accent-color);
    color: var(--text-dark);
    max-width: 500px;
    width: 100%;
}

.card-heading {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.offer-list-card {
    text-align: left;
    margin-bottom: 30px;
}

.offer-list-card li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    /* Align top for multiline */
}

.offer-list-card li .icon {
    margin-right: 10px;
    font-size: 1.2rem;
    min-width: 25px;
    /* Ensure alignment */
}

.card-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0 auto 25px;
    width: 80%;
}

.old-price {
    display: block;
    font-size: 1.2rem;
    color: var(--danger);
    text-decoration: line-through;
    margin-bottom: 10px;
    font-weight: 600;
}

.current-price-container {
    margin-bottom: 25px;
}

.installments-label {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.price-value.green-text {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--success);
    line-height: 1.1;
    margin-bottom: 10px;
}

.full-price {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

/* Pulse Animation for CTA */
.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Custom Green 3D Button for Offer */
.pricing-card .cta-button {
    background: #22c55e;
    /* Fresh Green */
    color: #fff;
    box-shadow: 0 4px 0 #15803d;
    /* Darker green shadow for 3D effect - reduced slightly */
    border-radius: 12px;
    font-size: 1.25rem;
    /* Reduced from 1.5rem */
    padding: 15px 30px;
    /* Reduced padding */
    margin-top: 20px;
    width: 100%;
    /* Full width for better impact */
    display: block;
    text-align: center;
    transition: all 0.1s ease;
    animation: none;
    /* Disable default pulse to keep the 3D look clean, or re-enable if desired */
}

.pricing-card .cta-button:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #15803d;
    background: #16a34a;
}

.pricing-card .cta-button:active {
    transform: translateY(6px);
    box-shadow: none;
}

@media (max-width: 768px) {
    .offer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .offer-book-img {
        max-width: 100%;
        /* Allow full width on mobile */
    }

    .price-value.green-text {
        font-size: 2.8rem;
    }
}

/* Guarantee Section */
.guarantee-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* WhatsApp Floating Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    background-color: #20bd5a;
}

.floating-whatsapp svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}