/* 
    ============================================================
    DESIGN SYSTEM: ESONG.ONLINE (2025 AGENCY EDITION)
    Author: Stanciu Alexandru - Dreamteam
    Colors: Alb, Rosu (#FF4B2B), Cyan (#00F2FE), Dark (#050505)
    ============================================================
*/

:root {
    --white: #ffffff;
    --red: #ff4b2b;
    --cyan: #00f2fe;
    --bg-dark: #050505;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --section-gap: 100px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 1. RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { background: var(--bg-dark); color: var(--white); font-family: 'Outfit', sans-serif; line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 25px; }
.text-gradient-cyan { background: linear-gradient(90deg, #fff, var(--cyan)); -webkit-background-clip: text; -webkit-fill-color: transparent; -webkit-background-clip: text; }
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mt-20 { margin-top: 20px; }

/* 2. HEADER & NAVIGATION */
.main-header { height: 90px; display: flex; align-items: center; background: rgba(5,5,5,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); position: fixed; top: 0; width: 100%; z-index: 2000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo a { color: var(--white); text-decoration: none; font-weight: 900; font-size: 1.8rem; }
.logo span { color: var(--cyan); }

.nav-links { display: flex; list-style: none; gap: 35px; align-items: center; }
.nav-links a { color: white; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-cta { background: var(--cyan); color: #000 !important; padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: 900; font-size: 0.85rem; }

.mobile-toggle { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 2001; }
.mobile-toggle span { width: 30px; height: 3px; background: white; border-radius: 5px; transition: 0.3s; }

/* 3. HERO SECTION */
section { padding: var(--section-gap) 0; }
.hero-section { padding: 200px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 25px; }
.hero-badge { background: rgba(0, 242, 254, 0.1); color: var(--cyan); padding: 8px 18px; border-radius: 50px; font-weight: 800; font-size: 0.8rem; display: inline-block; margin-bottom: 20px; border: 1px solid rgba(0, 242, 254, 0.2); }
.btn-primary-red { display: inline-block; padding: 22px 50px; background: var(--red); color: white; text-decoration: none; border-radius: 100px; font-weight: 900; box-shadow: 0 10px 30px rgba(255, 75, 43, 0.4); transition: var(--transition); border: none; cursor: pointer; }
.btn-primary-red:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(255, 75, 43, 0.6); }

.floating-img { width: 100%; height: auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* 4. MARQUEE */
.marquee-wrapper { width: 100%; overflow: hidden; background: rgba(0, 242, 254, 0.03); padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marquee-content { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; }
.review-pill { background: var(--glass); border: 1px solid var(--border); padding: 15px 35px; border-radius: 100px; margin-right: 40px; font-weight: 600; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 5. GRIDS & CARDS */
.modern-grid, .photo-marketing-grid, .samples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.glass-card, .sample-card { background: var(--glass); border: 1px solid var(--border); padding: 40px; border-radius: 40px; transition: var(--transition); }
.glass-card:hover { transform: translateY(-10px); border-color: var(--cyan); }

.photo-card { height: 450px; position: relative; overflow: hidden; border-radius: 40px; border: 1px solid var(--border); }
.photo-placeholder { height: 100%; background-size: cover; background-position: center; transition: 0.6s; }
.photo-card:hover .photo-placeholder { transform: scale(1.1); }
.photo-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; background: linear-gradient(transparent, #000); }

/* 6. AUDIO PLAYER CUSTOM */
.sample-img { height: 220px; border-radius: 30px; margin-bottom: 25px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.play-btn { width: 70px; height: 70px; background: var(--cyan); border: none; border-radius: 50%; cursor: pointer; font-size: 1.5rem; transition: 0.3s; box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4); z-index: 10; }
.play-btn:hover { transform: scale(1.1); background: white; }
.play-btn.playing { background: var(--red); color: white; box-shadow: 0 10px 25px rgba(255, 75, 43, 0.4); }

/* 7. PRODUCT PAGE (COMANDA.HTML) */
.product-page-layout { padding-top: 150px; padding-bottom: 100px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }

.product-media { width: 100%; max-width: 550px; }
.sticky-media-wrap { position: sticky; top: 130px; }
.main-img-card { position: relative; border-radius: 40px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.6); line-height: 0; }
.main-img-card img { width: 100%; height: auto; display: block; object-fit: cover; }
.discount-tag { position: absolute; top: 20px; right: 20px; background: var(--red); color: white; padding: 10px 20px; border-radius: 50px; font-weight: 900; z-index: 5; }

.product-configurator { width: 100%; }
.product-title { font-size: 3rem; font-weight: 900; margin-bottom: 30px; line-height: 1.1; }

.form-step-box { background: var(--glass); border: 1px solid var(--border); padding: 40px; border-radius: 40px; margin-bottom: 30px; }
.step-header { color: var(--cyan); margin-bottom: 25px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }

.input-group { margin-bottom: 25px; }
label { display: block; font-size: 0.8rem; color: var(--cyan); text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
input, textarea, select { 
    width: 100%; padding: 18px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); 
    border-radius: 15px; color: white !important; font-size: 1rem; outline: none; transition: 0.3s;
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); background: rgba(255,255,255,0.08); }

.instruments-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px; 
    margin-top: 15px; 
}

.inst-tag { 
    background: rgba(255,255,255,0.05); 
    border: 1px solid var(--border); 
    padding: 12px; 
    border-radius: 12px; 
    cursor: pointer; 
    text-align: center; 
    font-size: 0.85rem; 
    transition: 0.3s;
}

.inst-tag:has(input:checked) { 
    background: #000; 
    color: var(--cyan); 
    font-weight: 800; 
    border-color: var(--cyan); 
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.inst-tag input { 
    display: none; 
}

/* Fix pentru dropdown-ul de stiluri muzicale să nu mai fie alb */
select option {
    background: #000;
    color: var(--cyan);
}


/* 8. STICKY CHECKOUT */
.sticky-checkout-bar { position: sticky; bottom: 20px; background: #6200ea; padding: 25px 40px; border-radius: 35px; box-shadow: 0 30px 60px rgba(0,0,0,0.8); z-index: 500; display: flex; justify-content: space-between; align-items: center; margin-top: 40px; }
#finalPrice { font-size: 2.2rem; font-weight: 900; color: var(--cyan); }
.btn-submit-final { padding: 18px 45px; border: none; border-radius: 50px; background: white; color: #6200ea; font-weight: 900; font-size: 1.1rem; cursor: pointer; transition: 0.3s; }
.btn-submit-final:hover { transform: scale(1.05); background: var(--cyan); color: #000; }

/* 9. FOOTER */
.main-footer { background: #000; padding: 100px 0 40px; border-top: 1px solid var(--border); margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 60px; }
.footer-col h4 { color: var(--cyan); margin-bottom: 30px; text-transform: uppercase; font-size: 0.9rem; font-weight: 800; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 18px; }
.footer-list a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.footer-list a:hover { color: var(--cyan); padding-left: 5px; }
.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-btn { color: white; text-decoration: none; font-size: 0.8rem; border: 1px solid var(--border); padding: 8px 15px; border-radius: 8px; transition: 0.3s; }
.social-btn:hover { background: white; color: black; }

.anpc-box img, .payments img { filter: grayscale(1) invert(1); opacity: 0.6; transition: 0.3s; }
.anpc-box img:hover, .payments img:hover { opacity: 1; filter: none; }

/* 10. MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .hero-grid, .product-grid, .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-visual, .product-media { order: -1; max-width: 450px; margin: 0 auto 40px; }
    .hero-badge { margin: 0 auto 20px; }
    .modern-grid, .photo-marketing-grid, .samples-grid { grid-template-columns: 1fr 1fr; }
    .product-media { max-width: 100%; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-links { 
        position: fixed; top: 90px; left: -100%; width: 100%; height: calc(100vh - 90px); 
        background: #050505; flex-direction: column; padding: 50px 30px; transition: 0.4s; z-index: 1999;
    }
    .nav-links.active { left: 0; }
    
    .hero-section h1 { font-size: 2.5rem; }
    .modern-grid, .photo-marketing-grid, .samples-grid, .instruments-grid { grid-template-columns: 1fr; }
    
    .sticky-checkout-bar { position: fixed; bottom: 0; left: 0; width: 100%; border-radius: 0; padding: 20px; flex-direction: column; gap: 15px; }
    #finalPrice { font-size: 2rem; }
    .btn-submit-final { width: 100%; }

    .photo-card { height: 350px; }
    .sticky-media-wrap { position: relative; top: 0; }
    .product-title { font-size: 2.2rem; }
}

/* 11. ANIMATIONS */
.pulse { animation: pulse-red 2s infinite; }
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 75, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0); }
}

/* FAQ ACCORDION STYLES */
.faq-item {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item summary {
    padding: 20px 30px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    color: var(--cyan);
    font-size: 1.5rem;
    transition: 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--red);
}

.faq-answer {
    padding: 0 30px 25px;
    opacity: 0.8;
    font-size: 0.95rem;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.faq-item:hover {
    border-color: var(--cyan);
    background: rgba(255,255,255,0.05);
}

