:root {
    --primary-dark: #0a0e17;
    --secondary-dark: #121826;
    --primary-accent: #59ffb2;
    --primary-accent-dark: #2dd68a;
    --primary-accent-light: #a0ffd3;
    --accent-yellow: #ffbe0b;
    --accent-green: #4cc9f0;
    --accent-purple: #8338ec;
    --accent-orange: #fb5607;
    --text-light: #f8f9fa;
    --text-gray: #adb5bd;
    --text-dark: #212529;
    --border-radius: 12px;
    --border-radius-large: 30px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

/* ===== RESET Y ESTILOS BASE ===== */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== ELEMENTOS DECORATIVOS ===== */
.bg-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

.dot {
    position: absolute;
    border-radius: 50%;
}

.dot:nth-child(1) {
    width: 6px;
    height: 6px;
    top: 15%;
    left: 10%;
    background-color: var(--accent-yellow);
}

.dot:nth-child(2) {
    width: 8px;
    height: 8px;
    top: 25%;
    right: 15%;
    background-color: var(--primary-accent);
}

.dot:nth-child(3) {
    width: 4px;
    height: 4px;
    top: 60%;
    left: 8%;
    background-color: var(--accent-green);
}

.dot:nth-child(4) {
    width: 10px;
    height: 10px;
    bottom: 20%;
    right: 10%;
    background-color: var(--accent-purple);
}

/* ===== HEADER Y NAVEGACIÓN ===== */
.navbar {
    background: rgba(10, 14, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(89, 255, 178, 0.1);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar-scrolled {
    background: rgba(10, 14, 23, 0.98) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.sosfirst-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text-light);
}

.logo-accent {
    color: var(--primary-accent);
}

.navbar-toggler {
    border: 2px solid var(--primary-accent);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon i {
    color: var(--primary-accent);
    font-size: 1.2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light) !important;
    padding: 0.3rem 0.8rem !important;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-accent) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: width 0.3s ease;
}

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

/* ===== BOTONES ===== */
.btn-accent {
    background-color: var(--primary-accent);
    color: var(--primary-dark) !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    background-color: var(--primary-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(89, 255, 178, 0.2);
}

.btn-accent:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.hero-section {
    background: 
        /* Base con desvanecimiento */
        linear-gradient(to bottom,
            #0a0e17 0%,
            rgba(10, 14, 23, 0.8) 40%,
            transparent 50%,
            transparent 60%,
            rgba(10, 14, 23, 0.8) 80%,
            #0a0e17 100%
        ),
        /* Gradiente central combinado */
        radial-gradient(ellipse at 50% 50%,
            rgba(138, 43, 226, 0.2) 0%,      /* Lila */
            rgba(89, 255, 178, 0.25) 25%,    /* Verde brillante */
            rgba(138, 43, 226, 0.15) 50%,    /* Lila tenue */
            transparent 70%
        ),
        /* Textura de ruido sutil */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E") !important;
}


.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-accent);
}

.hero-subtitle {
    font-weight: 400;
    opacity: 0.9;
}

.text-accent {
    color: var(--primary-accent) !important;
}

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

/* ===== MICRO BENEFICIOS ===== */
.micro-benefits .benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.micro-benefits span.fw-bold {
    font-size: 0.9rem;
}

.micro-benefits small {
    font-size: 0.8rem;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    border: 1px solid rgba(89, 255, 178, 0.1);
    padding: 1rem !important;
}

.social-proof .display-6 {
    font-size: 2.5rem;
}

/* ===== SELLOS DE CONFIANZA ===== */
.trust-seals small {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

/* ===== BLOQUES DE 4 ===== */
.benefit-card,
.audience-card,
.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    padding: 1.5rem;
    text-align: center;
}

.benefit-card:hover,
.audience-card:hover,
.step-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.benefit-icon-wrapper,
.audience-icon,
.step-number {
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper,
.audience-card:hover .audience-icon {
    transform: scale(1.1);
}

/* Iconos en tarjetas */
.benefit-icon,
.audience-icon .icon-wrapper,
.step-number {
    width: 60px;
    height: 60px;
    background-color: rgba(89, 255, 178, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.benefit-icon i,
.audience-icon i,
.step-number span {
    color: #212529;
    font-size: 1.5rem;
}

.step-number {
    background-color: var(--primary-accent);
    color: var(--primary-dark);
    font-weight: 700;
}

/* ===== MÉTRICAS ===== */
.metric-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.metric-card:hover {
    background: rgba(89, 255, 178, 0.05);
    border-color: rgba(89, 255, 178, 0.2);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TESTIMONIOS ===== */
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
    border-left: 4px solid var(--primary-accent);
}

.testimonial-text {
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.rating {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

/* ===== PRECIOS ===== */
.price-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.9) 0%, rgba(18, 24, 38, 0.9) 100%);
    border: 1px solid rgba(89, 255, 178, 0.2);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-accent), var(--accent-yellow));
}

