/* aiMED tanıtım sitesi — marka kiti tokens.json ile birebir; fontlar kit içinden, CDN yok. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('fonts/Manrope-Variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('fonts/Manrope-Variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('fonts/JetBrainsMono-Variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('fonts/JetBrainsMono-Variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #090D1F; --bg-2: #0D1230;
  --surface: rgba(255,255,255,.04); --surface-2: rgba(255,255,255,.06); --surface-solid: #10163A;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.16);
  --text: #EEF3FF; --dim: #A3B2D9; --faint: #5E6A99; --link: #8EC5FF;
  --brand: #3B82F6; --brand-600: #2563EB; --brand-400: #60A5FA; --brand-300: #8EC5FF;
  --cyan: #22D3EE; --violet: #7C3AED;
  --grad: linear-gradient(135deg, #22D3EE 0%, #3B82F6 50%, #7C3AED 100%);
  --success: #10B981; --warning: #F59E0B; --danger: #EF4444; --rec: #F43F5E;
  --font: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", ui-monospace, Consolas, monospace;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 24px;
  --sh-md: 0 6px 18px rgba(9,13,31,.35); --sh-glow: 0 24px 60px rgba(59,130,246,.5);
  --ease: cubic-bezier(.2,.7,.2,1);
  --clin-ev-bg: rgba(253,244,214,.12); --clin-ev-b: #D9A21B;
  --clin-at-bg: rgba(253,232,228,.12); --clin-at-b: #E0564A;
  --clin-in-bg: rgba(242,244,247,.08); --clin-in-b: #9AA3B5;
  --clin-ed-b: #6D8BFF;
  --nav-h: 64px;
}
:root[data-theme="light"] {
  --bg: #F3F6FF; --bg-2: #FFFFFF; --surface: #FFFFFF; --surface-2: #F7F9FF; --surface-solid: #FFFFFF;
  --line: #DAE2F5; --line-strong: #C3CEE8; --text: #0F1538; --dim: #475467; --faint: #6B7794; --link: #2563EB;
  --sh-md: 0 6px 18px rgba(15,21,56,.10); --sh-glow: 0 24px 60px rgba(59,130,246,.28);
  --clin-ev-bg: #FDF4D6; --clin-ev-b: #BD8001; --clin-at-bg: #FDE8E4; --clin-at-b: #B4392C; --clin-in-bg: #F2F4F7; --clin-in-b: #848D9E; --clin-ed-b: #4F6BE0;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
/* Kaydırma çubukları: uygulamayla aynı (ince, şeffaf ray, kenarlık renginde tutamaç) */
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--faint); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
.qd-report, .qd-transcript, .table-wrap, pre, .app-card-body { scrollbar-gutter: auto; }
.qd-report::-webkit-scrollbar-thumb, .qd-transcript::-webkit-scrollbar-thumb { background: var(--app-line-strong); background-clip: padding-box; }

html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
code, .mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(59,130,246,.35); }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* ---------- üst çubuk ---------- */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.lockup { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.035em; font-size: 22px; }
.lockup:hover { text-decoration: none; }
.lockup svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { white-space: nowrap; color: var(--dim); font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 999px; transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav .nav-burger { display: none; }
@media (max-width: 1200px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; padding: 10px 16px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav .nav-burger { display: inline-flex; }
}
@media (max-width: 900px) { .nav-right .btn-primary { display: none; } }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; border: 1px solid transparent; transition: transform .15s var(--ease), background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(59,130,246,.35); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--dim); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-icon:hover { color: var(--text); background: var(--surface-2); }
.btn-icon svg { width: 18px; height: 18px; }

