/* Grafta Klinik — klinik.dodeyazilim.com. "Gece Laboratuvarı" kimliği; değerler src/theme/tokens.ts (dark) ile aynı.
   Kurallar: satır içi stil YOK (CSP style-src 'self'); mobil önce (360 px'e kadar, 20 px kenar boşluğu); hareketler
   prefers-reduced-motion'a uyar; kütüphane yok. JS'in eklediği sınıflar: html.reveal-on, html.motion-paused,
   [data-reveal].is-in, [data-steps].is-in, [data-timeline].is-in, .demo.is-on / .is-paused, .topbar.is-scrolled
   (landing.js), .form.was-validated, .form-status.is-error / .is-busy, [aria-invalid] (apply.js). İçerik hiçbir koşulda gizli kalmaz: gizleyen her kural .reveal-on ya da .is-on altındadır ve
   .reveal-on'u landing.js YALNIZ gözlemciyi kurduğu anda ekler (betik yüklenmez ya da hata verirse,
   IntersectionObserver yoksa, hareket azaltma açıksa hiç eklenmez). */

@font-face { font-family: "IBM Plex Sans"; src: url("/site/fonts/IBMPlexSans-Regular.ttf?v=8685116dfb") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/site/fonts/IBMPlexSans-SemiBold.ttf?v=659f916ce1") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/site/fonts/IBMPlexMono-Medium.ttf?v=8ae925744d") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* palette.dark (tokens.ts) */
  --bg: #0B1220; --bg-elev: #141E31; --bg-sunken: #070C16;
  --border: #24314C; --border-strong: #4F6284;
  --text: #E9EFF8; --muted: #93A6C2; --subtle: #7D90AE;
  --primary: #3FE0C0; --on-primary: #062019; --accent: #7CF5DD; --accent-bg: #122F36;
  --success: #4ADE80; --warning: #F5B94A; --danger: #FF7A88; --info: #7CB8FF; --info-bg: #1B293F;
  --focus: #7CF5DD;
  --glass: rgba(20, 30, 49, 0.82);
  --glow: rgba(63, 224, 192, 0.55); --glow-soft: rgba(63, 224, 192, 0.25);
  /* Form alanı kenarı: border-strong'un bir adım açığı — cam kart zemininde ≥3:1 (WCAG 1.4.11). */
  --field-border: #5A6E92;
  /* motion (tokens.ts): standardEasing, fast 150 / base 300 / slow 600 / reveal 1600 ms */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1180px;
  --gutter: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* .form / .done gibi display veren sınıflar hidden özniteliğini ezmesin */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(63, 224, 192, 0.3); color: var(--text); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; overflow-wrap: break-word; }
ul, ol { margin: 0; }
figure { margin: 0; }
.mono { font-family: var(--mono); font-weight: 500; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.75rem; }
.nowrap { white-space: nowrap; }
.note { font-size: 0.78rem; line-height: 1.5; color: var(--subtle); margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic, .ic-lg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic { width: 1.15em; height: 1.15em; }
.ic-lg { width: 28px; height: 28px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-primary); }

/* ── Düğmeler ───────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 44px; padding: 0 18px; border-radius: 12px; font: 600 0.95rem/1.15 var(--sans); text-align: center; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 30px -12px var(--glow); }
.btn-primary:hover { background: var(--accent); color: var(--on-primary); box-shadow: 0 0 0 6px var(--glow-soft), 0 14px 36px -12px var(--glow); }
.btn-primary .ic { transition: transform 0.3s var(--ease); }
.btn-primary:hover .ic { transform: translateX(3px); }
.btn-ghost { background: rgba(20, 30, 49, 0.5); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--text); background: rgba(20, 30, 49, 0.85); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 0.85rem; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }
.link-quiet { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.link-quiet:hover { color: var(--text); }

/* ── Üst çubuk ──────────────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s; }
.topbar.is-scrolled, .topbar.is-solid { background: rgba(11, 18, 32, 0.8); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--border); }
.topbar-in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand b { color: var(--primary); font-weight: 600; }
.brand-mark { width: 30px; height: 30px; color: var(--primary); flex: none; transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-ring { fill: none; stroke: currentColor; stroke-opacity: 0.35; stroke-width: 1.2; }
.brand-line { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.brand-dot { fill: var(--accent); }
.nav { display: none; gap: 22px; margin-left: 12px; }
.nav a { position: relative; color: var(--muted); text-decoration: none; font-size: 0.92rem; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.lang { color: var(--muted); font: 500 0.78rem/1 var(--mono); text-decoration: none; border: 1px solid var(--border-strong); border-radius: 999px; padding: 8px 10px; white-space: nowrap; }
.lang:hover { color: var(--text); border-color: var(--primary); }
.hide-sm { display: none; }
/* Dar telefon (360–419 px): marka eki gizlenir, düğme sıkışır; gerekirse metni iki satıra kırılır (yatay kaydırma yok). */
@media (max-width: 419px) {
  .topbar-in { gap: 10px; }
  .topbar-actions { gap: 8px; }
  .topbar .brand-name b { display: none; }
  .topbar .lang { padding: 7px 8px; }
  .topbar .btn-sm { padding: 4px 10px; font-size: 0.8rem; min-width: 0; }
}
@media (min-width: 960px) { .nav { display: flex; } .hide-sm { display: inline; } }

