/* FAQ Sayfası Stilleri */
.faq-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 80px); /* header height */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.faq-container {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.faq-hero {
    text-align: center;
    margin-bottom: 50px;
}

.faq-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(255, 70, 85, 0.1);
    color: #ff4655;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(255, 70, 85, 0.2);
}

.faq-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color, #ffffff);
}

.faq-hero p {
    color: var(--text-muted, #a0a0a0);
    font-size: 1.1rem;
}

/* Accordion Stilleri */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card, #1e1e24);
    border: 1px solid var(--border-color, #2a2a32);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(var(--glass-blur, 16px));
    -webkit-backdrop-filter: blur(var(--glass-blur, 16px));
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.faq-item.active {
    border-color: var(--text-main, #ffffff);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: var(--text-main, #ffffff);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question i {
    color: var(--text-main, #ffffff);
    transition: transform 0.3s ease;
}

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

/* Yüksek Performanslı CSS Grid Animasyonu */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-content {
    overflow: hidden;
    padding: 0 25px; /* İçerik sıfırken padding sorunu olmaması için p de margin veriyoruz */
}

.faq-answer-content p {
    margin: 0;
    padding-bottom: 25px;
    color: var(--text-muted, #a0a0a0);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-hero h1 {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 20px;
    }
    .faq-answer-content p {
        padding-bottom: 20px;
    }
}
