/* ============ İlk Dersim — tasarım sistemi (sade, klasik, düz) ============ */
:root {
  color-scheme: light;
  --bg: #f8f8fc;
  --surface: #ffffff;
  --surface-2: #f4f3fa;
  --lav: #f0edff;
  --mint: #e8f8f4;
  --peach: #fff0e7;
  --line: #e9e9f1;
  --line-2: #dedbf3;
  --text: #262743;
  --muted: #77798d;
  --primary: #6855d9;
  --primary-2: #5140bc;
  --primary-soft: #f0edff;
  --teal: #45bdb1;
  --on-primary: #ffffff;
  --ring: rgba(104, 85, 217, .3);
  --hero-bg: linear-gradient(115deg, #eeedff, #f5f0ff 55%, #e8f8f4);
  --shadow-pop: 0 18px 50px -20px rgba(38, 39, 67, .35);
  --g1: #f08a3c; --g2: #2fae9f; --g3: #4b8fe8; --g4: #e0679f;
  --ok: #1f9d6b; --danger: #e0445e; --warn: #d98a1c;
  --r-sm: 10px; --r: 14px; --r-lg: 18px; --r-xl: 26px;
  --pad: clamp(12px, 3vw, 32px);
  --max: 1240px;
  --top-h: 74px;
  --f: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --media-accent: var(--primary);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171724; --surface: #202031; --surface-2: #27273b; --lav: #2b2843; --mint: #1d302f; --peach: #33292f;
  --line: #34344a; --line-2: #403d5e; --text: #f0eff8; --muted: #aaa9bc;
  --primary: #a99af8; --primary-2: #8e7bea; --primary-soft: #2e2a48; --teal: #5dc8bd; --on-primary: #17152b;
  --ring: rgba(169, 154, 248, .35);
  --hero-bg: linear-gradient(115deg, #25223d, #2a2442 55%, #1d2f30);
  --shadow-pop: 0 24px 60px -20px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #171724; --surface: #202031; --surface-2: #27273b; --lav: #2b2843; --mint: #1d302f; --peach: #33292f;
    --line: #34344a; --line-2: #403d5e; --text: #f0eff8; --muted: #aaa9bc;
    --primary: #a99af8; --primary-2: #8e7bea; --primary-soft: #2e2a48; --teal: #5dc8bd; --on-primary: #17152b;
    --ring: rgba(169, 154, 248, .35);
    --hero-bg: linear-gradient(115deg, #25223d, #2a2442 55%, #1d2f30);
    --shadow-pop: 0 24px 60px -20px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 600 16px/1.6 var(--f);
  color: var(--text);
  background: var(--bg);
  display: grid;
  grid-template-rows: auto auto 1fr;
  height: 100dvh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 900; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--primary); color: var(--on-primary); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.eyebrow { color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Duyuru ---------- */
.announce { background: var(--primary); color: #fff; text-align: center; font-size: 13.5px; font-weight: 800; padding: 7px 40px; position: relative; }
.announce button { position: absolute; right: 8px; top: 50%; translate: 0 -50%; background: none; border: 0; color: #fff; opacity: .85; font-size: 18px; line-height: 1; padding: 4px 8px; }

/* ---------- Üst bar ---------- */
.topbar { position: relative; z-index: 20; background: color-mix(in oklab, var(--surface) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar__in { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); height: var(--top-h); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; transition: transform .35s var(--ease); }
.brand:hover img { transform: rotate(-6deg); }
.brand__copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-size: 21px; font-weight: 900; letter-spacing: -.02em; }
.brand__name em { font-style: normal; color: var(--primary); }
.brand__url { font-size: 11.5px; font-weight: 800; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; font-weight: 800; font-size: 14.5px; color: var(--muted); transition: color .2s, background .2s; white-space: nowrap; position: relative; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.is-active { color: var(--primary); }
.nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); }
.topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .topbar__actions { margin-left: 0; }
.auth { display: flex; align-items: center; gap: 8px; }
.auth--stack { flex-direction: column; align-items: stretch; }
.auth__link { font-weight: 800; font-size: 14.5px; padding: 8px 10px; color: var(--text); border-radius: 10px; }
.auth__link:hover { color: var(--primary); }
.auth__me { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.auth__me b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 13px; }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.theme-btn .i-moon, .t-light { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun, :root[data-theme="dark"] .t-dark { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon, :root[data-theme="dark"] .t-light { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun, :root:not([data-theme="light"]) .t-dark { display: none; }
  :root:not([data-theme="light"]) .theme-btn .i-moon, :root:not([data-theme="light"]) .t-light { display: inline; }
}
.burger { display: none; gap: 4px; align-content: center; justify-items: center; }
.burger span { display: block; width: 18px; height: 2.4px; border-radius: 2px; background: currentColor; transition: .3s var(--ease); }

/* ---------- Hamburger menü ---------- */
.menu { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(380px, 100%); border: 0; padding: 0; background: var(--surface); color: var(--text); border-left: 1px solid var(--line); }
.menu::backdrop { background: rgba(23, 23, 36, .45); backdrop-filter: blur(3px); }
.menu[open] { animation: menu-in .35s var(--ease); }
@keyframes menu-in { from { transform: translateX(30px); opacity: 0; } }
.menu__in { display: flex; flex-direction: column; height: 100%; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); gap: 16px; overflow-y: auto; }
.menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.menu__nav { display: flex; flex-direction: column; gap: 2px; }
.menu__nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-weight: 800; font-size: 16.5px; transition: background .2s; }
.menu__nav a i { font-style: normal; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); font-size: 17px; }
.menu__nav a:hover, .menu__nav a.is-active { background: var(--primary-soft); color: var(--primary); }
.menu__grades { padding: 14px; border-radius: var(--r); background: var(--surface-2); }
.menu__grades span { font-size: 13px; font-weight: 800; color: var(--muted); }
.menu__grades div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.menu__grades a { height: 46px; display: grid; place-items: center; border-radius: 12px; font-weight: 900; font-size: 19px; background: var(--surface); border: 1px solid var(--line); color: var(--c); }
.menu__grades a:hover { background: var(--c); color: #fff; border-color: var(--c); }
.menu__foot { margin-top: auto; display: grid; gap: 10px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 13px; border: 1px solid transparent;
  font-weight: 900; font-size: 15px; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-2); }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--primary); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn--icon { width: 46px; padding: 0; flex-shrink: 0; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; pointer-events: none; }

/* ---------- Ana alan & sayfa geçişleri ---------- */
#app { overflow-y: auto; overflow-x: hidden; outline: none; overscroll-behavior: contain; position: relative; }
.page { padding-block: clamp(16px, 3vw, 32px) clamp(28px, 5vw, 48px); }

::view-transition-old(page) { animation: vt-out .2s var(--ease) both; }
::view-transition-new(page) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
#app > * { view-transition-name: page; }
.no-vt #app > * { animation: vt-in .38s var(--ease) both; }
.vt-theme ::view-transition-old(page), .vt-theme ::view-transition-new(page) { animation: none; }
.vt-theme ::view-transition-old(root) { animation: .4s var(--ease) both fade-out; }
@keyframes fade-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(page), ::view-transition-new(page), .no-vt #app > * { animation: none; }
}
.loader { display: grid; place-items: center; height: 100%; min-height: 50vh; }
.loader span { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--primary-soft); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- ANA SAYFA (kaydırmasız) ---------- */
.home { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: clamp(12px, 2vh, 20px); padding-block: clamp(12px, 2.6vh, 28px) clamp(12px, 2.4vh, 24px); }
.hero {
  position: relative; overflow: hidden; isolation: isolate; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(20px, 3.4vw, 48px);
  padding: clamp(20px, 3.6vh, 44px) clamp(20px, 3.4vw, 46px);
  border-radius: var(--r-xl); background: var(--hero-bg); border: 1px solid var(--line);
}
.hero::before { content: "✦"; position: absolute; z-index: -1; left: 50%; top: 6%; font-size: 64px; color: color-mix(in oklab, var(--primary) 18%, transparent); }
.hero__copy { display: flex; flex-direction: column; gap: clamp(8px, 1.6vh, 14px); min-width: 0; }
.hero h1 { font-size: clamp(32px, 2.6vw + 2vh, 64px); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 span { color: var(--primary); }
.hero__lead { font-size: clamp(15px, .4vw + 1vh, 18px); color: var(--muted); max-width: 54ch; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.hero__grades { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero__grades small { font-size: 12.5px; font-weight: 800; color: var(--muted); margin-right: 2px; }
.gpill { --c: var(--g1); display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 900; background: var(--surface); border: 1px solid var(--line); transition: .2s; }
.gpill b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 11.5px; }
.gpill:hover { border-color: var(--c); color: var(--c); }
.hero__visual { position: relative; height: 100%; min-height: 0; display: flex; align-items: center; }
.hero__photo { width: 100%; height: min(100%, 440px); object-fit: cover; border-radius: 22px; border: 6px solid var(--surface); }
.hero__badge { position: absolute; left: -14px; bottom: 12%; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 800; line-height: 1.25; }
.hero__badge img { width: 38px; height: 38px; }
.hero__badge small { display: block; color: var(--muted); font-weight: 700; }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.flow-card {
  display: flex; flex-direction: column; gap: 6px; padding: clamp(12px, 1.8vh, 18px) clamp(14px, 1.4vw, 20px);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease);
}
.flow-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.flow-card__top { display: flex; align-items: center; gap: 8px; }
.flow-card__no { font-size: 12px; font-weight: 900; padding: 3px 8px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); }
.flow-card__label { font-size: 11.5px; font-weight: 900; letter-spacing: .14em; color: var(--muted); }
.flow-card h3 { font-size: clamp(15.5px, 1vw + .3vh, 18px); line-height: 1.25; }
.flow-card p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.flow-card__go { margin-top: auto; font-size: 13px; font-weight: 900; color: var(--primary); }

/* ---------- Sayfa başlıkları ---------- */
.phead { padding: clamp(22px, 4vw, 40px); border-radius: var(--r-xl); background: var(--hero-bg); border: 1px solid var(--line); margin-bottom: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.phead h1 { font-size: clamp(28px, 4vw, 46px); margin-top: 6px; }
.phead h1 span { color: var(--primary); }
.phead p { color: var(--muted); margin-top: 8px; max-width: 62ch; font-size: clamp(15px, 1.3vw, 17px); }
.phead__art { font-size: clamp(54px, 7vw, 90px); line-height: 1; }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 800; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--primary); }

.sec { margin-top: clamp(26px, 4vw, 44px); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec__head h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 4px; }
.sec__head p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.sec__head--center { flex-direction: column; align-items: center; text-align: center; }

/* Sınıf seçici kartlar */
.gcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 14px); }
.gcard {
  --c: var(--g1); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px;
  padding: clamp(14px, 2vw, 20px); border-radius: var(--r-lg); border: 1.5px solid var(--line);
  background: color-mix(in oklab, var(--c) 9%, var(--surface)); transition: border-color .2s, transform .25s var(--ease);
}
.gcard:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--c) 60%, var(--line)); }
.gcard.is-active { border-color: var(--c); background: color-mix(in oklab, var(--c) 16%, var(--surface)); }
.gcard__emoji { position: absolute; right: 12px; top: 10px; font-size: clamp(26px, 3vw, 40px); }
.gcard small { font-size: 12px; font-weight: 800; color: var(--muted); }
.gcard strong { font-size: clamp(18px, 2vw, 24px); font-weight: 900; color: var(--c); }
.gcard span { font-size: 13px; font-weight: 900; color: var(--text); margin-top: 4px; }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { --c: var(--primary); display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: 14px; transition: .2s; }
.chip:hover { border-color: var(--c); color: var(--c); }
.chip.is-active { background: var(--c); border-color: var(--c); color: #fff; }
.field-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); min-width: min(300px, 100%); }
.field-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.field-search input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; font-weight: 700; }