/* ── Kahraman ───────────────────────────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section .eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--primary), rgba(63, 224, 192, 0)); flex: none; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 224, 192, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(63, 224, 192, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 224, 192, 0); } }

.hero { position: relative; overflow: hidden; padding: 24px 0 56px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(50px); }
.g1 { width: 520px; height: 520px; right: -200px; top: -140px; background: radial-gradient(circle, rgba(63, 224, 192, 0.3), rgba(63, 224, 192, 0) 70%); animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 440px; height: 440px; left: -220px; bottom: -180px; background: radial-gradient(circle, rgba(124, 184, 255, 0.2), rgba(124, 184, 255, 0) 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-40px, 30px, 0); } }
.gridlines { position: absolute; inset: 0; background-image: linear-gradient(rgba(147, 166, 194, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 166, 194, 0.07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 70% 25%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 25%, #000 0%, transparent 70%); }
.hero-in { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-in > * { min-width: 0; }
.hero h1 { font-size: clamp(2.1rem, 7.4vw, 3.9rem); line-height: 1.05; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--primary); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: 0.04em; height: 0.14em; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0.35; transform-origin: left; animation: underline 1.2s 0.6s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 36em; margin-top: 16px; line-height: 1.65; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-facts { list-style: none; padding: 0; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: 0.9rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ic { color: var(--primary); }
/* Giriş: yalnız CSS animasyonu (JS beklemez); `both` dolgusu biter bitmez son hâlde kalır. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { transform: translateY(16px); } to { transform: none; } }
.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy > h1 { animation-name: lift; } /* LCP öğesi: saydamlık animasyonu yok */
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.14s; }
.hero-copy > :nth-child(4) { animation-delay: 0.22s; }
.hero-copy > :nth-child(5) { animation-delay: 0.3s; }
@media (max-width: 479px) { .hero .cta-row .btn { flex: 1 1 100%; } }
@media (min-width: 960px) { .hero { padding: 56px 0 96px; } .hero-in { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }

/* ── Hareketli panel önizlemesi (12 sn döngü: talep → tarama + saç çizgisi → teklif) ─────────
   Varsayılan (JS yok / hareket azaltılmış): her şey görünür, çizgi çizilmiş, üç adım etkin.
   Döngü %70'ten (-8.4 sn) başlar: o anda talep, fotoğraf, çizgi, noktalar ve teklif görünürdür; ilk boyamadan
   sonra hiçbir şey kaybolmaz, kartlar ancak döngünün sonunda (%92-98) solup baştan gelir.
   Kartlar sahnenin ÜST ve ALT kenarına tutturulur: metin uzarsa taşma sahne dışına değil, fotoğrafın üstüne olur. */
.demo { position: relative; animation: rise 1s 0.2s var(--ease) both; }
.demo-window { position: relative; border-radius: 22px; background: linear-gradient(180deg, rgba(20, 30, 49, 0.94), rgba(11, 18, 32, 0.94)); border: 1px solid var(--border); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85), 0 0 60px -24px var(--glow-soft); overflow: hidden; padding-bottom: 14px; }
.demo-window::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(147, 166, 194, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 166, 194, 0.05) 1px, transparent 1px); background-size: 22px 22px; }
.demo-bar { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: rgba(7, 12, 22, 0.6); }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.dots i:nth-child(1) { background: var(--danger); }
.dots i:nth-child(2) { background: var(--warning); }
.dots i:nth-child(3) { background: var(--success); }
.demo-url { font-size: 0.72rem; color: var(--subtle); background: var(--bg-sunken); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-steps { position: relative; list-style: none; margin: 0; padding: 12px 14px 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.demo-steps li { display: inline-flex; align-items: center; gap: 6px; font: 500 0.72rem/1 var(--mono); color: var(--accent); padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid rgba(63, 224, 192, 0.35); background: var(--accent-bg); }
.demo-steps b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-sunken); font-weight: 600; font-size: 0.66rem; }
.demo-stage { position: relative; margin: 10px 14px 0; aspect-ratio: 0.74; }
.demo-photo { position: absolute; left: 0; top: 36%; width: 56%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9); z-index: 1; }
.demo-photo img { width: 100%; height: 100%; object-fit: cover; }
.hairline { position: absolute; inset: 0; width: 100%; height: 100%; }
.hairline-path, .hairline-glow { fill: none; stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hairline-path { stroke-width: 3; }
.hairline-glow { stroke-width: 10; stroke-opacity: 0.25; filter: blur(3px); }
.hl-pt { fill: var(--bg); stroke: var(--accent); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, rgba(63, 224, 192, 0), rgba(63, 224, 192, 0.16) 70%, rgba(124, 245, 221, 0.5)); border-bottom: 1px solid var(--accent); opacity: 0; transform: translateY(-100%); }
.demo-caption { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: 0.62rem; line-height: 1.3; color: var(--text); background: rgba(7, 12, 22, 0.78); border: 1px solid rgba(63, 224, 192, 0.35); border-radius: 8px; padding: 4px 7px; }
/* backdrop-filter YOK: hareketli kartların altında her karede bulanıklık hesaplamak mobilde kare düşürür. */
.demo-card { position: absolute; background: rgba(20, 30, 49, 0.94); border: 1px solid var(--border); border-radius: 16px; padding: 12px 13px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.85); }
.demo-request { left: 0; top: 0; width: 80%; z-index: 2; }
.demo-offer { right: 0; bottom: 0; width: 60%; z-index: 3; border-color: rgba(63, 224, 192, 0.45); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.85), 0 0 32px -12px var(--glow); }
.demo-card h3 { font-size: 0.95rem; margin: 8px 0 2px; }
.demo-card p { font-size: 0.8rem; line-height: 1.4; }
.demo-card p + p { margin-top: 2px; }
.demo-card .tiny { font-size: 0.7rem; margin-top: 6px; }
.bubble { margin-top: 8px; background: var(--bg-sunken); border: 1px solid var(--border); border-radius: 12px 12px 12px 4px; padding: 8px 10px; color: var(--text); }
.demo-card p.bubble { margin-top: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 600 0.64rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.badge .ic { width: 12px; height: 12px; stroke-width: 3; }
.badge-new { background: var(--info-bg); color: var(--info); }
.badge-new .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--info); box-shadow: 0 0 0 0 rgba(124, 184, 255, 0.6); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(124, 184, 255, 0.6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(124, 184, 255, 0); } }
.badge-ok { background: var(--accent-bg); color: var(--primary); }
.demo-card .offer-price { font-size: 1.45rem; line-height: 1.1; color: var(--text); margin: 8px 0 4px; letter-spacing: -0.02em; }
.demo > .note { text-align: right; }
@media (min-width: 960px) {
  .demo-card p { font-size: 0.84rem; }
  .demo-stage { aspect-ratio: 1.02; }
  .demo-request { width: 72%; }
  .demo-photo { top: 28%; width: 46%; }
  .demo-offer { bottom: 2%; width: 54%; }
}

