/* Sección Auriculares Interactivos */
.headphones-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #000000, #050505);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.headphones-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 158, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(179, 102, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.headphones-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.headphones-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #b0b0b0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.headphones-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contenedor principal */
.headphones-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Canvas wrapper */
.canvas-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 2rem;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#headphones-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    cursor: grab;
}

#headphones-canvas:active {
    cursor: grabbing;
}

/* Controles del canvas */
.canvas-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(74, 158, 255, 0.2);
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateY(-2px);
}

.control-btn i {
    font-size: 1rem;
}

/* Panel de características */
.features-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 700px;
    overflow-y: auto;
    padding-right: 1rem;
}

.features-panel::-webkit-scrollbar {
    width: 4px;
}

.features-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.features-panel::-webkit-scrollbar-thumb {
    background: rgba(74, 158, 255, 0.5);
    border-radius: 2px;
}

.features-header {
    padding: 1.5rem;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

.features-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #b0b0b0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.features-subtitle {
    font-size: 0.95rem;
    color: #888;
    font-style: italic;
}

/* Tarjetas de características */
.feature-card {
    padding: 1.5rem;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    transform: translateX(-20px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, #4a9eff, #b366ff);
    transition: height 0.4s ease;
}

.feature-card:hover {
    opacity: 1;
    transform: translateX(0);
    border-color: rgba(74, 158, 255, 0.2);
    background: rgba(30, 30, 30, 0.9);
}

.feature-card.active {
    opacity: 1;
    transform: translateX(0);
    border-color: rgba(74, 158, 255, 0.3);
    background: rgba(30, 30, 30, 0.95);
}

.feature-card.active::before {
    height: 100%;
}

/* Específicos para cada tipo de característica */
.left-feature {
    border-left-color: rgba(74, 158, 255, 0.3);
}

.left-feature:hover,
.left-feature.active {
    border-color: rgba(74, 158, 255, 0.4);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.1);
}

.right-feature {
    border-left-color: rgba(179, 102, 255, 0.3);
}

.right-feature:hover,
.right-feature.active {
    border-color: rgba(179, 102, 255, 0.4);
    box-shadow: 0 10px 30px rgba(179, 102, 255, 0.1);
}

.band-feature {
    border-left-color: rgba(255, 184, 0, 0.3);
}

.band-feature:hover,
.band-feature.active {
    border-color: rgba(255, 184, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.1);
}

.battery-feature {
    border-left-color: rgba(0, 255, 136, 0.3);
}

.battery-feature:hover,
.battery-feature.active {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

/* Contenido de las tarjetas */
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.left-feature .feature-icon {
    color: #4a9eff;
}

.right-feature .feature-icon {
    color: #b366ff;
}

.band-feature .feature-icon {
    color: #ffb800;
}

.battery-feature .feature-icon {
    color: #00ff88;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #b0b0b0;
    margin-bottom: 1.2rem;
}

.feature-specs {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-specs li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #a0a0a0;
    display: flex;
    align-items: center;
}

.feature-specs i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.left-feature .feature-specs i {
    color: #4a9eff;
}

.right-feature .feature-specs i {
    color: #b366ff;
}

.band-feature .feature-specs i {
    color: #ffb800;
}

.battery-feature .feature-specs i {
    color: #00ff88;
}

/* Indicador de estado */
.feature-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    animation: pulse 2s infinite;
}

.status-indicator.active {
    background: #4a9eff;
}

.status-indicator.charging {
    background: #ffb800;
    animation: pulse-charging 1.5s infinite;
}

.status-text {
    font-size: 0.85rem;
    color: #888;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(74, 158, 255, 0.7);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 0 5px rgba(74, 158, 255, 0);
    }
}

@keyframes pulse-charging {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 0 5px rgba(255, 184, 0, 0);
    }
}

/* Indicador de interacción */
.interaction-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
    animation: floatUpDown 3s infinite ease-in-out;
    z-index: 10;
}

.interaction-hint i {
    color: #4a9eff;
    font-size: 1.2rem;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Zonas interactivas en el canvas */
.hotspot {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(74, 158, 255, 0.1);
    border: 2px solid rgba(74, 158, 255, 0.3);
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotspot:hover {
    background: rgba(74, 158, 255, 0.2);
    border-color: rgba(74, 158, 255, 0.6);
    transform: scale(1.2);
}

.hotspot i {
    color: #4a9eff;
    font-size: 1.2rem;
}

.hotspot-left {
    top: 45%;
    left: 35%;
}

.hotspot-right {
    top: 45%;
    right: 35%;
}

.hotspot-band {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.hotspot-battery {
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
}

/* Tooltip para hotspots */
.hotspot-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Efectos de partículas */
.particle {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .headphones-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .canvas-wrapper {
        height: 500px;
    }
    
    .features-panel {
        height: auto;
        max-height: 500px;
    }
    
    .headphones-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .headphones-section {
        padding: 4rem 1.5rem;
    }
    
    .headphones-title {
        font-size: 2.2rem;
    }
    
    .canvas-wrapper {
        height: 400px;
    }
    
    .canvas-controls {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.6rem;
    }
    
    .control-btn span {
        display: none;
    }
    
    .control-btn {
        padding: 0.6rem;
    }
    
    .features-panel {
        max-height: 400px;
    }
    
    .interaction-hint {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    .interaction-hint span {
        display: none;
    }
}

@media (max-width: 480px) {
    .headphones-title {
        font-size: 1.8rem;
    }
    
    .canvas-wrapper {
        height: 300px;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
}