/* ---------- ortak bloklar ---------- */
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-300); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(34,211,238,.8); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin-top: 14px; }
.sec-head p { color: var(--dim); font-size: 17px; margin-top: 14px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.grid { display: grid; gap: 20px; }
.grid > *, .feature-row > *, .module > *, .hero-grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.card h3 { font-size: 17px; font-weight: 700; margin-top: 16px; }
.card p { color: var(--dim); font-size: 14.5px; margin-top: 8px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(59,130,246,.12); color: var(--brand-300); border: 1px solid rgba(59,130,246,.22); }
.ico svg { width: 22px; height: 22px; }
.ico.grad { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(59,130,246,.35); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--dim); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(34,211,238,.8); }
.pill.soon { color: var(--faint); border-style: dashed; }
.pill.soon::before { background: var(--faint); box-shadow: none; }
.tag { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--dim); }
.tag.ok { color: var(--success); border-color: rgba(16,185,129,.4); }
.tag.soon { color: var(--warning); border-color: rgba(245,158,11,.4); }
.muted { color: var(--dim); }
.faint { color: var(--faint); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.list li { position: relative; padding-left: 26px; color: var(--dim); font-size: 14.5px; }
.list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.5); }
.list li::after { content: ""; position: absolute; left: 4.5px; top: 10px; width: 5px; height: 3px; border-left: 1.5px solid var(--success); border-bottom: 1.5px solid var(--success); transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
/* Arka plan videosu: assets/media/hero.mp4 (+ hero.webm, hero.jpg) varsa JS devreye alır; yoksa gradyan kalır. */
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero-media.on { opacity: 1; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.8) brightness(.85) blur(.5px); transform: scale(1.04); }
:root[data-theme="light"] .hero-media video, :root[data-theme="light"] .hero-media img { filter: saturate(.6) brightness(1.9) contrast(.7) blur(.5px); }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, color-mix(in srgb, var(--bg) 45%, transparent) 55%, var(--bg) 100%),
              linear-gradient(135deg, rgba(34,211,238,.10), rgba(59,130,246,.10) 50%, rgba(124,58,237,.14)); }