.demo.is-on .demo-steps li { color: var(--subtle); border-color: var(--border); background: transparent; }
.demo.is-on .demo-steps .s1 { animation: d-s1 12s -8.4s infinite; }
.demo.is-on .demo-steps .s2 { animation: d-s2 12s -8.4s infinite; }
.demo.is-on .demo-steps .s3 { animation: d-s3 12s -8.4s infinite; }
.demo.is-on .demo-request { animation: d-req 12s var(--ease) -8.4s infinite; }
.demo.is-on .demo-photo { animation: d-photo 12s var(--ease) -8.4s infinite; }
.demo.is-on .hairline-path, .demo.is-on .hairline-glow { animation: d-line 12s -8.4s infinite; }
.demo.is-on .hl-pt { animation: d-pt 12s var(--ease) -8.4s infinite; }
.demo.is-on .hl-pt.p2 { animation-delay: -8.25s; }
.demo.is-on .hl-pt.p3 { animation-delay: -8.1s; }
.demo.is-on .scan { animation: d-scan 12s linear -8.4s infinite; }
.demo.is-on .demo-offer { animation: d-offer 12s var(--ease) -8.4s infinite; }
/* Duraklatma yalnız pencerenin içindeki döngülere: figürün kendi giriş animasyonu (rise) ekran dışında donmasın. */
.demo.is-paused .demo-window, .demo.is-paused .demo-window * { animation-play-state: paused !important; }
/* Durdur/oynat (WCAG 2.2.2): demo döngüsü + sayfanın öteki sonsuz süs döngüleri (html.motion-paused, landing.js). */
.motion-paused .glow, .motion-paused .pulse, .motion-paused .badge-new .dot, .motion-paused .rail-fill::after,
.motion-paused .lock-badge, .motion-paused .pilot-bg { animation-play-state: paused !important; }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(20, 30, 49, 0.6); color: var(--muted); font: 500 0.78rem/1 var(--mono); letter-spacing: 0.04em; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.motion-toggle:hover { border-color: var(--primary); color: var(--text); }
.motion-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.motion-toggle .ic-play, .motion-toggle[aria-pressed="true"] .ic-pause { display: none; }
.motion-toggle[aria-pressed="true"] .ic-play { display: inline; }
.motion-toggle[aria-pressed="true"] { color: var(--accent); border-color: rgba(63, 224, 192, 0.5); }
@keyframes d-s1 { 0%, 27% { color: var(--accent); border-color: var(--primary); background: var(--accent-bg); } 30%, 100% { color: var(--subtle); border-color: var(--border); background: transparent; } }
@keyframes d-s2 { 0%, 29% { color: var(--subtle); border-color: var(--border); background: transparent; } 32%, 57% { color: var(--accent); border-color: var(--primary); background: var(--accent-bg); } 60%, 100% { color: var(--subtle); border-color: var(--border); background: transparent; } }
@keyframes d-s3 { 0%, 59% { color: var(--subtle); border-color: var(--border); background: transparent; } 62%, 94% { color: var(--accent); border-color: var(--primary); background: var(--accent-bg); } 97%, 100% { color: var(--subtle); border-color: var(--border); background: transparent; } }
@keyframes d-req { 0% { opacity: 0; transform: translateY(14px) scale(0.98); } 5%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes d-photo { 0%, 22% { opacity: 0; transform: scale(0.96); } 29%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes d-line { 0%, 34% { stroke-dashoffset: 1; opacity: 1; } 50%, 92% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes d-pt { 0%, 47% { opacity: 0; transform: scale(0.3); } 52%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes d-scan { 0%, 28% { opacity: 0; transform: translateY(-100%); } 30% { opacity: 1; } 42% { opacity: 0.9; transform: translateY(340%); } 44%, 100% { opacity: 0; transform: translateY(340%); } }
@keyframes d-offer { 0%, 58% { opacity: 0; transform: translateY(18px) scale(0.98); } 64%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }

/* ── İstatistikler ──────────────────────────────────────────────────────────── */
.stats { position: relative; padding: 8px 0 24px; }
.stats-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.stats-grid li { position: relative; background: linear-gradient(180deg, var(--bg-elev), var(--bg)); padding: 20px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stats-grid li::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: linear-gradient(90deg, rgba(63, 224, 192, 0), var(--primary), rgba(63, 224, 192, 0)); opacity: 0.5; }
.stat-num { font-size: clamp(2.1rem, 8vw, 2.9rem); line-height: 1; color: var(--primary); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(63, 224, 192, 0.35); }
.stat-label { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } .stats-grid li { padding: 28px 24px; } .stats-grid li::before { left: 24px; right: 24px; } }

/* ── Bölümler ───────────────────────────────────────────────────────────────── */
.section { position: relative; padding: 72px 0; }
.section h2 { font-size: clamp(1.75rem, 5.4vw, 2.6rem); letter-spacing: -0.025em; }
.section-head { max-width: 40em; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
@media (min-width: 960px) { .section { padding: 112px 0; } }

/* Nasıl çalışır */
.how-in { display: grid; gap: 36px; }
.how-in > * { min-width: 0; }
.how-photo { margin: 26px 0 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); max-width: 360px; position: relative; }
.how-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.how-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 32, 0.65)); }
.steps { list-style: none; padding: 0; display: grid; gap: 14px; position: relative; }
.steps::before { content: ""; position: absolute; left: 40px; top: 40px; bottom: 40px; width: 2px; margin-left: -1px; background: linear-gradient(var(--primary), rgba(63, 224, 192, 0.08)); transform-origin: top; }
.reveal-on .steps::before { transform: scaleY(0); transition: transform 1.6s var(--ease); }
.reveal-on .steps.is-in::before { transform: scaleY(1); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; background: rgba(20, 30, 49, 0.55); border: 1px solid var(--border); border-radius: 18px; padding: 16px 16px 18px; }
.step > div { min-width: 0; }
.step-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-sunken); border: 1px solid var(--border); color: var(--primary); font-size: 0.95rem; position: relative; z-index: 1; transition: border-color 0.3s, box-shadow 0.3s; }
.step:hover .step-num { border-color: var(--primary); box-shadow: 0 0 24px -6px var(--glow); }
.step h3 { display: flex; align-items: center; gap: 8px; font-size: 1.08rem; margin: 2px 0 6px; }
.step h3 .ic { color: var(--accent); }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 960px) { .how-in { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } .how .section-head { position: sticky; top: 96px; } }

