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

.faq-page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-page-title h1 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.faq-page-title p {
    color: var(--text-secondary);
}

.faq-category {
    margin-bottom: 2.5rem;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.faq-category-header .material-symbols-outlined {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.faq-category-header h2 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question span:first-child {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-answer ul {
    padding: 0 1.5rem 1.25rem 3rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.faq-answer code {
    background: var(--bg-light);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

.faq-cta-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), #5a67d8);
    border-radius: 12px;
    color: white;
}

.faq-cta-section h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.faq-cta-section p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.faq-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-cta-buttons .btn-contact {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.faq-cta-buttons .btn-contact:hover {
    background: rgba(255, 255, 255, 0.3);
}

.faq-cta-buttons .btn-start {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.faq-cta-buttons .btn-start:hover {
    background: var(--bg-light);
}

@media (max-width: 768px) {
    .faq-page-title h1 {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-question span:first-child {
        font-size: 0.95rem;
    }

    .faq-answer p,
    .faq-answer ul {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .faq-cta-section {
        padding: 2rem 1.5rem;
    }

    .faq-cta-section h3 {
        font-size: 1.25rem;
    }
}
