/* FAQ Hero */
.faq-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11rem 0 8rem;
    overflow: hidden;
}

.faq-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0B1F3A;
    z-index: 0;
}

.faq-hero-background::before {
    content: none;
}

.faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 15, 35, 0.55) 0%, rgba(5, 15, 35, 0.40) 60%, rgba(5, 15, 35, 0.62) 100%);
    z-index: 2;
}

.faq-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 700;
    color: #D8DDE8;
    margin-bottom: 1rem;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
    letter-spacing: -0.5px;
}

.faq-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: rgba(216,221,232,0.80);
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.3pxem;
    color: rgba(240,240,240,0.82);
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-icon {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    max-width: 200px;
    max-height: 200px;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.hero-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-icon.animated {
    opacity: 0.6;
}

/* Search Box */
.faq-search {
    background: #fff;
    padding: 3rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box svg {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 1.125rem 1.5rem 1.125rem 3.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #5585b5;
    box-shadow: 0 0 0 4px rgba(58, 159, 208, 0.1);
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

/* FAQ Content */
.faq-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-category {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-header svg {
    color: #5585b5;
    flex-shrink: 0;
}

.category-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.accordion-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #5585b5;
    box-shadow: 0 4px 12px rgba(58, 159, 208, 0.1);
}

.accordion-item.active {
    border-color: #5585b5;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, rgba(58, 159, 208, 0.05) 0%, rgba(44, 122, 160, 0.05) 100%);
    color: #5585b5;
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #5585b5;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 1.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* FAQ CTA */
.faq-cta {
    background: linear-gradient(135deg, #5585b5 0%, #3d6a96 100%);
    padding: 5rem 0;
}

.faq-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-cta-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: #E8E8E8;
    margin-bottom: 1rem;
}

.faq-cta-description {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.faq-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1.125rem 3rem;
    background: #fff;
    color: #5585b5;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Search Highlighting */
.accordion-item.search-match {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.05);
}

.accordion-item.search-no-match {
    opacity: 0.3;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .faq-hero-title {
        font-size: 3rem;
    }

    .category-title {
        font-size: 1.75rem;
    }

    .faq-category {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        min-height: 65vh;
        padding: 8rem 0 5rem;
    }

    .faq-hero-title {
        font-size: 2.5rem;
    }

    .faq-hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-icon {
        width: 150px;
        height: 150px;
        right: 5%;
    }

    .faq-search {
        padding: 2rem 0;
    }

    .faq-category {
        padding: 1.75rem 1.5rem;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .accordion-header {
        padding: 1.25rem 1.5rem;
        font-size: 1.0625rem;
    }

    .accordion-content p {
        padding: 0 1.5rem 1.25rem;
        font-size: 1rem;
    }

    .faq-cta-title {
        font-size: 2.25rem;
    }

    .faq-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-hero-title {
        font-size: 2rem;
    }

    .faq-hero-subtitle {
        font-size: 1rem;
    }

    .search-input {
        padding: 1rem 1.25rem 1rem 3.25rem;
        font-size: 0.9375rem;
    }

    .faq-category {
        padding: 1.5rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .category-title {
        font-size: 1.375rem;
    }

    .accordion-header {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .faq-cta-title {
        font-size: 1.875rem;
    }

    .btn-primary-large,
    .btn-secondary-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