.price-old del {
    opacity: 0.7;
    font-size: 1.2rem;
}

.price-current .display-2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-accent);
}

/* ===== URGENCIA SECTION ===== */
.urgency-section {
    position: relative;
    overflow: hidden;
}

.urgency-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(89, 255, 178, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.urgency-content {
    position: relative;
    z-index: 1;
}

.stock-alert {
    animation: pulse 2s infinite;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 23, 0.95);
    border-top: 1px solid var(--primary-accent);
    animation: slideUp 0.3s ease;
}

.floating-cta h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.floating-cta small {
    font-size: 0.8rem;
}

/* ===== TRUST BADGES ===== */
.trust-badges .badge-item {
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    text-align: center;
}

.trust-badges .fa-2x {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ===== GENERAL SECTIONS ===== */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    scroll-margin-top: 80px;
}

.bg-dark-gradient {
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.9) 0%, rgba(18, 24, 38, 0.9) 100%);
}

/* ===== ANIMACIONES ===== */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

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

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.floating-badge {
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

/* ===== OPACIDADES Y UTILIDADES ===== */
.text-muted {
    color: var(--text-gray) !important;
    opacity: 0.8;
}

.bg-opacity-10 {
    background-color: rgba(89, 255, 178, 0.1) !important;
}

.rounded-4 {
    border-radius: 20px !important;
}

.shadow-xxl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

/* ===== FOOTER ===== */
.footer-section {
    background: rgba(10, 14, 23, 0.95);
    border-top: 1px solid rgba(89, 255, 178, 0.1);
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-title {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.security-seal {
    background: rgba(89, 255, 178, 0.05);
    border-top: 1px solid rgba(89, 255, 178, 0.1);
}

/* ===== FORMULARIOS ===== */
.form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 2px rgba(89, 255, 178, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(10, 14, 23, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-item {
        margin: 5px 0 !important;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn-accent {
        margin-top: 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.5rem; }
    .display-6 { font-size: 1.5rem; }
    
    .price-current .display-2 {
        font-size: 2.5rem;
    }
    
    .benefit-card,
    .audience-card,
    .step-card,
    .metric-card {
        margin-bottom: 1rem;
    }
    
    .btn-accent,
    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .floating-cta {
        display: none !important;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .price-current .display-2 {
        font-size: 2rem;
    }
}
/* ===== VIDEO SECTION ===== */
.video-section {
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.8) 0%, rgba(18, 24, 38, 0.8) 100%);
    position: relative;
}

.video-container {
    border: 1px solid rgba(89, 255, 178, 0.2);
}

.video-thumbnail {
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.video-thumbnail:hover img {
    transform: scale(1.03);
}

.video-overlay {
    background: rgba(10, 14, 23, 0.7);
    transition: background-color 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
    background: rgba(10, 14, 23, 0.6);
}

.btn-play {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-accent);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-accent);
    opacity: 0.2;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.btn-play:hover::before {
    transform: scale(1);
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(89, 255, 178, 0.4);
}

.btn-play i {
    position: relative;
    z-index: 1;
    margin-left: 4px;
}

.video-duration .badge {
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
}

.video-info {
    border-top: 1px solid rgba(89, 255, 178, 0.1);
}

.video-key-points {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.point-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-point:hover .point-icon {
    background: rgba(89, 255, 178, 0.2);
    transform: translateY(-2px);
}

/* Modal de video */
.video-modal .modal-dialog {
    max-width: 900px;
}

.video-modal .modal-content {
    background: transparent;
    border: none;
}

.video-modal .modal-body {
    padding: 0;
}

.video-modal .ratio-16x9 {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-accent);
}

/* Añadir al modal existente en index.php */
@media (max-width: 768px) {
    .video-thumbnail img {
        height: 250px;
    }
    
    .btn-play {
        width: 60px;
        height: 60px;
    }
    
    .btn-play i {
        font-size: 1.5rem;
    }
    
    .video-key-points .key-point {
        margin-bottom: 1.5rem;
    }
}
/* ===== FOOTER COMPLETO ===== */
.footer-section {
    background: rgba(10, 14, 23, 0.95);
    border-top: 1px solid rgba(89, 255, 178, 0.1);
    padding: 60px 0 0;
    margin-top: 80px;
    font-size: 0.95rem;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand .navbar-brand {
    font-size: 1.8rem;
}

.footer-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-contact p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--primary-accent);
    width: 20px;
    margin-right: 8px;
}

.footer-title {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-accent);
    transform: translateX(5px);
}

.footer-newsletter-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(89, 255, 178, 0.2);
    color: var(--text-light);
    border-radius: 50px 0 0 50px;
    padding: 10px 20px;
    border-right: none;
    font-size: 0.9rem;
}

.newsletter-form .form-control:focus {
    box-shadow: 0 0 0 2px rgba(89, 255, 178, 0.2);
    border-color: var(--primary-accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-form .btn-accent {
    border-radius: 0 50px 50px 0;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.footer-social p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(89, 255, 178, 0.1);
    border-radius: 50%;
    color: var(--primary-accent);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(89, 255, 178, 0.2);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(89, 255, 178, 0.2), transparent);
    margin: 2rem 0;
}

.copyright {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.legal-links a {
    color: var(--text-gray);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-accent);
}

.security-seal {
    background: rgba(89, 255, 178, 0.05);
    border-top: 1px solid rgba(89, 255, 178, 0.1);
    padding: 1rem 0;
    margin-top: 2rem;
}

.security-seal span {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    margin: 0 1rem 0.5rem 1rem;
}

.security-seal i {
    color: var(--primary-accent);
    margin-right: 5px;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 768px) {
    .footer-section {
        text-align: center;
        padding: 40px 0 0;
        margin-top: 60px;
    }
    
    .footer-brand .navbar-brand {
        font-size: 1.6rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn-accent {
        border-radius: 50px;
        margin-bottom: 10px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: 50px;
        border-right: 1px solid rgba(89, 255, 178, 0.2);
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn-accent {
        border-radius: 50px;
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .legal-links {
        justify-content: center;
        gap: 0.5rem 1rem;
    }
    
    .security-seal span {
        margin: 0.5rem;
        display: block;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-section {
        padding: 30px 0 0;
    }
    
    .footer-brand .navbar-brand {
        font-size: 1.4rem;
    }
    
    .security-seal span {
        font-size: 0.8rem;
        margin: 0.3rem;
    }
}
/* Ajustes específicos para el input group del newsletter */
@media (max-width: 768px) {
    .newsletter-form .input-group {
        flex-direction: column !important;
        align-items: stretch;
    }
    
    .newsletter-form .form-control {
        border-radius: 50px !important;
        margin-bottom: 10px;
        border: 1px solid rgba(89, 255, 178, 0.2) !important;
    }
    
    .newsletter-form .btn-accent {
        border-radius: 50px !important;
        width: 100%;
    }
}
/* ===== PRODUCTS SECTION ===== */
.products-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0c101f 100%);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(89, 255, 178, 0.3), transparent);
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-badge {
    z-index: 2;
}

.product-badge .badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.product-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.product-content {
    height: calc(100% - 220px);
    display: flex;
    flex-direction: column;
}

.product-features {
    flex-grow: 1;
}

.product-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}
.product-features li span {
    text-align: start;
}

.product-features i {
    font-size: 0.8rem;
}

.product-price {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-accent);
    line-height: 1;
}

.old-price {
    font-size: 1.2rem;
    color: var(--text-gray);
    opacity: 0.7;
}

.product-shipping {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Products comparison table */
.products-comparison {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(89, 255, 178, 0.1);
}

.comparison-table .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-light);
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    font-weight: 700;
    color: var(--primary-accent);
    border-bottom: 2px solid rgba(89, 255, 178, 0.2);
    padding: 1rem;
    font-size: 0.9rem;
}

.comparison-table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    font-size: 0.9rem;
}