/* Panel özellikleri — kategori tonları (tokens.ts tones.dark) */
.tone-teal { --tone: #5EEAD4; --tone-bg: #173039; --tone-glow: rgba(94, 234, 212, 0.14); }
.tone-violet { --tone: #C4B5FD; --tone-bg: #25293F; --tone-glow: rgba(196, 181, 253, 0.14); }
.tone-amber { --tone: #FCD34D; --tone-bg: #2D2D26; --tone-glow: rgba(252, 211, 77, 0.12); }
.tone-blue { --tone: #93C5FD; --tone-bg: #1E2B3F; --tone-glow: rgba(147, 197, 253, 0.14); }
.tone-rose { --tone: #FDA4AF; --tone-bg: #2D2634; --tone-glow: rgba(253, 164, 175, 0.12); }
.feature-grid { list-style: none; margin-top: 40px; padding: 0; display: grid; gap: 14px; }
/* Belirme `transform`'u, üstüne gelince kalkma ayrı `translate` özelliği: ikisi birbirinin geçişini ezmez. */
.feature { position: relative; overflow: hidden; min-width: 0; background: linear-gradient(180deg, rgba(20, 30, 49, 0.9), rgba(20, 30, 49, 0.55)); border: 1px solid var(--border); border-radius: 20px; padding: 22px; transition: translate 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.reveal-on .feature[data-reveal] { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), translate 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.feature::before { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, var(--tone-glow), transparent 70%); transition: transform 0.6s var(--ease); }
.feature:hover { translate: 0 -4px; border-color: var(--tone); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9); }
.feature:hover::before { transform: scale(1.35); }
.feature .ic-lg { position: relative; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--tone-bg); color: var(--tone); }
.feature h3 { position: relative; font-size: 1.1rem; margin: 16px 0 8px; }
.feature p { position: relative; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* Gün 1 → 365 zaman şeridi */
.timeline { position: relative; margin-top: 36px; }
.rail { position: relative; height: 3px; background: var(--border); border-radius: 3px; margin: 0 4px 18px; overflow: hidden; }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transform-origin: left; }
.rail-fill::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 18%; background: linear-gradient(90deg, rgba(233, 239, 248, 0), rgba(233, 239, 248, 0.85), rgba(233, 239, 248, 0)); transform: translateX(-100%); opacity: 0; }
.reveal-on .timeline .rail-fill { transform: scaleX(0); transition: transform 2.2s var(--ease); }
.reveal-on .timeline.is-in .rail-fill { transform: scaleX(1); }
.timeline.is-in .rail-fill::after { animation: shimmer 3.6s 2.2s linear infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); opacity: 1; } 60%, 100% { transform: translateX(560%); opacity: 1; } }
.frames { list-style: none; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 40%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.frames::-webkit-scrollbar { display: none; }
.frames:focus-visible { outline-offset: 4px; border-radius: 16px; }
.frame { scroll-snap-align: start; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-elev); }
.frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.8s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11, 18, 32, 0.85)); pointer-events: none; }
.frame-label { position: absolute; left: 10px; bottom: 10px; z-index: 1; font-size: 0.72rem; color: var(--text); background: rgba(7, 12, 22, 0.7); border: 1px solid rgba(63, 224, 192, 0.4); padding: 4px 8px; border-radius: 999px; }
.frame:last-child { border-color: rgba(63, 224, 192, 0.55); box-shadow: 0 0 40px -16px var(--glow); }
.frame:last-child .frame-label { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
@media (min-width: 640px) { .frames { grid-auto-columns: 30%; } }
@media (min-width: 960px) { .frames { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; } }

/* Hastanıza gösterin */
.patient-in { display: grid; gap: 40px; }
.patient-in > * { min-width: 0; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.stores.center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 14px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 1.05rem; line-height: 1.1; text-align: left; border: 1px solid var(--text); transition: transform 0.2s var(--ease), box-shadow 0.3s; }
.store small { display: block; font: 500 0.64rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.store:hover { color: var(--bg); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(233, 239, 248, 0.35); }
.store.is-soon { background: transparent; color: var(--muted); border-color: var(--border-strong); border-style: dashed; cursor: default; }
.store.is-soon:hover { transform: none; box-shadow: none; color: var(--muted); }
.store.is-soon small { color: var(--warning); opacity: 1; }
.stores .note { flex-basis: 100%; margin-top: 0; }
.invite { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--accent-bg); border: 1px solid rgba(63, 224, 192, 0.25); font-size: 0.93rem; }
.invite .ic { color: var(--primary); margin-top: 3px; }
.patient-visual { position: relative; }
.patient-visual > .note { margin-top: 10px; }
.areas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.area { position: relative; min-width: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.area:nth-child(2) { margin-top: 22px; }
.area img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.8s var(--ease); }
.area:hover img { transform: scale(1.05); }
.area::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 32, 0.85)); }
.area-label { position: absolute; left: 10px; right: 8px; bottom: 10px; z-index: 1; font-weight: 600; font-size: 0.92rem; line-height: 1.2; color: var(--text); }
.qr-card { display: flex; gap: 16px; align-items: center; margin-top: 28px; padding: 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--border); }
.qr-card > div { min-width: 0; }
.qr { width: 112px; height: 112px; border-radius: 10px; flex: none; box-shadow: 0 0 0 4px rgba(63, 224, 192, 0.18); }
.qr-card h3 { font-size: 1rem; margin-bottom: 6px; }
.qr-card p { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 379px) { .qr { width: 96px; height: 96px; } .area-label { font-size: 0.82rem; } }
@media (min-width: 960px) { .patient-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .qr { width: 136px; height: 136px; } }

