/* ===== VARIABLES ===== */
:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --success: #25D366;
    --success-dark: #128C7E;
    --warning: #ffc107;
    --dark: #1a1e2b;
    --gray: #f8f9fa;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--primary), #6610f2) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: rgba(255,255,255,0.9) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 250px;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: #e9f2ff;
    color: var(--primary);
    transform: translateX(5px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #4158D0, #C850C0, #FFCC70);
    background-size: 200% 200%;
    animation: gradient 10s ease infinite;
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--warning);
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===== MODULES ===== */
.modules-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.module-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.module-badge:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== VISUAL CARD ===== */
.visual-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.devices-icons {
    font-size: 4rem;
    margin-bottom: 30px;
}

.devices-icons i {
    margin: 0 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== FEATURE CARDS ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #eef2f6;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13,110,253,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e9f2ff, #d4e4ff);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags span {
    background: #f0f4fa;
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* ===== BENEFITS ===== */
.benefits-section {
    padding: 80px 0;
    background: var(--gray);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: white;
}

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

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

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-dark);
}

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

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #eef2f6;
    height: 100%;
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.stars {
    color: var(--warning);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-info h5 {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== FORM ===== */
.contact-form-wrapper {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-muted);
}

.form-floating {
    margin-bottom: 15px;
}

.form-control, .form-select {
    border: 2px solid #eef2f6;
    border-radius: 12px;
    padding: 12px;
    height: auto;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.1);
}

.form-floating label {
    color: var(--text-muted);
    padding: 1rem;
}

/* ===== BUTTONS ===== */
.btn-whatsapp {
    background: var(--success);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: var(--success-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37,211,102,0.3);
    color: white;
}

.btn-outline-whatsapp {
    border: 2px solid var(--success);
    color: var(--success);
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-whatsapp:hover {
    background: var(--success);
    color: white;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), #6610f2);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 80px 0;
    background: var(--gray);
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.accordion-button {
    padding: 20px;
    font-weight: 600;
    color: var(--text-dark);
    background: white;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8f9fa, white);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 20px;
    background: white;
    color: var(--text-muted);
    border-top: 1px solid #eef2f6;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1e2a3a, #2c3e50);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    padding-left: 0;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 5px 25px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    background: var(--success-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-section {
        text-align: center;
        padding: 60px 0;
    }
    
    .modules-wrapper {
        justify-content: center;
    }
    
    .visual-card {
        margin-top: 30px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        margin-top: 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }
    
    .cta-card {
        padding: 40px 20px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== UTILIDADES ===== */
.text-white-50 {
    color: rgba(255,255,255,0.7) !important;
}

.border-white-50 {
    border-color: rgba(255,255,255,0.1) !important;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary), #6610f2) !important;
}