/* ==========================================================================
   FAQ - ELEGANT UNIFIED DESIGN
   ========================================================================== */

/* 1. HERO MINI */
.hero-mini {
    background: linear-gradient(135deg, hsla(224, 64%, 33%, 1) 0%, hsla(221, 83%, 53%, 1) 50%, hsla(224, 64%, 33%, 1) 100%);
    color: white;
    padding: 4rem 1rem 5rem 1rem; /* Padding lebih lega */
    margin-bottom: -3rem; /* Overlap effect ke card bawah */
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-mini h1 {
    margin: 0 0 0.8rem 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-mini p {
    opacity: 0.9;
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. MAIN CARD LAYOUT */
.content-wrapper {
    padding-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.faq-main-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    padding: 3rem 2rem;
    overflow: hidden;
    max-width: 1200px; /* Sedikit lebih ramping agar enak dibaca */
    margin: 0 auto;
}

@media(max-width: 768px) {
    .faq-main-card { padding: 2rem 1rem; }
}

/* 3. CATEGORY HEADER */
.faq-category-title {
    color: #1e3a8a;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-category-title:first-of-type {
    margin-top: 0;
}

.faq-category-title svg {
    color: #3b82f6;
    width: 24px;
    height: 24px;
}

/* 4. ACCORDION STYLE (DETAILS & SUMMARY) */
details.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

details.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

details.faq-item[open] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

summary.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 700;
    color: #334155;
    font-size: 1.05rem;
    list-style: none; /* Hilangkan panah default browser */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hilangkan panah default di Chrome/Safari */
summary.faq-question::-webkit-details-marker {
    display: none;
}

/* Custom Icon (+ / -) */
summary.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #3b82f6;
    font-weight: 300;
    transition: transform 0.2s;
    line-height: 1;
}

details.faq-item[open] summary.faq-question::after {
    content: '-';
    color: #ef4444;
    transform: rotate(180deg);
}

details.faq-item[open] summary.faq-question {
    border-bottom: 1px solid #e2e8f0;
    color: #1e3a8a;
}

.faq-answer {
    padding: 1.5rem;
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
    animation: fadeIn 0.3s ease;
}

.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: #2563eb; text-decoration: underline; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CTA BOX */
.faq-cta {
    background: #eff6ff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px dashed #93c5fd;
}
.faq-cta h3 { margin-top: 0; color: #1e3a8a; }
.faq-cta a { color: #2563eb; font-weight: 700; text-decoration: none; }