.comparison-table tbody tr:hover {
    background: rgba(89, 255, 178, 0.05);
}

.comparison-table .fa-check {
    font-size: 1.2rem;
}

.comparison-table .fa-times {
    opacity: 0.3;
}

/* Products guarantee */
.products-guarantee {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive products */
@media (max-width: 992px) {
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-content {
        height: auto;
    }
    
    .current-price {
        font-size: 2rem;
    }
    .start-0{
left:90px !important;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 3rem 0;
    }
    
    .product-image img {
        height: 180px;
    }
    
    .comparison-table {
        padding: 1rem !important;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .products-guarantee .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .product-card {
        padding: 1rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .comparison-table .table {
        font-size: 0.8rem;
    }
}
/* ===== PRODUCT PAGE SPECIFIC STYLES ===== */

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
}

.breadcrumb-item a {
    color: var(--primary-accent);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-gray);
}

/* Product Header */
.product-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0c101f 100%);
    border-bottom: 1px solid rgba(89, 255, 178, 0.1);
}

/* ===== GALERÍA DE PRODUCTO MEJORADA ===== */

/* Contenedor principal */
.product-gallery {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Imagen principal */
.main-image {
    border: 2px solid rgba(89, 255, 178, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    cursor: zoom-in;
    position: relative;
    background: #000;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image:hover {
    border-color: var(--primary-accent);
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

/* Contenedor de miniaturas */
.thumbnail-gallery {
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Miniaturas individuales */
.thumbnail-item {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.7;
    flex-shrink: 0;
}

.thumbnail-item:hover {
    border-color: rgba(89, 255, 178, 0.5);
    opacity: 0.9;
    transform: translateY(-3px);
}

.thumbnail-item.active {
    border-color: var(--primary-accent);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(89, 255, 178, 0.2);
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 0 2px var(--primary-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item.active::after {
    opacity: 1;
}

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

.thumbnail-item:hover img {
    transform: scale(1.1);
}

/* Indicador de miniatura activa */
.thumbnail-item.active::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-accent);
    border-radius: 2px;
    z-index: 2;
}

/* Modal para zoom de imagen */
#imageModal .modal-content {
    background: transparent;
    border: none;
}

#imageModal .modal-body {
    padding: 0;
}

#imageModal img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.main-image img {
    animation: fadeIn 0.3s ease-out;
}

/* Responsive para galería */
@media (max-width: 768px) {
    .product-gallery {
        max-width: 100%;
    }
    
    .main-image {
        min-height: 300px;
    }
    
    .main-image img {
        max-height: 300px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .thumbnail-gallery {
        gap: 0.5rem;
        padding: 1rem 0;
    }
}

@media (max-width: 576px) {
    .main-image {
        min-height: 250px;
    }
    
    .main-image img {
        max-height: 250px;
    }
    
    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
}

/* Efecto de carga para imágenes */
.main-image.loading {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.05) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0.05) 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Product Info */
.product-title {
    color: var(--text-light);
    line-height: 1.1;
}

.promotion-badge .badge {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.product-pricing {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(89, 255, 178, 0.1);
}

.current-price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-accent);
    line-height: 1;
}

