/*
Theme Name: SampleFear Xperience
Theme URI: https://samplefearxperience.com
Author: SampleFear
Author URI: https://samplefearxperience.com
Description: Custom WordPress theme for SampleFear Xperience.
Version: 1.0.0
License: Proprietary
License URI: https://samplefearxperience.com/license
Text Domain: samplefear
*/

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

:root {
    --primary-color: #FF181C;
    --secondary-color: #FF181C;
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --darker-surface: #111111;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-glow: rgba(255, 24, 28, 0.5);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 24, 28, 0.3);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(255, 24, 28, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-mark { width: 70.2px; height: 70.2px; object-fit: cover; border-radius: 8px; box-shadow: 0 0 12px rgba(255,24,28,0.35); }

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.badge-coming {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #FF181C, #FF181C);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

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

/* Newsletter Button in Menu */
.btn-newsletter-menu {
    background: linear-gradient(135deg, #FF181C, #FF181C);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 24, 28, 0.4);
    font-family: 'Inter', sans-serif;
}

.btn-newsletter-menu:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 24, 28, 0.6);
    background: linear-gradient(135deg, #FF181C, #FF181C);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 24, 28, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 24, 28, 0.1) 0%, transparent 50%),
        var(--dark-bg);
    animation: bgPulse 10s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px var(--accent-glow);
    animation: fadeInUp 1s ease;
}

.glitch {
    position: relative;
    color: var(--text-primary);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-1 2.5s infinite;
    color: var(--secondary-color);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 2.5s infinite;
    color: var(--primary-color);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(255, 24, 28, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 24, 28, 0.6);
}

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

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 3px;
    height: 8px;
    background: var(--secondary-color);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

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

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--darker-surface);
    border-radius: 20px;
    border: 1px solid rgba(255, 24, 28, 0.2);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 40px rgba(255, 24, 28, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Free Samples Section */
.free-samples {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.free-samples::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 24, 28, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 24, 28, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.free-pack-container {
    position: relative;
    z-index: 2;
}

.free-pack-card {
    background: var(--dark-surface);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 20px 60px rgba(255, 24, 28, 0.3);
    transition: var(--transition);
    position: relative;
    margin-bottom: 4rem;
}

.free-pack-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(255, 24, 28, 0.5);
}

.free-pack-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--darker-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.free-pack-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 0 0 25px 25px;
}

.free-pack-image img.anhydrex-art {
    object-fit: contain;
    background: rgba(17, 17, 17, 0.9);
    padding: 1.5rem;
}

/* Specific styling for NOX poster */
.free-pack-image img[alt*="NOX"] {
    object-fit: contain;
    background: var(--darker-surface);
    padding: 2rem;
    max-width: 90%;
    max-height: 90%;
}

.free-pack-card:hover .free-pack-image img {
    transform: scale(1.1);
}

.free-pack-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.free-pack-card:hover .free-pack-overlay {
    opacity: 1;
}

.free-pack-content {
    padding: 3rem;
    position: relative;
}

.free-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #00AA00, #00CC00);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0, 170, 0, 0.4);
    animation: pulse 2s infinite;
}

/* Special NOX badge styling */
.nox-badge {
    background: linear-gradient(135deg, #FF181C, #FF181C) !important;
    box-shadow: 0 5px 20px rgba(255, 24, 28, 0.6) !important;
    animation: horrorPulse 2s infinite !important;
}

@keyframes horrorPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(255, 24, 28, 0.6);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(255, 24, 28, 0.8);
    }
}

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

.free-pack-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.free-pack-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.free-pack-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--darker-surface);
    border-radius: 15px;
    border: 1px solid rgba(255, 24, 28, 0.2);
    flex-wrap: wrap;
}

.free-pack-count,
.free-pack-size,
.free-pack-format {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
}

.free-pack-count {
    color: var(--secondary-color);
}

.free-pack-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 24, 28, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 24, 28, 0.2);
    transform: translateX(5px);
}

.free-pack-footer {
    text-align: center;
}

.btn-download {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00AA00, #00CC00);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 30px rgba(0, 170, 0, 0.4);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 170, 0, 0.6);
    background: linear-gradient(135deg, #00CC00, #00EE00);
}

.download-icon {
    font-size: 1.3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Additional Free Samples */
.additional-free-samples {
    margin-top: 4rem;
}

.additional-free-samples h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

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

.free-sample-item {
    background: var(--dark-surface);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 24, 28, 0.2);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.free-sample-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(255, 24, 28, 0.3);
}

.sample-preview {
    width: 60px;
    height: 60px;
    background: var(--darker-surface);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 24, 28, 0.3);
    flex-shrink: 0;
}

