/* ===================================
   FAQ Hero Section
   =================================== */

.faq-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.faq-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.faq-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-hero-subtitle {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 28px;
}

.faq-hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-feature i {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.hero-feature span {
    font-size: 16px;
    color: var(--gray-800);
    font-weight: 500;
    line-height: 1.5;
}

.faq-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.1));
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-category {
    margin-bottom: 60px;
}

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

.faq-category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--gray-200);
}

.faq-category-title i {
    font-size: 32px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.12);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
}

.faq-question i {
    font-size: 18px;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

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

.faq-answer p {
    padding: 0 28px 28px 28px;
    margin: 0;
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ===================================
   FAQ CTA Section
   =================================== */

.faq-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.faq-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.faq-cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-cta-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-cta-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 40px;
}

.faq-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    border-radius: 12px;
    transition: var(--transition);
}

.cta-btn i {
    font-size: 20px;
}

.cta-btn.primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

.faq-cta-note {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto;
}

.faq-cta-note i {
    font-size: 16px;
    flex-shrink: 0;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .faq-hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .faq-hero-image {
        order: -1;
    }

    .faq-hero-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 100px 0 60px;
    }

    .faq-hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .faq-hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-feature {
        gap: 10px;
    }

    .hero-feature i {
        font-size: 20px;
    }

    .hero-feature span {
        font-size: 14px;
    }

    .faq-section {
        padding: 80px 0;
    }

    .faq-category {
        margin-bottom: 50px;
    }

    .faq-category-title {
        font-size: 24px;
        margin-bottom: 24px;
        gap: 12px;
    }

    .faq-category-title i {
        font-size: 26px;
    }

    .faq-question {
        padding: 20px 20px;
        gap: 16px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-question i {
        font-size: 16px;
    }

    .faq-answer p {
        padding: 0 20px 20px 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .faq-cta {
        padding: 80px 0;
    }

    .faq-cta-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .faq-cta-text {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 32px;
    }

    .faq-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
        font-size: 15px;
    }

    .cta-btn i {
        font-size: 18px;
    }

    .faq-cta-note {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 90px 0 50px;
    }

    .faq-hero-title {
        font-size: 24px;
    }

    .faq-hero-subtitle {
        font-size: 14px;
    }

    .hero-feature i {
        font-size: 18px;
    }

    .hero-feature span {
        font-size: 13px;
    }

    .faq-category-title {
        font-size: 22px;
    }

    .faq-question {
        padding: 18px 16px;
    }

    .faq-question h3 {
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 16px 18px 16px;
        font-size: 14px;
    }

    .faq-cta-title {
        font-size: 24px;
    }

    .faq-cta-text {
        font-size: 14px;
    }
}
