/* ==========================================================================
   AJ MARKETING - HOJA DE ESTILOS PRINCIPAL (assets/css/main.css)
   ========================================================================== */

/* --- 1. ESTILOS GLOBALES Y UTILIDADES (Glassmorphism) --- */
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}
.font-heading {
    font-family: 'Syne', sans-serif;
}
.glass-panel {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-nav {
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --- 2. TEMAS DINÁMICOS (Theme Switcher) --- */

/* TEMA A: Dark Tech & Neón (Por Defecto) */
body.theme-a {
    background-color: #050811;
    color: #f3f4f6;
}

/* TEMA B: Editorial Premium (Light / Muted Luxury) */
body.theme-b {
    background-color: #f8fafc;
    color: #0f172a;
}
body.theme-b .glass-panel {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
body.theme-b .glass-nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* --- 3. ANIMACIONES GLOBALES (Botón WhatsApp) --- */
@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}
.whatsapp-pulse::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background-color: #22c55e;
    animation: pulse-ring 2s infinite ease-in-out;
    z-index: -1;
}

/* --- 4. MÓDULO ECOSISTEMA LÚMARA (ecommerce.php) --- */
.lumara-noise {
    background-image: 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.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}
.float-card {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.float-card:hover {
    transform: translateY(-15px) scale(1.02);
}
.bg-lumara-gold { background-color: #C5A059; }
.text-lumara-gold { color: #C5A059; }
.border-lumara-gold { border-color: rgba(197, 160, 89, 0.3); }
.bg-lumara-burgundy { background-color: #4A1C2A; }
.text-lumara-burgundy { color: #8a3a52; }
.border-lumara-burgundy { border-color: rgba(74, 28, 42, 0.5); }

/* --- 5. MÓDULO REPRODUCTOR MUSICAL (aj-latin-music.php) --- */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.playing .vinyl-cover {
    animation: spin-slow 8s linear infinite;
}
.eq-bar {
    width: 4px;
    background-color: #06b6d4; /* Cyan 500 */
    border-radius: 4px;
    transition: height 0.1s ease;
}
.playing .eq-bar:nth-child(1) { animation: eq 1s infinite alternate; }
.playing .eq-bar:nth-child(2) { animation: eq 0.8s infinite alternate-reverse; }
.playing .eq-bar:nth-child(3) { animation: eq 1.2s infinite alternate; }
.playing .eq-bar:nth-child(4) { animation: eq 0.9s infinite alternate-reverse; }

@keyframes eq {
    0% { height: 4px; }
    100% { height: 24px; }
}
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #06b6d4;
    cursor: pointer;
    margin-top: -4px;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

/* --- 6. MÓDULO BLOG ESTILO SUBSTACK (aj-escritos.php) --- */
.substack-wrapper {
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: 'Georgia', serif;
}
.ui-sans { font-family: 'Inter', sans-serif; }

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.125rem;
    color: #333333;
}
.article-content h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
}
.article-content blockquote {
    border-left: 4px solid #06b6d4;
    padding-left: 1rem;
    font-style: italic;
    color: #555555;
    margin: 2rem 0;
}