/* Base Styles */
:root {
    --primary: #13477F;
    --secondary: #E74C3C;
    --accent: #27AE60;
    --light: #ECF0F1;
    --dark: #2C3E50;
    --text: #333333;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: 'Poppins', sans-serif;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
}
.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    padding: 18px 45px;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #c0392b;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.btn-primary:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    background-color: var(--primary);
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--dark);
}

.btn-whatsapp {
    background-color: var(--accent);
    color: var(--white);
    padding: 18px 30px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-whatsapp:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
}

/* Header */
.header {
    background-color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

/* Hero Section */
.hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 70px 0 40px;
    position: relative;
    overflow: hidden;
    margin-top: 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.video-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.hero-content h1 span {
    color: var(--secondary);
    display: block;
}

.feature-list {
    margin-top: 10px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--secondary);
}

.cta-buttons-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.hero .btn-primary {
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Modules Section */
.modules {
    padding: 80px 0;
    background-color: var(--white);
}

.modules h2, .faq h2 {
    text-align: center;
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 15px;
}

.subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

.carousel {
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    padding-bottom: 20px;
}

.carousel-item {
    min-width: 300px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.carousel-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-item-content {
    padding: 20px;
}

.carousel-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.carousel-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #BDC3C7;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-indicator.active {
    background-color: #E74C3C;
    transform: scale(1.3);
}
.carousel-indicator:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 132px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content-call-me {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-content-call-me-p {
    color: var(--text);
    line-height: 1.7;
}

.about-content h2 {
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 30px;
    color: var(--text);
    line-height: 1.7;
}

/* Plan Section */
.plan {
    padding: 80px 0;
    background-color: var(--white);
    color: var(--white);
    text-align: center;
}

.plan-card {
    background-color: var(--primary);
    border-radius: 8px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.plan-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.price-description {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFD700;
    margin: 0 0 0p 20px;
}

.old-price {
    font-size: 1.2rem;
    color: #BDC3C7;
    text-decoration: line-through;
}

.installment {
    font-size: 1.2rem;
    color: #BDC3C7;
    margin-bottom: 30px;
}

.plan-features {
    text-align: left;
    margin-top: 30px;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features i {
    color: var(--accent);
}

/* Guarantee Section */
.guarantee {
    padding: 80px 0;
    background-color: var(--primary);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.guarantee-image {
    border-radius: 8px;
    overflow: hidden;
}

.guarantee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guarantee-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.guarantee-content p {
    margin-bottom: 30px;
    color: var(--white);
    line-height: 1.7;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background-color: var(--light);
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #e0e0e0;
}

.accordion-header i {
    transition: var(--transition);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.accordion-content p {
    padding: 20px;
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .logo img {
        height: 100px;
    }

    .header-content {
        flex-direction: column;
    }

    .hero {
        padding: 20px 0 40px;
        margin-top: 200px;
    }

    .hero-grid,
    .about-grid,
    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content {
        order: -1;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .hero .btn-primary {
        padding: 18px 40px;
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-image img {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .guarantee-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 80px;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 20px 0 40px;
        margin-top: 200px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .carousel {
        overflow: hidden;
        padding: 0 15px;
    }
    
    .carousel-track {
        gap: 10px;
    }
    
    .carousel-item {
        min-width: calc(100% - 10px);
        margin: 0 5px;
    }
    
    .carousel-nav {
        margin-top: 15px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .modules h2,
    .faq h2,
    .about-content h2,
    .guarantee-content h2 {
        font-size: 1.8rem;
    }

    .guarantee {
        padding: 40px 0;
    }

    .guarantee-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .guarantee-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .price {
        font-size: 2.8rem;
    }
    
    .plan-card {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 0;
    }
    
    .logo img {
        height: 100px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero .btn-primary {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
    
    .carousel-item {
        min-width: 260px;
    }
    
    .carousel-item img {
        height: 150px;
    }
    
    .carousel-item h3 {
        font-size: 1.1rem;
    }
    
    .carousel-item p {
        font-size: 0.85rem;
    }
}

/* For touch devices */
@media (hover: none) {
    .carousel-item {
        cursor: grab;
    }
    
    .carousel-item:active {
        cursor: grabbing;
    }
}

/* Animation for CTA buttons */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}
.hero .btn-primary {
    animation: pulse 2s infinite;
}
/* Hover effect for buttons */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
}
/* Focus styles for accessibility */
.btn:focus {
    outline: 3px solid rgba(231, 76, 60, 0.5);
    outline-offset: 2px;
}