.hero > .wrap { position: relative; z-index: 1; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 50% at 70% 20%, rgba(124,58,237,.22), transparent 60%), radial-gradient(50% 45% at 20% 60%, rgba(34,211,238,.14), transparent 60%), radial-gradient(45% 40% at 55% 85%, rgba(59,130,246,.18), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--brand-300); }
:root[data-theme="light"] .hero h1 em { color: var(--brand-600); }
:root[data-theme="light"] .eyebrow { color: var(--brand-600); }
.hero .lead { font-size: 18.5px; color: var(--dim); margin-top: 22px; max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* hero demo (dikte → rapor) */
.demo { position: relative; border-radius: var(--r-2xl); background: var(--surface-solid); border: 1px solid var(--line-strong); box-shadow: var(--sh-md), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; }
:root[data-theme="light"] .demo { box-shadow: 0 24px 60px rgba(15,21,56,.12); }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.demo-bar .dots { display: flex; gap: 6px; } .demo-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.demo-bar .rec { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--rec); }
.demo-bar .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 0 rgba(244,63,94,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(244,63,94,.55); } 70% { box-shadow: 0 0 0 9px rgba(244,63,94,0); } 100% { box-shadow: 0 0 0 0 rgba(244,63,94,0); } }
.demo-body { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .demo-body { grid-template-columns: 1fr; } }
.demo-left { padding: 18px; border-right: 1px solid var(--line); }
@media (max-width: 560px) { .demo-left { border-right: 0; border-bottom: 1px solid var(--line); } }
.demo-right { padding: 18px; background: var(--surface); }
.demo-label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.wave { display: flex; align-items: center; gap: 3px; height: 54px; margin: 6px 0 14px; }
.wave i { flex: 1; height: 20%; border-radius: 3px; background: var(--grad); opacity: .9; transform-origin: center; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-duration: 1.4s; } .wave i:nth-child(3n) { animation-duration: .9s; } .wave i:nth-child(5n) { animation-delay: .3s; } .wave i:nth-child(7n) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 92%; } }
.transcript { font-size: 14.5px; line-height: 1.65; min-height: 112px; color: var(--text); }
.transcript .k { color: var(--brand-300); font-weight: 700; }
.transcript .del { text-decoration: line-through; color: var(--faint); }
.transcript .fix { background: rgba(16,185,129,.18); border-radius: 4px; padding: 0 4px; color: var(--text); }
.transcript .cursor { display: inline-block; width: 2px; height: 1em; background: var(--brand-300); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.report { font-size: 13px; }
.report .row { display: grid; grid-template-columns: 86px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.report .row b { color: var(--faint); font-weight: 600; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.report .row span { min-height: 1.4em; }
.report .row span:empty::after { content: "…"; color: var(--faint); }
.report .fill { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s var(--ease); }
.report .fill.on { opacity: 1; transform: none; }
.report .status { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.report .status.done { color: var(--success); }
.report .status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.demo-foot { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--dim); }
.chip.on { color: var(--success); border-color: rgba(16,185,129,.4); }

/* ---------- istatistik şeridi ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.stats > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.stats span { color: var(--dim); font-size: 13.5px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- problem ---------- */
.problem { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .problem { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problem { grid-template-columns: 1fr; } }
.problem .card { border-top: 3px solid var(--danger); }
.problem .card h3 { margin-top: 0; }

/* ---------- adımlar ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--brand-300); }
.step h3 { font-size: 18px; margin-top: 10px; }
.step p { color: var(--dim); font-size: 14.5px; margin-top: 8px; }
.step .say { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.step .say::before { content: "“"; color: var(--brand-300); font-weight: 800; }
.step .say::after { content: "”"; color: var(--brand-300); font-weight: 800; }

/* formül */
.formula { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.formula .box { width: 150px; padding: 18px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); text-align: center; }
.formula .box .ico { margin: 0 auto 10px; }
.formula .box b { display: block; font-size: 13.5px; }
.formula .box span { font-size: 12px; color: var(--faint); }
.formula .op { font-size: 26px; font-weight: 800; color: var(--faint); }
.formula .box.out { background: var(--grad); color: #fff; border: 0; box-shadow: 0 16px 36px rgba(59,130,246,.35); }
.formula .box.out .ico { background: rgba(255,255,255,.2); color: #fff; border: 0; }
.formula .box.out span { color: rgba(255,255,255,.85); }

/* ---------- özellik vitrin ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row + .feature-row { margin-top: 88px; }
.feature-row.flip > :first-child { order: 2; }
@media (max-width: 960px) { .feature-row { grid-template-columns: 1fr; gap: 28px; } .feature-row.flip > :first-child { order: 0; } .feature-row + .feature-row { margin-top: 64px; } }
.feature-row h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -0.03em; margin-top: 12px; }
.feature-row > div > p { color: var(--dim); font-size: 16.5px; margin-top: 14px; }
.shot { border-radius: var(--r-2xl); background: var(--surface-solid); border: 1px solid var(--line-strong); box-shadow: var(--sh-md); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.shot-body { padding: 18px; }

/* düzeltme motoru */
.correction { font-size: 16px; line-height: 1.9; }
.correction .del { text-decoration: line-through; text-decoration-color: var(--danger); color: var(--faint); }
.correction .p { color: var(--brand-300); font-weight: 700; }
.correction .fix { background: rgba(16,185,129,.18); border-radius: 5px; padding: 1px 6px; }
.correction .arrow { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.correction .arrow::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
.correction .out { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14.5px; }

/* çoklu hasta */
.split { position: relative; }
.split .wave { height: 70px; }
.split .cuts { position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none; }
.split .cut { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 2px dashed var(--brand-300); }
.split .cut::before { content: "✂"; position: absolute; top: -18px; left: -7px; font-size: 13px; color: var(--brand-300); }
.patients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.patients div { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.patients div b { display: block; font-size: 13.5px; }
.patients div span { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.patients div em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(16,185,129,.4); color: var(--success); }

/* klinik vurgu */
.clin { display: grid; gap: 10px; font-size: 14.5px; line-height: 1.7; }
.clin .ln { padding: 8px 12px 8px 36px; border-radius: 8px; position: relative; border: 1px solid transparent; }
.clin .ln::before { position: absolute; left: 10px; top: 9px; width: 18px; height: 18px; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.clin .ev { background: var(--clin-ev-bg); border-color: var(--clin-ev-b); border-style: solid; } .clin .ev::before { content: "🎙"; }
.clin .at { background: var(--clin-at-bg); border-color: var(--clin-at-b); border-style: dashed; } .clin .at::before { content: "⚠"; color: var(--clin-at-b); }
.clin .in { background: var(--clin-in-bg); border-color: var(--clin-in-b); border-style: dotted; color: var(--dim); } .clin .in::before { content: "?"; color: var(--clin-in-b); font-weight: 800; }
.clin .ed { border-left: 3px solid var(--clin-ed-b); border-radius: 0 8px 8px 0; } .clin .ed::before { content: "✎"; color: var(--clin-ed-b); }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.legend span { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--dim); }
.legend span i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* ---------- karşılaştırma ---------- */
.compare { display: grid; grid-template-columns: 180px 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.compare > div { padding: 18px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 14.5px; }
.compare > div:nth-child(3n) { border-right: 0; }
.compare > div:nth-last-child(-n+3) { border-bottom: 0; }
.compare .h { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); background: var(--surface); }
.compare .h.imed { color: var(--brand-300); background: rgba(59,130,246,.08); }
.compare .k { font-weight: 700; }
.compare .old { color: var(--dim); } .compare .old::before { content: "✕ "; color: var(--danger); }
.compare .new { background: rgba(59,130,246,.05); } .compare .new::before { content: "✓ "; color: var(--success); font-weight: 800; }
.compare .new b { color: var(--text); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare > div { border-right: 0; } .compare .h:not(.imed) { display: none; } .compare .k { background: var(--surface); } }

/* ---------- kanallar ---------- */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1180px) { .channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .channels { grid-template-columns: 1fr; } }
.channel { padding: 26px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.channel .ico { margin-bottom: 14px; }
.channel h3 { font-size: 17px; }
.channel p { color: var(--dim); font-size: 14.5px; margin-top: 8px; }
.channel .tag { margin-left: 8px; vertical-align: 2px; }

/* mimari */
.arch { display: grid; grid-template-columns: 1fr auto 1.4fr auto 1fr; gap: 14px; align-items: stretch; }
@media (max-width: 900px) { .arch { grid-template-columns: 1fr; } .arch .arrow { transform: rotate(90deg); justify-self: center; } }
.arch .node { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.arch .node h3 { font-size: 11px; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.arch .node ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--dim); }
.arch .node ul li::before { content: "▸ "; color: var(--brand-300); }
.arch .core { border-color: rgba(59,130,246,.45); background: rgba(59,130,246,.06); box-shadow: 0 0 0 4px rgba(59,130,246,.06); }
.arch .core h3 { color: var(--brand-300); }
.arch .arrow { align-self: center; color: var(--faint); font-size: 22px; }

/* ---------- kimler için ---------- */
.who { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1000px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }
.who .card h3 { font-size: 15.5px; margin-top: 12px; }
.who .card p { font-size: 13.5px; }

/* altın kurallar */
.rules { counter-reset: r; display: grid; gap: 0; border: 1px solid var(--line-strong); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.rules div { display: flex; align-items: center; gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.rules div:last-child { border-bottom: 0; }
.rules div::before { counter-increment: r; content: counter(r) "."; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand-300); width: 44px; }

/* ---------- SSS ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--dim); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta-box { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: center; border: 1px solid var(--line-strong); background: var(--surface-solid); }
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(59,130,246,.28), transparent 70%); pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.cta-box p { color: var(--dim); font-size: 17px; margin: 14px auto 0; max-width: 620px; }
.cta-box .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 640px) { .cta-box { padding: 44px 22px; } }

/* ---------- alt bilgi ---------- */
.footer { padding: 48px 0 36px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .top { grid-template-columns: 1fr; } }
.footer h2 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--dim); } .footer a:hover { color: var(--text); }
.footer .bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; }

/* ---------- alt sayfalar ---------- */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 70% at 80% 0%, rgba(124,58,237,.18), transparent 70%); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; letter-spacing: -0.035em; margin-top: 14px; position: relative; }
.page-head p { color: var(--dim); font-size: 17.5px; margin-top: 14px; max-width: 720px; position: relative; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; position: relative; }
.module { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.module:last-child { border-bottom: 0; }
@media (max-width: 900px) { .module { grid-template-columns: 1fr; gap: 20px; } }
.module .side { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.module .side h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-top: 10px; }
.module .side p { color: var(--dim); margin-top: 10px; font-size: 15px; }
.module .body { display: grid; gap: 14px; }
.fcard { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.fcard h3 { font-size: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fcard p { color: var(--dim); font-size: 14.5px; margin-top: 8px; }
.fcard .list { margin-top: 10px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; background: var(--surface); }
.table td code { font-size: 12.5px; color: var(--brand-300); white-space: nowrap; }
.table-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: auto; }
pre { margin: 0; max-width: 100%; padding: 18px 20px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.65; overflow: auto; color: var(--text); }
pre .c { color: var(--faint); } pre .s { color: var(--cyan); } pre .k { color: var(--brand-300); }
:root[data-theme="light"] pre .s { color: #0E7490; }

/* ---------- görünürlük animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- demo talep formu ---------- */
.contact-lines { display: grid; gap: 6px; margin-top: 22px; font-size: 14.5px; }
.contact-lines a { color: var(--text); font-weight: 600; }
.demo-form { border-radius: var(--r-2xl); background: var(--surface-solid); border: 1px solid var(--line-strong); box-shadow: var(--sh-md); padding: 26px; }
.demo-form-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dim); }
.field input, .field textarea { font: inherit; font-weight: 500; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s; width: 100%; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--dim); font-weight: 400; }
.consent input { margin-top: 3px; accent-color: var(--brand); }
.demo-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.form-msg { font-size: 13.5px; color: var(--dim); }
.form-msg.ok { color: var(--success); } .form-msg.err { color: var(--danger); }
.demo-form.sent .fgrid, .demo-form.sent .demo-form-foot .btn { display: none; }
.demo-form .thanks { display: none; padding: 20px 0 6px; }
.demo-form.sent .thanks { display: block; }
.thanks h4 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.thanks p { color: var(--dim); margin-top: 8px; }

/* ---------- hızlı demo: uygulama arayüzü kalıbı (templates/base.html + index.html ile aynı ölçüler) ---------- */
.app-frame { --app-bg: #090D1F; --app-card: #0E1333; --app-card-2: #0B1029; --app-line: rgba(255,255,255,.09); --app-line-strong: rgba(255,255,255,.16);
  border-radius: 22px; background: var(--app-bg); border: 1px solid var(--line-strong); box-shadow: var(--sh-md); overflow: hidden; padding: 0 0 22px; }
:root[data-theme="light"] .app-frame { --app-bg: #F3F6FF; --app-card: #FFFFFF; --app-card-2: #F7F9FF; --app-line: #DAE2F5; --app-line-strong: #C3CEE8; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 22px; border-bottom: 1px solid var(--app-line); background: var(--app-card); }
.app-crumb-k { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.app-crumb-t { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.app-topbar-right { display: flex; align-items: center; gap: 12px; }
.app-pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--success); border: 1px solid rgba(16,185,129,.4); border-radius: 999px; padding: 5px 10px; }
.app-pill.warn { color: var(--warning); border-color: rgba(245,158,11,.4); }
.app-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; padding-top: .09em; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px 22px 0; }
@media (max-width: 900px) { .app-grid { grid-template-columns: 1fr; } }
.app-card { display: flex; flex-direction: column; border-radius: 16px; background: var(--app-card); border: 1px solid var(--app-line); overflow: hidden; }
.app-card-header { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 20px; border-bottom: 1px solid var(--app-line); }
.app-card-title { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.app-card-title .i, .app-player-title .i, .app-btn .i { width: 16px; height: 16px; color: var(--brand-300); }
.app-card-label { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.app-card-body { padding: 20px; flex: 1; display: grid; gap: 16px; align-content: start; }
.app-card-footer { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--app-line); background: var(--app-card-2); }
.app-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: background .15s, box-shadow .15s, opacity .15s; }
.app-btn-primary { background: var(--brand); color: #fff; } .app-btn-primary .i { color: #fff; }
.app-btn-primary:hover { background: var(--brand-600); box-shadow: 0 6px 18px rgba(59,130,246,.35); }
.app-btn-outline { background: transparent; color: var(--text); border-color: var(--app-line-strong); } .app-btn-outline:hover { background: var(--surface-2); }
.app-btn-outline-danger { background: transparent; color: var(--danger); border-color: rgba(239,68,68,.5); } .app-btn-outline-danger:hover { background: var(--danger); color: #fff; }
.app-btn-block { width: 100%; }
.app-btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.app-btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.app-chip { font: inherit; font-size: 12.5px; font-weight: 600; color: var(--dim); background: var(--app-card-2); border: 1px solid var(--app-line-strong); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.app-chip.on { color: var(--brand-300); border-color: var(--brand); }
.qd-scripts { display: flex; flex-wrap: wrap; gap: 8px; }
.qd-script { font-size: 16.5px; line-height: 1.85; color: var(--text); padding: 16px 18px; border-radius: 12px; background: var(--app-card-2); border: 1px solid var(--app-line); margin: 0; }
.qd-script mark { color: inherit; background: none; border-bottom: 2px solid; padding-bottom: 1px; border-radius: 0; }
.sc-name { border-color: var(--cyan) !important; } .sc-exam { border-color: var(--brand) !important; } .sc-find { border-color: var(--clin-ev-b) !important; } .sc-fix { border-color: var(--clin-at-b) !important; } .sc-end { border-color: var(--violet) !important; }
.app-note { border-radius: 12px; background: var(--app-card-2); border: 1px solid var(--app-line); padding: 14px 16px; }
.app-note-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.qd-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--dim); }
.qd-keys li { display: flex; align-items: center; gap: 10px; }
.qd-keys i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; border: 0; }
.qd-keys .sc-name { background: var(--cyan); } .qd-keys .sc-exam { background: var(--brand); } .qd-keys .sc-find { background: var(--clin-ev-b); } .qd-keys .sc-fix { background: var(--clin-at-b); } .qd-keys .sc-end { background: var(--violet); }
/* kayıt kutusu: uygulamadaki dikte göstergesi + sayaç + dalga + yuvarlak düğmeler */
.rec-box { border-radius: 16px; background: var(--app-card-2); border: 1px solid var(--app-line); padding: 22px 18px 18px; display: flex; flex-direction: column; align-items: center; }
.dict-ind { width: 68px; height: 68px; filter: drop-shadow(0 10px 24px rgba(59,130,246,.45)); }
.dict-ind .id-bar { stroke: #fff; stroke-width: 11; stroke-linecap: round; transform-origin: center; }
.dict-ind .id-dot { fill: #fff; } .dict-ind .id-ring { fill: none; stroke: #F43F5E; stroke-width: 3; opacity: 0; }
.app-frame[data-state="recording"] .dict-ind .id-dot { fill: #F43F5E; animation: dot-pulse 1.2s ease-in-out infinite; }
.app-frame[data-state="recording"] .dict-ind .id-ring { animation: ring-pulse 1.2s ease-out infinite; }
.app-frame[data-state="recording"] .dict-ind .b1 { animation: bar-bounce 1.0s ease-in-out infinite; }
.app-frame[data-state="recording"] .dict-ind .b2 { animation: bar-bounce .8s ease-in-out infinite .1s; }
.app-frame[data-state="recording"] .dict-ind .b3 { animation: bar-bounce 1.2s ease-in-out infinite .2s; }
@keyframes bar-bounce { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes ring-pulse { 0% { opacity: .9; r: 8.5; } 100% { opacity: 0; r: 20; } }
.rec-timer { font-family: var(--mono); font-size: 40px; font-weight: 600; letter-spacing: .02em; margin-top: 12px; line-height: 1; }
.rec-wave { width: 100%; margin-top: 16px; border-radius: 14px; background: #0F1538; border: 1px solid var(--app-line); padding: 8px; }
.rec-wave canvas { display: block; width: 100%; height: 92px; }
.rec-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.rec-btn { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--app-line-strong); background: var(--app-card); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s, opacity .15s; }
.rec-btn svg { width: 24px; height: 24px; } .rec-btn:hover { transform: translateY(-1px); }
.rec-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.rec-btn-rec { background: #F43F5E; border-color: #F43F5E; color: #fff; box-shadow: 0 8px 24px rgba(244,63,94,.4); }
.app-frame[data-state="recording"] .rec-btn-rec { animation: pulse 1.6s infinite; }
.rec-btn-stop .sq { width: 18px; height: 18px; border-radius: 4px; background: currentColor; }
.rec-btn-reset { color: var(--brand-300); border-color: rgba(59,130,246,.5); }
.rec-limit { margin-top: 12px; font-size: 12.5px; color: var(--faint); }
.app-player { border-radius: 14px; background: var(--app-card-2); border: 1px solid var(--app-line); padding: 12px 14px; }
.app-player-title { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.app-player audio { width: 100%; height: 38px; }
.app-field label { display: block; font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 6px; }
.app-select { border-radius: 12px; border: 1px solid var(--app-line-strong); background: var(--app-card-2); padding: 11px 13px; font-size: 14px; color: var(--dim); }
.app-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--dim); }
.app-consent input { margin-top: 3px; accent-color: var(--brand); }
.app-alt { font-size: 12.5px; color: var(--faint); }
.app-link { color: var(--link); cursor: pointer; } .app-link input { display: none; }
.app-frame .form-msg { display: block; min-height: 1.2em; }
/* ilerleme kartı (uygulamadaki pcard) */
.pcard { margin: 22px 22px 0; border-radius: 16px; background: var(--app-card); border: 1px solid var(--app-line); padding: 22px; display: grid; gap: 18px; }
.pcard-head { display: flex; align-items: center; gap: 16px; }
.pcard-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad); box-shadow: 0 8px 22px rgba(59,130,246,.4); animation: pc-breathe 1.8s ease-in-out infinite; flex-shrink: 0; }
.pcard-icon svg { width: 22px; height: 22px; }
.pcard.is-done .pcard-icon { background: var(--success); box-shadow: 0 8px 22px rgba(16,185,129,.4); animation: none; }
.pcard.is-failed .pcard-icon { background: var(--danger); box-shadow: 0 8px 22px rgba(239,68,68,.4); animation: none; }
@keyframes pc-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.pcard-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.pcard-title { font-size: 16px; font-weight: 700; }
.pcard-pct { margin-left: auto; font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pstep { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--faint); text-align: center; }
.pstep-dot { width: 100%; height: 6px; border-radius: 999px; background: var(--app-line-strong); }
.pstep.active { color: var(--text); } .pstep.active .pstep-dot { background: var(--grad); background-size: 200% 100%; animation: progress-slide 1.6s linear infinite; }
.pstep.done { color: var(--success); } .pstep.done .pstep-dot { background: var(--success); }
@keyframes progress-slide { 0% { background-position: 0 0; } 100% { background-position: 200% 0; } }
.pbar { height: 12px; border-radius: 999px; background: var(--app-card-2); border: 1px solid var(--app-line); overflow: hidden; }
.pbar-fill { height: 100%; border-radius: 999px; background: var(--grad); transition: width .5s ease-out; position: relative; }
.pbar-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%); background-size: 200% 100%; animation: pc-shimmer 1.4s linear infinite; }
@keyframes pc-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.pbar-fill.is-done { background: var(--success); } .pbar-fill.is-done::after { display: none; }
.pbar-fill.is-failed { background: var(--danger); } .pbar-fill.is-failed::after { display: none; }
.pcard-meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--dim); }
.pcard-meta .num { margin-left: auto; font-size: 12.5px; }
/* sonuç */
.app-grid-result { grid-template-columns: 1fr 1.3fr; }
@media (max-width: 900px) { .app-grid-result { grid-template-columns: 1fr; } }
.qd-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qd-checks li { position: relative; padding: 9px 12px 9px 34px; border-radius: 10px; border: 1px solid var(--app-line); background: var(--app-card-2); font-size: 13.5px; }
.qd-checks li b { font-weight: 600; } .qd-checks li span { display: block; color: var(--dim); font-size: 12.5px; margin-top: 3px; }
.qd-checks li::before { position: absolute; left: 11px; top: 9px; width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; }
.qd-checks li.ok::before { content: "✓"; background: rgba(16,185,129,.18); color: var(--success); }
.qd-checks li.no::before { content: "!"; background: rgba(239,68,68,.18); color: var(--danger); }
.qd-checks li.opt::before { content: "·"; background: var(--surface-2); color: var(--faint); }
.qd-checks li.no { border-color: rgba(239,68,68,.35); }
.qd-transcript { font-size: 14px; line-height: 1.7; padding: 12px 14px; border-radius: 12px; background: var(--app-card-2); border: 1px solid var(--app-line); max-height: 200px; overflow: auto; white-space: pre-wrap; }
.app-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-kv > div { padding: 10px 12px; border-radius: 10px; background: var(--app-card-2); border: 1px solid var(--app-line); font-size: 14px; }
.app-kv b { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 3px; }
.app-kv .tag { margin-left: 6px; }
.qd-missing { color: var(--warning); font-style: normal; }
.qd-report { font-size: 14px; line-height: 1.7; padding: 16px 18px; border-radius: 12px; background: var(--app-card-2); border: 1px solid var(--app-line); max-height: 440px; overflow: auto; }
.qd-report h1, .qd-report h2, .qd-report h3 { font-size: 15px; margin: 12px 0 6px; } .qd-report p { margin: 0 0 8px; } .qd-report table { border-collapse: collapse; width: 100%; } .qd-report td, .qd-report th { border: 1px solid var(--app-line); padding: 4px 8px; font-size: 13px; }
.app-card-footer .faint { font-size: 12.5px; }
.app-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--app-line-strong); color: var(--dim); }
.app-badge.ok { color: var(--success); border-color: rgba(16,185,129,.4); } .app-badge.warn { color: var(--warning); border-color: rgba(245,158,11,.4); }

