/* RunOfis — site stilleri. Renkler yalnızca burada tanımlı. */
:root {
  /* RunOfis ERP paleti: pembe-mavi geçiş (görsel 2), bakır ve camgöbeği devre izleri; açık zemin.
     Ay Kapama konsolu kendi sabit renklerini taşır (aşağıda .console); bu paletten etkilenmez. */
  --paper: #F7F7FD;
  --white: #FFFFFF;
  --ink: #1A1B4B;
  --ink-2: #43456E;
  --muted: #5C5F86;
  --line: #E1E2F2;
  --navy: #23286B;
  --night-2: #3A2F8F;
  --night-line: rgba(255, 255, 255, .09);
  --night-text: #EEF0FF;
  --night-dim: #D3D6F5;
  --accent: #4F46E5;
  --accent-hover: #4338CA;
  --accent-100: #EEEEFF;
  --teal: #4F46E5;
  --teal-100: #FBEAF7;
  --sky: #8BEAF2;
  --violet: #8B6CF6;
  --copper: #F2A86E;
  --pink: #B4239B;
  --console: #23286B;
  --console-2: #2C3278;
  --console-line: #3B418C;
  --console-text: #EEF0FF;
  --console-dim: #B9BCE6;
  --plum: #7C3AED;
  --plum-700: #6D28D9;
  --plum-100: #F1EAFE;
  --ok: #166534;
  --ok-100: #DCFCE7;
  --amber: #7A4E00;
  --amber-100: #FBEFD0;
  --gray-100: #ECEDF7;
  --shadow-md: 0 4px 6px rgba(16, 20, 46, .08);
  --shadow-lg: 0 10px 15px rgba(16, 20, 46, .10);
  --shadow-xl: 0 20px 25px rgba(16, 20, 46, .18);
  --radius: 12px;
  --maxw: 1120px;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--white); }
