/* Pure Binaural Beats - Main Stylesheet */
/* Professional, optimized and unified CSS */

:root {
    --primary: #9333ea;
    --primary-dark: #7c3aed;
    --secondary: #06b6d4;
    --secondary-dark: #0891b2;
    --dark: #0f0817;
    --dark-light: #1a0f2e;
    --gray: #9ca3af;
    --gray-light: #e5e7eb;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 50%, var(--dark) 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(147, 51, 234, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 15px;
    --max-width: 1400px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: var(--gradient-dark);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    color: var(--secondary);
}

p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

main {
    flex: 1;
    padding: 2rem 0;
}

/* Header & Navigation */
header {
    background: rgba(15, 8, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid var(--primary);
    border-radius: 25px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cart-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.cart-count {
    background: var(--secondary);
    color: var(--white);
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    min-width: 20px;
    text-align: center;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(15, 8, 23, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 15px;
    padding: 0.5rem;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.language-option:hover {
    background: rgba(147, 51, 234, 0.1);
}

.language-option.active {
    background: rgba(147, 51, 234, 0.2);
}

.language-flag {
    font-size: 1.5rem;
}

.language-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.language-native {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: rgba(15, 8, 23, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--gray);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: 4rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Loading */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 8, 23, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.loading.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(147, 51, 234, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(15, 8, 23, 0.98);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--danger);
}

.toast-message {
    color: var(--white);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(15, 8, 23, 0.98);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(15, 8, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        transition: right 0.3s;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.mobile-active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .language-selector {
        width: 100%;
        margin: 1rem 0;
    }
    
    .language-btn {
        width: 100%;
    }
    
    .cart-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Toast */
    .toast {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    nav {
        padding: 0 1rem;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .toast {
    right: auto;
    left: 2rem;
    transform: translateX(-400px);
}

[dir="rtl"] .toast.show {
    transform: translateX(0);
}

/* Print Styles */
@media print {
    header, footer, .cart-btn, .language-selector {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Mobile Menu Button - Agregar estos estilos en tu styles.css */

/* Mobile Menu Button Default (oculto en desktop) */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    z-index: 1002;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* Media Query para dispositivos móviles */
@media (max-width: 768px) {
    /* Mostrar botón de menú móvil */
    .mobile-menu-btn {
        display: block;
    }
    
    /* Estilos para el menú de navegación en móvil */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(15, 8, 23, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    /* Clase activa para mostrar el menú */
    .nav-links.mobile-active {
        right: 0;
    }
    
    /* Estilos para los enlaces del menú */
    .nav-links a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
        color: var(--gray);
        transition: color 0.3s;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--white);
    }
    
    /* Ajustar selector de idioma */
    .language-selector {
        width: 100%;
        margin: 1rem 0;
        order: 10; /* Ponerlo al final */
    }
    
    .language-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Ajustar botón del carrito */
    .cart-btn {
        width: 100%;
        justify-content: center;
        margin: 1rem 0;
        order: 9; /* Antes del selector de idioma */
    }
    
    /* Ajustar el header para móvil */
    header {
        padding: 0.75rem 0;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    /* Overlay para cerrar el menú */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }
    
    .nav-links.mobile-active::before {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }
}

/* Animación para el botón hamburguesa cuando está activo */
@keyframes rotateMenu {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(90deg);
    }
}

/* Mejorar la transición del menú */
@media (max-width: 768px) {
    .nav-links {
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Agregar animación a los elementos del menú */
    .nav-links.mobile-active a,
    .nav-links.mobile-active .cart-btn,
    .nav-links.mobile-active .language-selector {
        animation: slideInRight 0.4s ease-out forwards;
        opacity: 0;
    }
    
    .nav-links.mobile-active a:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.mobile-active a:nth-child(2) { animation-delay: 0.15s; }
    .nav-links.mobile-active a:nth-child(3) { animation-delay: 0.2s; }
    .nav-links.mobile-active a:nth-child(4) { animation-delay: 0.25s; }
    .nav-links.mobile-active a:nth-child(5) { animation-delay: 0.3s; }
    .nav-links.mobile-active a:nth-child(6) { animation-delay: 0.35s; }
    .nav-links.mobile-active a:nth-child(7) { animation-delay: 0.4s; }
    .nav-links.mobile-active .cart-btn { animation-delay: 0.45s; }
    .nav-links.mobile-active .language-selector { animation-delay: 0.5s; }
}

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

/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
    .nav-links {
        width: 90%;
        padding: 4rem 1.5rem;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.875rem 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo svg {
        width: 35px;
        height: 35px;
    }
}


/* From index-page.CSS */

    <style>
        :root {
            --primary: #9333ea;
            --primary-dark: #7c3aed;
            --secondary: #06b6d4;
            --accent: #f59e0b;
            --warning: #f59e0b;
            --dark: #0f0817;
            --dark-light: #1a0f2e;
            --gray: #9ca3af;
            --light: #f3f4f6;
            --white: #ffffff;
            --success: #10b981;
            --danger: #ef4444;
        }
        
        /* Animated background */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
            animation: float 20s ease-in-out infinite;
            pointer-events: none;
            z-index: -1;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(-20px, -20px) scale(1.05); }
            66% { transform: translate(20px, -10px) scale(0.95); }
        }

        /* Container */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .text-center {
            text-align: center;
        }

        .gradient-text {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Sections */
        .section {
            padding: 4rem 0;
        }

        /* Hero section enhanced */
        .hero {
            padding: 6rem 2rem;
            position: relative;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 900;
            line-height: 1.1;
        }

        .hero-features {
            display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
            margin-top: 3rem;
        }

        .hero-feature {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray);
            font-size: 0.95rem;
        }

        .hero-feature svg {
            width: 20px;
            height: 20px;
            color: var(--primary);
        }

        /* Frequency categories */
        .frequency-categories {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            padding: 0 2rem 4rem;
        }

        .freq-category {
            padding: 0.75rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .freq-category:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        .freq-category.active {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-color: transparent;
            color: var(--white);
        }

        .freq-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: currentColor;
        }

        .freq-category.delta { color: #4c1d95; }
        .freq-category.theta { color: #7c3aed; }
        .freq-category.alpha { color: #06b6d4; }
        .freq-category.beta { color: #10b981; }
        .freq-category.gamma { color: #f59e0b; }

        /* Search bar */
        .search-container {
            max-width: 600px;
            margin: 0 auto 3rem;
            padding: 0 2rem;
            position: relative;
        }

        .search-bar {
            width: 100%;
            padding: 1rem 3rem 1rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(147, 51, 234, 0.2);
            border-radius: 50px;
            color: var(--white);
            font-size: 1rem;
            transition: all 0.3s;
        }

        .search-bar:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
        }

        .search-bar::placeholder {
            color: var(--gray);
        }

        .search-icon {
            position: absolute;
            right: 3rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }

        /* Tracks grid */
        .tracks-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Track cards with gradient backgrounds */
        .track-card {
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s;
            position: relative;
            animation: fadeInUp 0.6s ease-out forwards;
            opacity: 0;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(147, 51, 234, 0.1);
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
            from {
                opacity: 0;
                transform: translateY(20px);
            }
        }

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

        /* Track cover */
        .track-cover {
            position: relative;
            padding-bottom: 60%;
            overflow: hidden;
        }

        .track-cover canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .frequency-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: rgba(15, 8, 23, 0.9);
            backdrop-filter: blur(10px);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: white;
        }

        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
            cursor: pointer;
        }

        .track-card:hover .play-overlay {
            opacity: 1;
        }

        .play-btn {
            width: 70px;
            height: 70px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .play-btn:hover {
            transform: scale(1.1);
            background: var(--white);
        }

        .play-btn::after {
            content: '▶';
            font-size: 1.75rem;
            color: var(--primary);
            margin-left: 4px;
        }

        /* Color gradients for each frequency type */
        .track-card.delta .track-cover {
            background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
        }

        .track-card.theta .track-cover {
            background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
        }

        .track-card.alpha .track-cover {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }

        .track-card.beta .track-cover {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .track-card.gamma .track-cover {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }

        /* Track content */
        .track-content, .track-info {
            padding: 1.5rem;
        }

        .track-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .track-badge {
            background: rgba(0, 0, 0, 0.2);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .track-title {
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--white);
        }

        .track-subtitle, .track-description {
            font-size: 0.9rem;
            opacity: 0.9;
            margin-bottom: 1.5rem;
            line-height: 1.6;
            color: var(--gray);
        }

        .track-meta {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .meta-tag {
            padding: 0.35rem 0.85rem;
            background: rgba(147, 51, 234, 0.1);
            border: 1px solid rgba(147, 51, 234, 0.2);
            border-radius: 50px;
            font-size: 0.85rem;
            color: var(--primary);
        }

        .track-benefits {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .benefit-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            color: var(--gray);
        }

        .benefit-item svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
            color: var(--success);
        }

        /* Pricing tiers */
        .pricing-tiers {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .tier-option {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem;
            margin-bottom: 0.5rem;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .tier-option:hover {
            background: rgba(147, 51, 234, 0.1);
            border-color: var(--primary);
        }

        .tier-option.selected {
            background: rgba(147, 51, 234, 0.2);
            border-color: var(--primary);
        }

        .tier-info {
            flex: 1;
        }

        .tier-name {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--white);
            margin-bottom: 0.25rem;
        }

        .tier-details {
            font-size: 0.8rem;
            opacity: 0.8;
            color: var(--gray);
        }

        .tier-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
        }

        /* Track actions */
        .track-actions {
            display: flex;
            gap: 0.75rem;
        }

        .btn {
            padding: 0.85rem 1.75rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-size: 0.95rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--white);
            flex: 1;
            box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            flex: 1;
        }

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

        /* Special pack card */
        .pack-card {
            grid-column: 1 / -1;
            background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
            border: 2px solid var(--primary);
            padding: 3rem;
            border-radius: 24px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .pack-card::before {
            content: attr(data-offer);
            position: absolute;
            top: 20px;
            right: -40px;
            background: var(--warning);
            color: var(--white);
            padding: 0.5rem 3rem;
            transform: rotate(45deg);
            font-weight: 700;
            font-size: 0.85rem;
        }

        .pack-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .pack-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin: 2rem 0;
        }

        .pack-feature {
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .pack-price {
            font-size: 3rem;
            font-weight: 800;
            color: var(--white);
            margin-bottom: 0.5rem;
        }

        .pack-price .original {
            text-decoration: line-through;
            color: var(--gray);
            font-size: 1.5rem;
            margin-right: 1rem;
        }

        /* Audio player */
        .audio-player {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(15, 8, 23, 0.98);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(147, 51, 234, 0.2);
            padding: 1.25rem 2rem;
            transform: translateY(100%);
            transition: transform 0.3s;
            z-index: 1000;
        }

        .audio-player.active {
            transform: translateY(0);
        }

        /* Footer Styles from Original */
        footer {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem;
            border-top: 1px solid rgba(147, 51, 234, 0.1);
            margin-top: 5rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand, .footer-section {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-logo svg {
            width: 30px;
            height: 30px;
        }

        .footer-description {
            color: var(--gray);
            line-height: 1.6;
        }

        .footer-section h4, .footer-column h4 {
            color: var(--white);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .footer-section ul, .footer-links {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            list-style: none;
        }

        .footer-section a, .footer-links a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover, .footer-links a:hover {
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            text-decoration: none;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .social-link:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateY(-2px);
            border-color: var(--primary);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--gray);
        }

        /* Modal */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            padding: 2rem;
            backdrop-filter: blur(10px);
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: var(--dark-light);
            border-radius: 24px;
            max-width: 500px;
            width: 100%;
            padding: 2.5rem;
            position: relative;
            animation: slideIn 0.3s ease-out;
            border: 1px solid rgba(147, 51, 234, 0.2);
        }

        @keyframes slideIn {
            from {
                transform: translateY(-20px) scale(0.95);
                opacity: 0;
            }
            to {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
        }

        .modal-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            width: 35px;
            height: 35px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: var(--white);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 1.2rem;
        }

        .modal-close:hover {
            background: var(--danger);
            border-color: var(--danger);
        }

        .modal h2 {
            margin-bottom: 1rem;
            font-size: 1.75rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .modal-description {
            color: var(--gray);
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--gray);
            font-size: 0.95rem;
        }

        .form-input {
            width: 100%;
            padding: 0.85rem 1rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: var(--white);
            font-size: 1rem;
            transition: all 0.3s;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
        }

        /* Loading and Toast styles */
        .loading {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 3000;
        }

        .loading.active {
            display: block;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(147, 51, 234, 0.1);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .toast {
            position: fixed;
            bottom: 100px;
            right: 20px;
            background: var(--dark-light);
            color: var(--white);
            padding: 1rem 1.5rem;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transform: translateX(400px);
            transition: transform 0.3s;
            z-index: 3000;
            display: flex;
            align-items: center;
            gap: 1rem;
            border: 1px solid rgba(147, 51, 234, 0.2);
        }

        .toast.show {
            transform: translateX(0);
        }

        .toast-icon {
            font-size: 1.2rem;
        }

        .toast-message {
            flex: 1;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .tracks-grid {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .social-links {
                justify-content: center;
            }

            .player-content {
                flex-direction: column;
                gap: 1rem;
            }

            .player-track-info {
                width: 100%;
            }

            .progress-container {
                width: 100%;
            }

            .volume-control {
                display: none;
            }

            .frequency-categories {
                overflow-x: auto;
                justify-content: flex-start;
                padding-bottom: 1rem;
            }
        }
		
		.freq-category.theta.active {
			background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
			border-color: transparent;
			color: #d3bef9;
		}		
		.freq-category.delta.active {
			background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
			  border-color: transparent;
			  color: #D7C3F3;

		}
		
    </style>