/* ---------- Ders kartları ---------- */
.grid { display: grid; gap: clamp(10px, 1.6vw, 18px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.lcard { --c: var(--primary); display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.lcard:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--c) 55%, var(--line)); }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in oklab, var(--c) 14%, var(--surface)); display: grid; place-items: center; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb__emoji { font-size: clamp(40px, 5vw, 58px); transition: transform .4s var(--ease); }
.lcard:hover .thumb__emoji { transform: scale(1.1) rotate(-5deg); }
.thumb__play { position: absolute; inset: 0; margin: auto; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; opacity: 0; scale: .8; transition: .25s var(--ease); }
.lcard:hover .thumb__play { opacity: 1; scale: 1; }
.badge { position: absolute; font: 900 11.5px/1 var(--f); padding: 6px 9px; border-radius: 8px; background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.badge--dur { right: 10px; bottom: 10px; }
.badge--grade { left: 10px; top: 10px; color: var(--c); }
.lcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.lcard__sub { font-size: 12px; font-weight: 900; color: var(--c); letter-spacing: .06em; text-transform: uppercase; }
.lcard h3 { font-size: 17.5px; font-weight: 900; line-height: 1.3; }
.lcard p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.empty { text-align: center; padding: 40px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); background: var(--surface); }
.empty img { width: 76px; margin: 0 auto 10px; }
.empty strong { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }

/* Adımlar */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-weight: 900; margin-bottom: 10px; }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }
.cta-band { margin-top: clamp(26px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-xl); background: var(--hero-bg); border: 1px solid var(--line); }
.cta-band h3 { font-size: clamp(20px, 2.2vw, 26px); }
.cta-band p { color: var(--muted); margin-top: 4px; }

/* Materyaller */
.mlist { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.mcard { --c: var(--primary); display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.mcard__ico { width: 54px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--c) 14%, var(--surface)); color: var(--c); font-size: 12px; font-weight: 900; position: relative; }
.mcard__ico::before { content: attr(data-emoji); font-size: 22px; position: absolute; top: 8px; }
.mcard__ico span { position: absolute; bottom: 7px; }
.mcard h3 { font-size: 16.5px; line-height: 1.3; }
.mcard p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.mcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mcard__meta small { font-size: 12.5px; font-weight: 800; color: var(--muted); }

/* ---------- Ders sayfası ---------- */
.lesson { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(16px, 2.4vw, 30px); align-items: start; }
.player { border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.player video-player, .player video-skin { display: block; width: 100%; height: 100%; }
.player video { width: 100%; height: 100%; }
.player iframe { width: 100%; height: 100%; border: 0; }
.lesson__head { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.lesson__head h1 { font-size: clamp(26px, 3.2vw, 38px); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { --c: var(--primary); display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 800; background: color-mix(in oklab, var(--c) 12%, var(--surface)); color: var(--c); }
.lesson__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.prose { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 26px); font-size: 16.5px; }
.prose h2 { font-size: 21px; margin: 18px 0 8px; color: var(--primary); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 6px 0; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--primary); }
.prose p + p { margin-top: 10px; }
.side { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; }
.side h3 { font-size: 19px; margin-bottom: 4px; }
.side .list { display: grid; gap: 10px; }
.mini { --c: var(--primary); display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.mini:hover { border-color: var(--c); }
.mini .thumb { border-radius: 10px; }
.mini .thumb__emoji { font-size: 28px; }
.mini strong { font-size: 15px; line-height: 1.25; display: block; }
.mini span { font-size: 12.5px; color: var(--muted); font-weight: 700; }

/* ---------- Bilgi / form sayfaları ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 30px); align-items: start; }
.two--wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.card { padding: clamp(18px, 3vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.card h2 { font-size: clamp(21px, 2.2vw, 26px); margin-bottom: 6px; }
.card > p { color: var(--muted); }
.stack { display: grid; gap: 12px; }
.tip { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tip i { font-style: normal; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); font-size: 20px; }
.tip h3 { font-size: 16.5px; }
.tip p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--peach); font-size: 14px; font-weight: 700; line-height: 1.5; }
.note--lav { background: var(--lav); }
.checks { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.checks li::before { content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--teal); font-weight: 900; font-size: 13px; margin-top: 1px; }

.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label.f { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
label.f small { font-weight: 700; color: var(--muted); }
.input, label.f input:not([type="checkbox"]), label.f textarea, label.f select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface);
  font-weight: 600; outline: none; transition: border-color .2s, box-shadow .2s;
}
label.f textarea { min-height: 130px; resize: vertical; }
.input:focus, label.f input:focus, label.f textarea:focus, label.f select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 700; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.form__err { color: var(--danger); font-weight: 800; font-size: 14px; min-height: 1.2em; }
.success { text-align: center; padding: 28px 12px; }
.success div { font-size: 52px; }
.success h3 { font-size: 22px; margin: 6px 0; }
.success p { color: var(--muted); }
.upload-box { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px dashed var(--line-2); border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--muted); }
.upload-box img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }

/* Eğitmenler */
.teachers { display: grid; gap: clamp(14px, 2vw, 20px); }
.teacher { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); padding: clamp(14px, 2.4vw, 22px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); align-items: start; }
.teacher:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(200px, 300px); }
.teacher:nth-child(even) .teacher__photo { order: 2; }
.teacher__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); background: var(--surface-2); }
.teacher__role { font-size: 12.5px; font-weight: 900; color: var(--primary); letter-spacing: .04em; }
.teacher h2 { font-size: clamp(26px, 3vw, 34px); margin: 4px 0 10px; }
.teacher__bio p { color: var(--muted); font-size: 15.5px; }
.teacher__bio p + p { margin-top: 10px; }
.teacher__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.teacher__tags span { font-size: 13px; font-weight: 800; padding: 6px 11px; border-radius: 999px; background: var(--mint); color: var(--teal); }
.avatars { display: flex; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }

