/* ============================================
   FAQS PAGE STYLES
   ============================================ */

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        var(--bg-primary);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.page-badge svg {
    width: 18px;
    height: 18px;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

/* ============================================
   FAQ CATEGORY
   ============================================ */
.faq-category {
    max-width: 900px;
    margin: 0 auto 60px;
}

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

.faq-category h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.75rem;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-primary);
}

.faq-category h2 svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.accordion-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    background: transparent;
    border: none;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header h4 {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 20px;
    transition: color 0.3s ease;
}

.accordion-header:hover h4 {
    color: var(--primary);
}

.accordion-item.active .accordion-header h4 {
    color: var(--primary);
}

.accordion-header > svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.accordion-header:hover > svg {
    color: var(--primary);
}

.accordion-item.active .accordion-header > svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 60%),
        var(--bg-primary);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-large svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

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

    .faq-category h2 {
        font-size: 1.5rem;
    }

    .faq-category h2 svg {
        width: 24px;
        height: 24px;
    }

    .accordion-header {
        padding: 18px 20px;
    }

    .accordion-header h4 {
        font-size: 1rem;
    }

    .accordion-content p {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.875rem;
    }

    .faq-category h2 {
        font-size: 1.25rem;
        gap: 10px;
    }

    .faq-category h2 svg {
        width: 22px;
        height: 22px;
    }

    .accordion-header {
        padding: 16px;
    }

    .accordion-header h4 {
        font-size: 0.95rem;
    }

    .accordion-content p {
        padding: 0 16px 16px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .btn-large {
        padding: 14px 24px;
    }
}

/* ============================================
   GRADIENT TEXT UTILITY
   ============================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
