/* ============================================== */
/* INFLUZIA - "FAQ" PAGE SPECIFIC STYLES          */
/* ============================================== */

/* --- CSS-ONLY SMOOTH ANIMATIONS --- */
@keyframes smoothFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-element {
    opacity: 0; 
    animation: smoothFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* --- 1. FAQ HERO SECTION --- */
.faq-hero {
    padding: 120px 0 80px 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left; 
}

.faq-hero .massive-headline {
    font-size: clamp(3rem, 7vw, 6.5rem); 
    text-align: left; 
    margin-bottom: 24px;
    color: #0a0a0a;
}

.faq-hero-desc {
    font-size: 1.25rem;
    color: #666666;
    max-width: 700px;
    line-height: 1.6;
}

.highlight-pill {
    display: inline-block; 
    background-color: #111111; 
    color: #ffffff; 
    padding: 0 40px; 
    border-radius: 200px; 
    font-weight: 800; 
    line-height: 1.1; 
    margin-top: 10px;
}

/* --- 2. FAQ ACCORDION SECTION --- */
.faq-section {
    padding: 100px 0 160px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 900px; /* Constrains the width for optimal reading */
    margin: 0 auto;
}

/* Individual FAQ Item */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 32px 0;
}

/* Remove border from the last item */
.faq-item:last-child {
    border-bottom: none;
}

/* The Question (Summary element) */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #0a0a0a;
    cursor: pointer;
    list-style: none; /* Removes default triangle arrow */
    outline: none;
    transition: color 0.3s ease;
}

/* Removes default arrow in Safari/Chrome */
.faq-question::-webkit-details-marker {
    display: none; 
}

.faq-question:hover {
    color: #8B5CF6;
}

/* The Custom Plus/Minus Icon */
.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    color: #8B5CF6;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

/* Animate icon when open (turns + into x conceptually, or rotates) */
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

/* The Answer Content */
.faq-answer {
    padding-top: 24px;
    padding-right: 40px;
    animation: fadeInAnswer 0.4s ease forwards;
}

.faq-answer p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666666;
}

/* Smooth fade in for the answer text */
@keyframes fadeInAnswer {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .faq-item {
        padding: 24px 0;
    }
    
    .faq-answer {
        padding-right: 0;
    }
}