/* Mahremiyet */
.privacy { background: radial-gradient(ellipse at 20% 50%, rgba(63, 224, 192, 0.07), transparent 60%); }
.privacy-in { display: grid; gap: 36px; }
.privacy-in > * { min-width: 0; }
.privacy-photo { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); max-width: 460px; }
.privacy-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.privacy-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 18, 32, 0.8)); }
.lock-badge { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--glass); border: 1px solid rgba(63, 224, 192, 0.45); color: var(--primary); box-shadow: 0 0 40px -10px var(--glow); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 60px -4px var(--glow); } }
.checks { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.checks .ic { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--accent-bg); color: var(--primary); stroke-width: 2.4; }
@media (min-width: 960px) { .privacy-in { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; } }

/* Pilot */
.pilot-card { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid rgba(63, 224, 192, 0.35); min-height: 400px; display: flex; align-items: flex-end; box-shadow: 0 40px 100px -40px var(--glow); background: var(--bg-elev); }
.pilot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }
.pilot-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 18, 32, 0.3), rgba(11, 18, 32, 0.95) 70%), linear-gradient(90deg, rgba(11, 18, 32, 0.9), rgba(11, 18, 32, 0.15)); }
.pilot-copy { position: relative; z-index: 2; padding: 28px 22px; max-width: 580px; }
.pilot-copy h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); }
.pilot-copy > p:not(.eyebrow) { color: var(--muted); margin: 14px 0 24px; }
@media (min-width: 640px) { .pilot-copy { padding: 36px; } }
@media (min-width: 960px) { .pilot-card { min-height: 460px; align-items: center; } .pilot-copy { padding: 56px; } }

