/* =========================================================
   Kieosa — Global styles
   Tasarım dili "Hava": sis yeşili zemin, kobalt vurgu, limon detay.
   Fonts: Inter Tight (başlık), Inter (metin), JetBrains Mono (etiket)
   ========================================================= */

:root {
  --bg: #eef2ee;
  --bg-muted: #e3e9e3;
  --bg-deep: #dde4dd;
  --surface: #f9fbf8;
  --surface-2: #f2f5f1;
  --ink: #0f1a17;
  --ink-2: #3c4843;
  --ink-3: #75817b;
  --line: rgba(15, 26, 23, 0.09);
  --line-strong: rgba(15, 26, 23, 0.17);
  --accent: #2f5bea;
  --accent-2: #2248c7;
  --accent-soft: rgba(47, 91, 234, 0.1);
  --accent-glow: rgba(47, 91, 234, 0.38);
  --lime: #c6ec5c;
  --lime-ink: #1e2a06;
  --ok: #1d8a5a;
  --warn: #d0671f;
  --danger: #d23d3d;
  --code-bg: #0f1a17;
  --code-ink: #e6efe9;
  --shadow-sm: 0 1px 2px rgba(15, 26, 23, 0.05);
  --shadow: 0 12px 32px -14px rgba(15, 26, 23, 0.16);
  --shadow-lg: 0 32px 64px -26px rgba(15, 26, 23, 0.24);

  --font-serif: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
}

[data-theme="dark"] {
  --bg: #0c1311;
  --bg-muted: #111a17;
  --bg-deep: #080d0c;
  --surface: #15201c;
  --surface-2: #1a2622;
  --ink: #edf3ef;
  --ink-2: #b9c5bf;
  --ink-3: #7d8a84;
  --line: rgba(237, 243, 239, 0.09);
  --line-strong: rgba(237, 243, 239, 0.18);
  --accent: #7d9bff;
  --accent-2: #a1b7ff;
  --accent-soft: rgba(125, 155, 255, 0.14);
  --accent-glow: rgba(125, 155, 255, 0.32);
  --lime: #b9e04d;
  --code-bg: #060a09;
  --shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 32px 64px -26px rgba(0, 0, 0, 0.7);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 780px; }

