/* Minro — tanıtım sitesi. Belirteçler uygulamadaki public/css/tokens.css ile aynı kimliği taşır. */

:root {
  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --ink: #1E293B;
  --ink-2: #475569;
  --ink-3: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --indigo: #4F46E5;
  --indigo-ink: #4338CA;
  --indigo-wash: #EEF2FF;
  --flame: #F97316;
  --flame-hover: #EA580C;
  --on-flame: #1E293B;
  --good: #15803D;
  --night: #1E293B;
  --night-2: #172131;
  --night-line: #334155;
  --night-ink: #E2E8F0;
  --night-ink-2: #A3B1C6;
  --s1: #4F46E5; --s2: #EA580C; --s3: #0891B2; --s4: #DB2777; --s5: #65A30D;
  --grid: #E8EDF3;
  --shadow: 0 1px 2px rgba(30, 41, 59, .06), 0 24px 48px -24px rgba(30, 41, 59, .28);
  --focus: 0 0 0 3px rgba(79, 70, 229, .45);
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #1E293B; --surface: #263449; --surface-2: #2F3E56;
    --ink: #F1F5F9; --ink-2: #CBD5E1; --ink-3: #9AA8BC;
    --line: #35455D; --line-strong: #46597A;
    --indigo: #6366F1; --indigo-ink: #A5B4FC; --indigo-wash: rgba(99, 102, 241, .2);
    --good: #4ADE80;
    --night: #172131; --night-2: #121A27; --night-line: #2B3A50;
    --s1: #818CF8;
    --grid: #33435A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 24px 48px -24px rgba(0, 0, 0, .6);
    --focus: 0 0 0 3px rgba(129, 140, 248, .6);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #1E293B; --surface: #263449; --surface-2: #2F3E56;
  --ink: #F1F5F9; --ink-2: #CBD5E1; --ink-3: #9AA8BC;
  --line: #35455D; --line-strong: #46597A;
  --indigo: #6366F1; --indigo-ink: #A5B4FC; --indigo-wash: rgba(99, 102, 241, .2);
  --good: #4ADE80;
  --night: #172131; --night-2: #121A27; --night-line: #2B3A50;
  --s1: #818CF8;
  --grid: #33435A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 24px 48px -24px rgba(0, 0, 0, .6);
  --focus: 0 0 0 3px rgba(129, 140, 248, .6);
  color-scheme: dark;
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-text);
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
a { color: var(--indigo-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- üst çubuk ---------- */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.375rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .m-low { stroke: var(--indigo); }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: .95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.nav .lang { font-weight: 600; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; font-size: .85rem; }
.nav .lang:hover { text-decoration: none; border-color: var(--ink-3); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* ---------- düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-md); font: 600 1rem/1 var(--font-text); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--flame); color: var(--on-flame); }
.btn-primary:hover { background: var(--flame-hover); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-3); text-decoration: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- vitrin ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.9rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--indigo-ink); }
.lede { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--ink-3); max-width: 32em; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- ürün önizlemesi ---------- */
.app {
  display: grid; grid-template-columns: 148px minmax(0, 1fr);
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); margin: 0;
  font-size: 13px; line-height: 1.4;
}
.app-side { background: var(--night); color: var(--night-ink); padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-side .brand { color: #F1F5F9; font-size: 1rem; gap: 7px; margin-bottom: 14px; }
.app-side .brand svg { width: 20px; height: 20px; }
.app-side .brand .m-low { stroke: #818CF8; }
.app-side .ws { font-size: 11.5px; color: var(--night-ink-2); margin: 2px 6px 8px; }
.app-side .ws b { display: block; color: var(--night-ink); font-weight: 600; font-size: 12.5px; }
.app-side span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; color: var(--night-ink-2); white-space: nowrap; }
.app-side span.on { background: #4F46E5; color: #fff; }
.app-side i { width: 8px; height: 8px; border-radius: 2px; flex: none; }

.app-main { padding: 16px 18px 14px; min-width: 0; }
.app-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.app-head strong { font: 700 17px/1.2 var(--font-display); letter-spacing: -0.01em; }
.app-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: var(--surface-2); }

.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-md); }
.band > div { padding: 10px 12px; border-left: 1px solid var(--line); min-width: 0; }
.band > div:first-child { border-left: 0; }
.band dt { font-size: 11.5px; color: var(--ink-3); }
.band dd { margin: 2px 0 0; font: 600 18px/1.2 var(--font-text); white-space: nowrap; }
.band .d { display: block; font-size: 11.5px; font-weight: 600; color: var(--good); }