/* SSS */
.faq-in { max-width: 820px; }
.faq h2 { margin-bottom: 24px; }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: rgba(20, 30, 49, 0.5); transition: border-color 0.3s, background-color 0.3s; }
.reveal-on .faq details[data-reveal] { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.3s, background-color 0.3s; }
.faq details:hover { border-color: var(--border-strong); }
.faq details[open] { border-color: rgba(63, 224, 192, 0.4); background: rgba(20, 30, 49, 0.85); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; min-height: 52px; font-weight: 600; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--primary); transition: transform 0.3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--muted); }
.faq details[open] p { animation: rise 0.4s var(--ease) both; }

/* Alt bilgi */
.footer { border-top: 1px solid var(--border); padding: 40px 0 48px; margin-top: 24px; background: linear-gradient(180deg, transparent, rgba(7, 12, 22, 0.6)); }
.footer-in { display: grid; gap: 24px; }
.footer .brand { margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; overflow-wrap: anywhere; padding: 4px 0; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-fine { line-height: 1.5; }
@media (min-width: 960px) { .footer-in { grid-template-columns: 1fr auto; align-items: start; } .footer-fine { grid-column: 1 / -1; } }

/* Görünür olunca belir (yalnız landing.js gözlemciyi kurunca gizlenir; kademe gecikmesi landing.js'te CSSOM ile) */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Başvuru sayfası ─────────────────────────────────────────────────────────── */
/* overflow: clip (hidden'ın yedeğiyle): kaydırma kabı OLUŞTURMAZ → .apply-copy'nin sticky'si çalışır. */
.apply { position: relative; overflow: hidden; overflow: clip; padding: 28px 0 72px; }
.apply-in { position: relative; display: grid; gap: 32px; }
.apply-in > * { min-width: 0; }
.apply-copy h1 { font-size: clamp(2rem, 6.6vw, 3.1rem); line-height: 1.08; letter-spacing: -0.03em; }
.apply-copy > * { animation: rise 0.8s var(--ease) both; }
.apply-copy > h1 { animation-name: lift; }
.apply-copy > :nth-child(3) { animation-delay: 0.08s; }
.apply-copy > :nth-child(n + 4) { animation-delay: 0.16s; }
.h-small { font: 500 0.78rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 34px 0 14px; }
.next-steps { list-style: none; padding: 0; display: grid; gap: 12px; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; color: var(--muted); }
.next-steps .step-num { width: 40px; height: 40px; border-radius: 12px; font-size: 0.8rem; }
.apply-card { position: relative; background: var(--glass); border: 1px solid var(--border); border-radius: 24px; padding: 20px 18px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 0 60px -30px var(--glow-soft); animation: rise 0.9s 0.12s var(--ease) both; } /* backdrop-filter yok (uzun form, kaydırma maliyeti) */
.form { position: relative; display: grid; gap: 14px; }
.field-row { display: grid; gap: 14px; }
.field-row > * { min-width: 0; }
.field { display: grid; gap: 6px; }
.field > label { font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--subtle); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 48px; border-radius: 12px; border: 1px solid var(--field-border); background: var(--bg-sunken); color: var(--text); font: 400 1rem/1.4 var(--sans); padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field textarea { resize: vertical; min-height: 112px; }
.field select { -webkit-appearance: none; 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='%237CF5DD' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { background: var(--bg-elev); color: var(--text); }
/* outline şeffaf (none değil): Windows yüksek kontrast modunda odak halkası yine çizilir. */
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid transparent; outline-offset: 2px; border-color: var(--primary); box-shadow: 0 0 0 4px var(--glow-soft); }
.form.was-validated .field :invalid { border-color: var(--danger); }
.form.was-validated .field :invalid:focus { box-shadow: 0 0 0 4px rgba(255, 122, 136, 0.25); }
/* Alan hatası (apply.js): aria-invalid + alanın altındaki ileti (aria-describedby). */
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(255, 122, 136, 0.25); }
.field-error { margin: 0; font-size: 0.82rem; line-height: 1.45; color: var(--danger); }
.consent { display: grid; gap: 6px; }
/* Bal küpü: ekran okuyucudan (aria-hidden) ve gözden gizli; display:none DEĞİL (bazı botlar bunu atlar). */
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.kvkk { border: 1px solid var(--border); border-radius: 14px; background: rgba(7, 12, 22, 0.5); }
.kvkk[open] { border-color: rgba(63, 224, 192, 0.35); }
.kvkk summary { list-style: none; cursor: pointer; padding: 12px 14px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--accent); border-radius: 14px; }
.kvkk summary::-webkit-details-marker { display: none; }
/* Açılır işareti (flex summary varsayılan üçgeni göstermez): aşağı bakan köşeli ok, açıkken döner. */
.kvkk summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s var(--ease); }
.kvkk[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.kvkk-body { padding: 0 14px 14px; font-size: 0.82rem; line-height: 1.55; color: var(--muted); display: grid; gap: 8px; max-height: 300px; overflow: auto; overscroll-behavior: contain; }
.kvkk-body strong { color: var(--text); font-weight: 600; }
.kvkk-body a { overflow-wrap: anywhere; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--primary); flex: none; cursor: pointer; }
.form.was-validated .check input:invalid, .check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
/* Hatalı kutucuk odaktayken kırmızı çerçeve odak halkasını ezmesin: dışına odak renginde ayrı halka. */
.check input:focus-visible { box-shadow: 0 0 0 5px var(--bg), 0 0 0 8px var(--focus); }
.captcha { min-height: 65px; min-width: 0; }
.form-status { min-height: 1.4em; font-size: 0.9rem; }
.form-status.is-error { color: var(--danger); }
.form-status:focus { outline: none; } /* odak yalnız ekran okuyucuya iletiyi okutmak için (tabindex=-1) */
.form-status.is-busy { color: var(--muted); }
.form-status.is-busy::before { content: ""; display: inline-block; width: 0.9em; height: 0.9em; margin-right: 8px; vertical-align: -0.1em; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--primary); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 24px 8px; }
.done h2:focus { outline: none; } /* başarıda odak başlığa (apply.js); ekran okuyucu onu okur */
.done h2:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 8px; }
.done-mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-bg); border: 1px solid rgba(63, 224, 192, 0.5); box-shadow: 0 0 50px -10px var(--glow); animation: pop 0.6s var(--ease) both; }
.done-mark svg { width: 34px; height: 34px; fill: none; stroke: var(--primary); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.7s 0.25s var(--ease) forwards; }
.done h2 { font-size: 1.6rem; }
.done p { color: var(--muted); max-width: 28em; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (min-width: 640px) { .field-row.two { grid-template-columns: 1fr 1fr; } .apply-card { padding: 32px; } }
/* Dar telefon (< 380 px): Turnstile widget'ı en az 300 px ister. Kart çerçevesi kalkar ve form kenar boşluğu 10 px'e
   iner (320 px'te içerik tam 300 px); metin sütunu 20 px'lik boşluğunu korur. Yatay taşma yok. */
@media (max-width: 379px) {
  .apply-in.wrap { padding-inline: 10px; }
  .apply-copy { padding-inline: 10px; }
  .apply-card { padding: 8px 0 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
}
@media (min-width: 960px) { .apply-in { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; padding-top: 32px; } .apply-copy { position: sticky; top: 96px; } }

/* ── Küçük sayfalar: /indir ve 404 ───────────────────────────────────────────── */
.mini { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px var(--gutter); overflow: hidden; }
.mini-card { position: relative; width: 100%; max-width: 540px; text-align: center; display: grid; justify-items: center; gap: 14px; animation: rise 0.8s var(--ease) both; }
.mini h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
.mini .lead { margin: 0; }
.mini .stores { margin-top: 8px; }
.mini .note { margin-top: 0; }
.brand-mark.big { width: 64px; height: 64px; filter: drop-shadow(0 0 18px rgba(63, 224, 192, 0.45)); }
.nf-code { font-size: 4.5rem; line-height: 1; color: var(--primary); letter-spacing: -0.04em; text-shadow: 0 0 40px var(--glow); margin: 0; }
.cta-row.center { justify-content: center; margin-top: 8px; }

/* ── Hareket azaltma: döngüler durur, her şey son hâlinde görünür ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
  .reveal-on .steps::before, .reveal-on .timeline .rail-fill { transform: none; }
  .rail-fill::after { display: none; }
  .feature:hover, .store:hover, .brand:hover .brand-mark, .frame:hover img, .area:hover img, .feature:hover::before { translate: none; transform: none; }
  .motion-toggle { display: none; } /* döngüler zaten kapalı */
}

/* Windows yüksek kontrast: süs katmanları çekilir, kenarlar sistem rengine döner. */
@media (forced-colors: active) {
  .hero-bg, .demo-window::before, .pilot-card::before, .scan { display: none; }
  .btn, .store, .lang, .demo-card, .step, .feature, .faq details, .qr-card, .apply-card { border: 1px solid CanvasText; }
}

/* Yazdırma: beyaz kâğıt, koyu metin; süs katmanları, animasyonlar ve etkileşimli parçalar çıkar; gizli içerik görünür. */
@media print {
  html, body { background: #fff !important; color: #000 !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; text-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  body, h1, h2, h3, p, li, span, small, strong, em, b, label, summary, figcaption, .lead, .muted, .subtle, .note, .eyebrow, .stat-num { color: #000 !important; }
  a { color: #000 !important; text-decoration: underline; }
  .hero-bg, .skip, .sprite, .topbar-actions, .nav, .motion-toggle, .scan, .pilot-bg, .lock-badge, .captcha, .hp, .cta-row, .form-status:empty { display: none !important; }
  .topbar { position: static; background: none !important; border: 0; }
  [data-reveal], .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
  .reveal-on .steps::before, .reveal-on .timeline .rail-fill { transform: none !important; }
  .demo-window, .demo-card, .step, .feature, .faq details, .qr-card, .apply-card, .stats-grid li, .pilot-card, .kvkk, .store { background: none !important; border: 1px solid #999 !important; }
  .pilot-card::before, .demo-window::before, .frame::after, .area::after, .how-photo::after, .privacy-photo::after { display: none !important; }
  .kvkk-body { max-height: none; overflow: visible; }
  section, .step, .feature, .faq details, figure { break-inside: avoid; }
}
