/* ==========================================================================
   FİYATLANDIRMA SAYFASI — Premium Redesign
   ========================================================================== */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.pricing-hero {
    text-align: center;
}
.pricing-hero .hero-title { margin-bottom: 1rem; }
.pricing-hero .hero-desc {
    margin-inline: auto;
    max-width: 580px;
    margin-bottom: 0;
}

/* ── Ücretsiz Banner ─────────────────────────────────────────────────────── */
.free-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid rgba(39, 201, 63, 0.25);
    margin: 1.5rem auto 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #19a832;
}
[data-mode="dark"] .free-banner { color: #27c93f; background: rgba(39, 201, 63, 0.12); }
.free-banner-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #27c93f;
    box-shadow: 0 0 8px #27c93f;
    animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(39,201,63,0); }
    50%       { box-shadow: 0 0 0 6px rgba(39,201,63,0.15); }
}

/* ── Pricing Tabs ─────────────────────────────────────────────────────────── */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto 1rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    max-width: max-content;
    backdrop-filter: blur(12px);
}
[data-mode="dark"] .pricing-tabs { background: rgba(0, 0, 0, 0.2); }
.tab-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn:hover { color: var(--brand-primary); }
.tab-btn.active {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Pricing Grid ─────────────────────────────────────────────────────────── */
.pricing-section { padding: 5rem 0 7rem; position: relative; }

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 800px;
    margin: 2rem auto 0;
}
.pricing-grid.teacher-grid {
    max-width: 800px;
}
@media (max-width: 768px) {
    .pricing-tabs { flex-direction: column; border-radius: var(--radius-lg); padding: 1rem; }
    .tab-btn { width: 100%; }
}

/* ── Card ─────────────────────────────────────────────────────────────────── */
.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    position: relative;
}
[data-mode="dark"] .pricing-card {
    background: #1a1c23;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}
[data-mode="dark"] .pricing-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.pricing-card.premium {
    border-color: rgba(59, 31, 110, 0.2);
}
[data-mode="dark"] .pricing-card.premium {
    border-color: rgba(169, 140, 250, 0.2);
}

/* Horizontal layout */
.pricing-card.horizontal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
@media (max-width: 640px) {
    .pricing-card.horizontal {
        flex-direction: column;
    }
}

/* ── Showcase (left image area) ──────────────────────────────────────────── */
.pc-showcase {
    flex: 0 0 140px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #eef0f2 100%);
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}
[data-mode="dark"] .pc-showcase {
    background: linear-gradient(145deg, #1e2028 0%, #22252d 100%);
}
@media (max-width: 640px) {
    .pc-showcase {
        flex: 0 0 auto;
        border-radius: 16px 16px 0 0;
        padding: 2rem;
    }
}

.pc-image {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
    transition: transform 0.4s ease;
}
.pricing-card:hover .pc-image {
    transform: scale(1.06);
}

/* ── Info (right content area) ───────────────────────────────────────────── */
.pc-info {
    flex: 1;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Badge — inline, NOT absolutely positioned */
.pc-badge {
    display: inline-flex;
    align-self: flex-start;
    background: var(--brand-accent);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.pc-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.pc-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}
.pricing-card.premium .pc-title { color: var(--brand-primary); }
[data-mode="dark"] .pricing-card.premium .pc-title { color: var(--brand-primary); }

.pc-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 0.25rem 0 0.5rem;
}
.pc-price-main {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}
.pc-price-period {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ── Feature List ────────────────────────────────────────────────────────── */
.pc-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pc-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
}
.pc-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    flex-shrink: 0;
}
.pc-check.yes::before { content: '✓'; }
.pc-check.no::before  { content: '✕'; }
.pc-check i { display: none; }
.pc-check.yes { background: rgba(39, 201, 63, 0.15); color: #19a832; }
.pc-check.no  { background: rgba(0,0,0,0.05); color: var(--text-muted); }
[data-mode="dark"] .pc-check.yes { color: #27c93f; background: rgba(39,201,63,0.18); }
[data-mode="dark"] .pc-check.no  { background: rgba(255,255,255,0.06); }

/* ── Card Button ─────────────────────────────────────────────────────────── */
.pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 0.75rem;
    align-self: flex-start;
    cursor: pointer;
    border: none;
}
.pc-btn.primary {
    background: var(--brand-primary);
    color: #fff;
}
.pc-btn.primary:hover {
    background: var(--brand-primary-dark, #2a1560);
    box-shadow: 0 6px 20px rgba(var(--brand-primary-rgb), 0.3);
}
.pc-btn.outline {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}
.pc-btn.outline:hover {
    background: var(--brand-primary);
    color: #fff;
}

/* ── Button full-width ────────────────────────────────────────────────────── */
.btn-block { width: 100%; justify-content: center; }

/* ── FAQ Section ──────────────────────────────────────────────────────────── */
.faq-section { padding: 0 0 7rem; }
.faq-section .section-title { margin-bottom: 3rem; }

.faq-grid {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* details/summary accordion */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}
.faq-item:hover {
    border-color: rgba(var(--brand-primary-rgb), 0.25);
    box-shadow: 0 4px 16px rgba(var(--brand-primary-rgb), 0.06);
}

.faq-item summary {
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}
[data-mode="dark"] .faq-item summary::after {
    background: rgba(255,255,255,0.06);
}
.faq-item[open] summary::after {
    content: '−';
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
}

.faq-item h4 {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    color: var(--text-main);
}
.faq-item[open] h4 {
    color: var(--brand-primary);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    padding: 0 1.75rem 1.5rem;
}