/* kayıt önizleme oynatıcısı (uygulamadaki vm-audio-player) */
.vm-player { border-radius: 16px; border: 1px solid var(--app-line); background: var(--app-card-2); padding: 16px; }
.vm-top { display: flex; align-items: center; gap: 12px; }
.vm-main { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--grad); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vm-main:hover { filter: brightness(1.1); } .vm-main svg { width: 20px; height: 20px; } .vm-main .ic-pause { display: none; }
.vm-player.playing .vm-main .ic-play { display: none; } .vm-player.playing .vm-main .ic-pause { display: block; }
.vm-info { flex: 1; min-width: 0; }
.vm-title { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; } .vm-title .i { width: 16px; height: 16px; color: var(--brand-300); }
.vm-time { font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-top: 2px; } .vm-time .mx { margin: 0 4px; }
.vm-seek { width: 100%; margin: 16px 0; height: 6px; border-radius: 999px; appearance: none; -webkit-appearance: none; background: var(--app-line-strong); cursor: pointer; accent-color: #3B82F6; }
.vm-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-400); border: 2px solid #fff; }
.vm-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--brand-400); border: 2px solid #fff; }
.vm-actions { display: flex; align-items: center; gap: 8px; } .vm-actions .vm-mute { margin-left: auto; width: 36px; padding: 0; }
.vm-actions .i { width: 14px; height: 14px; color: currentColor; } .vm-actions .i.flip { transform: scaleX(-1); }
.vm-player.muted .vm-mute { color: var(--warning); }
/* taslakta bulgu işaretleme (uygulama editörü: strong = dikteden çıkarılan bulgu) */
.qd-report strong { background: rgba(245,158,11,.22); color: inherit; padding: 0 2px; border-radius: 3px; font-weight: 700; }
:root[data-theme="light"] .qd-report strong { background: rgba(245,158,11,.3); }
.qd-legend { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--dim); }
.qd-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: rgba(245,158,11,.45); vertical-align: -2px; margin-right: 6px; }
/* dil satırı (editördeki çeviri alanı) */
.qd-lang { display: flex; align-items: center; gap: 8px; }
.qd-lang select { flex: 1; font: inherit; font-size: 14px; color: var(--text); background: var(--app-card-2); border: 1px solid var(--app-line-strong); border-radius: 12px; padding: 9px 12px; }
.qd-lang .app-btn .i { color: var(--brand-300); }
.qd-report.translated { border-color: rgba(59,130,246,.45); }