/* Giriş / Kayıt */
.auth-page { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: stretch; padding-block: clamp(14px, 3vh, 32px); }
.auth-art { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--hero-bg); border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.auth-art h1 { font-size: clamp(28px, 3.4vw, 44px); margin-top: 8px; }
.auth-art h1 span { color: var(--primary); }
.auth-art p { color: var(--muted); margin-top: 8px; }
.auth-art img.photo { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--r-lg); border: 6px solid var(--surface); }
.auth-form { display: flex; align-items: center; justify-content: center; }
.auth-form .card { width: min(460px, 100%); }
.auth-form h2 { font-size: 28px; }
.auth-alt { text-align: center; font-size: 14.5px; color: var(--muted); font-weight: 700; }
.auth-alt a { color: var(--primary); font-weight: 900; }

/* Hesabım */
.qlist { display: grid; gap: 12px; }
.qitem { padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }
.qitem header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 800; color: var(--muted); }
.qitem p { white-space: pre-wrap; }
.qitem .answer { padding: 12px 14px; border-radius: 12px; background: var(--mint); border-left: 4px solid var(--teal); }
.qitem .answer b { display: block; font-size: 13px; color: var(--teal); margin-bottom: 4px; }
.status { font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 999px; }
.status--on { background: color-mix(in oklab, var(--ok) 14%, transparent); color: var(--ok); }
.status--wait { background: color-mix(in oklab, var(--warn) 14%, transparent); color: var(--warn); }
.status--off { background: var(--surface-2); color: var(--muted); }