.mini-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 24, 28, 0.6);
}

.sample-info {
    flex: 1;
}

.sample-info h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sample-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.download-sample {
    flex-shrink: 0;
}

/* Packs Section */
.packs {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.packs-grid {
    display: grid;
    /* Usa auto-fill con minmax per mantenere le colonne allineate a sinistra */
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Modifica per centrare se necessario o lasciare a sinistra */
/* Se si vuole forzare sempre 3 colonne anche se vuote per mantenere la dimensione */
@media (min-width: 1200px) {
    .packs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pack-card {
    background: var(--dark-surface);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 24, 28, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease, var(--transition);
    position: relative;
    /* Assicura che la card non si espanda oltre la sua cella */
    width: 100%;
    max-width: 450px; /* Limite massimo per evitare card giganti su schermi larghi se poche */
    margin: 0 auto; /* Centra la card nella sua cella se più piccola */
}

/* Se siamo su desktop e vogliamo che l'unica card stia a sinistra e non centrata o espansa */
@media (min-width: 768px) {
    .pack-card {
        margin: 0; /* Rimuove il margin auto per allinearla a sinistra nella griglia */
    }
}

.pack-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 50px rgba(255, 24, 28, 0.4);
}

.pack-image {
    position: relative;
    width: 100%;
    min-height: 250px;
    max-height: 400px;
    overflow: visible;
    background: var(--darker-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pack-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pack-image img {
    max-width: 100%;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.pack-card:hover .pack-image img {
    transform: scale(1.1);
}

.pack-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.pack-card:hover .pack-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 24, 28, 0.6);
}

.pack-content {
    padding: 2rem;
    position: relative;
}

.pack-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pack-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.pack-title a {
    color: inherit;
    text-decoration: none;
}

.pack-title a:hover {
    color: var(--text-primary);
}

.pack-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    height: 4.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pack-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 24, 28, 0.2);
}

.pack-count,
.pack-size {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pack-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pack-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.pack-price s {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

/* Demo Section */
.demo {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.demo-player {
    max-width: 800px;
    margin: 0 auto;
    background: var(--darker-surface);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 24, 28, 0.2);
}

.waveform {
    width: 100%;
    height: 150px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 100%);
    border-radius: 10px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.waveform::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: wave 2s linear infinite;
}

@keyframes wave {
    to { left: 100%; }
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 24, 28, 0.6);
}

.time-display {
    display: flex;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 24, 28, 0.5);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    cursor: pointer;
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 10px rgba(255, 24, 28, 0.5);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--dark-surface);
    border-radius: 15px;
    border: 1px solid rgba(255, 24, 28, 0.2);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 24, 28, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--darker-surface);
    border: 1px solid rgba(255, 24, 28, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 24, 28, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 24, 28, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.footer-section {
    flex: 1 1 260px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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


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

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

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

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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


.scroll-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: radial-gradient(circle, #ff2a2a 0%, #cc0000 80%);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.5);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(255, 0, 0, 0.6);
}

.nav-announcement {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    padding-bottom: 0.75rem;
}

.nav-announcement a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-announcement a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

.hero-custom-media {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.hero-custom-media img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
}

.partners {
    padding: 5rem 0;
    background: var(--darker-surface);
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
}

@media (max-width: 1100px) {
    .partners-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .partners-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.partner-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.partner-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-img {
    max-width: 160px;
    max-height: 48px;
    width: auto;
    height: auto;
    opacity: 0.85;
    filter: grayscale(1);
}

.partner-logo a:hover .partner-logo-img {
    opacity: 1;
    filter: grayscale(0);
}

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

/* Products Filters */
.products-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    background: var(--dark-surface);
    color: var(--text-primary);
    border: 1px solid rgba(255, 24, 28, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: rgba(255, 24, 28, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 24, 28, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #FF181C, #FF181C);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 24, 28, 0.3);
}

.filter-btn.active:hover {
    box-shadow: 0 6px 20px rgba(255, 24, 28, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .products-filters {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .filter-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .footer-section {
        max-width: 420px;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        border-bottom: 1px solid rgba(255, 24, 28, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .btn-newsletter-menu {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .packs-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Free Samples Mobile */
    .free-pack-content {
        padding: 2rem;
    }
    
    .free-pack-title {
        font-size: 2rem;
    }
    
    .free-pack-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .free-pack-features {
        grid-template-columns: 1fr;
    }
    
    .free-samples-grid {
        grid-template-columns: 1fr;
    }
    
    .free-sample-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .sample-preview {
        width: 80px;
        height: 80px;
    }
    
    .mini-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pack-card {
        margin: 0 0.5rem;
    }
}

/* Newsletter Modal Styles */
.newsletter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.newsletter-modal.active,
.newsletter-modal[style*="flex"] {
    display: flex;
}

.newsletter-modal-content {
    background: var(--dark-surface);
    border-radius: 20px;
    border: 1px solid rgba(255, 24, 28, 0.3);
    max-width: 900px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

/* Newsletter Benefits Modal - Rettangolare su desktop */
#newsletterBenefitsModal .newsletter-modal-content {
    max-width: 600px;
    border-radius: 12px;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.newsletter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.2rem 0.6rem;
    border-bottom: 1px solid rgba(255, 24, 28, 0.2);
}

.newsletter-modal-header h2 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
}

.newsletter-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
}

.newsletter-modal-close:hover {
    color: var(--accent-color);
    background: rgba(255, 24, 28, 0.1);
    transform: rotate(90deg);
}

.newsletter-modal-body {
    padding: 1.2rem;
}

/* Newsletter Benefits Content */
.newsletter-benefits-content {
    max-width: 100%;
    margin: 0 auto;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Layout per 4 elementi in una riga */
.benefits-list li:nth-child(4) {
    grid-column: auto;
    max-width: none;
    margin: 0;
}

.benefits-list li {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.9rem;
    border: 1px solid rgba(255, 24, 28, 0.2);
    border-radius: 8px;
    background: rgba(255, 24, 28, 0.05);
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    background: rgba(255, 24, 28, 0.1);
    border-color: rgba(255, 24, 28, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 24, 28, 0.2);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    filter: drop-shadow(0 0 5px rgba(255, 24, 28, 0.6));
    transition: all 0.3s ease;
    margin-bottom: 0.3rem;
}

.benefits-list li:hover .benefit-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 24, 28, 0.8));
}

.benefits-list li div {
    flex: 1;
    width: 100%;
}

.benefits-list li strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.benefits-list li p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    font-size: 0.8rem;
}

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

.newsletter-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
    width: 100%;
    padding: 1rem;
    background: var(--darker-surface);
    border: 1px solid rgba(255, 24, 28, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 24, 28, 0.2);
}

.newsletter-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.newsletter-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.newsletter-form .checkbox-label a {
    color: var(--accent-color);
    text-decoration: underline;
}

.newsletter-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #DC3545;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .newsletter-modal-content {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .newsletter-modal-header,
    .newsletter-modal-body {
        padding: 1.5rem;
    }
    
    .benefits-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .benefits-list li {
        padding: 1rem;
    }
}

/* ===== EARLY ACCESS POPUP - ANHYDREX TESTER PACK ===== */
.early-access-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.early-access-popup.active,
.early-access-popup[style*="flex"] {
    display: flex;
}

.early-access-popup-content {
    background: linear-gradient(135deg, #1a0a0a 0%, #0a0a0a 100%);
    border-radius: 20px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 20px 60px rgba(255, 24, 28, 0.3), 0 0 40px rgba(255, 24, 28, 0.5);
    max-width: 800px;
    width: calc(100% - 2rem);
    max-height: 90vh;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    animation: slideUp 0.4s ease;
    margin: auto;
    transform: translateY(0);
}

.early-access-popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.early-access-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 24, 28, 0.2);
    border: 1px solid var(--secondary-color);
    color: var(--text-primary);
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.early-access-close:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.early-access-header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 24, 28, 0.1) 0%, rgba(255, 24, 28, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 24, 28, 0.2);
}

