/* Edumetri - Ortak Fiyatlandırma Sayfası Stilleri
   pricing_student.php ve pricing_teacher.php tarafından paylaşılır. */

/* Plan türü geçiş butonları (öğrenci paketleri) */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.pricing-toggle .btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.pricing-toggle .btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}
.pricing-toggle .btn:not(.active) {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}
.pricing-section { display: none; }
.pricing-section.active { display: block; }

/* Fiyat kartı (premium) */
.pricing-card-premium {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--border-default);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.pricing-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}
.pricing-card-premium.popular {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    z-index: 1;
}
@media (max-width: 991px) {
    .pricing-card-premium.popular {
        transform: scale(1);
        margin: 1.5rem 0;
    }
}
.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
}
.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-gray-800);
    margin-bottom: 1rem;
    text-align: center;
}
.plan-price {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-gray-800);
}
.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: top;
    margin-right: 2px;
}
.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}
.plan-price .period {
    color: var(--text-muted);
    font-weight: 500;
}
.plan-description {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
}
.plan-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--bg-tertiary);
}
.plan-features li:last-child {
    border-bottom: none;
}
.plan-features li i {
    color: var(--color-success);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}
.btn-pricing {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: var(--bg-tertiary);
    color: var(--color-gray-800);
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-pricing:hover {
    background: var(--color-gray-800);
    color: white;
}
.popular .btn-pricing {
    background: var(--color-primary);
    color: white;
}
.popular .btn-pricing:hover {
    background: var(--color-primary);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

/* SSS akordeonu (öğrenci paketleri) */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-default);
    overflow: hidden;
}
.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-gray-800);
    transition: all 0.3s ease;
}
.faq-question:hover {
    background: var(--bg-secondary);
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}
.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 400px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