/* ---------- Altbilgi ---------- */
.footer { margin-top: clamp(30px, 5vw, 56px); border-top: 1px solid var(--line); background: var(--surface); }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding-block: 32px 18px; }
.footer p { color: var(--muted); font-size: 14.5px; margin-top: 10px; max-width: 42ch; }
.footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.footer nav { display: grid; gap: 8px; font-weight: 800; font-size: 14.5px; }
.footer nav a:hover { color: var(--primary); }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 14px 20px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- Arama ---------- */
.search { border: 0; padding: 0; background: transparent; width: min(660px, calc(100% - 24px)); max-height: min(70dvh, 620px); margin: 10vh auto auto; overflow: visible; }
.search::backdrop { background: rgba(23, 23, 36, .45); backdrop-filter: blur(4px); }
.search[open] { animation: pop .28s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.search__box { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); color: var(--muted); }
.search__box input { flex: 1; border: 0; outline: 0; background: none; font-size: 18px; font-weight: 700; color: var(--text); min-width: 0; }
.search kbd { font: 800 12px var(--f); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); }
.search__results { margin-top: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); max-height: calc(min(70dvh, 620px) - 80px); overflow: auto; padding: 8px; display: grid; gap: 4px; }
.search__results:empty { display: none; }
.search__results .mini { border-color: transparent; }
.search__results .mini:hover, .search__results .mini.is-sel { background: var(--surface-2); border-color: var(--line); }
.search__results .hint { padding: 18px; text-align: center; color: var(--muted); }

/* ---------- Sohbet asistanı ---------- */
.chat-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 60px; height: 60px; border-radius: 20px; border: 0; background: var(--primary); display: grid; place-items: center; box-shadow: 0 10px 26px -10px var(--primary); transition: transform .25s var(--ease); }
.chat-fab:hover { transform: scale(1.06) rotate(-5deg); }
.chat-fab img { width: 44px; height: 44px; }
.chat-open .chat-fab { opacity: 0; pointer-events: none; }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100dvh - 36px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); transform-origin: bottom right; animation: chat-in .35s var(--ease); }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(.95); } }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: var(--primary); color: #fff; }
.chat__head .icon-btn { background: rgba(255, 255, 255, .16); border-color: transparent; color: #fff; width: 34px; height: 34px; }
.chat__avatar { background: rgba(255, 255, 255, .2); border-radius: 12px; padding: 2px; }
.chat__who { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.chat__who strong { font-size: 17px; font-weight: 900; }
.chat__who span { font-size: 12px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5ee3a1; display: inline-block; }
.chat__ctx { margin: 10px 12px 0; padding: 8px 12px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.chat__ctx button { margin-left: auto; background: none; border: 0; color: inherit; font-size: 16px; }
.chat__grades { display: flex; align-items: center; gap: 6px; padding: 10px 14px 0; font-size: 13px; font-weight: 800; color: var(--muted); }
.chat__grades button { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); font-weight: 900; }
.chat__grades button.is-active { background: var(--c); border-color: var(--c); color: #fff; }
.chat__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; animation: msg-in .25s var(--ease); word-wrap: break-word; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.msg--bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 5px; }
.msg--me { align-self: flex-end; background: var(--primary); color: var(--on-primary); border-bottom-right-radius: 5px; }
.msg ul, .msg ol { margin: 4px 0; padding-left: 20px; }
.msg p + p { margin-top: 6px; }
.msg h2 { font-size: 15.5px; margin: 6px 0 2px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-3px); } }
.chat__suggest { display: flex; gap: 8px; padding: 0 14px 10px; overflow-x: auto; scrollbar-width: none; }
.chat__suggest::-webkit-scrollbar { display: none; }
.chat__suggest button { flex-shrink: 0; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; font-weight: 800; color: var(--primary); }
.chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat__form textarea { flex: 1; resize: none; max-height: 120px; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--surface); outline: none; font-weight: 600; }
.chat__form textarea:focus { border-color: var(--primary); }
.chat__note { font-size: 11px; color: var(--muted); text-align: center; padding: 0 12px 10px; }

