/*
 * FAQ Page styles
 * Page: resources/views/faq.blade.php
 * NEVER hardcode colors - use var(--site-*) variables
 */

/* ========== HERO ========== */
.faq-hero {
    background-color: var(--site-hero-bg);
    padding: 80px 5% 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    inset-inline-end: -10%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--site-accent);
    opacity: 0.10;
    pointer-events: none;
}

.faq-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    inset-inline-start: -10%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: var(--site-primary);
    opacity: 0.06;
    pointer-events: none;
}

.faq-hero-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-hero-content h1 {
    font-size: 2.8rem;
    color: var(--site-primary);
    margin-bottom: 12px;
}

.faq-hero-content p {
    font-size: 1.15rem;
    opacity: 0.85;
}

/* ========== SECTION ========== */
.faq-section { padding: 70px 0; }
.faq-section .section-inner { max-width: 880px; margin: 0 auto; padding: 0 5%; }

/* ========== FAQ LIST ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}

.faq-item {
    background: var(--site-card-bg);
    border: 1px solid var(--site-card-border);
    border-radius: var(--site-radius-md, 16px);
    box-shadow: var(--site-shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item[open],
.faq-item:hover {
    box-shadow: var(--site-shadow-md);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 600;
    color: var(--site-primary);
    font-size: 1.05rem;
    line-height: 1.4;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question-text { flex: 1; }

.faq-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--site-primary-soft);
    color: var(--site-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
    background: var(--site-secondary);
    color: var(--site-btn-text);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--site-text);
    opacity: 0.9;
    line-height: 1.7;
}

.faq-answer p { margin: 0; }

/* ========== EMPTY STATE ========== */
.faq-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--site-card-bg);
    border: 1px dashed var(--site-card-border);
    border-radius: var(--site-radius-md, 16px);
    margin-top: 30px;
}

.faq-empty h3 {
    color: var(--site-primary);
    margin-bottom: 8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
    .faq-hero-content h1 { font-size: 2.1rem; }
    .faq-question { padding: 16px 18px; font-size: 1rem; }
    .faq-answer { padding: 0 18px 16px; }
}