/* ---------- Typography ---------- */
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 30%, transparent); }
.eyebrow.muted { color: var(--ink-3); }
.eyebrow.muted::before { background: var(--line-strong); box-shadow: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
.display {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.7rem); letter-spacing: -0.02em; line-height: 1.02;
}
.h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.2rem); letter-spacing: -0.015em; }
.h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); }
.muted { color: var(--ink-3); }
.accent { color: var(--accent); }
em.serif-i, .serif-i { font-family: var(--font-serif); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -8px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 16px 36px -8px var(--accent-glow); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-3); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { opacity: 0.9; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 17px; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.link-accent { color: var(--accent); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link-accent:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand { font-weight: 800; }
.brand-pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 7px; border-radius: 7px;
  background: var(--lime); color: var(--lime-ink); font-size: 14px; font-weight: 800; letter-spacing: 0;
}

/* ---------- Floating header ---------- */
.site-header {
  position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50;
  padding-inline: 16px; pointer-events: none;
}
.nav-pill {
  pointer-events: auto; max-width: 1150px; margin-inline: auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 10px 0 26px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px -18px rgba(21, 18, 15, 0.25);
  transition: height 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled .nav-pill { height: 58px; box-shadow: 0 16px 44px -18px rgba(21, 18, 15, 0.32); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; display: inline-grid; place-items: center;
  color: var(--ink); transition: background-color 0.2s ease;
}
.icon-btn:hover { background: var(--bg-muted); }
.icon-btn.bordered { border: 1px solid var(--line-strong); }
.icon-btn svg { width: 19px; height: 19px; }
.lang-btn { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.nav-login { padding: 0 14px; font-weight: 500; font-size: 16px; }
.nav-login:hover { color: var(--accent); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

.nav-links-inline { display: none; gap: 4px; margin-left: 18px; margin-right: auto; }
.nav-links-inline a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links-inline a:hover, .nav-links-inline a[aria-current="page"] { background: var(--bg-muted); color: var(--ink); }
@media (min-width: 1080px) { .nav-links-inline { display: flex; } }

.menu-panel {
  pointer-events: auto; position: absolute; top: 76px; right: max(16px, calc((100vw - 1150px) / 2));
  width: min(380px, calc(100vw - 32px)); padding: 12px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top right; visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.menu-panel.open { opacity: 1; transform: none; visibility: visible; }
.menu-panel a.menu-item {
  display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-radius: 14px;
  font-family: var(--font-serif); font-size: 21px; letter-spacing: -0.01em;
}
.menu-panel a.menu-item:hover { background: var(--bg-muted); }
.menu-panel a.menu-item small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; }
.menu-panel .menu-sep { height: 1px; background: var(--line); margin: 8px 12px; }
.menu-panel .menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; }
.menu-panel .menu-actions .btn { height: 46px; width: 100%; }

@media (max-width: 640px) {
  .nav-pill { padding-left: 18px; height: 58px; }
  .hide-sm { display: none !important; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 124px); }
.section-muted { background: var(--bg-muted); }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head p { margin: 18px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: 0; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 680px; z-index: -1;
  background:
    radial-gradient(40% 50% at 50% 30%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    radial-gradient(30% 40% at 80% 10%, color-mix(in srgb, #f3c77a 18%, transparent), transparent 70%);
}
.hero .display { max-width: 900px; margin-inline: auto; }
.hero-count { margin: 26px 0 0; font-size: 1.2rem; color: var(--ink-2); }
.hero-count strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.55rem; color: var(--ink); }
.hero-count strong span { color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* Orbit visual */
.orbit {
  position: relative; margin: 64px auto 0; width: min(1000px, 100%); aspect-ratio: 2 / 1; max-height: 520px;
}
.orbit svg.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-lines ellipse { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.orbit-lines ellipse.dashed { stroke-dasharray: 3 7; }
.orbit-core {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(2.2rem, 6.4vw, 4.6rem); font-weight: 600; letter-spacing: -0.04em;
}
.orbit-core .brand-pill { height: 1.25em; padding: 0 0.28em; border-radius: 0.2em; font-size: 1em; }
.orbit-node {
  position: absolute; width: clamp(46px, 6.4vw, 66px); aspect-ratio: 1; border-radius: 999px;
  display: grid; place-items: center; transform: translate(-50%, -50%);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-weight: 800; font-size: clamp(15px, 2vw, 21px);
  animation: float 6s ease-in-out infinite;
}
.orbit-node .tip {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-3); white-space: nowrap;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 640px) { .orbit-node .tip { display: none; } .orbit { aspect-ratio: 1.5 / 1; } }

/* ---------- Engines wordmarks ---------- */
.engines { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 42px; max-width: 900px; margin: 34px auto 0; }
.engine { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.engine i { font-style: normal; display: inline-grid; place-items: center; width: 1.35em; height: 1.35em; border-radius: 0.4em; font-size: 0.8em; color: #fff; }
.statement { max-width: 820px; margin: 72px auto 0; text-align: center; }
.statement .h2 em { font-style: italic; }
.statement p { margin: 22px auto 26px; max-width: 640px; color: var(--ink-2); }

/* ---------- Big number ---------- */
.bignum-wrap { position: relative; overflow: hidden; }
.marquee { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; opacity: 0.16; pointer-events: none; mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 80%); }
.marquee-row { display: flex; gap: 48px; white-space: nowrap; font-family: var(--font-mono); font-size: 15px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-row:nth-child(even) { animation-direction: reverse; animation-duration: 75s; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bignum { position: relative; text-align: center; padding-block: 60px 70px; }
.bignum .num { font-family: var(--font-serif); font-weight: 500; font-size: clamp(4.5rem, 13vw, 9rem); letter-spacing: -0.04em; line-height: 1; }
.bignum .num span { color: var(--accent); }
.bignum .cap { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--ink-2); margin-top: 12px; }
.roman-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); position: relative; background: var(--bg); }
.roman-grid > div { padding: 34px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.roman-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.roman-grid .rn { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); display: block; margin-bottom: 10px; }
.roman-grid .rt { font-size: 1.12rem; font-weight: 500; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: var(--accent); margin-left: 6px; vertical-align: middle; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); } 50% { box-shadow: 0 0 0 6px transparent; } }
@media (min-width: 900px) {
  .roman-grid { grid-template-columns: repeat(3, 1fr); }
  .roman-grid > div:nth-child(odd) { border-right: 0; }
  .roman-grid > div:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
}

/* ---------- Directory / AI map ---------- */
.dir-layout { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 980px) { .dir-layout { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.map-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px; overflow: hidden; }
.map-card svg { width: 100%; height: auto; }
.map-card .dot { fill: var(--ink); opacity: 0.16; }
.map-card .city { cursor: pointer; }
.map-card .city circle.core { fill: var(--accent); }
.map-card .city circle.halo { fill: var(--accent); opacity: 0.18; transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
.map-card .city text { font-family: var(--font-mono); font-size: 13px; fill: var(--ink-2); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.map-card .city.active circle.core { fill: var(--ink); }
@keyframes halo { 0% { transform: scale(0.6); opacity: 0.35; } 100% { transform: scale(2.4); opacity: 0; } }
.map-legend { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chip {
  flex: none; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500; color: var(--ink-2); background: transparent; transition: all 0.15s ease;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.dir-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.dir-search svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.dir-search input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; font-size: 16px; }
.dir-list { display: grid; gap: 10px; max-height: 470px; overflow-y: auto; padding-right: 4px; margin-top: 10px; }
.biz {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color 0.15s ease, transform 0.15s ease;
}
.biz:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.biz-avatar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: var(--font-serif); font-size: 21px; }
.biz h4 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.biz p { margin: 4px 0 8px; font-size: 14.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.biz .meta { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.biz .meta span { padding: 2px 8px; border-radius: 6px; background: var(--bg-muted); }
.verified { width: 16px; height: 16px; color: var(--ok); flex: none; }
.empty { padding: 30px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-strong); border-radius: 16px; }

/* ---------- Compare / chat ---------- */
.compare-grid { display: grid; gap: 22px; margin-top: 48px; }
@media (min-width: 960px) { .compare-grid { grid-template-columns: 1.1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.chat { padding: 26px; }
.chat-top { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-bottom: 20px; }
.chat-top i { width: 8px; height: 8px; border-radius: 99px; background: var(--ok); }
.bubble { padding: 14px 18px; border-radius: 18px; max-width: 88%; font-size: 16px; line-height: 1.5; }
.bubble.user { margin-left: auto; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.bubble.ai { margin-top: 14px; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.ai b { color: var(--accent); font-weight: 700; }
.source { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line-strong); font-size: 14px; }
.source .fav { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 800; }
.source small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; }
.stack { display: grid; gap: 22px; }
.info-card { padding: 26px; }
.info-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; margin-bottom: 8px; }
.info-card p { margin: 0; color: var(--ink-2); }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; padding: 22px; }
.vs ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14.5px; }
.vs .old li { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.vs .new li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.vs .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3); }
.vs .new .label { color: var(--accent); }
.vs .mid { font-size: 22px; color: var(--ink-3); }

/* ---------- Feature cards (Neden) ---------- */
.features { display: grid; gap: 22px; margin-top: 48px; }
.feature { display: grid; gap: 22px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1.15fr; align-items: center; padding: 28px; gap: 40px; }
  .feature:nth-child(even) .feature-visual { order: -1; }
}
.feature-head { display: flex; gap: 16px; align-items: flex-start; }
.num-badge {
  flex: none; width: 30px; height: 30px; border-radius: 99px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; margin-top: 2px;
}
.feature h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -0.015em; }
.feature p { margin: 10px 0 0; color: var(--ink-2); }
.feature .link-accent { margin-top: 14px; }
.feature-visual { border-radius: 16px; background: var(--bg-muted); min-height: 260px; padding: 22px; position: relative; overflow: hidden; display: grid; place-items: center; }

.code {
  width: 100%; background: var(--code-bg); color: var(--code-ink); border-radius: 14px; padding: 18px 20px;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7; overflow-x: auto; white-space: pre; box-shadow: var(--shadow);
}
.code .k { color: #f5a97f; }
.code .s { color: #a6d189; }
.code .n { color: #99c1f1; }
.code .c { color: #7c7466; }

.verify-card { width: min(340px, 100%); background: var(--surface); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.verify-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.verify-row:last-child { border-bottom: 0; }
.verify-row .ok { color: var(--ok); font-weight: 700; font-size: 13px; font-family: var(--font-mono); }
.badge-verified { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-weight: 700; font-size: 13px; margin-bottom: 8px; }

.engine-flow { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 380px; }
.engine-flow span { padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-sm); }
.engine-flow span.hub { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.blocks { display: grid; gap: 10px; width: min(380px, 100%); }
.block { background: var(--surface); border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.block small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--accent); }
.block p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }

.score { width: min(360px, 100%); background: var(--surface); border-radius: 16px; padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.score-top { display: flex; align-items: center; gap: 18px; }
.gauge { --v: 86; width: 92px; height: 92px; border-radius: 99px; flex: none; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--bg-muted) 0); position: relative; }
.gauge::after { content: ""; position: absolute; inset: 9px; border-radius: 99px; background: var(--surface); }
.gauge b { position: relative; z-index: 1; font-family: var(--font-serif); font-size: 28px; font-weight: 500; }
.bars { display: grid; gap: 9px; margin-top: 18px; }
.bar { display: grid; grid-template-columns: 90px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.bar i { height: 6px; border-radius: 9px; background: var(--bg-muted); overflow: hidden; }
.bar i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: 9px; }
.bar em { font-style: normal; font-family: var(--font-mono); font-size: 12px; text-align: right; }

/* ---------- Steps (Nasıl çalışır) ---------- */
.how-grid { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 980px) { .how-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.window { border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.window-bar i { width: 11px; height: 11px; border-radius: 99px; background: var(--line-strong); }
.window-bar .url { margin-left: 12px; flex: 1; height: 28px; border-radius: 8px; background: var(--bg-muted); font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); display: flex; align-items: center; padding: 0 12px; overflow: hidden; white-space: nowrap; }
.window-body { padding: 24px; min-height: 360px; }
.step-pane { display: none; animation: fadeUp 0.4s ease; }
.step-pane.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-mock { display: grid; gap: 12px; }
.form-mock label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: grid; gap: 6px; }
.form-mock .inp { height: 44px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--bg); display: flex; align-items: center; padding: 0 14px; font-size: 15px; }
.form-mock .inp.focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.caret { display: inline-block; width: 1.5px; height: 18px; background: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.steps { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.step {
  width: 100%; text-align: left; display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 18px 20px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface); transition: border-color 0.2s ease, background-color 0.2s ease;
}
.step:hover { border-color: var(--line-strong); }
.step.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
.step .num-badge { background: var(--bg-muted); color: var(--ink-2); }
.step.active .num-badge { background: var(--accent); color: #fff; }
.step h4 { font-family: var(--font-serif); font-weight: 500; font-size: 1.28rem; }
.step p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); display: none; }
.step.active p { display: block; }
.step .progress { grid-column: 2; height: 2px; background: var(--line); border-radius: 2px; margin-top: 12px; overflow: hidden; display: none; }
.step.active .progress { display: block; }
.step .progress::before { content: ""; display: block; height: 100%; width: 0; background: var(--accent); }
.step.active.running .progress::before { animation: grow 6s linear forwards; }
@keyframes grow { to { width: 100%; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 44px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 2px; font-size: 1.12rem; font-weight: 500; transition: color 0.15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .plus { position: relative; width: 18px; height: 18px; flex: none; color: var(--accent); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 0.25s ease; }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
.faq details[open] summary { color: var(--accent); }
.faq .answer { padding: 0 2px 26px; color: var(--ink-2); max-width: 720px; }
.faq .answer p { margin: 0 0 10px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding-block: clamp(96px, 13vw, 140px); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.cta .display { font-size: clamp(2.6rem, 7vw, 5rem); }
.cta p { margin: 20px 0 34px; color: var(--ink-2); font-size: 1.15rem; }
.cta .hero-cta { margin-top: 0; align-items: center; }

.dealer-band { padding-block: 0 clamp(80px, 10vw, 110px); }
.dealer-card {
  display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: 28px;
  background: var(--ink); color: var(--bg); position: relative; overflow: hidden;
}
.dealer-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 999px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); }
.dealer-card .eyebrow { color: var(--lime); }
.dealer-card h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 12px 0; letter-spacing: -0.02em; }
.dealer-card p { margin: 0; color: color-mix(in srgb, var(--bg) 75%, transparent); max-width: 560px; }
.dealer-card .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, transparent); position: relative; z-index: 1; }
.dealer-card .btn-ghost:hover { background: color-mix(in srgb, var(--bg) 10%, transparent); }
@media (min-width: 860px) { .dealer-card { grid-template-columns: 1fr auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: 72px 36px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--ink-3); font-size: 15px; margin: 14px 0 0; max-width: 300px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }
.footer-col h5 { margin: 0 0 18px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 15.5px; color: var(--ink-2); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom small { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.socials a:hover { background: var(--surface); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(410px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 20px 22px;
  font-size: 15px; color: var(--ink-2);
}
.cookie p { margin: 0 24px 14px 0; line-height: 1.5; }
.cookie a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie .row { display: flex; justify-content: flex-end; gap: 8px; }
.cookie .close { position: absolute; top: 12px; right: 12px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: 40px; }
.page-hero .eyebrow { display: block; margin-bottom: 18px; }
.page-hero .display { max-width: 860px; }
.page-hero .lead { max-width: 660px; margin: 22px 0 0; }
.page-hero.center { text-align: center; }
.page-hero.center .display, .page-hero.center .lead { margin-inline: auto; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14.5px; color: var(--ink-2); }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--accent); }
.page-hero.center .trust-row { justify-content: center; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 960px) { .plans { grid-template-columns: 1fr 1.2fr 1fr; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan.featured { border: 1.5px solid var(--accent); box-shadow: 0 30px 60px -30px var(--accent-glow); }
.plan .tag { position: absolute; top: -13px; left: 30px; height: 26px; padding: 0 12px; border-radius: 99px; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; display: flex; align-items: center; }
.plan h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.7rem; }
.plan .for { color: var(--ink-3); font-size: 15px; margin: 4px 0 22px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-family: var(--font-serif); font-weight: 500; font-size: 3rem; letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--ink-3); font-size: 15px; }
.price-note { font-size: 13.5px; color: var(--ink-3); margin: 8px 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan li.no { color: var(--ink-3); }
.plan li.no::before { content: "—"; color: var(--ink-3); }
.plan .btn { width: 100%; }

.table-wrap { overflow-x: auto; margin-top: 30px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
table.cmp td:not(:first-child), table.cmp th:not(:first-child) { text-align: center; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp .y { color: var(--accent); font-weight: 700; }
table.cmp .n { color: var(--ink-3); }

/* ---------- Generic grids / cards ---------- */
.grid-3 { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.tile { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
a.tile:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile .num-badge { margin-bottom: 18px; }
.tile .rn { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.tile h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.35rem; margin: 10px 0 8px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.tile .foot { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.check-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 40px; }
.stats > div { background: var(--surface); padding: 26px 18px; text-align: center; }
.stats b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.stats span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--ink-3); }

.eras { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 900px) { .eras { grid-template-columns: repeat(3, 1fr); } }
.era { padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.era.now { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.era.now p { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.era .when { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.era.now .when { color: var(--lime); }
.era h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; margin: 8px 0; }
.era p { margin: 0 0 18px; color: var(--ink-2); font-size: 15.5px; }
.era .eco { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; padding: 5px 10px; border-radius: 6px; border: 1px solid currentColor; opacity: 0.7; }

.note { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 24px; border-radius: 18px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); margin-top: 28px; }
.note b { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); padding-top: 3px; }
.note p { margin: 0; color: var(--ink-2); }
.note h4 { font-size: 16px; margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 13px; border: 1px solid var(--line-strong);
  background: var(--surface); outline: 0; font-size: 16px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23847c70' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-success { display: none; padding: 18px 20px; border-radius: 14px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); font-weight: 600; }
.form-success.show { display: block; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.checkbox input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; flex: none; }
.checkbox a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Blog ---------- */
.posts { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post .cover { aspect-ratio: 16 / 10; border-radius: 14px; background: var(--bg-muted); margin-bottom: 20px; display: grid; place-items: center; font-family: var(--font-serif); font-size: 3rem; color: var(--accent); position: relative; overflow: hidden; }
.post .cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line-strong) 1px, transparent 1px); background-size: 14px 14px; opacity: 0.6; }
.post .meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }
.post h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; margin: 10px 0; letter-spacing: -0.01em; }
.post p { margin: 0 0 18px; color: var(--ink-2); font-size: 15.5px; flex: 1; }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 120px 16px 60px; }
.auth-card { width: min(440px, 100%); padding: 34px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.auth-card h1 { font-family: var(--font-serif); font-weight: 500; font-size: 2.2rem; letter-spacing: -0.02em; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; margin: 6px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Onboarding (işletme ekle) ---------- */
.onb { display: grid; gap: 24px; margin-top: 36px; }
@media (min-width: 1000px) { .onb { grid-template-columns: 1.1fr 1fr; align-items: start; } .onb-preview { position: sticky; top: 100px; } }
.stepper { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.stepper span { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink-3); border: 1px solid var(--line); }
.stepper span i { font-style: normal; width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; background: var(--bg-muted); font-family: var(--font-mono); font-size: 11px; }
.stepper span.active { color: var(--ink); border-color: var(--accent); }
.stepper span.active i, .stepper span.done i { background: var(--accent); color: #fff; }
.onb-step { display: none; }
.onb-step.active { display: grid; gap: 16px; animation: fadeUp 0.35s ease; }
.onb-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }

/* Dil önerisi bandı (otomatik dil seçimi yerine) */
.lang-suggest {
  position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: min(440px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px 10px 14px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--shadow); font-size: 14px;
}
.lang-suggest span { flex: 1 1 160px; }
.lang-suggest-x { color: var(--ink); opacity: 0.6; text-decoration: none; font-size: 20px; line-height: 1; padding: 2px 4px; }
.lang-suggest-x:hover { opacity: 1; }