.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; z-index: 80; padding: 12px 18px; border-radius: 13px; background: var(--text); color: var(--bg); font-weight: 800; font-size: 14.5px; opacity: 0; pointer-events: none; transition: .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ============ Duyarlı düzen ============ */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
}
@media (max-width: 980px) {
  .lesson { grid-template-columns: 1fr; }
  .side { position: static; }
  .side .list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
  .two, .two--wide { grid-template-columns: 1fr; }
  .teacher, .teacher:nth-child(even) { grid-template-columns: 1fr; }
  .teacher:nth-child(even) .teacher__photo { order: 0; }
  .teacher__photo { aspect-ratio: 4 / 3; max-height: 360px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art .photo { display: none; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__in > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --top-h: 62px; }
  .hide-md { display: none !important; }
  .brand img { width: 38px; height: 38px; }
  .brand__name { font-size: 19px; }
  .brand__url { font-size: 10.5px; }

  .home { gap: 10px; padding-block: 10px 12px; }
  .hero { grid-template-columns: 1fr; align-content: center; padding: 20px 16px; border-radius: 22px; gap: 14px; }
  .hero::before { display: none; }
  .hero__visual { display: none; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 42px); }
  .hero__lead { font-size: 15px; }
  .hero__ctas .btn { flex: 1; min-height: 44px; padding: 0 12px; font-size: 14px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .flow-card { padding: 12px; border-radius: 16px; gap: 4px; }
  .flow-card p, .flow-card__go { display: none; }
  .flow-card h3 { font-size: 14.5px; }

  .phead { grid-template-columns: 1fr; border-radius: 22px; padding: 20px 16px; }
  .phead__art { display: none; }
  .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lcard { border-radius: 16px; }
  .lcard__body { padding: 10px 11px 12px; gap: 3px; }
  .lcard h3 { font-size: 15px; }
  .lcard p { display: none; }
  .lcard__sub { font-size: 10.5px; }
  .badge { font-size: 10.5px; padding: 5px 7px; }
  .badge--grade { left: 7px; top: 7px; } .badge--dur { right: 7px; bottom: 7px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { padding: 16px; display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; }
  .step b { grid-row: span 2; margin: 0; }
  .player { border-radius: 14px; }
  .prose { padding: 16px; font-size: 15.5px; }
  .form .row { grid-template-columns: 1fr; }
  .toolbar .field-search { flex-basis: 100%; }
  .chat { inset: 0; width: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .chat__head { padding-top: calc(12px + env(safe-area-inset-top)); }
  .chat__form { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .chat-fab { width: 56px; height: 56px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .search { margin-top: 12px; }
  .footer__in { grid-template-columns: 1fr 1fr; padding-block: 24px 14px; }
}
@media (max-width: 380px) {
  .grid { gap: 8px; }
  .hero__grades small { display: none; }
}
/* Kısa ekranlar */
@media (max-height: 760px) and (min-width: 861px) { .hero__text2 { display: none; } }
@media (max-height: 640px) and (min-width: 861px) { .flow-card p { display: none; } .hero__grades { display: none; } }
@media (max-height: 540px), (max-width: 860px) and (max-height: 600px) { .home { height: auto; min-height: 100%; } }
@media (max-width: 860px) and (max-height: 720px) { .hero__lead { display: none; } }
@media (max-width: 860px) {
  .hero__text2, .hero__grades small { display: none; }
  .hero__ctas { flex-wrap: nowrap; }
  .hero__grades { gap: 6px; flex-wrap: nowrap; }
  .gpill { height: 32px; padding: 0 10px 0 6px; font-size: 13px; flex: 1; justify-content: center; }
  .flow { padding-right: 0; }
}
@media (max-width: 380px) { .hero__ctas .btn { font-size: 13px; padding: 0 8px; } }
.hero__grades small { flex-basis: 100%; }
@media (max-width: 860px) and (min-height: 740px) {
  .hero__visual { display: flex; height: auto; }
  .hero__photo { height: clamp(120px, 24dvh - 20px, 210px); border-width: 4px; border-radius: 16px; }
  .hero__badge { display: none; }
}
.teacher__photo { object-position: center 30%; }

/* ============ Noktalı arka plan (önceki tasarımdan) ============ */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 420px at 88% -8%, color-mix(in oklab, var(--primary) 16%, transparent), transparent 70%),
    radial-gradient(520px 380px at -8% 108%, color-mix(in oklab, var(--teal) 14%, transparent), transparent 70%),
    radial-gradient(circle at 1px 1px, color-mix(in oklab, var(--primary) 16%, transparent) 1.1px, transparent 0) 0 0 / 22px 22px;
}
body { background-color: var(--bg); }
#app { background: transparent; }

/* ============ Uzun ana sayfa ============ */
.homepage { padding-top: clamp(12px, 2.4vw, 26px); }
.homepage .hero { min-height: min(620px, calc(100dvh - var(--top-h) - 40px)); }
.homepage .hero__visual { height: auto; }
.homepage .hero__photo { height: clamp(260px, 44vh, 440px); }
.hero__note { font-size: 13px; font-weight: 800; color: var(--muted); }
.hero__stat { position: absolute; right: -10px; top: 10%; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; line-height: 1.1; }
.hero__stat b { display: block; font-size: 24px; font-weight: 900; color: var(--primary); }
.hero__stat span { font-size: 12px; font-weight: 800; color: var(--muted); }
.homepage .sec { margin-top: clamp(40px, 6vw, 72px); }
.sec__head--center { max-width: 720px; margin-inline: auto; margin-bottom: 22px; }
.sec__head--center h2 { font-size: clamp(26px, 3.2vw, 38px); }
.link { font-weight: 900; color: var(--primary); font-size: 14.5px; }

.gcards--big .gcard { padding: clamp(18px, 2.4vw, 26px); min-height: 180px; justify-content: flex-end; gap: 6px; }
.gcards--big .gcard__emoji { font-size: clamp(34px, 4vw, 52px); top: 16px; right: 16px; transition: transform .4s var(--ease); }
.gcards--big .gcard:hover .gcard__emoji { transform: rotate(10deg) scale(1.1); }
.gcards--big .gcard strong { font-size: clamp(24px, 2.6vw, 32px); }
.gcard em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); }
.subject-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }

