﻿/* =========================================
   FAQ PAGE
========================================= */

body {
    background: #f7f9fc;
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
    color: #111827;
}

.faq-page {
    min-height: 100vh;
}


/* =========================================
   CONTAINER
========================================= */

.faq-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}


/* =========================================
   HERO
========================================= */

.faq-hero {
    padding: 100px 0 80px;
    text-align: center;
    background: white;
    border-bottom: 1px solid #eceff5;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
}

.faq-hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 20px;
    color: #111827;
}

.faq-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #6b7280;
}

.faq-search-wrapper {
    max-width: 720px;
    margin: 40px auto 0;
}

.faq-search {
    width: 100%;
    height: 68px;
    border-radius: 18px;
    border: 1px solid #dbe2ea;
    padding: 0 24px;
    font-size: 17px;
    background: white;
    transition: 0.2s ease;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

    .faq-search:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    }


/* =========================================
   SECTION
========================================= */

.faq-section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 40px;
}

    .section-header h2 {
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 10px;
        color: #111827;
    }

    .section-header p {
        color: #6b7280;
        font-size: 16px;
        margin: 0;
    }


/* =========================================
   CATEGORY GRID
========================================= */

.faq-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.faq-category-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    text-decoration: none;
    border: 1px solid #edf1f7;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
}

    .faq-category-card:hover {
        transform: translateY(-4px);
        border-color: #d7e3ff;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    }

.faq-category-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #2563eb;
    flex-shrink: 0;
}

.faq-category-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #111827;
}

.faq-category-card span {
    color: #6b7280;
    font-size: 14px;
}


/* =========================================
   QUESTIONS
========================================= */

.faq-popular-section {
    background: white;
}

.faq-questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.faq-question-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    text-decoration: none;
    border: 1px solid #edf1f7;
    min-height: 260px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

    .faq-question-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
    }

.faq-question-category {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
}

.faq-question-card h3 {
    margin: 24px 0 16px;
    font-size: 24px;
    line-height: 1.4;
    color: #111827;
}

.faq-question-card p {
    color: #6b7280;
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
}

.faq-question-footer {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #2563eb;
    font-weight: 600;
}


/* =========================================
   CTA
========================================= */

.faq-cta-section {
    padding: 100px 0;
}

.faq-cta-box {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 32px;
    padding: 70px;
    text-align: center;
    color: white;
}

    .faq-cta-box h2 {
        font-size: 44px;
        line-height: 1.2;
        margin: 0 0 20px;
        font-weight: 800;
    }

    .faq-cta-box p {
        max-width: 700px;
        margin: 0 auto 40px;
        font-size: 18px;
        line-height: 1.8;
        opacity: 0.92;
    }

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 36px;
    border-radius: 16px;
    background: white;
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

    .faq-cta-btn:hover {
        transform: translateY(-2px);
        color: #2563eb;
    }


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .faq-hero {
        padding: 80px 0 60px;
    }

        .faq-hero h1 {
            font-size: 38px;
        }

    .section-header h2 {
        font-size: 30px;
    }

    .faq-cta-box {
        padding: 40px 24px;
    }

        .faq-cta-box h2 {
            font-size: 32px;
        }

    .faq-search {
        height: 58px;
    }

    .faq-question-card {
        min-height: auto;
    }
}