/* İletişim kartı ve altbilgi künyesi */
.contact-card { margin-top: 24px; max-width: 460px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.contact-card .cc-title { padding: 16px 20px 14px; font-size: 16px; font-weight: 750; letter-spacing: -.01em; color: var(--text); }
.contact-card .cc-item { display: flex; align-items: center; gap: 14px; padding: 13px 20px; color: var(--text); }
.contact-card > :not([hidden]) ~ :not([hidden]) { border-top: 1px solid var(--line); }
.contact-card a.cc-item { transition: background .15s; }
.contact-card a.cc-item:hover { background: var(--surface-2); }
.contact-card .cc-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(59,130,246,.12); color: var(--brand-300); border: 1px solid rgba(59,130,246,.22); }
.contact-card .cc-ico svg { width: 18px; height: 18px; }
.contact-card .cc-txt { display: grid; gap: 2px; min-width: 0; font-size: 14.5px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.contact-card .cc-txt small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
[data-cc] { white-space: pre-line; }
.footer .cc-corp { margin-top: 14px; display: grid; gap: 4px; font-size: 13px; line-height: 1.55; max-width: 320px; }
.footer .cc-corp b { color: var(--dim); font-weight: 650; }

/* ===== Neden aiMED: maliyet ve kazanç ===== */
#neden .sec-head h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.roi-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.roi-card { grid-column: span 3; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 28px 26px 26px; border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: linear-gradient(160deg, rgba(59,130,246,.10), rgba(124,58,237,.05) 55%, transparent), var(--surface); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.roi-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.roi-card:nth-child(n+5) { grid-column: span 4; }
.roi-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(59,130,246,.45); }
.roi-card .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(59,130,246,.35); margin: 18px 0 20px; }
.roi-card .ico svg { width: 28px; height: 28px; }
.roi-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.roi-card p { margin: 12px 0 0; color: var(--dim); font-size: 15px; line-height: 1.65; }
.roi-card p strong { color: var(--text); font-weight: 700; }
.roi-tag { align-self: flex-start; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-300); background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.30); border-radius: 999px; padding: 4px 10px; }
:root[data-theme="light"] .roi-tag { color: var(--brand-600); }
.roi-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 1100px) { .roi-card, .roi-card:nth-child(n+5) { grid-column: span 6; } .roi-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .roi-grid { gap: 14px; } .roi-card, .roi-card:nth-child(n+5), .roi-card:last-child { grid-column: 1 / -1; } .roi-cta .btn { flex: 1 1 100%; justify-content: center; } }

