:root {
    --primary-color: #2e7d32;
    --primary-light: #60ad5e;
    --primary-dark: #005005;
    --secondary-color: #f8f9fa;
    --accent-color: #4caf50;
    --accent-light: #80e27e;
    --text-color: #333333;
    --text-light: #6c757d;
    --light-bg: #ffffff;
    --dark-bg: #1a1a1a;
    --gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    --gradient-light: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-whatsapp:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #128C7E, #25D366);
    transition: var(--transition);
    z-index: -1;
}

.btn-whatsapp:hover:before { width: 100%; }

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-primary-custom {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-light);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary-custom:hover:before { width: 100%; }

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.section { padding: 5rem 0; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after { width: 100%; }

.navbar-nav .nav-link:hover { color: var(--primary-color); }

header.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo img { height: 40px; }

/* Hero */
.hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image { position: relative; perspective: 1000px; }

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 100%;
    margin: 0 auto;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover img { transform: rotateY(0) rotateX(0); }

/* Features */
.feature-card, .step {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    position: relative;
}

.feature-card:hover, .step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    font-size: 1.8rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* About / CTA images */
.about-image img, .cta-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Features section (gradient banner) */
.features-section {
    padding: 5rem 0;
    background: var(--gradient);
    color: white;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-box .feature-icon-container {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-box h3 { color: white; margin-bottom: 1rem; }

/* Content section */
.content-section {
    padding: 5rem 0;
    background-color: white;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f0f0f0' fill-opacity='1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.content-section .container { position: relative; z-index: 1; }
.content-section p { margin-bottom: 1.5rem; text-align: justify; }

.content-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Sidebar */
.sidebar-section { padding: 0 0; background: var(--secondary-color); }

.sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.sidebar-card iframe,
.sidebar-card img {
    width: 100%;
    height: 250px;
    transition: var(--transition);
}

.sidebar-card:hover iframe,
.sidebar-card:hover img { transform: scale(1.03); }

.sidebar-card-body { padding: 1.5rem; text-align: center; }
.sidebar-card-body p { margin-bottom: 0; font-weight: 500; }

/* FAQ */
.faq-item { margin-bottom: 1rem; border: 1px solid #e9ecef; border-radius: var(--border-radius); overflow: hidden; }

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: white;
    padding: 0 1.25rem;
}

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

.faq-answer p { margin-bottom: 0.5rem; }

/* Video section */
.video-section {
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.video-section .section-title h2 { color: white; }
.video-section .section-title:after { background: rgba(255, 255, 255, 0.5); }

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info { padding: 1.5rem; text-align: center; }
.video-info h3 { color: white; margin-bottom: 0.5rem; }

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-about p { margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.7); }

.footer-links { list-style: none; padding-left: 0; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.footer-links a:hover { color: white; transform: translateX(5px); }

.contact-info { list-style: none; padding-left: 0; }
.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
.contact-info i { font-size: 1.1rem; color: var(--accent-color); }

.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}
.social-links a:hover { transform: translateY(-3px); background: var(--accent-color); }

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.active { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .hero { padding-top: 8rem; padding-bottom: 3rem; }
    .hero-text h1 { font-size: 2.2rem; }
    .section { padding: 3rem 0; }
    .navbar-nav { padding: 1rem 0; }
    .navbar-nav .nav-link { margin: 0.5rem 0; }
    .content-card { padding: 1.5rem; }
    .faq-question, .faq-answer { padding: 1rem; }
}

@media (max-width: 576px) {
    .hero-text h1 { font-size: 1.8rem; }
    .btn-whatsapp, .btn-primary-custom { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}