.app-chart { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px 8px; }
.app-chart-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); }
.app-chart-head b { color: var(--ink); font-weight: 600; }
.legend { display: flex; gap: 12px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.key { width: 14px; height: 0; border-top: 2.5px solid var(--s1); }
.key.dash { border-top: 2px dashed var(--ink-3); }
.app-chart svg { width: 100%; height: 120px; margin-top: 6px; }
.c-grid { stroke: var(--grid); }
.c-area { fill: var(--s1); opacity: .1; }
.c-line { stroke: var(--s1); }
.c-prev { stroke: var(--ink-3); }
.c-dot { fill: var(--surface); stroke: var(--s1); }

.app-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 12.5px; }
.app-table th { text-align: right; font-weight: 500; color: var(--ink-3); font-size: 11.5px; padding: 0 8px 6px; border-bottom: 1px solid var(--line); }
.app-table th:first-child, .app-table td:first-child { text-align: left; padding-left: 0; }
.app-table td { text-align: right; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.app-table tr:last-child td { border-bottom: 0; }
.app-table .ch { display: inline-flex; align-items: center; gap: 7px; }
.app-table .ch svg { width: 15px; height: 15px; }
.share { display: inline-block; vertical-align: middle; height: 6px; border-radius: 3px; background: var(--indigo); opacity: .85; }
.app-note { margin-top: 8px; font-size: 11.5px; color: var(--ink-3); }

@media (max-width: 640px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .app-main { padding: 14px 12px 12px; }
  .band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band > div:nth-child(3) { border-left: 0; }
  .band > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .app-table .opt { display: none; }
  .app-table { font-size: 11.5px; }
  .app-table th, .app-table td { padding-left: 5px; padding-right: 5px; }
  .app-table .ch { gap: 5px; }
}

/* ---------- bölümler ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }

/* Ne yapar: cetvelli iki sütun, kart yok */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 80px); margin: 0; padding: 0; list-style: none; }
.features li { padding: 22px 0 24px; border-top: 1px solid var(--line-strong); }
.features h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
.features p { margin-top: 8px; color: var(--ink-2); }
.metric { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Mecralar */
.channels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.channels li { padding: 22px 20px 24px; border-left: 1px solid var(--line); min-width: 0; }
.channels li:first-child { border-left: 0; }
.channels svg { width: 36px; height: 36px; }
.channels h3 { margin-top: 14px; font: 600 1.05rem/1.3 var(--font-text); letter-spacing: 0; }
.channels p { margin-top: 6px; font-size: .92rem; color: var(--ink-2); }
.channels .tag { display: block; width: 28px; height: 3px; border-radius: 2px; margin-top: 14px; }
@media (max-width: 980px) {
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channels li { border-left: 0; border-top: 1px solid var(--line); }
  .channels li:nth-child(even) { border-left: 1px solid var(--line); }
  .channels li:nth-child(-n+2) { border-top: 0; }
  .channels li:last-child { grid-column: 1 / -1; border-left: 0; }
}
@media (max-width: 480px) {
  .channels { grid-template-columns: minmax(0, 1fr); }
  .channels li, .channels li:nth-child(even) { border-left: 0; border-top: 1px solid var(--line); }
  .channels li:first-child { border-top: 0; }
  .channels li:nth-child(2) { border-top: 1px solid var(--line); }
}

/* Nasıl çalışır: gerçek üç adımlı sıra */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.2rem/1 var(--font-display); color: var(--indigo-ink); background: var(--indigo-wash);
}
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: 56px; right: -12px; border-top: 1px dashed var(--line-strong); }
.steps h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
.steps p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li { padding-top: 0; padding-left: 64px; min-height: 44px; }
  .steps li:not(:last-child)::after { top: 52px; bottom: -22px; left: 22px; right: auto; border-top: 0; border-left: 1px dashed var(--line-strong); }
}

/* Güvenlik: gece mavisi bant */
.trust { background: var(--night); color: var(--night-ink); border-top: 0; }
.trust h2 { color: #F8FAFC; }
.trust .section-head p { color: var(--night-ink-2); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 80px); margin: 0; padding: 0; list-style: none; }
.trust-grid li { padding: 22px 0 24px 40px; border-top: 1px solid var(--night-line); position: relative; }
.trust-grid svg { position: absolute; left: 0; top: 25px; width: 22px; height: 22px; color: #A5B4FC; }
.trust-grid h3 { color: #F8FAFC; font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
.trust-grid p { margin-top: 6px; color: var(--night-ink-2); }
.trust a { color: #C7D2FE; }
.trust .more { margin-top: 28px; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* Çağrı */
.cta { text-align: left; }
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.cta-box p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; max-width: 36em; }
.cta-mail { margin-top: 12px; font-size: .95rem; color: var(--ink-3); }
@media (max-width: 760px) { .cta-box { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* ---------- alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: .92rem; color: var(--ink-3); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot .brand { font-size: 1.1rem; }
.foot .brand svg { width: 22px; height: 22px; }
.foot p { margin-top: 10px; max-width: 30em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { color: var(--ink-2); }

/* ---------- metin sayfaları (gizlilik, koşullar) ---------- */
.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 700; }
.doc .updated { margin-top: 10px; color: var(--ink-3); font-size: .95rem; }
.doc .summary { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--indigo); background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink-2); }
.doc h2 { font-size: 1.4rem; font-weight: 650; margin-top: 44px; letter-spacing: -0.01em; }
.doc h3 { font-size: 1.1rem; font-weight: 650; margin-top: 24px; letter-spacing: 0; font-family: var(--font-text); }
.doc p, .doc ul { margin-top: 12px; color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--ink-3); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .toc { margin-top: 28px; font-size: .95rem; }
.doc .toc ol { margin: 8px 0 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
@media (max-width: 560px) { .doc .toc ol { columns: 1; } }

/* ---------- 404 ---------- */
.lost { padding: clamp(64px, 12vw, 140px) 0; }
.lost h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); }
.lost p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }
.lost .hero-actions { margin-top: 28px; }
