/* =========================================
   BLAYHUB FAQ PAGE STYLES - V10.0 (Conflict-Free Pure Toggle)
   ========================================= */

.faq-hero { 
    position: relative;
    height: 55vh; 
    min-height: 400px;
    max-height: 600px;
    margin-top: -105px; 
    padding-top: 105px;
    background-color: #020202; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/faqs.jpg'); 
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.faq-hero-lighting {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: 
        linear-gradient(180deg, rgba(5, 5, 5, 0.65) 0%, rgba(5, 5, 5, 0.95) 100%),
        linear-gradient(45deg, rgba(220, 53, 69, 0.15) 0%, transparent 60%);
}

.faq-hero-content { 
    position: relative; 
    z-index: 4; 
    width: 100%; 
    max-width: 800px; 
    margin: 0 auto; 
    text-align: center; 
    padding: 0 20px; 
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 56, 59, 0.08);
    border: 1px solid rgba(229, 56, 59, 0.4);
    color: #ff4d4f;
    padding: 8px 20px;
    border-radius: 100px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(229,56,59,0.15);
}

/* NO DOT CODE HERE */

.faq-hero h1 { 
    font-family: 'Oswald', sans-serif; 
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    color: #fff; 
    margin-bottom: 15px; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    line-height: 1.1; 
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 10px 40px rgba(0,0,0,0.9);
}
.faq-hero h1 span { color: #dc3545; } 

.faq-hero p { 
    color: #e4e4e7; 
    font-family: 'Inter', sans-serif; 
    font-size: clamp(1rem, 3vw, 1.15rem); 
    margin: 0 auto; 
    font-weight: 300; 
    max-width: 600px; 
    line-height: 1.6; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.8);
}

.faq-container { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 60px 20px 120px; 
}

.faq-category-title { 
    font-family: 'Oswald', sans-serif; 
    color: #dc3545; 
    margin: 50px 0 20px; 
    font-size: 1.4rem; 
    letter-spacing: 2px; 
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    padding-bottom: 10px; 
}

.faq-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 🌟 ACCORDION ITEMS (.open STATE) */
.faq-item { 
    background: #050505; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-radius: 4px; 
    overflow: hidden; 
    transition: all 0.3s ease; 
}
.faq-item:hover { 
    border-color: rgba(255, 255, 255, 0.15); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.faq-item.open {
    border-color: rgba(220, 53, 69, 0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(220, 53, 69, 0.1);
}

.faq-question { 
    width: 100%; 
    text-align: left; 
    padding: 22px 25px; 
    background: transparent; 
    border: none; 
    color: #fff; 
    font-family: 'Inter', sans-serif; 
    font-size: 1.05rem; 
    font-weight: 500; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: color 0.3s, background 0.3s; 
}
.faq-item:hover .faq-question { color: #dc3545; background: rgba(255,255,255,0.01); }
.faq-item.open .faq-question { color: #dc3545; }

.faq-question i { 
    color: #52525b; 
    font-size: 0.9rem;
    transition: transform 0.4s ease, color 0.3s; 
}
.faq-item:hover .faq-question i,
.faq-item.open .faq-question i { color: #dc3545; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

/* 🌟 BULLETPROOF ACCORDION MECHANICS */
.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    background: #020202;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1); 
}
.faq-item.open .faq-answer {
    max-height: 1500px; 
    transition: max-height 0.8s ease-in-out;
}

.faq-answer-inner { 
    padding: 0 25px 25px 25px; 
    color: #a1a1aa; 
    font-family: 'Inter', sans-serif; 
    line-height: 1.7; 
    font-size: 0.95rem; 
    font-weight: 300;
}

.faq-answer-inner p {
    margin: 0 0 10px 0; 
}
.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* 🌟 SCROLL REVEALS (.active STATE) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 📱 MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .faq-hero { padding-top: 130px; min-height: 45vh; }
    .faq-container { padding: 40px 15px 80px; }
    .faq-category-title { font-size: 1.2rem; margin: 40px 0 15px; }
    .faq-question { padding: 18px 20px; font-size: 1rem; }
    .faq-answer-inner { padding: 0 20px 20px 20px; font-size: 0.9rem; }
}