/* Ehliyetim Cepte: tanıtım ve gizlilik sayfaları (/ehliyet/).
   Uygulamanın görünümü: beyaz zemin, kırmızı marka rengi (#E23744), açık gri kartlar, Nunito.
   Yapı Gün Sayacı sayfalarıyla aynı iskeleti kullanır ama ayrı bir üründür; dosyalar paylaşılmaz. */

@font-face { font-family: "Nunito"; src: url("fonts/nunito-500.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-700.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-800.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f3f5f7;
  --sunken: #e9ecf0;
  --ink: #1b1f24;
  --ink-soft: #6e7683;
  --ink-faint: #a2a9b4;
  --rule: #e8eaee;
  --line: #dfe3e8;
  --brand: #e23744;
  --brand-deep: #b01a26;
  --brand-tint: #ffe9eb;
  --sign: #2e7bd6;
  --green: #3fae6b;
  --accent: #ffb020;
  --on: #ffffff;
  --on-soft: rgba(255, 255, 255, .8);
  --on-faint: rgba(255, 255, 255, .4);
  --radius: 26px;
  --wrap: 1120px;
  --font: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.015em; line-height: 1.1; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rule { display: block; width: 34px; height: 3px; border: 0; margin: 0 0 18px; background: var(--ink); border-radius: 2px; }
.rule--brand { background: var(--brand); }
.overline { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- üst çubuk ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: var(--rule); }
.top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.top__nav { display: flex; gap: 22px; margin-left: 12px; }
.top__nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.top__nav a:hover { color: var(--ink); }
.top__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { text-decoration: none; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: var(--ink-soft); }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: #fff;
  transition: transform .15s, background-color .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn--brand { background: var(--brand); }
.btn--brand:hover { background: var(--brand-deep); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink-faint); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .35; cursor: default; transform: none; }
@media (max-width: 860px) { .top__nav { display: none; } }

/* ---------- giriş ---------- */
.hero { padding: 40px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--ink-faint); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); letter-spacing: -.035em; line-height: 1; }
.hero h1 span { display: block; color: var(--brand); font-size: .62em; letter-spacing: -.035em; line-height: 1.08; margin-top: 12px; }
.hero__lead { margin-top: 22px; font-size: 18px; color: var(--ink-soft); max-width: 31em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.badge img { height: 52px; width: auto; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.hero__meta li { display: flex; align-items: center; gap: 7px; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.phones { position: relative; height: 560px; }
.phone {
  position: absolute; top: 20px; left: 50%;
  width: 236px; aspect-ratio: 1320 / 2868;
  border: 7px solid #14161c; border-radius: 40px; overflow: hidden; background: #14161c;
  transform-origin: 50% 100%;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone--l { transform: translateX(-118%) rotate(-6deg) scale(.92); }
.phone--c { transform: translateX(-50%); z-index: 2; }
.phone--r { transform: translateX(18%) rotate(6deg) scale(.92); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .phones { height: 470px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phone { width: 200px; }
}
@media (max-width: 520px) {
  .hero { padding-top: 24px; }
  .phones { height: 380px; }
  .phone { width: 160px; border-width: 5px; border-radius: 30px; }
  .phone--l { transform: translateX(-112%) rotate(-6deg) scale(.9); }
  .phone--r { transform: translateX(12%) rotate(6deg) scale(.9); }
}

/* ---------- bölüm başlığı ---------- */
.section { padding: 84px 0; }
.section--line { border-top: 1px solid var(--rule); }
.head { max-width: 680px; margin-bottom: 40px; }
.head h2 { font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -.035em; }
.head p { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }
@media (max-width: 600px) { .section { padding: 60px 0; } }

/* ---------- özellikler ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }
.feature .rule { background: var(--c); width: 30px; height: 3px; margin-bottom: 14px; }
.feature h3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.2; }
.feature p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; margin: 46px 0 0; list-style: none; scrollbar-width: thin; }
.shots li { flex: 0 0 auto; scroll-snap-align: center; }
.shots img { width: 220px; height: auto; aspect-ratio: 440 / 956; border-radius: 22px; background: var(--soft); }
@media (min-width: 1160px) { .shots { padding-left: calc((100vw - var(--wrap)) / 2 + 20px); scroll-padding-left: calc((100vw - var(--wrap)) / 2 + 20px); } }

/* ---------- SSS ---------- */
.faq { max-width: 800px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 18px; font-weight: 800; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 600; color: var(--ink-faint); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); font-size: 16px; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- indirme bandı ---------- */
.cta { background: var(--brand); color: #fff; border-radius: 36px; padding: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.cta img.cta__icon { width: 96px; height: 96px; border-radius: 22px; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; }
.cta p { margin-top: 8px; color: var(--on-soft); font-size: 16px; }
.cta .badge img { height: 56px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 34px 26px; text-align: left; } }

/* ---------- alt bilgi ---------- */
.foot { padding: 56px 0 44px; margin-top: 84px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-soft); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }
.foot h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; font-weight: 600; color: var(--ink); }
.foot a:hover { text-decoration: underline; }
.foot__copy { margin-top: 36px; font-size: 13px; color: var(--ink-faint); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 40; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }


/* ---------- gizlilik (uzun metin) ---------- */
.legal { padding: 40px 0 0; }
.legal__head { max-width: 760px; }
.legal__head h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.045em; line-height: 1; }
.legal__meta { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.legal__jump { display: inline-flex; gap: 8px; margin-top: 22px; }
.summary { margin: 34px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 980px; }
.summary li { background: var(--soft); border-radius: 22px; padding: 20px; }
.summary b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.summary span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) { .summary { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; letter-spacing: -.02em; margin: 44px 0 12px; }
.prose h2::before { content: ""; display: block; width: 30px; height: 3px; border-radius: 2px; background: var(--c, var(--ink)); margin-bottom: 14px; }
.prose p, .prose li { font-size: 16px; color: var(--ink-soft); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.lang-block { padding-top: 56px; margin-top: 64px; border-top: 1px solid var(--rule); }

/* ---------- rakam şeridi ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: var(--soft); border-radius: 22px; padding: 22px 20px; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--c, var(--brand)); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- e-sınav bilgisi ---------- */
.exam { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .exam { grid-template-columns: 1fr; } }
.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plate { background: #fff; border: 1.5px solid var(--rule); border-radius: 18px; overflow: hidden; display: flex; }
.plate::before { content: ""; width: 12px; background: var(--sign); flex: none; }
.plate div { padding: 16px 14px; }
.plate b { display: block; font-size: clamp(34px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.plate span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.rules { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rules li { position: relative; padding-left: 26px; font-size: 16px; color: var(--ink-soft); }
.rules li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--brand); box-sizing: border-box; }
.rules strong { color: var(--ink); }
.card { background: var(--soft); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card + .card { margin-top: 12px; }
.card .rules { margin-top: 0; }
.caveat { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }

.feature .rule { background: var(--c, var(--brand)); }
.btn--white { background: #fff; color: var(--brand); }
.section--tight { padding: 0 0 72px; }
