/* ==========================================================================
   Turkuaz Akademi — tek stil dosyası (build gerektirmez)
   ========================================================================== */

:root {
    --brand: #0f9b8e;
    --brand-strong: #0b7a70;
    --brand-soft: #e3f6f3;
    --ink: #10243a;
    --ink-soft: #4a5d72;
    --muted: #7d8da0;
    --line: #e2e8ef;
    --bg: #f6f9fb;
    --surface: #ffffff;
    --accent: #f59e42;
    --success: #15803d;
    --success-soft: #dcfce7;
    --warning: #b45309;
    --warning-soft: #fef3c7;
    --danger: #b91c1c;
    --danger-soft: #fee2e2;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(16, 36, 58, .06), 0 6px 20px rgba(16, 36, 58, .06);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-decoration: none !important; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-light { background: #fff; color: var(--brand-strong); }
.btn-sm { padding: 6px 13px; font-size: 13px; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Site header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none !important; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--brand), #22c3b3); display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 800; }
.logo span em { font-style: normal; color: var(--brand); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.nav a:hover, .nav a.active { color: var(--brand-strong); background: var(--brand-soft); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 900px) {
    .nav-toggle-label { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; font-size: 20px; }
    .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; background: radial-gradient(circle at 85% 10%, #c9f1eb 0, transparent 45%), linear-gradient(180deg, #f1fbf9, var(--bg)); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-strong); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-card { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); }
.hero-card h3 { font-size: 15px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.preview-card { margin: 0; }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.preview-label { font-size: 13px; font-weight: 800; color: var(--brand-strong); text-transform: uppercase; letter-spacing: .05em; }
.preview-student { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.preview-student .muted { font-size: 13px; }
.preview-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #22c3b3); color: #fff; display: grid; place-items: center; font-weight: 800; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.preview-stats div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.preview-stats strong { display: block; font-size: 18px; }
.preview-stats span { font-size: 12px; color: var(--muted); font-weight: 600; }
.preview-list-title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.preview-caption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.mini-row {display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.mini-row:last-child { border-bottom: 0; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .hero { padding: 44px 0; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.page-hero p { color: var(--ink-soft); font-size: 18px; max-width: 680px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; font-weight: 800; }
.card p:last-child { margin-bottom: 0; }
.icon-bubble { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }

.steps { counter-reset: step; display: grid; gap: 16px; }
.step { position: relative; padding: 22px 22px 22px 76px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-soft); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-strip div { text-align: center; padding: 18px; }
.stat-strip strong { display: block; font-size: 34px; font-weight: 800; color: var(--brand-strong); }
@media (max-width: 700px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

.cta-band { background: linear-gradient(135deg, var(--brand-strong), var(--brand)); color: #fff; border-radius: 22px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-cta { padding-top: 0; }
.section-alt + .section-cta { padding-top: 72px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.cta-band h2 { font-size: 28px; margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .9; }

.stars { color: var(--accent); letter-spacing: 2px; font-size: 16px; }
.testimonial { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.testimonial blockquote { margin: 0; color: var(--ink-soft); flex: 1; white-space: pre-line; }
.testimonial figcaption { display: flex; flex-direction: column; font-size: 14px; }
.team-card { text-align: center; }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(135deg, var(--brand), #22c3b3); color: #fff; font-weight: 800; font-size: 28px; display: grid; place-items: center; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand-strong); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: '−'; }
details.faq p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 15px; background: #fff; color: var(--ink); transition: border-color .15s; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea.input { min-height: 110px; resize: vertical; }
.error { color: var(--danger); font-size: 13px; margin-top: 4px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.alert { padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-danger { background: var(--danger-soft); color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4d0dc; padding: 52px 0 28px; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 15px; }
.site-footer a { color: #c4d0dc; display: block; padding: 3px 0; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 18px; font-size: 14px; grid-column: 1 / -1; }
@media (max-width: 700px) { .site-footer .container { grid-template-columns: 1fr; } }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 420px; }
.error-links { display: grid; gap: 10px; margin-top: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.form-note a { color: inherit; text-decoration: underline; }

/* ==========================================================================
   Panel
   ========================================================================== */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat .value { font-size: 28px; font-weight: 800; line-height: 1.1; }
.stat .label { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat.brand .value { color: var(--brand-strong); }
.stat.accent .value { color: var(--accent); }

.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; margin-bottom: 24px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 16px; background: #fafcfd; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.table-empty { text-align: center; color: var(--muted); padding: 28px; }

.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge-muted { background: #eef2f6; color: var(--ink-soft); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-brand { background: var(--brand-soft); color: var(--brand-strong); }

.status-form { display: flex; gap: 6px; flex-wrap: wrap; }
.status-form button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 11px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--ink-soft); }
.status-form button:hover { border-color: var(--brand); color: var(--brand-strong); }
.status-form button.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }

.feed-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; }
.feed-item h3 { font-size: 17px; margin-bottom: 4px; }
.feed-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }
.section-title { font-size: 18px; font-weight: 800; margin: 0 0 12px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.pagination { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 24px; }
.pagination li > * { display: block; min-width: 36px; text-align: center; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.pagination li.active > * { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination li.disabled > * { opacity: .45; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-strong); font-weight: 700; cursor: pointer; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.2em; display: inline-block; }
.icon-bubble .icon { width: 24px; height: 24px; }

/* ---------- Public pages: shared building blocks ---------- */
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e48a2b; }
.page-hero-tight { padding: 40px 0 8px; }
.section-tight { padding: 28px 0 56px; }
.block-title { font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin: 36px 0 14px; }
.block-title:first-child { margin-top: 0; }
.more-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-weight: 700; }

.hero-stats { display: flex; gap: 10px; margin-top: 24px; }
.hero-stats div { flex: 1; max-width: 130px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-align: center; }
.hero-stats strong { display: block; font-size: 22px; font-weight: 800; color: var(--brand-strong); line-height: 1.1; }
.hero-stats span { font-size: 12px; font-weight: 700; color: var(--muted); }

.subject-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-chips span { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; }
.subject-chips span:nth-child(3n+1) { border-color: #a7e3dc; background: var(--brand-soft); color: var(--brand-strong); }

.price-teaser { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 18px 20px; border-radius: 20px; background: linear-gradient(135deg, #f59e42, #f97316); color: #fff; text-decoration: none !important; box-shadow: 0 10px 24px rgba(249, 115, 22, .25); }
.price-teaser small { display: block; font-weight: 700; opacity: .9; font-size: 13px; }
.price-teaser strong { display: block; white-space: nowrap; font-size: clamp(21px, 6vw, 26px); font-weight: 800; line-height: 1.15; }
.price-teaser em { font-style: normal; font-size: 13px; opacity: .9; }
.price-teaser .btn-light { color: #c2410c; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.feature h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) {
    .feature-row { grid-template-columns: 1fr; gap: 10px; }
    .feature { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 16px; }
    .feature .icon-bubble { grid-row: span 2; margin: 0; }
}

.teacher-avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--c, var(--brand)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 21px; }
.teacher-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.teacher-mini { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; }
.teacher-mini small { color: var(--muted); font-size: 12px; line-height: 1.3; }
@media (max-width: 760px) {
    .teacher-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 6px; }
    .teacher-mini { flex: 0 0 42%; scroll-snap-align: start; }
}

.chip-filter { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 18px; padding: 2px 16px 6px; }
.chip-filter label { flex: none; margin: 0; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
#f-all:checked ~ .chip-filter label[for="f-all"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .teacher-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .teacher-grid { grid-template-columns: 1fr; } }
.teacher-card { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.teacher-top { display: flex; align-items: center; gap: 14px; }
.teacher-top h3 { font-size: 19px; font-weight: 800; margin: 0; }
.teacher-top p { margin: 0; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.teacher-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.teacher-tags span { font-size: 12.5px; font-weight: 700; color: var(--brand-strong); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.teacher-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.teacher-meta span { display: inline-flex; align-items: center; gap: 5px; }
.teacher-card .btn { margin-top: auto; }

.price-card { margin-top: 22px; padding: 24px; border-radius: 22px; background: linear-gradient(135deg, var(--brand-strong), var(--brand) 60%, #22c3b3); color: #fff; box-shadow: 0 14px 30px rgba(15, 155, 142, .28); max-width: 560px; }
.price-label { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.price-range { font-size: clamp(38px, 9vw, 52px); font-weight: 800; line-height: 1.05; margin: 4px 0 10px; letter-spacing: -.02em; }
.price-range small { font-size: 16px; font-weight: 700; opacity: .85; letter-spacing: 0; }
.page-hero .price-card p { color: #fff; opacity: .92; margin-bottom: 16px; }
.price-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.factor-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.factor-list div { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.factor-list .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; }
.factor-list span { color: var(--ink-soft); font-size: 14px; }
@media (max-width: 600px) { .factor-list { grid-template-columns: 1fr; } .factor-list div { display: grid; grid-template-columns: 34px 1fr; } .factor-list .icon { grid-row: span 2; margin: 2px 0 0; } }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.included li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.included .icon { color: var(--success); width: 22px; height: 22px; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .program-grid { grid-template-columns: 1fr; } }
.program-card { display: flex; flex-direction: column; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.program-card h3 { font-size: 18px; font-weight: 800; margin: 2px 0 8px; }
.program-card ul { margin: 0 0 14px; padding-left: 18px; color: var(--ink-soft); font-size: 14px; flex: 1; }
.program-card .tag { align-self: flex-start; margin-bottom: 4px; }
.fine-print { font-size: 13px; margin-top: 14px; }

@media (max-width: 600px) {
    .hero { padding: 28px 0 24px; }
    .hero h1 { font-size: 31px; }
    .hero p.lead { font-size: 16px; }
    .hero-actions .btn { flex: 1; }
    .hero .preview-card { display: none; }
    .page-hero h1 { font-size: 28px; }
    .page-hero p { font-size: 16px; }
    .cta-band { padding: 26px 22px; }
    .cta-band h2 { font-size: 22px; }
    .section-cta { padding-bottom: 32px; }
}

/* ---------- Mobile bottom bar + menu sheet (public pages) ---------- */
.site-tabbar, .menu-toggle, .menu-backdrop, .menu-sheet { display: none; }
@media (max-width: 900px) {
    body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
    /* The menu lives in the bottom bar on phones. */
    .site-header .nav-toggle-label, .site-header .nav { display: none !important; }
    .site-header .container { height: 60px; }

    .site-tabbar { display: grid; grid-template-columns: repeat(4, 1fr) 1.25fr; align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 7px 6px calc(8px + env(safe-area-inset-bottom)); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
    .site-tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; margin: 0; font-size: 11px; font-weight: 700; color: var(--muted); text-decoration: none; cursor: pointer; }
    .site-tabbar .tab .icon { width: 24px; height: 24px; }
    .site-tabbar .tab.active { color: var(--brand-strong); }
    .site-tabbar .tab-home-icon { width: 46px; height: 46px; margin-top: -20px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(16, 36, 58, .10); }
    .site-tabbar .tab-home.active .tab-home-icon { background: var(--brand-soft); border-color: var(--brand); }
    .site-tabbar .tab-login { justify-content: center; align-self: center; }
    .site-tabbar .tab-login-pill { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), #22c3b3); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 6px 16px rgba(15, 155, 142, .35); white-space: nowrap; }
    .site-tabbar .tab-login-pill .icon { width: 19px; height: 19px; }

    .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(16, 36, 58, .45); opacity: 0; pointer-events: none; transition: opacity .2s; margin: 0; }
    .menu-sheet { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .25s ease; box-shadow: 0 -10px 30px rgba(16, 36, 58, .18); }
    .menu-toggle:checked ~ .menu-backdrop { opacity: 1; pointer-events: auto; }
    .menu-toggle:checked ~ .menu-sheet { transform: none; }
    .menu-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 10px; font-size: 18px; }
    .menu-close { display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 50%; background: var(--bg); cursor: pointer; }
    .menu-link { display: flex; align-items: center; gap: 12px; padding: 14px 6px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none !important; }
    .menu-link .icon { width: 22px; height: 22px; color: var(--brand); }
    .menu-link .chev { margin-left: auto; color: var(--muted); width: 18px; height: 18px; }
    .menu-link.active { color: var(--brand-strong); }
    .menu-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
}


/* ---------- Legal text (KVKK) ---------- */
.legal-text ul { padding-left: 20px; color: var(--ink-soft); }
.legal-text p { color: var(--ink-soft); }
.footer-bottom a { display: inline; }

/* ---------- Teacher photo slot + home quick tiles ---------- */
.teacher-photo { flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #eef2f6; border: 2px dashed #cfd8e3; color: #a3b1c2; }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-photo:has(img) { border: 0; }
.teacher-photo-md { width: 64px; height: 64px; }
.teacher-photo-lg { width: 76px; height: 76px; }
.teacher-photo .icon { width: 55%; height: 55%; }

.quick-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 8px; }
.quick-tiles a { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.quick-tiles a:hover { border-color: var(--brand); transform: translateY(-2px); }
.quick-tiles .icon { width: 26px; height: 26px; color: var(--brand); margin-bottom: 6px; }
.quick-tiles strong { font-size: 16px; font-weight: 800; }
.quick-tiles span { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .quick-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } .quick-tiles a { padding: 14px; } }

/* ---------- Login (Öğrenci Takip Sistemi) ---------- */
.login-page { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 16px; background: radial-gradient(circle at 90% 0, #d6f3ee 0, transparent 40%), var(--bg); }
.login-shell { width: 100%; max-width: 940px; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 50px rgba(16, 36, 58, .10); overflow: hidden; }
.login-brand-mobile { display: none; }
.login-brand { padding: 44px 40px; color: #fff; background: radial-gradient(circle at 100% 100%, rgba(255, 255, 255, .14) 0, transparent 45%), linear-gradient(150deg, var(--brand-strong), var(--brand) 55%, #22c3b3); }
.login-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; }
.login-badge .icon { width: 18px; height: 18px; }
.login-brand h1 { font-size: 34px; font-weight: 800; margin: 22px 0 8px; color: #fff; }
.login-brand p { opacity: .9; font-size: 16px; }
.login-brand ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.login-brand li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.login-brand li .icon { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .16); }
.login-card { padding: 40px; }
.login-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.login-roles { display: flex; gap: 6px; margin-bottom: 22px; }
.login-roles span { font-size: 12.5px; font-weight: 700; color: var(--brand-strong); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 44px; height: 50px; border-radius: 12px; }
.input-icon .input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 155, 142, .12); outline: none; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--brand-strong); background: var(--brand-soft); }
.pw-toggle .icon { width: 20px; height: 20px; }
.input-icon:has(.pw-toggle) .input { padding-right: 48px; }
.login-remember { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 4px 0 18px; }
.login-submit { height: 50px; font-size: 16px; border-radius: 12px; }
.login-help { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.login-help a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.login-help .icon { width: 16px; height: 16px; }
.login-farewell { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 20px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; animation: wave-in .4s ease-out; }
.login-farewell > span { font-size: 28px; line-height: 1; }
.login-farewell strong { display: block; }
.login-farewell small { color: var(--ink-soft); font-size: 14px; }
@keyframes wave-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
    .login-page { padding: 18px 12px 32px; place-items: start center; }
    .login-shell { grid-template-columns: 1fr; border-radius: 20px; }
    .login-brand { padding: 24px 22px; }
    .login-brand > :not(.login-brand-mobile) { display: none; }
    .login-brand-mobile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
    .login-brand-mobile .logo-mark { width: 56px; height: 56px; border-radius: 16px; font-size: 28px; background: #fff; color: var(--brand-strong); margin-bottom: 8px; box-shadow: 0 8px 20px rgba(6, 60, 55, .25); }
    .login-brand-mobile strong { font-size: 22px; font-weight: 800; }
    .login-brand-mobile > span:last-child { font-size: 15px; font-weight: 600; opacity: .9; }
    .login-card { padding: 24px 22px; }
}

/* Tab bar: stacked "Öğrenci Takip Sistemi" pill when signed in */
.tab-login-pill-stack { font-size: 11px !important; line-height: 1.15; padding: 7px 11px !important; text-align: left; }

/* Login: desktop preview of the panel (hidden on phones) */
.login-preview { position: relative; margin-top: 30px; padding-bottom: 58px; }
.lp-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 14px; box-shadow: 0 14px 30px rgba(6, 60, 55, .30); transform: rotate(-1.5deg); }
.lp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.lp-head span { font-size: 12px; font-weight: 800; color: var(--brand-strong); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; }
.lp-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 10px; margin-top: 6px; font-size: 13px; }
.lp-row b { flex: 1; }
.lp-tag { font-size: 11px; font-weight: 800; color: #2563eb; background: #dbeafe; padding: 2px 7px; border-radius: 6px; }
.lp-tag-2 { color: #7c3aed; background: #ede9fe; }
.lp-tag-3 { color: #c2410c; background: #ffedd5; }
.lp-ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--success); border: 1.5px solid currentColor; }
.lp-ok .icon { width: 13px; height: 13px; }
.lp-video { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--brand); padding: 4px 8px; border-radius: 999px; }
.lp-video .icon { width: 14px; height: 14px; }
.lp-note { position: absolute; right: -12px; bottom: 0; display: flex; align-items: center; gap: 10px; max-width: 290px; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 14px; padding: 10px 12px; box-shadow: 0 12px 26px rgba(6, 60, 55, .30); transform: rotate(1deg); }
.lp-note-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
.lp-note-icon .icon { width: 18px; height: 18px; }
.lp-note strong { display: block; font-size: 13px; }
.lp-note small { color: var(--ink-soft); font-size: 12px; }
@media (max-width: 760px) { .login-preview { display: none; } }

/* ---------- Kaynaklarımız: downloadable files ---------- */
.file-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 760px) { .file-list { grid-template-columns: 1fr; } }
.file-row { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.file-row:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.file-ext { flex: none; width: 48px; height: 56px; border-radius: 10px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--brand-strong); background: var(--brand-soft); }
.file-ext-pdf { color: #b91c1c; background: #fee2e2; }
.file-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file-info strong { font-size: 15.5px; }
.file-info small { color: var(--ink-soft); font-size: 13.5px; }
.file-info em { font-style: normal; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.file-get { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 800; }
.file-get .icon { width: 17px; height: 17px; }
@media (max-width: 420px) { .file-get span { display: none; } .file-get { padding: 9px; } }
.empty-files { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 48px 16px; border: 2px dashed var(--line); border-radius: 20px; background: var(--surface); }
.empty-files .icon { width: 44px; height: 44px; color: var(--brand); }
.empty-files strong { font-size: 18px; }
.empty-files p { margin: 0; }

/* ---------- Derslerimiz: price card points + coaching ---------- */
.price-points { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.price-points li { position: relative; padding-left: 22px; font-size: 15px; opacity: .95; }
.price-points li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.block-lead { margin: -6px 0 14px; max-width: 640px; }
.program-card-coach { border-color: #fcd9b6; background: linear-gradient(180deg, #fff8f1, #fff 60%); }
.program-card-coach h3 { display: flex; align-items: center; gap: 6px; }
.program-card-coach h3 .icon { width: 20px; height: 20px; color: var(--accent); }

/* ---------- Header: main tabs + "Menü" side drawer (computers) ---------- */
.nav-more { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 4px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 700; font-size: 15px; cursor: pointer; }
.nav-more:hover { color: var(--brand-strong); border-color: var(--brand); }
.nav-more .icon { width: 18px; height: 18px; }
.menu-more { margin-top: 6px; padding-top: 6px; border-top: 6px solid var(--bg); }
.menu-more .menu-link { font-size: 15px; font-weight: 600; padding: 11px 6px; color: var(--ink-soft); }
.menu-more .menu-link:first-child { border-top: 0; }
@media (min-width: 901px) {
    .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(16, 36, 58, .4); opacity: 0; pointer-events: none; transition: opacity .2s; margin: 0; }
    .menu-sheet { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 360px; z-index: 80; background: #fff; padding: 16px 20px; overflow-y: auto; transform: translateX(105%); transition: transform .25s ease; box-shadow: -10px 0 30px rgba(16, 36, 58, .18); }
    .menu-toggle:checked ~ .menu-backdrop { opacity: 1; pointer-events: auto; }
    .menu-toggle:checked ~ .menu-sheet { transform: none; }
    .menu-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 12px; font-size: 18px; }
    .menu-close { display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 50%; background: var(--bg); cursor: pointer; }
    .menu-link { display: flex; align-items: center; gap: 12px; padding: 13px 6px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none !important; }
    .menu-link .icon { width: 22px; height: 22px; color: var(--brand); }
    .menu-link .chev { margin-left: auto; color: var(--muted); width: 18px; height: 18px; }
    .menu-link:hover, .menu-link.active { color: var(--brand-strong); }
    .menu-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 16px; }
}
@media (max-width: 900px) {
    .menu-sheet { max-height: 88vh; overflow-y: auto; }
}


/* ---------- Biz Kimiz + Öğretmen Ol ---------- */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .mission-grid { grid-template-columns: 1fr; } }
.mission-card { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mission-card:first-child { background: linear-gradient(160deg, var(--brand-soft), #fff 70%); }
.mission-card:last-child { background: linear-gradient(160deg, #fff4e8, #fff 70%); }
.mission-card h2 { font-size: 22px; font-weight: 800; margin: 12px 0 6px; }
.mission-card p { color: var(--ink-soft); margin: 0; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.teach-grid { align-items: start; gap: 28px; }
.teach-grid .included { margin-bottom: 8px; }
.teach-direct { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.teach-direct span { font-size: 14px; color: var(--muted); }
.teach-direct .btn svg { width: 18px; height: 18px; }
.teacher-meta b { font-weight: inherit; }

/* ---------- Reviews: endless marquee on home + masonry list page ---------- */
.reviews-section { overflow: hidden; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.reviews-head h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 0 0 4px; }
.reviews-head p { margin: 0; }
.reviews-head .btn { flex: none; }
/* On a computer the gliding reviews stay inside the page column like everything else (on phones they run edge to edge). */
.review-marquee { max-width: calc(var(--max) - 32px); margin-inline: auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.review-track { display: flex; gap: 16px; width: max-content; padding: 6px 0 10px; animation: review-scroll calc(var(--count) * 7s) linear infinite; }
.review-marquee:hover .review-track, .review-marquee:focus-within .review-track { animation-play-state: paused; }
.review-track .testimonial { width: 340px; flex: none; }
.review-track .testimonial blockquote { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes review-scroll { to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 600px) { .review-track .testimonial { width: 280px; } }
@media (prefers-reduced-motion: reduce) {
    .review-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .review-track { animation: none; padding-left: 16px; }
    .review-track [aria-hidden="true"] { display: none; }
}
.reviews-grid { columns: 3 300px; column-gap: 16px; }
.reviews-grid .testimonial { break-inside: avoid; margin-bottom: 16px; }

/* ---------- SSS categories ---------- */
.faq-cats { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 8px; padding: 2px 16px 8px; }
.faq-cats a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none !important; }
.faq-cats a:hover { border-color: var(--brand); color: var(--brand-strong); }
.faq-cats small { font-size: 11.5px; font-weight: 800; color: var(--brand-strong); background: var(--brand-soft); border-radius: 999px; padding: 1px 7px; }
.faq-cat-title { scroll-margin-top: 84px; }