/* Hero videosunun önünde ince piksel ızgarası (Ssemora ile aynı; geri almak için bu bloğu silin) */
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(4,7,20,.55) 1px, transparent 1px), linear-gradient(to bottom, rgba(4,7,20,.55) 1px, transparent 1px);
  background-size: 4px 4px; }
:root[data-theme="light"] .hero-media::before {
  background-image: linear-gradient(to right, rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.5) 1px, transparent 1px); }

/* Kurumsal köşe ölçüsü (Ssemora ile aynı): düğme ve giriş 8px, kart 12px, büyük çerçeve 14px. Hap biçimi yalnız
   küçük etiketlerde (pill, tag, chip, rozet), durum noktalarında ve ilerleme çubuklarında kalır. Geri almak için bu bloğu silin. */
:root { --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 12px; --r-2xl: 14px; }
.btn, .btn-icon, .nav-links a, .app-chip, .field input, .field textarea, .app-select { border-radius: 8px; }
.formula .box, .arch .node, .faq details, .fcard, .table-wrap, pre, .app-card, .rec-box, .rec-wave, .app-player, .pcard,
.vm-player, .contact-card, .roi-card { border-radius: 12px; }
.cta-box, .app-frame { border-radius: 14px; }
.roi-card .ico, .pcard-icon { border-radius: 8px; }
/* Etiketler de köşeli (hap biçimi yalnız durum noktası ve ilerleme çubuğunda) */
.pill, .tag, .chip, .legend span, .patients div em, .app-badge, .app-pill, .roi-tag { border-radius: 6px; }
