/* ============================================================
   PUAN HESAPLAMA & ATAMA SİMÜLATÖRÜ — Luminous Obsidian teması
   (siparis.css'teki token'larla uyumlu, bağımsız sayfa stili)
============================================================ */

:root {
    --bg-base: #07080d;
    --bg-card: rgba(16, 18, 28, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.35);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body.landing-page {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-base);
    background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    color: var(--text-main);
    overflow-x: hidden;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-panel:hover { border-color: var(--border-hover); }

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 9999px;
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ---- Ders satırları ---- */
.ders-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}
.ders-row:last-child { margin-bottom: 0; }
.ders-ad { font-weight: 700; font-size: 0.9rem; color: #e2e8f0; }
.ders-ad small { display: block; font-size: 0.68rem; color: #64748b; font-weight: 600; }

.net-input {
    width: 64px;
    padding: 9px 6px;
    text-align: center;
    background: rgba(7, 8, 13, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #f8fafc;
    font-weight: 800;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -moz-appearance: textfield;
    appearance: textfield;
}
.net-input::-webkit-outer-spin-button,
.net-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.net-input:focus {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.net-input.girdi-var { border-color: rgba(99, 102, 241, 0.45); }

.net-chip {
    min-width: 58px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 8px 6px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #c7d2fe;
    font-variant-numeric: tabular-nums;
}

/* ---- Motor bileşenleri (tüm puan araçları ortak) ---- */
.pm-grup { margin-bottom: 24px; }
.pm-grup:last-of-type { margin-bottom: 0; }
.pm-grup-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.pm-grup-baslik h3 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.pm-grup-toplam { color: #64748b; font-weight: 600; text-transform: none; letter-spacing: 0; }

.pm-alanlar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.pm-alan-chip {
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.9rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}
.pm-alan-chip:hover { color: #f8fafc; border-color: rgba(255, 255, 255, 0.25); }
.pm-alan-chip.aktif {
    color: #ffffff;
    background: var(--accent, #6366f1);
    border-color: transparent;
    box-shadow: 0 0 20px var(--accent-glow, rgba(99, 102, 241, 0.4));
}

.pm-btn-ana {
    padding: 16px 24px;
    border-radius: 18px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent, #6366f1), var(--accent-2, #10b981));
    box-shadow: 0 0 30px var(--accent-glow, rgba(99, 102, 241, 0.45));
    transition: transform 0.25s, filter 0.25s;
    font-family: inherit;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.pm-btn-ana:hover { transform: translateY(-2px); filter: brightness(1.1); }
.pm-btn-gri {
    padding: 16px 24px;
    border-radius: 18px;
    font-weight: 800;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pm-btn-gri:hover { color: #fda4af; border-color: rgba(244, 63, 94, 0.3); }

.pm-kardes-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: all 0.25s;
}
.pm-kardes-chip:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.25); transform: translateY(-1px); }
.pm-kardes-nokta { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.pm-obp-girdi {
    width: 100%;
    padding: 12px 16px;
    background: rgba(7, 8, 13, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #f8fafc;
    font-weight: 700;
    font-family: inherit;
    outline: none;
}
.pm-obp-girdi:focus { border-color: var(--accent, #6366f1); }

/* ---- Bant rozetleri ---- */
.bant-rozet-bir { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.35); color: #6ee7b7; }
.bant-rozet-iki { background: rgba(99, 102, 241, 0.12); border: 1px solid rgba(99, 102, 241, 0.35); color: #a5b4fc; }
.bant-rozet-uc { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.35); color: #fcd34d; }
.bant-rozet-dort { background: rgba(244, 63, 94, 0.12); border: 1px solid rgba(244, 63, 94, 0.35); color: #fda4af; }

/* ---- Bant detay satırları ---- */
.bant-satir {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 8px;
}
.bant-satir.aktif {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.07);
}
.bant-satir .bant-nokta {
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
}
.bant-satir.aktif .bant-nokta { background: var(--secondary); box-shadow: 0 0 12px rgba(16, 185, 129, 0.6); }
.bant-satir h4 { font-size: 0.9rem; font-weight: 800; color: #f1f5f9; }
.bant-satir.aktif h4 { color: #6ee7b7; }
.bant-satir p { font-size: 0.78rem; color: #94a3b8; line-height: 1.5; margin-top: 2px; }

/* ---- SSS ---- */
.sss-kalem {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}
.sss-kalem summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 800;
    font-size: 0.92rem;
    color: #e2e8f0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.sss-kalem summary::-webkit-details-marker { display: none; }
.sss-kalem summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: #64748b;
    transition: transform 0.25s;
}
.sss-kalem[open] summary::after { transform: rotate(180deg); }
.sss-kalem .sss-cevap {
    padding: 0 20px 16px;
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.65;
}

@media (max-width: 420px) {
    .ders-row { grid-template-columns: 1fr 56px 56px 52px; }
    .net-input { width: 100%; }
    .net-chip { min-width: 52px; }
}

/* ---- Breadcrumb (SEO) ---- */
.pm-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pm-breadcrumb a { color: #94a3b8; transition: color 0.2s; }
.pm-breadcrumb a:hover { color: #ffffff; }
.pm-breadcrumb li:not(:last-child)::after { content: '\203A'; margin-left: 6px; color: #475569; }

/* ---- Rehber makale bloğu (statik SEO içeriği) ---- */
.pm-makale h2 { font-size: 1.45rem; font-weight: 900; color: #ffffff; margin-bottom: 14px; line-height: 1.3; }
.pm-makale h3 { font-size: 1.02rem; font-weight: 800; color: #e2e8f0; margin: 24px 0 10px; }
.pm-makale p { color: #94a3b8; font-size: 0.9rem; line-height: 1.75; margin-bottom: 12px; }
.pm-makale p:last-child { margin-bottom: 0; }
.pm-makale p strong { color: #e2e8f0; }
.pm-makale a { color: var(--accent, #6366f1); font-weight: 700; }
.pm-makale a:hover { text-decoration: underline; }
.pm-makale ul { margin: 0 0 12px 18px; list-style: disc; color: #94a3b8; font-size: 0.9rem; line-height: 1.7; }

.pm-guncel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 18px;
}

.pm-formul {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.84rem;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(7, 8, 13, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 3px solid var(--accent, #6366f1);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 16px 0 18px;
    overflow-x: auto;
    white-space: nowrap;
}

.pm-tablo { width: 100%; border-collapse: collapse; font-size: 0.84rem; margin: 6px 0 16px; }
.pm-tablo th {
    text-align: left;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 800;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.pm-tablo td { padding: 9px 10px; color: #cbd5e1; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.pm-tablo tr:last-child td { border-bottom: none; }
.pm-tablo td:first-child { font-weight: 700; color: #e2e8f0; }
.pm-tablo .pm-sag { text-align: right; font-variant-numeric: tabular-nums; }

.sss-cevap p:last-child { margin-bottom: 0; }

/* ---- Sınav Seçici Üst Bar (Exam Switcher Bar) ---- */
.pm-sinav-secici-alani {
    margin-bottom: 24px;
}
.pm-sinav-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 6px;
    background: rgba(16, 18, 28, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.pm-sinav-sekme {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    color: #94a3b8;
}
.pm-sinav-sekme:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}
.pm-sinav-sekme.aktif {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent, #6366f1);
    box-shadow: 0 0 25px var(--accent-glow, rgba(99, 102, 241, 0.35));
}
.pm-sinav-sekme.aktif::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--accent, #6366f1);
    border-radius: 9999px;
    box-shadow: 0 0 8px var(--accent, #6366f1);
}
.pm-sinav-ikon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s;
}
.pm-sinav-sekme.aktif .pm-sinav-ikon {
    background: var(--accent, #6366f1);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 15px var(--accent-glow, rgba(99, 102, 241, 0.4));
}
.pm-sinav-bilgi {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pm-sinav-baslik {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    color: #f1f5f9;
}
.pm-sinav-alt {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pm-sinav-sekme.aktif .pm-sinav-alt {
    color: #cbd5e1;
}
.pm-sinav-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
}
@media (min-width: 1024px) {
    .pm-sinav-badge { display: inline-block; }
}

@media (max-width: 768px) {
    .pm-sinav-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 5px;
    }
    .pm-sinav-sekme {
        padding: 8px 10px;
        gap: 8px;
    }
    .pm-sinav-ikon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .pm-sinav-baslik {
        font-size: 0.82rem;
    }
    .pm-sinav-alt {
        font-size: 0.62rem;
    }
}

/* ---- Alt Seviye Seçim Barı (Örn: KPSS Ön Lisans / Lisans / Lise veya YKS TYT / AYT) ---- */
.pm-seviye-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    background: rgba(7, 8, 13, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 20px;
    justify-content: center;
}
.pm-seviye-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #94a3b8;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    text-decoration: none;
}
.pm-seviye-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}
.pm-seviye-btn.aktif {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
}
.pm-seviye-rozet {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