* { scrollbar-color: var(--accent) var(--gray-100); scrollbar-width: thin; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-hover); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.9rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 62ch; line-height: 1.6; }
.measure { max-width: 68ch; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Kabuk: sol menü + içerik (uygulama düzeni) ---------- */
.skip { z-index: 100; }
.app { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; background: var(--paper); }
.sidebar { position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto; background: linear-gradient(180deg, #2C3A9E 0%, #4B3AB5 55%, #7B3DAE 100%); color: var(--night-text); border-right: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 1.4rem; padding: 1.1rem .85rem 1.25rem; z-index: 60; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; min-height: 44px; padding: 0 .5rem; }
.brand:hover { color: var(--white); }
.brand svg, .brand img { width: 34px; height: 34px; flex: none; border-radius: 8px; }
.brand small { font-family: var(--font-body); font-weight: 700; font-size: .78rem; color: var(--sky); padding-left: .5rem; border-left: 1px solid rgba(255, 255, 255, .2); line-height: 1.1; }
.side-group { display: grid; gap: .2rem; }
.side-title { font-size: .84rem; font-weight: 700; color: var(--night-dim); padding: 0 .75rem .35rem; }
.side-link { display: flex; align-items: center; gap: .75rem; min-height: 44px; padding: .5rem .75rem; border-radius: 8px; text-decoration: none; color: var(--night-text); font-weight: 600; font-size: .97rem; cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.side-link svg { width: 20px; height: 20px; flex: none; color: var(--night-dim); transition: color .2s ease; }
.side-link:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.side-link:hover svg { color: var(--sky); }
.side-link[aria-current="page"] { background: rgba(255, 255, 255, .16); color: var(--white); font-weight: 700; box-shadow: inset 3px 0 0 var(--sky); }
.side-link[aria-current="page"] svg { color: var(--sky); }
.sidebar :focus-visible { outline-color: var(--sky); }
.side-cta { margin-top: auto; display: grid; gap: .6rem; }
.side-cta .btn { width: 100%; justify-content: center; }
.side-cta .btn { background: var(--white); color: var(--accent-hover); }
.side-cta .btn:hover, .side-cta .btn[aria-current="page"] { background: var(--sky); color: var(--navy); }
.side-note { font-size: .84rem; color: var(--night-dim); padding: 0 .25rem; }
.content { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: .75rem; min-height: 56px; padding: 0 clamp(1.1rem, 3vw, 2rem); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: var(--muted); min-width: 0; }
.crumbs strong { color: var(--ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -.5rem; background: none; border: 0; border-radius: 8px; color: var(--ink); cursor: pointer; transition: background-color .2s ease; }
.menu-toggle:hover { background: var(--accent-100); }
.menu-toggle svg { width: 24px; height: 24px; }
.scrim { position: fixed; inset: 0; background: rgba(26, 27, 75, .45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.scrim.is-on { opacity: 1; pointer-events: auto; }
#main { outline: none; transition: opacity .14s ease, transform .14s ease; }
#main.is-leaving { opacity: 0; transform: translateY(6px); }
#main.is-entering, [data-route].is-entering { animation: page-in .24s ease-out; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-page h1 em { font-style: normal; color: var(--pink); }
.site-footer { margin-top: auto; }
@media (max-width: 1060px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); height: auto; transform: translateX(-102%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; box-shadow: var(--shadow-xl); }
  .sidebar.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .menu-toggle { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) { #main.is-leaving { opacity: 1; transform: none; } }
/* ---------- Düğmeler ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: .85rem 1.5rem; min-height: 48px; border-radius: 8px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Bölümler ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 60rem; }
.on-white { background: var(--white); }
.on-dark { background: linear-gradient(135deg, #EEF0FF 0%, #F6EEFC 60%, #FCEEF8 100%); color: var(--ink); border-top: 0 !important; }
.on-dark .lead { color: var(--ink-2); }
.panel-a .btn { background: var(--sky); color: var(--navy); }
.panel-a .btn:hover { background: var(--white); color: var(--navy); }
.site-footer :focus-visible, .panel-a :focus-visible, .console :focus-visible, .on-plum :focus-visible { outline-color: var(--sky); }
.on-plum :focus-visible { outline-color: var(--white); }
.on-plum { position: relative; overflow: hidden; color: #F3F1FF; border-top: 0 !important;
  background: linear-gradient(rgba(24, 22, 92, .16), rgba(24, 22, 92, .16)), radial-gradient(800px 480px at 92% 20%, rgba(255, 155, 224, .24), transparent 62%),
    radial-gradient(700px 480px at 6% 100%, rgba(95, 211, 240, .3), transparent 60%),
    linear-gradient(110deg, #2A3AB4 0%, #4A43D8 40%, #7444CF 75%, #9C46BE 100%); }
.on-plum::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.on-plum > * { position: relative; }
.on-plum h2, .on-plum h3 { color: var(--white); }
.on-plum .lead { color: var(--white); }
.on-plum .plain-list li { color: #F3F1FF; }
.on-plum .plain-list strong { color: var(--white); }
.on-plum .plain-list li::before { background: var(--sky); }
.on-plum .btn-primary { background: var(--white); color: var(--accent-hover); }
.on-plum .btn-primary:hover { background: var(--sky); color: var(--navy); }
.on-plum .btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.on-plum .btn-ghost:hover { background: var(--white); color: var(--accent-hover); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); color: var(--white); overflow: hidden;
  background: #3B3FC8 url(hero-devre.svg) right center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(36, 46, 160, .6) 0%, rgba(36, 46, 160, .4) 42%, rgba(36, 46, 160, 0) 66%); }
.hero > * { position: relative; }
.hero h1 { color: var(--white); }
.hero .lead { color: #EEF0FF; max-width: 30rem; }
.hero .btn-primary { background: var(--white); color: var(--accent-hover); }
.hero .btn-primary:hover { background: var(--sky); color: var(--navy); }
.hero .btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--accent-hover); }
.hero :focus-visible { outline-color: var(--white); }
.hero-console { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 1180px) {
  .hero { background-position: 72% center; }
  .hero::before { background: linear-gradient(180deg, rgba(36, 46, 160, .78) 0%, rgba(58, 52, 190, .62) 100%); }
}
.hero h1 { max-width: 14ch; font-size: clamp(2.4rem, 5vw, 4.1rem); }
.hero .lead { margin-top: 1.5rem; }
.hero-page { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: radial-gradient(760px 380px at 92% 0%, rgba(198, 88, 194, .14), transparent 62%), radial-gradient(680px 360px at 0% 100%, rgba(74, 67, 216, .12), transparent 60%); }
.hero-page h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 18ch; }
.hero-page .lead { margin-top: 1.4rem; }

/* ---------- Konsol (Ay Kapama canlı akış) ---------- */
.console { --console: #231820; --console-2: #2E202A; --console-line: #3D2C37; --console-text: #F1E8EF; --console-dim: #B9A5B3; --sky: #7DD3D8; --white: #FFFFFF; --shadow-xl: 0 20px 25px rgba(33, 37, 41, .18);
  margin-top: clamp(2.25rem, 5vw, 3.5rem); background: var(--console); color: var(--console-text); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-xl); }
.console-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding: 1rem 1.5rem; background: var(--console-2); border-bottom: 1px solid var(--console-line); font-size: .95rem; }
.console-top strong { color: var(--white); font-weight: 600; }
.console-top span { color: var(--console-dim); }
.console-body { padding: .5rem 0; font-family: var(--font-mono); font-size: .95rem; }
.crow { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: .9rem; align-items: baseline; padding: .7rem 1.5rem; border-bottom: 1px solid var(--console-line); }
.crow:last-child { border-bottom: 0; }
.crow .mark { color: var(--sky); font-weight: 600; }
.crow .res { color: var(--console-dim); text-align: right; }
.crow.is-run .mark { color: var(--white); }
.crow.is-run .res { color: var(--white); }
.crow.is-next .name { color: var(--console-dim); }
.crow.is-next .mark { color: #64748B; }
.crow.is-done .res { color: var(--sky); }
.progress { height: 3px; background: var(--console-line); }
.progress i { display: block; height: 100%; width: 0; background: var(--sky); transition: width .9s cubic-bezier(.16, 1, .3, 1); }
.console-foot { padding: .9rem 1.5rem 1.1rem; color: var(--console-dim); font-size: .88rem; font-family: var(--font-body); background: var(--console-2); border-top: 1px solid var(--console-line); }
.js .crow[data-step] { opacity: .25; }
.js .crow[data-step].is-on { opacity: 1; transition: opacity .35s ease; }

/* ---------- Üç iş satırları ---------- */
.rows { border-top: 2px solid var(--navy); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem 3rem; padding: 2.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.row h3 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.row p { color: var(--ink-2); max-width: 60ch; padding-top: .35rem; }
.row p strong { color: var(--ink); font-weight: 600; }

/* ---------- İz listesi ---------- */
.trail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 3.5rem; margin: 0; padding: 0; list-style: none; }
.trail li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .95rem; }
.trail svg { width: 28px; height: 28px; margin-top: .15rem; color: var(--plum); }
.trail h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.trail p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Karşılaştırma tablosu ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1.15rem 1.25rem 1.15rem 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: 1.15rem; border-bottom: 2px solid var(--navy); padding-top: 0; }
.compare thead th:last-child { color: var(--accent-hover); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td:nth-child(2) { color: var(--ink-2); width: 34%; }
.compare td:last-child { color: var(--ink); width: 44%; padding-right: 0; }
.compare td:last-child span { font-weight: 700; color: var(--accent-hover); }

/* ---------- Modül listesi ---------- */
.mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; margin: 0; }
.mod { padding: 1.35rem 0; border-top: 1px solid var(--line); display: grid; gap: .4rem; }
.mod dt { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; }
.mod dd { margin: 0; color: var(--ink-2); font-size: 1rem; max-width: 52ch; }
.chip { display: inline-flex; align-items: center; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: 0; padding: .2rem .65rem; border-radius: 999px; line-height: 1.4; }
.chip-ok { background: var(--ok-100); color: var(--ok); }
.chip-dev { background: var(--amber-100); color: var(--amber); }
.chip-plan { background: var(--gray-100); color: #334155; }
.legend { margin-top: 2rem; color: var(--ink-2); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; max-width: 80ch; }

/* ---------- Akış (Ay Kapama adımları) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 2px solid var(--navy); }
.flow li { counter-increment: step; padding: 1.6rem 1.5rem 0 0; position: relative; }
.flow li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--accent); display: block; margin-bottom: .8rem; }
.flow h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.flow p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Hesap/örnek tabloları ---------- */
.ledger { width: 100%; border-collapse: collapse; font-size: .98rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ledger th, .ledger td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger thead th { background: var(--navy); color: var(--white); font-weight: 600; border-bottom: 0; }
.ledger tbody tr:last-child td { border-bottom: 0; }
.ledger td.num { text-align: right; white-space: nowrap; }
.ledger code { font-family: var(--font-mono); font-size: .9rem; color: var(--accent-hover); background: var(--accent-100); padding: .1rem .4rem; border-radius: 4px; }
.table-scroll { overflow-x: auto; }
.note { color: var(--ink-2); font-size: .95rem; margin-top: 1rem; max-width: 70ch; }

.tree { font-family: var(--font-mono); font-size: .98rem; line-height: 1.9; background: var(--console); color: var(--console-text); padding: 1.6rem 1.75rem; border-radius: var(--radius); margin: 0; overflow-x: auto; }
.tree b { color: var(--sky); font-weight: 500; }
.tree i { font-style: normal; color: var(--console-dim); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split > div > * + * { margin-top: 1.1rem; }
.plain-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .8rem; }
.plain-list li { padding-left: 1.4rem; position: relative; color: var(--ink-2); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: .6rem; height: 2px; background: var(--accent); }
.plain-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Katman şeması ---------- */
.stack { display: grid; gap: .6rem; }
.layer { border-radius: var(--radius); padding: 1.25rem 1.5rem; display: grid; gap: .35rem; }
.layer h3 { font-size: 1.15rem; }
.layer p { font-size: .98rem; }
.layer-top { background: var(--navy); color: var(--accent-100); }
.layer-top h3 { color: var(--white); }
.layer-mid { background: var(--teal-100); color: var(--ink); }
.layer-base { background: var(--plum); color: var(--plum-100); }
.layer-base h3 { color: var(--white); }
.layer-split { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }

.panel { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 12px; display: grid; gap: 1rem; align-content: start; }
.panel h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em; }
.panel-a { background: linear-gradient(135deg, #2C3A9E 0%, #6A3DB8 100%); color: var(--accent-100); }
.panel-a h3 { color: var(--white); }
.panel-a a.btn { background: var(--sky); color: var(--ink); justify-self: start; }
.panel-a a.btn:hover { background: var(--white); color: var(--ink); }
.panel-b { background: var(--white); border: 1.5px solid var(--navy); box-shadow: var(--shadow-md); }
.panel-b a.btn { background: var(--navy); color: var(--white); justify-self: start; }
.panel-b a.btn:hover { background: var(--accent); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }

/* ---------- Süreç (destek) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: s; border-top: 2px solid var(--navy); }
.steps li { counter-increment: s; padding: 1.4rem 1.25rem 0 0; }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--plum); display: block; line-height: 1; margin-bottom: .7rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.steps p { font-size: .97rem; color: var(--ink-2); }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.25rem; max-width: 40rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .98rem; }
.field input, .field select, .field textarea { font: inherit; padding: .8rem 1rem; border: 1.5px solid #9096B4; min-height: 44px; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; transition: border-color .15s ease; }
.field input::placeholder, .field textarea::placeholder { color: #626887; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--accent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field textarea { min-height: 9rem; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-note { color: var(--ink-2); font-size: .92rem; max-width: 60ch; }
.form-status { min-height: 1.5rem; font-weight: 600; color: var(--accent-hover); }

/* ---------- Alt bilgi ---------- */
.site-footer { background: linear-gradient(180deg, #23286B 0%, #2E2A78 100%); color: #D3D6F5; padding: 3.5rem 0 2.5rem; font-size: .96rem; }
.site-footer a { color: #E6E8F5; text-decoration: none; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 2.5rem; }
.foot-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--white); display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.foot-brand svg, .foot-brand img { width: 30px; height: 30px; border-radius: 7px; }
.site-footer h4 { margin: 0 0 .9rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--white); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--console-line); font-size: .88rem; color: #B9BCE6; max-width: 90ch; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) {
  .row { grid-template-columns: 1fr; gap: .75rem; }
  .trail, .mods, .two, .split { grid-template-columns: 1fr; }
  .mods { gap: 0; }
  .flow, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100% !important; }
  .compare tr { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .compare th, .compare td { border: 0; padding: .2rem 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-top: .5rem; }
  .compare td:last-child::before { color: var(--accent); }
}
@media (max-width: 600px) {
  .crow { grid-template-columns: 1.5rem minmax(0, 1fr); padding: .75rem 1.1rem; }
  .crow .res { grid-column: 2; text-align: left; }
  .console-top { padding: .9rem 1.1rem; }
  .flow, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .layer-split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .js .crow[data-step] { opacity: 1; }
}

a, button, .btn, input, select, textarea { touch-action: manipulation; }
.field select { background-color: var(--white); color: var(--ink); }

/* ---------- Kanıt şeridi (Trust & Authority deseni) ---------- */
.proof { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.proof-item { padding: 1.6rem 1.75rem 1.6rem 0; display: grid; gap: .3rem; align-content: start; }
.proof-item + .proof-item { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.proof-item dt { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--navy); }
.proof-item dd { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Ince kaydirma animasyonu: 12px, 350ms, gorunur varsayilan ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .35s ease-out, transform .35s ease-out; }
.js .reveal.is-in { opacity: 1; transform: none; }
.btn, .menu-toggle, select, summary { cursor: pointer; }
@media (max-width: 1180px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item + .proof-item { padding: 1.1rem 0; border-left: 0; }
  .proof-item + .proof-item { border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}
.brand { min-height: 44px; }
.side-nav { display: grid; gap: 1.1rem; }

/* Musteri girisi: ust cubuk dugmesi ve firma kodu penceresi */
.btn-giris { margin-left: auto; min-height: 40px; padding: .5rem 1rem; font-size: .95rem; background: var(--accent); color: var(--white); }
.btn-giris:hover { background: var(--accent-hover); }
.side-cta .btn-ghost { width: 100%; justify-content: center; margin-top: .6rem; }
.giris { border: 0; border-radius: var(--radius); padding: 0; width: min(440px, calc(100vw - 32px)); box-shadow: var(--shadow-xl); color: var(--ink); background: var(--white); }
.giris::backdrop { background: rgba(26, 27, 75, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.giris-form { display: grid; gap: .75rem; padding: 1.75rem; font-family: var(--font-body); }
.giris-form h2 { margin: 0; font-family: var(--font-display); font-size: 1.35rem; }
.giris-form p { margin: 0; color: var(--muted); line-height: 1.5; }
.giris-form label { font-weight: 600; }
.giris-alan { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); overflow: hidden; }
.giris-alan:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 70, 229, .18); }
.giris-alan input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .8rem .9rem; font: 600 1.05rem var(--font-mono); color: var(--ink); outline: none; }
.giris-alan span { padding: 0 .9rem 0 0; color: var(--muted); font-family: var(--font-mono); }
.giris-hata { min-height: 1.2em; color: #B42318 !important; font-size: .92rem; }
.giris-dugmeler { display: flex; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 600px) { .topbar .btn-giris { width: auto; flex: none; } }
@media (max-width: 520px) { .btn-giris { padding: .45rem .8rem; } .giris-dugmeler .btn { flex: 1; justify-content: center; } }

/* ---------- Odoo Hizmetleri: paket vitrini (kategori hapları, süzgeç, ürün satırları) ---------- */
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.foot-brand sup { font-size: .55em; font-weight: 600; margin-left: -.35rem; align-self: flex-start; }
.kat-haplar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.hap { font: 600 .95rem var(--font-body); min-height: 40px; padding: .45rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-2); transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.hap:hover { border-color: var(--accent); color: var(--accent-hover); }
.hap[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.magaza-izgara { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.suzgec { position: sticky; top: 76px; display: grid; gap: 1rem; }
.suz-grup { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: .35rem 1rem .9rem; }
.suz-grup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.suz-grup summary::-webkit-details-marker { display: none; }
.suz-grup summary::after { content: ""; width: .55rem; height: .55rem; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); margin-top: -.25rem; transition: transform .2s ease; }
.suz-grup[open] summary::after { transform: rotate(-135deg); margin-top: .2rem; }
.kat-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.kat-liste button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 40px; padding: .35rem .6rem; border: 0; border-radius: 8px; background: none; font: 500 .97rem var(--font-body); color: var(--ink-2); text-align: left; }
.kat-liste button:hover { background: var(--accent-100); color: var(--accent-hover); }
.kat-liste button[aria-pressed="true"] { background: var(--accent-100); color: var(--accent-hover); font-weight: 700; }
.kat-liste span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.etiket-liste { border: 0; margin: 0; padding: 0; display: grid; gap: .1rem; }
.etiket-liste label { display: flex; align-items: center; gap: .6rem; min-height: 40px; padding: 0 .3rem; font-size: .97rem; color: var(--ink-2); cursor: pointer; }
.etiket-liste input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.suz-temizle { margin-top: .5rem; border: 0; background: none; padding: .3rem; font: 600 .9rem var(--font-body); color: var(--accent-hover); text-decoration: underline; text-underline-offset: .2em; }
.urunler { display: grid; gap: 1.1rem; }
.urun-sayi { color: var(--muted); font-size: .95rem; font-weight: 600; }
.urun { display: grid; grid-template-columns: 148px minmax(0, 1fr) 190px; gap: 1.5rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-md); transition: box-shadow .2s ease, border-color .2s ease; }
.urun:hover { box-shadow: var(--shadow-lg); border-color: #CFCFF0; }
.urun[hidden], .urun-bos[hidden] { display: none; }
.urun-gorsel { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; color: var(--white); }
.urun-gorsel svg { width: 56px; height: 56px; }
.g-mavi { background: linear-gradient(135deg, #2C3A9E 0%, #4F46E5 100%); }
.g-mor { background: linear-gradient(135deg, #4B3AB5 0%, #7B3DAE 100%); }
.g-pembe { background: linear-gradient(135deg, #6A3DB8 0%, #B4239B 100%); }
.serit { position: absolute; top: 14px; left: -30px; width: 116px; transform: rotate(-45deg); background: var(--sky); color: var(--navy); font-size: .7rem; font-weight: 800; text-align: center; padding: .15rem 0; letter-spacing: .02em; }
.urun-govde { display: grid; gap: .55rem; align-content: start; }
.urun-govde h3 { font-size: 1.35rem; }
.urun-ozet { color: var(--ink-2); font-size: .98rem; }
.urun-ozellik { margin: .2rem 0 0; padding: 0; list-style: none; display: grid; gap: .3rem; font-size: .95rem; color: var(--ink-2); }
.urun-ozellik li { position: relative; padding-left: 1.3rem; }
.urun-ozellik li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: .6rem; height: .32rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.urun-etiket { margin: .4rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.urun-etiket li { font-size: .78rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; background: var(--gray-100); color: #334155; }
.urun-yan { display: grid; gap: .7rem; align-content: start; justify-items: stretch; border-left: 1px solid var(--line); padding-left: 1.5rem; }
.urun-fiyat { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.urun-yan .btn { justify-content: center; }
.fav { justify-self: start; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); color: var(--muted); transition: color .18s ease, border-color .18s ease; }
.fav svg { width: 22px; height: 22px; }
.fav:hover { color: var(--pink); border-color: var(--pink); }
.fav[aria-pressed="true"] { color: var(--pink); border-color: var(--pink); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.urun-bos { padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; display: grid; gap: 1rem; justify-items: center; color: var(--ink-2); }
.marka-notu { margin-top: 2.25rem; }
@media (max-width: 1180px) {
  .magaza-izgara { grid-template-columns: minmax(0, 1fr); }
  .suzgec { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .suzgec { grid-template-columns: 1fr; }
  .urun { grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; padding: 1.1rem; }
  .urun-gorsel svg { width: 38px; height: 38px; }
  .serit { top: 8px; left: -34px; font-size: .62rem; }
  .urun-yan { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .urun-fiyat { grid-column: 1 / -1; }
  .urun-yan .fav { justify-self: end; }
}
@media (max-width: 480px) {
  .urun { grid-template-columns: minmax(0, 1fr); }
  .urun-gorsel { width: 72px; }
  .urun-gorsel svg { width: 32px; height: 32px; }
  .serit { top: 6px; left: -36px; font-size: .58rem; }
}
.lisans-arti { margin-top: 1.75rem; }
.fiyat-satir { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin: 0 0 1.5rem; color: var(--ink-2); }
.fiyat-satir .fiyat { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: -0.02em; color: var(--navy); }
.on-plum .fiyat-satir { color: #F3F1FF; margin: 0; }
.on-plum .fiyat-satir .fiyat { color: var(--white); }
.fiyat sup { font-size: .7em; vertical-align: super; margin-left: .1em; }
.fiyat-not { font-size: .9rem; color: var(--ink-2); }
.urun-fiyat sup { font-size: .7em; vertical-align: super; }
.urun-fiyat small { display: block; font-family: var(--font-body, inherit); font-size: .78rem; font-weight: 500; color: var(--ink-2); margin-top: .15rem; }
.cihazlar { margin: 1.1rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.15rem); letter-spacing: .04em; color: #CFEFFF; }
