/* Estilos específicos para la página WiFi */
.wifi-hero {
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.85) 0%, 
        rgba(22, 33, 62, 0.8) 50%,
        rgba(5, 82, 255, 0.3) 100%);
    z-index: -1;
}

.wifi-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.wifi-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00b4db, #0083b0, #00db9f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 0 2px 20px rgba(0, 180, 219, 0.5);
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Heatmap Indicator */
.heatmap-indicator {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.heatmap-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.legend-item::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
}

.low-signal::before {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.medium-signal::before {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
}

.high-signal::before {
    background: linear-gradient(45deg, #48dbfb, #0abde3);
}

.coverage-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00b4db, #00db9f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.wifi-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.wifi-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.wifi-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.wifi6-badge {
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.9), rgba(247, 147, 30, 0.9));
    color: white;
    animation: badgePulse 2s ease-in-out infinite;
}

.wifi7-badge {
    background: linear-gradient(45deg, rgba(156, 39, 176, 0.9), rgba(103, 58, 183, 0.9));
    color: white;
    animation: badgePulse 2s ease-in-out infinite 0.5s;
}

.enterprise-badge {
    background: linear-gradient(45deg, rgba(5, 82, 255, 0.9), rgba(0, 162, 255, 0.9));
    color: white;
    animation: badgePulse 2s ease-in-out infinite 1s;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Brands Showcase */
.brands-showcase {
    margin-top: 50px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.brand-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.brand-item:hover::before {
    left: 100%;
}

.brand-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.brand-item img {
    max-width: 60px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.brand-item span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

/* Menu Improvements */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item-has-children .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
}

.sub-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sub-menu a:hover {
    background: #f8f9fa;
    color: #006699;
    border-left-color: #006699;
}

.sub-menu .fa-fw {
    width: 20px;
    text-align: center;
}

/* WiFi Technologies Section */
.wifi-tech {
    padding: 80px 0;
    background: #f8f9fa;
}

.tech-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.wifi6-tech::before {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.wifi7-tech::before {
    background: linear-gradient(45deg, #9c27b0, #673ab7);
}

.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.tech-header h3 {
    color: #16213e;
    margin: 0;
    flex: 1;
}

.tech-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.tech-badge:not(.premium) {
    background: #ff6b35;
}

.tech-badge.premium {
    background: #9c27b0;
}

.tech-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.tech-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-features .fa-check {
    color: #28a745;
}

.tech-applications h4 {
    color: #16213e;
    margin-bottom: 10px;
}

.tech-applications p {
    color: #666;
    margin: 0;
}

/* Services Grid */
.wifi-services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #006699;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: #006699;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #16213e;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.service-card li:before {
    content: '•';
    color: #006699;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Brands Comparison */
.brands-comparison {
    padding: 80px 0;
    background: #f8f9fa;
}

.brands-tabs {
    margin-top: 50px;
}

.tab-headers {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-header {
    padding: 15px 25px;
    background: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-header.active {
    background: #006699;
    color: white;
    transform: translateY(-2px);
}

.tab-header:hover:not(.active) {
    background: #e9ecef;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.brand-info {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.brand-logo img {
    max-width: 120px;
    height: auto;
}

.brand-details {
    flex: 1;
}

.brand-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.rating-stars {
    color: #ffc107;
}

.rating-text {
    color: #666;
    font-weight: 600;
}

.brand-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature strong {
    display: block;
    margin-bottom: 10px;
    color: #16213e;
}

.feature ul {
    list-style: none;
    padding: 0;
}

.feature li {
    padding: 5px 0;
    position: relative;
    padding-left: 15px;
}

.feature li:before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
}

/* Success Cases */
.success-cases {
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 25px;
}

.case-details {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.case-details span {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-brand {
    background: #e3f2fd;
    color: #006699;
}

.case-devices {
    background: #f3e5f5;
    color: #9c27b0;
}

.case-users {
    background: #e8f5e8;
    color: #2e7d32;
}

.case-results {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.result {
    text-align: center;
    flex: 1;
}

.result strong {
    display: block;
    font-size: 1.5rem;
    color: #006699;
}

.result span {
    font-size: 0.8rem;
    color: #666;
}

/* CTA Section */
.wifi-cta {
    background: linear-gradient(135deg, #006699 0%, #004D66 100%);
    color: #FF8000;
    padding: 80px 0;
    text-align: center;
}

.wifi-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.wifi-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: white;
    color: #006699;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #006699;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-5px);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: #00ff88;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wifi-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .tech-comparison {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-info {
        flex-direction: column;
        text-align: center;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .tab-headers {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-header {
        width: 100%;
        max-width: 300px;
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
    }
}

/* Mobile Menu Improvements */
@media (max-width: 768px) {
    .menu-item-has-children .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        display: none;
    }
    
    .menu-item-has-children.active .sub-menu {
        display: block;
    }
}