/* ========================================
   FAQ SPECIFIC STYLES
   ======================================== */

/* FAQ Hero */
.faq-hero {
    background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-middle) 50%, var(--gradient-end) 100%);
    padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.faq-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-on-gradient);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.faq-subtitle {
    font-size: 1.25rem;
    color: var(--text-on-gradient);
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* FAQ Content */
.faq-content {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Categories */
.faq-category {
    margin-bottom: var(--spacing-lg);
}

.category-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.category-icon {
    width: 32px;
    height: 32px;
    color: var(--brand-blue);
}

/* FAQ Items */
.faq-item {
    background: var(--bg-white);
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--brand-blue);
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--brand-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

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

.faq-answer a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

.faq-answer ol {
    margin: 0.5rem 0 0.75rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--surface-light), var(--bg-white));
    border-radius: 24px;
    margin-top: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.faq-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.faq-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Active nav link */
.nav-link.active {
    color: var(--brand-blue);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1rem;
    }
    
    .faq-cta h2 {
        font-size: 1.5rem;
    }
    
    .faq-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: calc(80px + var(--spacing-md)) 0 var(--spacing-md);
    }
    
    .category-title {
        font-size: 1.25rem;
    }
    
    .category-icon {
        width: 24px;
        height: 24px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeIn 0.4s ease-out;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }

