/* =========================================================================
   AutoVoltCAD — Tek stil dosyası
   Mobil öncelikli; kırılımlar: 600px, 960px, 1200px
   ========================================================================= */

:root {
  --bg: #0b1726;
  --bg-2: #0f1e33;
  --surface: #13263f;
  --surface-2: #182f4d;
  --border: #24405f;
  --border-strong: #335578;
  --text: #e8eef6;
  --muted: #a9b7c8;
  --accent: #f5b400;
  --accent-hover: #ffc829;
  --accent-ink: #0b1726;
  --cyan: #45cbe9;
  --cyan-soft: rgba(69, 203, 233, .12);
  --success: #3fd08c;
  --danger: #ff7a6b;
  --grid-line: rgba(69, 203, 233, .07);
  --grid-line-strong: rgba(69, 203, 233, .14);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1200px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.no-scroll { overflow: hidden; }
main { flex: 1; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, h5 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
.h4 { font-size: 1.05rem; margin-top: 1.25rem; }
.h5 { font-size: .95rem; margin-top: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1em; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #7fdcf2; }
ul, ol { padding-left: 1.2rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.accent-text { color: var(--accent); font-weight: 600; }

/* Odak stilleri */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem;
  color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }

/* İkonlar */
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 56px; height: 56px; }

/* ---------------- Butonlar ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--radius);
  font: inherit; font-weight: 650; font-size: .95rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-primary.is-in-cart { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn:active:not([disabled]) { transform: translateY(1px); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.icon-btn-sm { width: 36px; height: 36px; }
.icon-btn.danger:hover { color: var(--danger); border-color: var(--danger); }
.link-btn {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.link-btn:hover { color: var(--accent); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(11, 23, 38, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.logo-mark { flex: none; }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center; line-height: 1;
}
.cart-count.is-empty { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }

.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 12px; color: var(--muted); text-decoration: none; font-weight: 600; border-radius: 6px;
}
.main-nav a:hover { color: var(--text); background: var(--surface); }
.main-nav a[aria-current] { color: var(--accent); background: rgba(245, 180, 0, .1); }

/* Mobil menü paneli */
.main-nav.is-open {
  display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 16px; box-shadow: var(--shadow);
}
.main-nav.is-open a { padding: 12px; font-size: 1.05rem; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav, .main-nav.is-open { display: block; position: static; padding: 0; box-shadow: none; border: 0; background: none; margin-left: auto; }
  .main-nav ul { display: flex; gap: 2px; }
  .main-nav a { padding: 8px 10px; font-size: .92rem; }
  .main-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 6px 6px 0 0; }
  .header-actions { margin-left: 8px; }
}
@media (min-width: 960px) and (max-width: 1199px) { .main-nav a { padding: 8px 7px; font-size: .87rem; } }
@media (min-width: 1200px) { .main-nav a { padding: 8px 11px; } }

/* ---------------- Hero ---------------- */
.blueprint {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; border-bottom: 1px solid var(--border); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 20% 30%, rgba(245, 180, 0, .09), transparent 55%), radial-gradient(ellipse at 85% 70%, rgba(69, 203, 233, .10), transparent 50%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero h1 span { color: var(--accent); }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--success); }
.hero-visual {
  position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  background: rgba(15, 30, 51, .8); padding: 16px; box-shadow: var(--shadow);
}
.hero-visual svg { display: block; width: 100%; height: auto; }
.cad-label { font-family: var(--mono); font-size: .72rem; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 8px; }
.crosshair { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: var(--accent); }
.crosshair::before { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.crosshair::after { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.crosshair.tl { top: -11px; left: -11px; } .crosshair.br { bottom: -11px; right: -11px; }
@media (min-width: 960px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

/* Sayfa başlığı (iç sayfalar) */
.page-hero { padding: 44px 0 36px; border-bottom: 1px solid var(--border); }
.page-hero p { color: var(--muted); max-width: 65ch; margin: 0; font-size: 1.05rem; }
.breadcrumb { font-size: .85rem; margin-bottom: 10px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }

/* ---------------- Grid & kartlar ---------------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover { border-color: var(--border-strong); }
.card-body { padding: 18px 18px 8px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.08rem; margin: 6px 0 8px; }
.card-text { color: var(--muted); font-size: .94rem; margin-bottom: 12px; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px 18px; border-top: 1px dashed var(--border); margin-top: auto;
}
.card-media {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 18px; min-height: 84px;
  color: var(--accent);
  background-color: var(--bg-2);
  background-image: linear-gradient(var(--grid-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 16px 16px;
  border-bottom: 1px solid var(--border);
}
.card-media-label { font-family: var(--mono); font-size: .76rem; color: var(--text); text-transform: uppercase; letter-spacing: .08em; }
.card-media .badge { position: absolute; top: 12px; right: 12px; }
.cat-proje, .cat-sablon { color: var(--cyan); }
.cat-isg { color: var(--success); }
.cat-hakedis, .cat-paket { color: #ffd166; }
.course-card, .news-card { cursor: pointer; }
.course-card:hover, .news-card:hover, .area-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--cyan); }

.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.meta-row time { display: inline-flex; align-items: center; gap: 6px; }
.facts { list-style: none; padding: 0; margin: auto 0 8px; display: flex; gap: 16px; color: var(--muted); font-size: .88rem; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .icon { color: var(--cyan); }
.price { font-size: 1.2rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.price-lg { font-size: 1.5rem; }
.compat { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); margin: auto 0 8px; }
.compat .icon { color: var(--success); }
.read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-bottom: 10px; color: var(--cyan); font-weight: 600; font-size: .9rem; }

/* Rozetler ve etiketler */
.badge, .tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em; border: 1px solid transparent; white-space: nowrap;
}
.badge-new { background: var(--cyan); color: var(--accent-ink); }
.badge-hot { background: var(--accent); color: var(--accent-ink); }
.badge-level { background: transparent; border-color: var(--border-strong); color: var(--text); }
.level-baslangic { color: var(--success); border-color: rgba(63, 208, 140, .5); }
.level-orta { color: var(--cyan); border-color: rgba(69, 203, 233, .5); }
.level-ileri { color: var(--accent); border-color: rgba(245, 180, 0, .5); }
.tag { background: var(--cyan-soft); color: var(--cyan); border-color: rgba(69, 203, 233, .3); }
.tag-mevzuat { background: rgba(245, 180, 0, .12); color: #ffd166; border-color: rgba(245, 180, 0, .35); }
.tag-isg { background: rgba(63, 208, 140, .12); color: var(--success); border-color: rgba(63, 208, 140, .35); }
.tag-etkinlik { background: rgba(255, 122, 107, .12); color: #ffa094; border-color: rgba(255, 122, 107, .35); }

/* Alan kartları */
.area-card { padding: 22px; text-decoration: none; color: var(--text); }
.area-card:hover { color: var(--text); }
.area-card .read-more { padding-bottom: 0; }
.area-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius);
  background: rgba(245, 180, 0, .1); color: var(--accent); border: 1px solid rgba(245, 180, 0, .3);
}

/* ---------------- Filtre çubuğu ---------------- */
.toolbar { display: grid; gap: 14px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--cyan); }
a.chip { text-decoration: none; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip-count { font-size: .75rem; opacity: .8; font-variant-numeric: tabular-nums; }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search-box { position: relative; flex: 1 1 260px; }
.search-box .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box input[type="search"] { padding-left: 42px; }
.result-count { color: var(--muted); font-size: .88rem; margin: 0; }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 32px 16px; text-align: center; color: var(--muted); }
.empty-state p { margin: 0; }
.empty-state.wide { grid-column: 1 / -1; border: 1px dashed var(--border-strong); border-radius: var(--radius); }

/* ---------------- Formlar ---------------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
label, .label { font-weight: 600; font-size: .92rem; }
.req { color: var(--accent); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius);
  background: var(--bg); color: var(--text); border: 1.5px solid var(--border-strong);
  font: inherit; font-size: 1rem;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b7c8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
input::placeholder, textarea::placeholder { color: #7f8fa3; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.hint { font-size: .82rem; color: var(--muted); margin: 0; }
.field-error { color: var(--danger); font-size: .85rem; margin: 0; font-weight: 600; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.check-field { display: flex; align-items: flex-start; gap: 10px; }
.check-field input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check-field label { font-weight: 400; font-size: .9rem; color: var(--muted); }
.check-wrap { display: grid; gap: 6px; }
.form-status:empty { display: none; }
.form-status { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); font-weight: 600; outline: none; }
.form-status.is-success { background: rgba(63, 208, 140, .12); color: var(--success); border: 1px solid rgba(63, 208, 140, .4); }
.form-status.is-error { background: rgba(255, 122, 107, .1); color: var(--danger); border: 1px solid rgba(255, 122, 107, .4); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 600px) { .panel { padding: 32px; } }

/* ---------------- Ana sayfa blokları ---------------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--surface); padding: 20px; display: grid; gap: 2px; text-align: center; }
.stats strong { font-size: 2rem; color: var(--accent); font-variant-numeric: tabular-nums; font-family: var(--mono); }
.stats span { color: var(--muted); font-size: .9rem; }
.stats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(5, 1fr); } .stats li:last-child:nth-child(odd) { grid-column: auto; } }

.services-teaser { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .services-teaser { grid-template-columns: 1fr 1.1fr; } }
.teaser-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 600px) { .teaser-list { grid-template-columns: 1fr 1fr; } }
.teaser-list a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600;
}
.teaser-list a:hover { border-color: var(--accent); color: var(--accent); }
.teaser-list .icon { color: var(--accent); width: 22px; height: 22px; }

.newsletter { display: grid; gap: 20px; align-items: center; }
@media (min-width: 960px) { .newsletter { grid-template-columns: 1fr 1fr; } }
.newsletter-form .inline { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form .inline .field { flex: 1 1 240px; }

/* Bildirimler */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px; }
.notice p { margin: 0; }
.notice-info { background: var(--cyan-soft); border: 1px solid rgba(69, 203, 233, .35); }
.notice-info > .icon { color: var(--cyan); margin-top: 3px; }
.sample-note {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius);
  background: rgba(245, 180, 0, .1); border: 1px dashed rgba(245, 180, 0, .5); color: #ffd166; font-size: .88rem; font-weight: 600; margin: 0 0 20px;
}