.early-access-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 24, 28, 0.4);
    animation: pulse 2s infinite;
}

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

.early-access-header h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin: 0.5rem 0;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 24, 28, 0.5);
}

.early-access-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0.5rem 0 0;
}

.early-access-body {
    padding: 2rem;
}

.early-access-offer {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 24, 28, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 24, 28, 0.2);
}

.offer-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.offer-image-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 24, 28, 0.3);
    border: 2px solid rgba(255, 24, 28, 0.3);
    animation: float 3s ease-in-out infinite;
}

.offer-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.offer-image-container:hover .offer-image {
    transform: scale(1.05);
}

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

.early-access-offer h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.early-access-offer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.anhydrex-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 1rem 0;
    text-align: left;
}

.anhydrex-description strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.early-access-highlight {
    background: rgba(255, 24, 28, 0.1);
    border-left: 3px solid var(--secondary-color);
    padding: 1rem 1.2rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.highlight-text {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.highlight-text strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.cta-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1.5rem 0 0;
    text-align: center;
    font-weight: 600;
    padding: 1rem;
    background: rgba(255, 24, 28, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 24, 28, 0.2);
}

.offer-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    text-align: left;
}

.offer-benefits li {
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.early-access-form {
    margin-top: 1.5rem;
}

.early-access-mailchimp-form .form-group {
    margin-bottom: 1.2rem;
}

.early-access-mailchimp-form label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.early-access-mailchimp-form .required {
    color: var(--secondary-color);
}

.early-access-mailchimp-form input[type="email"],
.early-access-mailchimp-form input[type="text"] {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 24, 28, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.early-access-mailchimp-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 24, 28, 0.2);
    background: rgba(15, 15, 15, 0.95);
}

