/* ===========================
   FAQ Page Premium Styles
   =========================== */

/* Variables */
:root {
    --faq-primary: #1A5F4F;
    --faq-primary-light: #E8F5F0;
    --faq-dark: #1A365D;
    --faq-text: #4A5568;
    --faq-border: #E2E8F0;
    --faq-bg: #F7FAFC;
}

.faq-page {
    background: #FFFFFF;
    color: var(--faq-text);
    font-family: 'Inter', sans-serif;
}

/* --------------------------------------------------
   1. HERO SECTION
-------------------------------------------------- */
.faq-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #F0FFF4 0%, #E8F5F0 50%, #F0F9FF 100%);
    text-align: center;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(26, 95, 79, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(26, 54, 93, 0.03) 0%, transparent 50%);
    animation: subtleShift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes subtleShift {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(20px) translateY(-10px);
    }
}

.faq-hero .container {
    position: relative;
    z-index: 2;
}

.faq-hero-eyebrow {
    display: inline-block;
    color: var(--faq-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    background: rgba(26, 95, 79, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}

.faq-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--faq-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.faq-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------------------------------------
   2. FAQ CONTENT
-------------------------------------------------- */
.faq-content-section {
    padding: 80px 0 100px;
    background: #FFFFFF;
}

.faq-categories {
    max-width: 800px;
    margin: 0 auto;
}

/* Category Block */
.faq-category {
    margin-bottom: 48px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--faq-primary-light);
}

.faq-category-icon {
    width: 44px;
    height: 44px;
    background: var(--faq-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-category-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--faq-dark);
}

/* Accordion Items */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid var(--faq-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(26, 95, 79, 0.3);
    box-shadow: 0 2px 12px rgba(26, 95, 79, 0.06);
}

.faq-item.active {
    border-color: var(--faq-primary);
    box-shadow: 0 4px 20px rgba(26, 95, 79, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--faq-dark);
    line-height: 1.5;
    transition: color 0.3s ease, background 0.3s ease;
    gap: 16px;
}

.faq-question:hover {
    background: var(--faq-bg);
}

.faq-item.active .faq-question {
    color: var(--faq-primary);
    background: var(--faq-primary-light);
}

.faq-chevron {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--faq-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    background: var(--faq-primary);
    color: #FFFFFF;
}

.faq-chevron svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 24px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--faq-text);
}

.faq-answer-inner p {
    margin-bottom: 12px;
}

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

.faq-answer-inner a {
    color: var(--faq-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.faq-answer-inner a:hover {
    color: var(--faq-dark);
}

/* --------------------------------------------------
   3. CTA SECTION
-------------------------------------------------- */
.faq-cta {
    padding: 80px 0;
    background: var(--faq-primary-light);
    text-align: center;
}

.faq-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.faq-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--faq-dark);
    margin-bottom: 12px;
}

.faq-cta-text {
    font-size: 1.05rem;
    color: var(--faq-text);
    line-height: 1.7;
    margin-bottom: 28px;
}

.faq-cta .btn-cta {
    display: inline-block;
    background: var(--faq-primary);
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.faq-cta .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 95, 79, 0.25);
    background: #155E4A;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 768px) {
    .faq-hero {
        padding: 120px 0 60px;
    }

    .faq-hero-title {
        font-size: 2rem;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-answer-inner {
        padding: 0 18px 18px;
        font-size: 0.9rem;
    }

    .faq-category-title {
        font-size: 1.25rem;
    }

    .faq-cta-title {
        font-size: 1.5rem;
    }

    .faq-cta .btn-cta {
        display: block;
        width: 100%;
        text-align: center;
    }
}