/* ============================================
   FAQ PAGE STYLES
   ============================================ */

/* Hero Section */
.faq-hero {
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 50%, #1a1f2e 100%);
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.faq-hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-hero__badge {
    display: inline-block;
    background: rgba(255, 0, 110, 0.15);
    color: #ff006e;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00d4ff, #ff006e, #ffd60a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-hero__lead {
    font-size: 1.125rem;
    color: #b0b3c1;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Search Box */
.faq-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.faq-search__input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search__input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #00d4ff;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
}

.faq-search__input::placeholder {
    color: #7a7e8f;
}

.faq-search__icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

/* Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Category Sections */
.faq-category {
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease forwards;
}

.faq-category__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 212, 10, 0.3);
    position: relative;
}

.faq-category__title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #ffd60a, #ff006e);
}

/* FAQ Item */
.faq-item {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

/* Question Button */
.faq-item__question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-item__question:hover {
    color: #00d4ff;
}

.faq-item__question span:first-child {
    flex: 1;
}

.faq-item__icon {
    font-size: 1.5rem;
    color: #00d4ff;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(45deg);
}

/* Answer */
.faq-item__answer {
    padding: 0 20px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(-10px);
}

.faq-item__answer:not([hidden]) {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
    padding: 0 20px 20px 20px;
}

.faq-item__answer p {
    color: #b0b3c1;
    line-height: 1.8;
    margin-bottom: 16px;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

.faq-item__answer a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.faq-item__answer a:hover {
    color: #ffd60a;
    border-bottom-color: #ffd60a;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.faq-list li {
    color: #b0b3c1;
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.8;
}

.faq-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.faq-list li strong {
    color: #fff;
}

/* CTA Section */
.faq-cta {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    padding: 60px 20px;
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 212, 10, 0.2);
    border-radius: 12px;
}

.faq-cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #fff;
}

.faq-cta p {
    font-size: 1.125rem;
    color: #b0b3c1;
    margin-bottom: 24px;
}

/* Empty State */
.faq-empty-state {
    text-align: center;
    padding: 60px 20px;
    margin: 40px 0;
}

.faq-empty-state p {
    color: #b0b3c1;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.faq-empty-state p strong {
    color: #00d4ff;
}

.faq-empty-state__subtitle {
    font-size: 1rem;
    color: #7a7e8f;
}

.faq-empty-state__subtitle a {
    color: #00d4ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.faq-empty-state__subtitle a:hover {
    color: #ffd60a;
    border-bottom-color: #ffd60a;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .faq-hero {
        padding: 60px 20px;
    }

    .faq-hero h1 {
        font-size: 2rem;
    }

    .faq-hero__lead {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .faq-category__title {
        font-size: 1.5rem;
    }

    .faq-item__question {
        padding: 16px;
        font-size: 1rem;
        gap: 12px;
    }

    .faq-item__answer {
        padding: 0 16px;
    }

    .faq-item__answer:not([hidden]) {
        padding: 0 16px 16px 16px;
    }

    .faq-cta h2 {
        font-size: 1.5rem;
    }

    .faq-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 40px 16px;
    }

    .faq-hero h1 {
        font-size: 1.5rem;
    }

    .faq-hero__lead {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .faq-search__input {
        padding: 12px 12px 12px 36px;
        font-size: 0.95rem;
    }

    .faq-category {
        margin-bottom: 40px;
    }

    .faq-category__title {
        font-size: 1.25rem;
    }

    .faq-item__question {
        padding: 14px;
        font-size: 0.95rem;
    }

    .faq-item__answer p {
        font-size: 0.95rem;
    }

    .faq-cta h2 {
        font-size: 1.25rem;
    }

    .faq-cta p {
        font-size: 0.95rem;
    }
}