.btn-early-access {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border: none;
    box-shadow: 0 6px 20px rgba(255, 24, 28, 0.4);
    transition: all 0.3s ease;
}

.btn-early-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 24, 28, 0.5);
}

.early-access-privacy {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

.early-access-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.early-access-success h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 1rem 0;
}

.early-access-success p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Early Access Popup */
@media (max-width: 768px) {
    .early-access-popup-content {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .early-access-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .early-access-header h2 {
        font-size: 1.5rem;
    }
    
    .early-access-body {
        padding: 1.5rem;
    }
    
    .offer-benefits {
        grid-template-columns: 1fr;
    }
    
    .offer-icon {
        font-size: 3rem;
    }
    
    .offer-image-container {
        max-width: 250px;
    }
}

/* Packs Page Specific Styles */
#free-packs {
    background: var(--dark-bg);
}

#paid-packs {
    background: var(--dark-bg);
}

.empty-packs-message {
    grid-column: 1/-1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-packs-message h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Quotes/Reviews Gallery */
.quotes-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.quote-gallery-item {
    position: relative;
    border: 1px solid rgba(255, 24, 28, 0.3);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 24, 28, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 24, 28, 0.4);
    border-color: var(--secondary-color);
}

.quote-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.quote-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quote-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(255, 24, 28, 0.5);
    cursor: default;
}

.quote-modal button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 24, 28, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.3s ease;
}

.quote-modal button:hover {
    background: var(--secondary-color);
}

/* Product Media Fullscreen Section */
.product-media-fullscreen {
    width: 100%;
    padding: 2rem 0;
    background: var(--darker-surface);
    border-top: 1px solid rgba(255, 24, 28, 0.2);
    border-bottom: 1px solid rgba(255, 24, 28, 0.2);
}

.media-embeds-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.media-embed-fullscreen {
    flex: 1;
    min-width: 400px;
    max-width: 650px;
}