/* Hizmetler */
.service-card { padding: 22px; }
.service-card .card-foot { padding: 16px 0 0; }
.service-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.service-head .card-title { margin: 0; font-size: 1.2rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .94rem; }
.check-list .icon { color: var(--success); margin-top: 3px; }
.split { display: grid; gap: 28px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.4fr; } }
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-cards li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-cards .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.contact-cards strong { display: block; }

/* Hakkımızda */
.instructor { display: grid; gap: 20px; align-items: start; }
@media (min-width: 600px) { .instructor { grid-template-columns: 120px 1fr; } }
.avatar { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 2px dashed var(--border-strong); color: var(--muted); }
.values { list-style: none; padding: 0; margin: 0; }

/* Yasal */
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.legal-section { padding: 24px 0; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border-bottom: 0; }
.prose { max-width: 75ch; }
.prose p, .prose li { color: var(--muted); }

/* ---------------- Footer ---------------- */
.site-footer { background: #08111d; border-top: 1px solid var(--border); padding-top: 48px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 32px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; } }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-brand p { margin: 12px 0; max-width: 36ch; }
.social-list { display: flex !important; gap: 16px !important; flex-wrap: wrap; }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .92rem; word-break: break-word; }
.contact-list .icon { color: var(--accent); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--border); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------------- Sepet çekmecesi ---------------- */
.drawer-wrap, .modal { position: fixed; inset: 0; z-index: 100; }
.drawer-wrap[hidden], .modal[hidden] { display: none; }
.drawer-overlay, .modal-backdrop { position: absolute; inset: 0; background: rgba(3, 8, 15, .7); opacity: 0; transition: opacity .2s ease; }
.drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--border-strong); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .22s ease; box-shadow: var(--shadow);
}
.drawer-wrap.is-open .drawer-overlay, .modal.is-open .modal-backdrop { opacity: 1; }
.drawer-wrap.is-open .drawer { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { margin: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.drawer-head h2 .icon { color: var(--accent); }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.drawer-foot[hidden] { display: none; }
.drawer-foot p { margin: 0; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; }
.cart-total strong { font-size: 1.4rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-line { display: grid; gap: 10px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.cart-line-info { display: grid; gap: 2px; }
.cart-kind { font-family: var(--mono); font-size: .72rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .08em; }
.cart-name { font-weight: 650; }
.cart-price { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.cart-price strong { color: var(--text); }
.cart-line-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 36px; height: 36px; display: grid; place-items: center; background: var(--surface); color: var(--text); border: 0; cursor: pointer; }
.qty-btn:hover { background: var(--surface-2); color: var(--accent); }
.qty-val { min-width: 36px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------------- Modal ---------------- */
.modal { display: grid; place-items: center; padding: 16px; }
.modal-panel {
  position: relative; width: min(680px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 28px 22px 22px; box-shadow: var(--shadow);
  transform: translateY(12px) scale(.98); opacity: 0; transition: transform .2s ease, opacity .2s ease;
}
@media (min-width: 600px) { .modal-panel { padding: 32px; } }
.modal.is-open .modal-panel { transform: none; opacity: 1; }
.modal-close { position: absolute; top: 12px; right: 12px; }
.modal-title { padding-right: 48px; font-size: 1.4rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--border); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.detail-meta > span, .detail-meta time { display: inline-flex; align-items: center; gap: 6px; }
.curriculum { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.curriculum li { display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; background: var(--surface); border-radius: 6px; border: 1px solid var(--border); }
.cur-no { font-family: var(--mono); color: var(--accent); font-size: .85rem; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.summary-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.summary-table th, .summary-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.summary-table thead th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.summary-table tfoot th, .summary-table tfoot td { border-bottom: 0; font-size: 1.05rem; }
.summary-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------------- Ürün kartı bağlantıları & video rozetleri ---------------- */
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: var(--accent); text-decoration: underline; }
.badge-video { background: rgba(255, 122, 107, .14); color: #ffa094; border-color: rgba(255, 122, 107, .4); }
.cmd-chip {
  display: inline-block; font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 6px; background: var(--bg); color: var(--accent); border: 1px solid var(--border-strong);
  white-space: nowrap;
}
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Kapak görselli medya alanı (LISP kartları) */
.card-media.has-video { text-decoration: none; overflow: hidden; }
/* Kapak görseli varken 16:9 küçük resim; görsel yoksa (no-thumb) mevcut ikonlu görünüm */
.card-media.has-video:not(.no-thumb) { aspect-ratio: 16 / 9; align-items: flex-end; }
.media-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.play-overlay {
  position: absolute; right: 14px; bottom: 12px; z-index: 1; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(11, 23, 38, .82); color: var(--accent);
  border: 1.5px solid var(--accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); transition: transform .15s, background-color .15s;
}
.play-overlay .icon { width: 18px; height: 18px; margin-left: 2px; }
.card-media .badge { z-index: 1; }
.card-media.has-video:hover .play-overlay, .video-thumb:hover .play-overlay, .video-thumb:focus-visible .play-overlay { transform: scale(1.08); background: var(--accent); color: var(--accent-ink); }

/* Video kartları (videolar.html, ana sayfa) */
.video-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  background-color: var(--bg-2);
  background-image: linear-gradient(var(--grid-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 16px 16px; border-bottom: 1px solid var(--border); color: var(--accent); font: inherit;
}
.video-thumb:focus-visible { outline-offset: -3px; }
.video-thumb-fallback {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  font-family: var(--mono); font-size: .85rem; font-weight: 700; letter-spacing: .06em; color: var(--text); text-align: left;
}
.video-thumb-fallback .icon { width: 22px; height: 22px; }
.video-thumb-fallback .icon { color: var(--accent); }
.video-thumb .play-overlay { left: 50%; top: 50%; right: auto; bottom: auto; width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.video-thumb .play-overlay .icon { width: 24px; height: 24px; }
.duration-badge {
  position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 2px 8px; border-radius: 4px;
  background: rgba(3, 8, 15, .85); color: var(--text); font-family: var(--mono); font-size: .76rem; font-weight: 700;
}
.video-card .facts { margin-top: auto; align-items: center; flex-wrap: wrap; }

/* Video oynatıcı ve yer tutucu */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden;
  background: #000; border: 1px solid var(--border-strong);
}
.video-frame video { display: block; width: 100%; height: 100%; background: #000; }
.video-frame [hidden] { display: none !important; }
.video-frame.is-missing {
  background-color: var(--bg-2);
  background-image: linear-gradient(var(--grid-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 24px 24px;
}
.video-frame.is-missing { aspect-ratio: auto; min-height: 240px; }
.video-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; text-align: center;
}
.video-fallback strong { font-size: 1.1rem; }
.video-fallback .muted { max-width: 46ch; }
.video-fallback-icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(245, 180, 0, .1); color: var(--accent); border: 1px dashed rgba(245, 180, 0, .5);
}
.video-meta { margin-top: 16px; }
.modal-panel.modal-wide { width: min(920px, 100%); }

/* ---------------- Ürün detay sayfası ---------------- */
.product-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .product-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; } }
.product-main { display: grid; gap: 32px; min-width: 0; }
.block-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: 14px; }
.block-title .icon { color: var(--accent); }
.notes-list .icon { color: var(--cyan); }
.buy-box { display: grid; gap: 14px; padding: 22px; }
@media (min-width: 960px) { .buy-box { position: sticky; top: calc(var(--header-h) + 20px); } }
.buy-box .price { margin: 0; font-size: 1.9rem; }
.buy-box .meta-row:empty { display: none; }
.buy-box p { margin: 0; }
.spec-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.spec-list > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; text-align: right; font-weight: 600; }
.empty-state .btn-row { justify-content: center; margin-top: 8px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 150; transform: translate(-50%, 20px);
  background: var(--surface-2); color: var(--text); border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 12px 18px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: calc(100% - 32px); font-weight: 600; font-size: .92rem;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Hareket azaltma ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .course-card:hover, .news-card:hover, .area-card:hover { transform: none; }
}

/* Fiyatsız mod: ürünler teklif ile, eğitimler çok yakında; sepet gizli */
.cart-btn, #cart-drawer { display: none !important; }
.soon-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(245, 180, 0, .14); color: var(--accent); font-weight: 600; font-size: .85rem; }
.soon-tag .icon { width: 16px; height: 16px; }
.product-card .card-foot, .video-card .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
