/* styles-faq.css - FAQ section styles */

.faq-section {
    position: relative;
    background: transparent;
    padding: 40px 24px 0;
    z-index: 1;
}

.faq-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-bottom: 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.faq-title {
    padding-top: 40px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-subtitle {
    font-size: clamp(13px, 1.4vw, 15px);
    color: var(--text-secondary);
    line-height: 1.5;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}


.faq-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.faq-footer-links {
    display: flex;
    gap: var(--space-lg);
}

.faq-footer-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-footer-link:hover {
    color: var(--accent-light);
}

.faq-footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.faq-item {
    background: linear-gradient(180deg, var(--surface-container-high) 0%, var(--surface-container) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.faq-item:hover {
    border-color: var(--accent-light);
    box-shadow: 0 4px 20px var(--accent-glow), 0 0 40px rgba(64, 95, 144, 0.15);
    transition: none;
}

.faq-item.active {
    border-color: var(--accent-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-md) var(--card-padding-md);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
    gap: var(--space-sm);
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), fill 0.2s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    fill: var(--accent-light);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 var(--card-padding-md) var(--space-md);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}


.faq-cta {
    text-align: center;
    margin-top: var(--space-sm);
    margin-bottom: 0;
    padding-top: var(--space-xs);
    border-top: 1px solid var(--border);
    transform: translateY(0);
    
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.faq-cta-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.btn-faq-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: var(--accent-glow);
    color: var(--accent-light);
    border-radius: 6px;
    border: 1px solid var(--accent-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    will-change: transform, box-shadow;
    transition: transform 80ms ease-out, box-shadow 80ms ease-out, background 80ms ease-out;
}

.faq-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-cta-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.btn-faq-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-glow);
    color: var(--accent-light);
    border-radius: 6px;
    border: 1px solid var(--accent-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    will-change: transform, box-shadow;
    transition: transform 80ms ease-out, box-shadow 80ms ease-out, background 80ms ease-out;
}

.btn-faq-cta:hover {
    background: var(--active-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-faq-cta svg {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .faq-section {
        padding: 40px 32px 10px;
    }
    .faq-title { font-size: 26px; }
    .faq-inner { max-width: 680px; }
    
    .faq-item:hover {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .faq-section {
        min-height: auto !important;
        height: auto !important;
        padding: 40px 16px 10px !important;
        overflow: visible;
    }
    .faq-question { padding: var(--space-md) var(--space-sm); font-size: 14px; }
    .faq-answer-inner { padding: 0 var(--space-sm) var(--space-md); font-size: 13px; }
    
    .scroll-nav { display: none; }
    .faq-footer { flex-direction: column; gap: var(--space-sm); }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 40px 16px 10px !important;
    }
    .faq-header { margin-bottom: 32px; }
    .faq-label { font-size: 11px; }
    .faq-title { font-size: 20px; }
    .faq-subtitle { font-size: 13px; }
    .faq-list { gap: var(--space-xs); }
    .faq-item { border-radius: var(--card-radius-sm); }
    .faq-question { padding: var(--space-sm) var(--space-md); font-size: 13px; }
    .faq-chevron { width: 18px; height: 18px; }
    .faq-answer-inner { padding: 0 var(--space-md) var(--space-sm); font-size: 12px; }
    .faq-cta { margin-top: var(--space-md); padding-top: var(--space-sm); }
    .faq-cta-text { font-size: 13px; }
    .btn-faq-cta { padding: var(--space-sm) var(--space-md); font-size: 13px; }
}

@media (max-width: 375px) {
    .faq-title { font-size: 18px; }
    .faq-subtitle { font-size: 12px; }
    .faq-question { padding: var(--space-sm) var(--space-sm); font-size: 12px; }
    .faq-chevron { width: 16px; height: 16px; }
    .faq-answer-inner { padding: 0 var(--space-sm) var(--space-sm); font-size: 11px; }
    .faq-cta-text { font-size: 12px; }
    .btn-faq-cta { padding: var(--space-xs) var(--space-md); font-size: 12px; }
}

@media (max-width: 320px) {
    .faq-section { padding: 40px 12px 10px; }
    .faq-title { font-size: 16px; }
    .faq-subtitle { font-size: 11px; }
    .faq-question { padding: var(--space-xs) var(--space-sm); font-size: 11px; }
    .faq-chevron { width: 14px; height: 14px; }
    .faq-answer-inner { padding: 0 var(--space-sm) var(--space-xs); font-size: 10px; }
    .faq-cta-text { font-size: 12px; }
    .btn-faq-cta { padding: var(--space-xs) var(--space-md); font-size: 12px; }
}