.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 20px); }
.area { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.area:hover { transform: translateY(-3px); border-color: var(--primary); }
.area__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.area__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.area:hover .area__img img { transform: scale(1.05); }
.area__play { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; border: 3px solid #fff; }
.area__body { padding: 16px 18px 18px; }
.area__body small { font-size: 11.5px; font-weight: 900; letter-spacing: .12em; color: var(--primary); }
.area__body h3 { font-size: 20px; margin: 4px 0; }
.area__body p { color: var(--muted); font-size: 14.5px; }

.band { margin-top: clamp(40px, 6vw, 72px); background: var(--surface); border-block: 1px solid var(--line); }
.method { display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; gap: 24px; align-items: center; padding-block: clamp(26px, 4vw, 40px); }
.method h2 { font-size: clamp(24px, 2.8vw, 34px); margin-top: 6px; }
.method h2 span { color: var(--primary); }
.method__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 14px; }
.method__steps li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 900; }
.method__steps b { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stats div { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.stats b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--primary); line-height: 1.1; }
.stats span { font-size: 13.5px; font-weight: 800; color: var(--muted); }
.features { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.feature:hover { border-color: var(--primary); }
.feature i { font-style: normal; font-size: 24px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-soft); margin-bottom: 12px; }
.feature h3 { font-size: 18px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 14.5px; }

.tutor-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(22px, 4vw, 44px); border-radius: var(--r-xl); background: var(--hero-bg); border: 1px solid var(--line); }
.tutor-band h2 { font-size: clamp(24px, 3vw, 36px); margin: 6px 0 10px; }
.tutor-band__art { position: relative; }
.tutor-band__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); border: 6px solid var(--surface); }
.tutor-band__art span { position: absolute; left: 16px; bottom: -14px; padding: 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 900; font-size: 14px; }

.tmini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tmini { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.tmini:hover { border-color: var(--primary); }
.tmini img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; object-position: center 25%; }
.tmini small { font-size: 12px; font-weight: 900; color: var(--primary); }
.tmini h3 { font-size: 20px; }
.tmini p { font-size: 13px; color: var(--muted); font-weight: 700; }

.ai-band { display: grid; grid-template-columns: 150px 1fr; gap: clamp(16px, 3vw, 32px); align-items: center; padding: clamp(20px, 3.4vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.ai-band__owl { width: 150px; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -6px; } }
.ai-band h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 6px 0 8px; }
.ai-band__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ai-band__chips .chip { color: var(--primary); }

.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 0 18px; transition: border-color .2s; }
.faq details[open] { border-color: var(--primary); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 900; font-size: 16.5px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--primary); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 16px; }

.cta-band--strong { background: var(--primary); border-color: var(--primary); color: #fff; margin-top: 0; }
.cta-band--strong p { color: rgba(255, 255, 255, .85); }
.btn--light { background: #fff; color: #4b3cc0; }
.btn--light:hover { background: #f0edff; }
.btn--outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .ai-band__owl { animation: none; } }

@media (max-width: 980px) {
  .areas, .tmini-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method { grid-template-columns: 1fr; }
  .tutor-band { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .homepage .hero { min-height: 0; }
  .homepage .hero__visual { display: flex; }
  .homepage .hero__photo { height: 200px; }
  .hero__stat { right: 8px; top: 8px; padding: 8px 10px; }
  .hero__stat b { font-size: 19px; }
  .hero__note { display: none; }
  .gcards--big .gcard { min-height: 140px; }
  .gcard em { font-size: 12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .features { gap: 10px; }
  .feature { padding: 14px; }
  .feature i { width: 42px; height: 42px; font-size: 20px; margin-bottom: 8px; }
  .feature h3 { font-size: 15.5px; }
  .feature p { font-size: 13px; }
  .areas { grid-template-columns: 1fr; }
  .area { display: grid; grid-template-columns: 120px 1fr; }
  .area__img { aspect-ratio: auto; height: 100%; min-height: 110px; }
  .area__play { width: 36px; height: 36px; left: 8px; bottom: 8px; }
  .area__body { padding: 12px 14px; }
  .area__body h3 { font-size: 17px; }
  .ai-band { grid-template-columns: 1fr; text-align: center; }
  .ai-band__owl { width: 96px; margin: 0 auto; }
  .ai-band__chips { justify-content: center; }
  .tmini { grid-template-columns: 72px 1fr; }
  .tmini img { width: 72px; height: 72px; }
  .faq summary { font-size: 15px; }
}
/* Mobil/tablet: menü gizliyken düğmeler sağa yaslansın */
@media (max-width: 1180px) {
  .topbar__in { gap: 10px; }
  .nav + .topbar__actions, .topbar__actions { margin-left: auto; }
}
@media (max-width: 380px) {
  .topbar__actions { gap: 6px; }
  .topbar__actions .icon-btn { width: 38px; height: 38px; }
  .brand__url { display: none; }
}
