/* 
Color Palette:
Yellow-Gold: #FFD000
Very Dark Gray: #1A1A1A
Logo Blue: #001A3F
White: #FFFFFF
Green (WhatsApp): #25D366
Red (X marks): #E53935
*/

:root {
    --primary: #FFD000;
    --primary-hover: #e6bb00;
    --dark: #1A1A1A;
    --brand-blue: #001A3F;
    --white: #FFFFFF;
    --whatsapp: #25D366;
    --whatsapp-hover: #20b858;
    --danger: #E53935;
    --light-bg: #f8f9fa;
    --text-color: #333333;
    --text-muted: #666666;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

body {
    font-family: 'Heebo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--light-bg); }
.highlight { color: var(--primary); }
.highlight-blue { color: var(--brand-blue); }
.lead { font-size: 1.25rem; color: var(--text-muted); }

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}

.navbar-logo {
    color: var(--white);
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
}

.navbar-logo-img {
    height: 50px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
}

.nav-links a {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-btn {
    padding: 8px 20px !important;
    font-size: 1rem !important;
}

.mobile-menu-btn {
    display: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Grid System */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.align-center { align-items: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(255, 208, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 208, 0, 0.6);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* 1. Hero Section */
.hero {
    position: relative;
    background-color: var(--brand-blue);
    color: var(--white);
    padding: 150px 0 80px; 
    min-height: auto;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,26,63,0.95) 0%, rgba(26,26,26,0.98) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
}

.hero-image-wrapper {
    text-align: center;
}

.hero-main-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border: 3px solid var(--primary);
}

.badge-danger {
    background: rgba(229, 57, 53, 0.2);
    color: #ff5252;
    border-color: #ff5252;
}

.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 208, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 208, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 208, 0, 0); }
}

.badge {
    display: inline-block;
    background: rgba(255, 208, 0, 0.2);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--primary);
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-trust {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-trust i {
    color: var(--primary);
}

/* 2. Problem Section */
.problem-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--danger);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
}

.icon-error {
    width: 60px;
    height: 60px;
    background: rgba(229, 57, 53, 0.1);
    color: var(--danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

/* 3. Solution Section */
.solution-content h2 {
    font-size: 2.2rem;
}

.benefits-list {
    list-style: none;
    margin-top: 30px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-blue);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.benefit-text p {
    color: var(--text-muted);
    margin: 0;
}

.image-placeholder {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 4. How It Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 26, 63, 0.1);
    margin-bottom: -30px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 2;
}

.step-line {
    flex: 1;
    height: 2px;
    background: dashed 2px #ccc;
    margin-top: 70px;
    z-index: 1;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 7. Trust Stats */
.trust-stats {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 6. Testimonials (Carousel) */
.testimonials-dark {
    background-color: var(--brand-blue);
    color: var(--white);
}

.section-header-dark h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.header-underline {
    width: 60px;
    height: 4px;
    background-color: #ff5252;
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 20px;
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 0; /* Reset for grid */
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.dark-card {
    background-color: #2a3441;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 40px 20px;
}

.dark-card .quote {
    color: #f0f0f0;
    font-size: 1.1rem;
    margin: 20px 0;
}

.client-info-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.client-avatar-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.client-info-center .client-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background-color: #1877F2;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 2px solid #2a3441;
}

.client-info-center .client-details {
    text-align: center;
    color: var(--white);
}

.client-info-center .client-details span {
    color: #aaa;
    font-size: 0.9rem;
    display: block;
    margin-top: 2px;
}

.carousel-controls.mobile-only {
    display: none;
}

.carousel-controls button {
    background: var(--white);
    color: var(--brand-blue);
    border: 1px solid #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.carousel-controls button:hover {
    background: var(--brand-blue);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.testimonials-dark .dot {
    background: rgba(255,255,255,0.2);
}

.testimonials-dark .dot.active {
    background: #ff5252;
    width: 12px;
    border-radius: 50%;
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 12px;
}



.stars {
    color: var(--primary);
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 25px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--brand-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

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

.client-details strong {
    display: block;
    color: var(--white);
}

.client-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 8. FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: #fafafa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--brand-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* 9. Final CTA & Form */
.final-cta {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark) 100%);
    color: var(--white);
    position: relative;
    padding: 100px 0;
}

.cta-text h2 {
    color: var(--white);
    font-size: 2.8rem;
}

.cta-text .lead {
    color: rgba(255,255,255,0.8);
}

.trust-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 15px;
}

.trust-badge i {
    color: var(--primary);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.05);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
}

.contact-method-card:hover {
    background: rgba(255,255,255,0.1);
}

.contact-method-card.whatsapp {
    border-color: rgba(37, 211, 102, 0.3);
}

.contact-method-card.whatsapp .cm-icon {
    color: var(--whatsapp);
}

.cm-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-method-card span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-method-card strong {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    color: var(--text-color);
}

.form-card h3 {
    text-align: center;
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.form-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 26, 63, 0.1);
}

.privacy-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
    margin-bottom: 0;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 10px;
}

/* Accessibility Widget */
.a11y-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.a11y-toggle {
    background-color: var(--brand-blue);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.a11y-toggle:hover {
    background-color: var(--primary);
    color: var(--dark);
}

.a11y-menu {
    position: absolute;
    bottom: 60px;
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    width: 220px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.a11y-menu.hidden {
    opacity: 0;
    visibility: hidden;
}

.a11y-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 5px;
    color: var(--dark);
}

.a11y-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
}

.a11y-menu button:not(#a11y-close) {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    font-family: inherit;
    color: var(--dark);
}

.a11y-menu button:not(#a11y-close):hover {
    background: #e9ecef;
}

/* High Contrast Mode Classes */
body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

body.high-contrast * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.high-contrast img {
    filter: grayscale(100%) contrast(120%);
}

/* Large Text Mode */
body.large-text {
    font-size: 120%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .carousel-track {
        display: flex;
        gap: 0;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
    
    .carousel-controls.mobile-only {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
        gap: 20px;
    }
}
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title { font-size: 2.2rem; }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .step-line { display: none; }
    
    .cta-text { margin-bottom: 40px; text-align: center; }
    .contact-methods { flex-direction: row; flex-wrap: wrap; }
    .contact-method-card { flex: 1; min-width: 250px; justify-content: center; }
    
    /* Mobile Navbar */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--brand-blue);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--white);
    }
    
    .navbar.scrolled .nav-links {
        background: var(--brand-blue);
    }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.8rem; }
    .contact-method-card { min-width: 100%; }
    .form-card { padding: 25px 20px; }
}