:root {
    --primary-color: #2562E7;
    --primary-dark: #1a4dbf;
    --secondary-color: #F5F7FA;
    --text-color: #1A1A1A;
    --text-light: #666;
    --white: #FFFFFF;
    --success-color: #28a745;
    --transition: all 0.3s ease;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 20px 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-white {
    color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.text-white p {
    color: rgba(255, 255, 255, 0.9);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 98, 231, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 98, 231, 0.4);
}

.btn-secondary {
    background-color: #FFD700;
    /* Gold or contrasting color for offer */
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #ffcc00;
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Header/Hero */
.hero {
    text-align: center;
    padding: 40px 0 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 15px;
}

/* Intro */
.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-color);
    margin: 0 auto 40px;
    /* Center horizontally and keep bottom margin */
    max-width: 800px;
    /* Limit width for readability */
}

.text-block {
    margin-top: 40px;
    text-align: left;
}

.text-block h2 {
    text-align: left;
    color: var(--primary-color);
}

/* Carousel */
.carousel {
    position: relative;
    max-width: 600px;
    /* Adjust based on image aspect ratio */
    margin: 0 auto 40px;
    overflow: hidden;
}

.carousel-track-container {
    height: 250px;
    /* Fixed height for consistency, adjust as needed */
    position: relative;
    background-color: transparent;
}

.carousel-track {
    position: relative;
    height: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* or cover depending on image */
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-button:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-button--left {
    left: 10px;
}

.carousel-button--right {
    right: 10px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 10;
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.current-slide {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Features */
.feature-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

.feature-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-list {
    margin-top: 15px;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Bonuses */
.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.bonus-card {
    text-align: center;
    transition: var(--transition);
}

/* Remove hover effect on mobile or keep it simple */
/* .bonus-card:hover { transform: translateY(-5px); } */

.bonus-card img {
    width: 100%;
    height: auto;
    max-width: 400px;
    /* Prevent it from getting too huge */
    margin: 0 auto 15px;
    border-radius: 12px;
    /* Optional: adds rounded corners to image directly */
}

.bonus-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Offer */
.offer-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.offer-box img {
    margin: 0 auto 20px;
    width: 100%;
    /* Make it fill the container horizontally by default */
    max-width: 350px;
    /* Cap it so it doesn't get ridiculous on desktop, or adjust as needed */
    display: block;
}

.offer-list {
    text-align: left;
    max-width: 500px;
    margin: 30px auto;
}

.offer-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.price-container {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.8;
    font-size: 1rem;
}

.new-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.installments {
    font-size: 1.1rem;
    margin-top: 5px;
}

.small-text {
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0.8;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 20px;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* approximate max height */
    padding-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    background-color: #111;
    color: #888;
    font-size: 0.9rem;
}

/* Desktop Responsiveness */
@media (min-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0 60px;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .feature-item {
        flex-direction: row;
        gap: 50px;
    }

    .feature-item.reverse {
        flex-direction: row-reverse;
    }

    .feature-image,
    .feature-text {
        flex: 1;
    }

    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel {
        margin-bottom: 0;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .carousel-track-container {
        height: 450px;
    }

    .intro .container {
        /* Keep concise */
    }
}

@media (min-width: 1024px) {
    .bonus-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Center the last two items if we have 5 items */
    .bonus-card:nth-child(4) {
        grid-column: 1 / span 1;
        margin-left: auto;
    }

    /* Not ideal for generic grid, lets stick to normal grid flow or flex wrap center */
}

/* Utility to center grid items better if needed, but plain grid is fine for now */
@media (min-width: 1024px) {
    .bonus-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .bonus-card {
        background: var(--white);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        width: calc(33.333% - 20px);
        margin: 10px;
    }

    .bonus-card:hover {
        transform: translateY(-5px);
    }

    .bonus-card img {
        height: 150px;
        width: auto;
        border-radius: 0;
    }
}