.old-price {
    font-size: 1.8rem;
    color: var(--text-gray);
    opacity: 0.6;
}

.discount-badge {
    font-size: 1rem;
    font-weight: 700;
}

/* Selector de cantidad */
.quantity-selector .input-group {
    width: 140px;
}

.quantity-selector .form-control {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(89, 255, 178, 0.2);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.2rem;
}

.quantity-selector .btn {
    background: rgba(89, 255, 178, 0.1);
    border-color: rgba(89, 255, 178, 0.2);
    color: var(--primary-accent);
    padding: 0.5rem 1rem;
}

.quantity-selector .btn:hover {
    background: var(--primary-accent);
    color: var(--primary-dark);
}

/* CTA Buttons */
.product-cta .btn-lg {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Trust Microcopy */
.trust-microcopy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Info Demo Card */
.info-demo-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.demo-body {
    max-height: 500px;
    overflow-y: auto;
}

.emergency-info .info-item {
    margin-bottom: 1.5rem;
}

.contact-card {
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Privacy Note */
.privacy-note {
    border-left: 4px solid var(--primary-accent);
}

/* Scanning Visual */
.phone-mockup {
    max-width: 350px;
}

.phone-screen {
    border: 3px solid var(--primary-accent);
}

.emergency-screen {
    border-radius: 12px;
    overflow: hidden;
}

.action-buttons .btn {
    font-size: 0.9rem;
    padding: 0.75rem;
}

/* Product Testimonials */
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(89, 255, 178, 0.05);
    transform: translateY(-5px);
}

/* Final CTA Section */
.product-final-cta {
    position: relative;
    overflow: hidden;
}

.product-final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.product-final-cta .container {
    position: relative;
    z-index: 1;
}

.final-offer {
    border: 2px solid var(--primary-accent);
}

.final-offer .current-price {
    font-size: 4rem;
}

/* Responsive Product Page */
@media (max-width: 992px) {
    .product-header {
        padding: 3rem 0;
    }
    
    .product-gallery {
        margin-bottom: 3rem;
    }
    
    .current-price {
        font-size: 3rem;
    }
    
    .final-offer .current-price {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 2.5rem;
    }
    
    .current-price {
        font-size: 2.5rem;
    }
    
    .old-price {
        font-size: 1.5rem;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .product-cta .btn-lg {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    .phone-mockup {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 2rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .promotion-badge .badge {
        display: block;
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
    
    .quantity-selector .input-group {
        width: 120px;
    }
    
    .final-offer .current-price {
        font-size: 2.5rem;
    }
}
/* ===== AUDIENCE SECTION ICONS FIX ===== */

/* Iconos circulares perfectos */
.product-audience .audience-icon,
.product-benefits .benefit-icon,
.product-activation .step-number {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem auto !important;
    padding: 1.5rem !important;
}

/* Asegurar que los iconos dentro sean del tamaño correcto */
.product-audience .audience-icon i,
.product-benefits .benefit-icon i {
    font-size: 2rem !important;
    line-height: 1 !important;
}

/* Corrección específica para la sección de productos */
.products-section .benefit-icon {
    width: 70px !important;
    height: 70px !important;
    padding: 1.2rem !important;
}

.products-section .benefit-icon i {
    font-size: 1.8rem !important;
}

/* Para la sección de activación */
.product-activation .step-number {
    width: 70px !important;
    height: 70px !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
}

/* Asegurar que los contenedores de iconos mantengan proporción */
.audience-card,
.benefit-card,
.step-card {
    text-align: center;
}

.audience-card .audience-icon,
.benefit-card .benefit-icon {
    flex-shrink: 0;
}

/* Animación sutil para iconos */
.audience-card:hover .audience-icon,
.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

/* Responsive para iconos */
@media (max-width: 768px) {
    .product-audience .audience-icon,
    .product-benefits .benefit-icon {
        width: 70px !important;
        height: 70px !important;
        padding: 1.2rem !important;
    }
    
    .product-audience .audience-icon i,
    .product-benefits .benefit-icon i {
        font-size: 1.8rem !important;
    }
    
    .product-activation .step-number {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .product-audience .audience-icon,
    .product-benefits .benefit-icon {
        width: 60px !important;
        height: 60px !important;
        padding: 1rem !important;
    }
    
    .product-audience .audience-icon i,
    .product-benefits .benefit-icon i {
        font-size: 1.5rem !important;
    }
}
/* Añade esto al archivo styles.css para resetear estilos problemáticos */

/* Reset para todos los iconos circulares */
[class*="icon"] {
    box-sizing: border-box;
}

/* Asegurar que los elementos flex mantengan proporción */
.d-flex {
    align-items: center;
}

/* Corregir posibles conflictos con Bootstrap */
.bg-accent.bg-opacity-10 {
    background-color: rgba(89, 255, 178, 0.1) !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* Forzar círculos perfectos con !important si es necesario */
.circle-fix {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    aspect-ratio: 1/1 !important;
}

/* Clase utilitaria para círculos perfectos */
.perfect-circle {
    position: relative;
    width: var(--circle-size, 80px);
    height: var(--circle-size, 80px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.perfect-circle i {
    font-size: calc(var(--circle-size, 80px) * 0.4);
    line-height: 1;
}
/* ===== CARRITO DE COMPRA ===== */

/* Badge del carrito en header */
.cart-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Página del carrito */
.cart-page {
    min-height: 70vh;
}

.empty-cart {
    padding: 4rem 0;
}

.empty-cart-icon {
    opacity: 0.3;
}

/* Items del carrito */
.cart-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.quantity-selector form {
    display: flex;
    align-items: center;
}

.quantity-selector input[type="number"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(89, 255, 178, 0.2);
    color: var(--text-light);
    font-weight: 600;
}

.quantity-selector button {
    background: rgba(89, 255, 178, 0.1);
    border-color: rgba(89, 255, 178, 0.2);
    color: var(--primary-accent);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.quantity-selector button:hover {
    background: var(--primary-accent);
    color: var(--primary-dark);
}

/* Resumen del pedido */
.order-summary {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.summary-total {
    border-top: 2px solid rgba(89, 255, 178, 0.2);
}

/* Botón de PayPal */
#paypal-button-container {
    padding: 0;
    border: none;
    background: none;
}

#paypal-button-container iframe {
    border-radius: 50px !important;
}

/* ===== PÁGINA DE GRACIAS ===== */
.thankyou-page .icon-circle {
    animation: pulse 2s infinite;
}

.order-details {
    border: 2px solid rgba(89, 255, 178, 0.2);
}

.purchased-items li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.purchased-items li:last-child {
    border-bottom: none;
}

/* ===== PÁGINA DE ERROR ===== */
.error-page .icon-circle {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.possible-reasons li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

/* ===== RESPONSIVE CARRITO ===== */
@media (max-width: 768px) {
    .cart-item .row {
        text-align: center;
    }
    
    .cart-item img {
        margin-bottom: 1rem;
    }
    
    .quantity-selector {
        justify-content: center;
        margin: 1rem 0;
    }
    
    .cart-item .text-end {
        text-align: center !important;
    }
    
    .order-summary {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .cart-item {
        padding: 1rem !important;
    }
    
    .cart-item .col-md-2,
    .cart-item .col-md-3,
    .cart-item .col-md-5 {
        margin-bottom: 1rem;
    }
    
    .cart-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
/* Notificaciones del carrito */
.cart-notification {
    animation: slideInRight 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(var(--bs-success-rgb), 0.9) !important;
    color: white !important;
}

.cart-notification .btn-close {
    filter: brightness(0) invert(1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* ===== ANIMACIONES DEL CARRITO ===== */
.cart-item {
    transition: all 0.3s ease;
}

.cart-item.removing {
    opacity: 0;
    transform: translateX(100px);
}

/* Notificaciones */
.cart-notification {
    animation: slideInRight 0.3s ease;
    background: rgba(25, 135, 84, 0.95) !important;
    color: white !important;
    border: none !important;
}

.cart-notification.alert-danger {
    background: rgba(220, 53, 69, 0.95) !important;
}

.cart-notification .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.cart-notification .btn-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animación para actualizar cantidad */
.cart-quantity {
    transition: transform 0.2s ease;
}

.cart-quantity:focus {
    transform: scale(1.05);
}

/* Efecto hover en botones del carrito */
.cart-remove:hover,
.cart-update:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Loading state */
.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* ===== ESTILOS PARA PAGO CON TARJETA ===== */

.payment-logo {
    transition: transform 0.3s ease;
}

.payment-logo:hover {
    transform: scale(1.1);
}

/* Formulario de tarjeta */
#cardPaymentForm .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: all 0.3s ease;
}

#cardPaymentForm .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 2px rgba(89, 255, 178, 0.2);
    color: var(--text-light);
}

#cardPaymentForm .input-group-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Validación del formulario */
#cardPaymentForm .was-validated .form-control:valid {
    border-color: var(--bs-success);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

#cardPaymentForm .was-validated .form-control:invalid {
    border-color: var(--bs-danger);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

/* Modal específico */
#cardPaymentModal .modal-content {
    border: 1px solid rgba(89, 255, 178, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

#cardPaymentModal .modal-header {
    border-bottom: 1px solid rgba(89, 255, 178, 0.1);
}

.payment-total {
    border: 1px solid rgba(89, 255, 178, 0.2);
}

/* Animación para el botón de pago */
#process-card-payment {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#process-card-payment::after {
    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;
}

#process-card-payment:hover::after {
    left: 100%;
}

/* Checkbox personalizado */
#cardPaymentForm .form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#cardPaymentForm .form-check-input:checked {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

#cardPaymentForm .form-check-input:focus {
    box-shadow: 0 0 0 2px rgba(89, 255, 178, 0.2);
}
/* Estado de carga para botones */
.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.card-title{
    color:#FFF;
}
.order-summary div h3{
    color:#FFF;
}
#cart-subtotal{
    color:#CCC;
}
.summary-total span.h5{
    color:#CCC;
}
.trust-badges div div small{
     color:#CCC;
}
/* ===== MICRO-BENEFICIOS MODERNOS ===== */
.benefit-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(89, 255, 178, 0.08);
    border: 1px solid rgba(89, 255, 178, 0.15);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.benefit-chip:hover {
    background: rgba(89, 255, 178, 0.12);
    border-color: rgba(89, 255, 178, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(89, 255, 178, 0.1);
}

.benefit-chip i {
    font-size: 0.9rem;
}

/* Versión elegante */
.benefit-elegant {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    min-width: 80px;
    transition: all 0.3s ease;
}

.benefit-elegant:hover {
    background: rgba(89, 255, 178, 0.05);
    border-color: rgba(89, 255, 178, 0.2);
    transform: translateY(-3px);
}

.benefit-elegant .benefit-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(89, 255, 178, 0.1);
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.benefit-elegant .benefit-icon i {
    color: var(--primary-accent);
    font-size: 1rem;
}

.benefit-elegant .benefit-text small {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Versión chips moderna */
.modern-chip {
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(89, 255, 178, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-chip:hover {
    background: rgba(89, 255, 178, 0.1);
    border-color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(89, 255, 178, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .benefit-chip,
    .modern-chip {
        padding: 0.35rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .benefit-elegant {
        padding: 0.5rem 0.8rem;
        min-width: 70px;
    }
    
    .benefit-elegant .benefit-text small {
        font-size: 0.7rem;
    }
}
/* ===== BARRA DE URGENCIA CENTRADA ===== */
.urgency-bar-centered {
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.95) 0%,      /* Lila vibrante */
        rgba(89, 255, 178, 0.9) 100%      /* Verde acento */
    );
    padding: 10px 0;
    font-size: 0.9rem;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1030;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 12px rgba(138, 43, 226, 0.25);
}

/* Contenedor principal centrado */
.urgency-center-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
}

/* Icono de fuego centrado */
.fire-icon-centered {
    color: #ff6b6b;
    font-size: 0.95rem;
    animation: gentleFire 2s ease-in-out infinite;
    order: 1;
}

@keyframes gentleFire {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
    }
    50% { 
        transform: scale(1.1) rotate(5deg);
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.8);
    }
}

/* Texto centrado */
.urgency-text-centered {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    order: 2;
    white-space: nowrap;
}

.urgency-text-centered strong {
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Temporizador centrado */
.countdown-centered {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 12px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    order: 3;
}

.cd-centered {
    min-width: 28px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 6px;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cd-centered.days {
    background: rgba(255, 107, 107, 0.3);
    color: #fff;
    font-weight: 800;
}

.cd-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0 2px;
    font-weight: 600;
}

/* CTA centrado */
.cta-centered {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    order: 4;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.cta-centered:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-centered i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.cta-centered:hover i {
    transform: translateX(3px);
}

/* Botón cerrar centrado */
.close-centered {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    order: 5;
    flex-shrink: 0;
}

.close-centered:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Efecto de brillo sutil */
.urgency-bar-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    animation: slideShine 6s infinite;
}

@keyframes slideShine {
    0% { transform: translateX(0); }
    100% { transform: translateX(200%); }
}

/* Efecto cuando queda poco tiempo */
.urgency-bar-centered.urgent {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.95) 0%,
        rgba(255, 193, 7, 0.9) 100%
    );
    animation: pulseUrgent 2s infinite;
}

@keyframes pulseUrgent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

.urgent .cd-centered {
    animation: digitPulse 1s infinite;
}

@keyframes digitPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 107, 107, 0);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    }
}

/* Responsive - Mantener centrado */
@media (max-width: 992px) {
    .urgency-center-content {
        gap: 12px;
    }
    
    .urgency-text-centered {
        font-size: 0.85rem;
    }
    
    .countdown-centered {
        padding: 4px 10px;
    }
    
    .cd-centered {
        min-width: 24px;
        font-size: 0.9rem;
        padding: 2px 4px;
    }
    
    .cta-centered {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .urgency-bar-centered {
        padding: 8px 0;
    }
    
    .urgency-center-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0 10px;
    }
    
    /* Reordenar elementos para móvil */
    .fire-icon-centered {
        order: 1;
    }
    
    .urgency-text-centered {
        order: 2;
        width: 100%;
        text-align: center;
    }
    
    .countdown-centered {
        order: 3;
    }
    
    .cta-centered {
        order: 4;
    }
    
    .close-centered {
        order: 5;
        position: absolute;
        top: 5px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .urgency-bar-centered {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    
    .urgency-center-content {
        gap: 8px;
    }
    
    .fire-icon-centered {
        font-size: 0.85rem;
    }
    
    .urgency-text-centered {
        font-size: 0.8rem;
    }
    
    .countdown-centered {
        padding: 3px 8px;
        font-size: 0.85rem;
    }
    
    .cd-centered {
        min-width: 20px;
        font-size: 0.85rem;
        padding: 1px 3px;
    }
    
    .cta-centered {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .close-centered {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 400px) {
    .urgency-center-content {
        flex-direction: column;
        gap: 6px;
    }
    
    .urgency-text-centered {
        width: auto;
    }
    
    .cta-centered {
        margin-top: 4px;
    }
    
    .close-centered {
        position: absolute;
        top: 3px;
        right: 5px;
    }
}
/* ===== ESTILOS PARA PRODUCTOS INDIVIDUALES LADO A LADO ===== */
.product-card-single {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.product-card-single:hover {
    border-color: rgba(89, 255, 178, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.product-card-single::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-single:hover::before {
    opacity: 1;
}

.product-image-single {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
}

.product-image-single img {
    transition: transform 0.5s ease;
    max-width: 100%;
    height: auto;
}

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

.product-content-single {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-content-single h3 {
    color: var(--text-light);
    font-size: 1.8rem;
}

.product-content-single p {
    color: var(--text-gray);
    line-height: 1.5;
}

/* Ajustes específicos para el diseño lado a lado */
@media (min-width: 768px) {
    .product-card-single {
        min-height: 400px;
    }
    
    .product-content-single {
        justify-content: space-between;
    }
}

/* Responsive para diseño lado a lado */
@media (max-width: 767.98px) {
    .product-card-single {
        margin-bottom: 2rem;
    }
    
    .product-image-single {
        margin-bottom: 1.5rem;
    }
    
    .product-content-single h3 {
        font-size: 1.5rem;
    }
}

/* Ajustes para el badge en tarjetas individuales */
.product-card-single .product-badge {
    z-index: 10;
}
/* Estilos para la galería de imágenes */
.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.7;
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.thumbnail-item:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.thumbnail-item.active {
    border-color: var(--primary-accent, #00ff88);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

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

.thumbnail-item:hover img {
    transform: scale(1.05);
}

.main-image img {
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: zoom-in;
}
.trust-microcopy div div div div strong{
    color:#FFF !important;
}
.final-guarantee div div div div strong{
    color:#000 !important;
}
/* Añade al final de styles.css */
/* ===== PÁGINAS DE AUTENTICACIÓN ===== */
.auth-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0c101f 100%);
    padding: 4rem 0;
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 400px;
    margin: 0 auto;
}

.auth-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(89, 255, 178, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-accent), var(--accent-purple));
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.auth-title {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-form .form-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.auth-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 2px rgba(89, 255, 178, 0.2);
    color: var(--text-light);
}

.auth-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-accent);
}

.form-check-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-check-input:checked {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 1rem;
}

.auth-social {
    margin-bottom: 1.5rem;
}

.auth-social .btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.75rem;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.auth-social .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.auth-social .btn i {
    margin-right: 0.5rem;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-links a {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-accent-light);
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.auth-message {
    background: rgba(89, 255, 178, 0.1);
    border: 1px solid rgba(89, 255, 178, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-accent);
    font-size: 0.9rem;
}

.auth-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

/* Responsive para auth */
@media (max-width: 576px) {
    .auth-section {
        padding: 2rem 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}
/* Añade esto al final de styles.css */
#forgotMsg .auth-message,
#resetMsg .auth-message,
#registerMsg .auth-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

#forgotMsg .auth-success,
#resetMsg .auth-success,
#registerMsg .auth-success {
    background: rgba(89, 255, 178, 0.1);
    border: 1px solid rgba(89, 255, 178, 0.2);
    color: var(--primary-accent);
}

#forgotMsg .auth-error,
#resetMsg .auth-error,
#registerMsg .auth-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}
/* ===== ESTILOS PARA EL PANEL DE CONTROL ===== */

/* Dashboard Cards */
.dashboard-card {
    margin-bottom: 2rem;
}

.dashboard-card .card {
    transition: all 0.3s ease;
}

.dashboard-card .card:hover {
    border-color: rgba(89, 255, 178, 0.4) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Device Cards */
.device-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(89, 255, 178, 0.1);
    border-color: rgba(89, 255, 178, 0.3) !important;
}

.device-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-accent), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.device-card:hover::before {
    opacity: 1;
}

.device-actions .dropdown-menu {
    min-width: 200px;
}

.device-badges .badge {
    font-size: 0.75rem;
}

/* Formularios del panel */
.form-control.bg-dark.border-accent {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(89, 255, 178, 0.2) !important;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.form-control.bg-dark.border-accent:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 3px rgba(89, 255, 178, 0.1) !important;
    color: var(--text-light) !important;
}

.form-select.bg-dark.border-accent {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(89, 255, 178, 0.2) !important;
    color: var(--text-light) !important;
}

.form-select.bg-dark.border-accent:focus {
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 3px rgba(89, 255, 178, 0.1) !important;
}

/* Checkboxes personalizados */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-check-input:checked {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(89, 255, 178, 0.25);
}

/* Alertas personalizadas */
.alert-info {
    background-color: rgba(13, 110, 253, 0.1) !important;
    border-color: rgba(13, 110, 253, 0.3) !important;
    color: #a5d8ff !important;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1) !important;
    border-color: rgba(25, 135, 84, 0.3) !important;
    color: #a3cfbb !important;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
    color: #f1aeb5 !important;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: #ffda6a !important;
}

/* Tabs personalizados */
.nav-tabs .nav-link {
    background: transparent;
    border: none;
    color: var(--text-gray);
    padding: 0.75rem 1.5rem;
    position: relative;
    font-weight: 500;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-accent), var(--accent-purple));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: var(--primary-accent);
}

.nav-tabs .nav-link:hover::after,
.nav-tabs .nav-link.active::after {
    width: 80%;
}

/* Estados vacíos */
.empty-state-icon {
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 768px) {
    .device-card {
        margin-bottom: 1rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .dashboard-card .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .device-badges .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}