/* ==========================================================================
   ElevenDown — FAQ Page Styles
   Theme: Modern Explorer / Technical Wilderness
   ========================================================================== */

/* ===== Section Spacing ===== */
section {
    padding-block: var(--section-pad, 100px);
}

/* ===== FAQ Item ===== */
.faq-item {
    cursor: pointer;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    padding-bottom: 0;
    margin-bottom: 0;
    border-radius: var(--radius-md, 12px) var(--radius-md, 12px) 0 0;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    border-color: var(--border-hover, rgba(217, 161, 114, 0.35));
}

/* ===== FAQ Question — Technical Monospace ===== */
.faq-item h3 {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.5;
    color: var(--text-primary, #F5F5F5);
    transition: color 0.3s ease;
}

.faq-item:hover h3,
.faq-item.active h3 {
    color: var(--accent, #D9A172);
}

/* ===== FAQ Answer ===== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p,
.faq-answer li {
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--text-muted, #888888);
    line-height: 1.7;
}

/* ===== Arrow Icon ===== */
.arrow {
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--text-muted, #888888);
}

.faq-item.active .arrow {
    transform: rotate(180deg);
    color: var(--accent, #D9A172);
}

.faq-item:hover .arrow {
    color: var(--accent, #D9A172);
}

/* ===== FAQ Section Headers ===== */
.faq-item + h2,
section h2.text-2xl {
    font-family: var(--font-heading, 'Inter', sans-serif);
    color: var(--accent, #D9A172) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ===== Still Have Questions CTA ===== */
.faq-item ~ .glass-card a,
section .glass-card a.bg-sky-600 {
    background: var(--accent, #D9A172) !important;
    color: #000 !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

section .glass-card a.bg-sky-600:hover {
    background: #e8b88a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 161, 114, 0.3);
}

/* ===== FAQ Page — Mobile Responsive ===== */
@media (max-width: 768px) {
    /* FAQ items: reduce padding */
    .faq-item.glass-card.rounded-xl.p-6 {
        padding: 1rem 1rem !important;
    }

    /* FAQ question text size */
    .faq-item h3 {
        font-size: 0.85rem !important;
    }

    /* Section category headings */
    h2.text-2xl.font-bold {
        font-size: 1.25rem !important;
    }

    /* FAQ page CTA card */
    .glass-card.rounded-2xl.p-8.text-center {
        padding: 1.25rem !important;
    }
}