.media-embed-fullscreen h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    /* Product Page Mobile Styles */
    .product {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
    }
    
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .product-media {
        border-radius: 12px !important;
    }
    
    .product-media {
        padding: 1.5rem !important;
    }
    
    .product-media > div:first-child {
        min-height: 250px !important;
    }
    
    .product-media img {
        max-height: 400px !important;
    }
    
    .product-info {
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    .product-info h1.section-title {
        font-size: 1.8rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .product-info > p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .description-toggle {
        transition: color 0.3s ease !important;
    }
    
    .description-toggle:hover {
        color: var(--accent-color) !important;
    }
    
    .description-toggle .toggle-icon {
        transition: transform 0.3s ease;
        font-size: 0.9rem;
    }
    
    .description-content {
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .product-info > div[style*="display:flex"][style*="gap:1.5rem"] {
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin: 0.75rem 0 1rem !important;
    }
    
    .product-info .pack-count,
    .product-info .pack-size {
        font-size: 0.9rem !important;
    }
    
    .product-info .pack-price {
        font-size: 1.5rem !important;
    }
    
    .product-info > div[style*="TECH SPECS"] {
        font-size: 0.85rem !important;
        padding: 0.75rem !important;
        line-height: 1.6 !important;
    }
    
    .product-info > div[style*="margin-top: 2rem"][style*="padding-top: 2rem"] {
        margin-top: 1.5rem !important;
        padding-top: 1.5rem !important;
    }
    
    .product-info > div[style*="margin-top: 2rem"][style*="padding-top: 2rem"] h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .product-info .btn {
        width: 100% !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .product-info h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .product-info ul {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
        margin-left: 1rem !important;
    }
    
    .product-info > div[style*="margin-top: 2rem"] {
        margin-top: 1.5rem !important;
    }
    
    .product-info > div[style*="padding-top: 2rem"] {
        padding-top: 1.5rem !important;
    }
    
    .quotes-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 0.75rem !important;
    }
    
    .quote-gallery-item {
        border-radius: 8px !important;
    }
    
    .quote-gallery-item span {
        font-size: 0.75rem !important;
        padding: 0.4rem !important;
    }
    
    .demo-player {
        padding: 1rem !important;
    }
    
    .player-controls {
        gap: 0.75rem !important;
    }
    
    .control-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .time-display {
        font-size: 0.85rem !important;
    }
    
    .volume-slider {
        width: 80px !important;
    }
    
    /* Media Embeds Mobile */
    .product-media-fullscreen {
        padding: 1.5rem 0 !important;
        margin-top: 2rem !important;
    }
    
    .product-media-fullscreen .container {
        padding: 0 1rem !important;
    }
    
    .media-embeds-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem !important;
        width: 100%;
    }
    
    .media-embed-fullscreen {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        margin: 0 !important;
    }
    
    .media-embed-fullscreen h3 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
        padding: 0 0.5rem;
    }
    
    .media-embed-fullscreen > div {
        border-radius: 8px !important;
        width: 100% !important;
        margin: 0 !important;
        min-height: 200px !important;
    }
    
    .soundcloud-embed-wrapper {
        min-height: 200px !important;
    }
    
    .youtube-embed-wrapper {
        min-height: 200px !important;
    }
    
    .media-embed-fullscreen iframe {
        border-radius: 8px !important;
    }
    
    .pack-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
        top: 12px !important;
        right: 12px !important;
    }
    
    .product .container {
        padding: 0 1rem !important;
    }
}

@media (max-width: 480px) {
    .product {
        padding-top: 90px !important;
        padding-bottom: 30px !important;
    }
    
    .product-grid {
        gap: 1rem !important;
    }
    
    .product-media {
        padding: 1rem !important;
    }
    
    .product-media > div:first-child {
        min-height: 200px !important;
    }
    
    .product-media img {
        max-height: 350px !important;
    }
    
    .product-info {
        padding: 1.25rem !important;
    }
    
    .product-info h1.section-title {
        font-size: 1.6rem !important;
    }
    
    .product-info > p {
        font-size: 0.9rem !important;
    }
    
    .product-info .pack-price {
        font-size: 1.3rem !important;
    }
    
    .quotes-gallery {
        grid-template-columns: 1fr !important;
    }
    
    .media-embed-fullscreen {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .media-embed-fullscreen h3 {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .product-media-fullscreen .container {
        padding: 0 0.75rem !important;
    }
    
    .media-embeds-container {
        gap: 1.25rem !important;
    }
    
    .soundcloud-embed-wrapper,
    .youtube-embed-wrapper {
        min-height: 180px !important;
    }
    
    .media-embed-fullscreen > div {
        min-height: 180px !important;
    }
}

/* HARVEX Featured Section Responsive */
@media (max-width: 768px) {
    .harvex-featured {
        padding: 40px 0 !important;
    }
    
    .harvex-featured > .container > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .harvex-content h2 {
        font-size: 1.8rem !important;
    }
    
    .harvex-content p {
        font-size: 1rem !important;
    }
    
    .harvex-content .btn {
        width: 100%;
        text-align: center;
    }
}

/* Other Products Section Responsive */
@media (max-width: 768px) {
    .other-products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .other-products-grid .pack-card {
        margin: 0 auto;
        max-width: 100%;
    }
}


/* Carousel Styles */
.packs-carousel-container {
    position: relative;
    margin-top: 3rem;
}

.packs-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 2rem 1rem; /* Padding for shadow clipping */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.packs-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.packs-carousel .pack-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    margin: 0;
    width: 350px;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--secondary-color);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 24, 28, 0.5);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #555;
}

@media (max-width: 768px) {
    .packs-carousel .pack-card {
        flex: 0 0 280px;
        width: 280px;
    }
    
    .carousel-btn {
        display: none; /* Hide buttons on mobile, use touch scroll */
    }
}
