/* İce Yazılım — ana stil dosyası
   Tema: kâğıt zemin, mürekkep siyahı, tek vurgu rengi (sinyal turuncusu). */
:root {
  --paper: #f2efe8;
  --paper-2: #e9e5db;
  --ink: #161513;
  --ink-2: #22201d;
  --signal: #ff5418;

  /* Bağlama göre değişen (koyu bölümlerde yeniden tanımlanan) değişkenler */
  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --surface: #faf8f3;
  --surface-2: #f0ece3;
  --text: var(--ink);
  --muted: #59554d;
  --faint: #857f74;
  --line: rgba(22, 21, 19, .13);
  --line-2: rgba(22, 21, 19, .32);
  --accent: #c93d0a;          /* açık zeminde okunabilir turuncu (metin) */
  --accent-fill: var(--signal);
  --btn-fg: var(--paper);

  --radius: 3px;
  --radius-lg: 4px;
  --max: 1200px;
  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}

/* Koyu (mürekkep) bölümler */
.section-alt, .site-footer, .featured, .code-window, .mock, .dark {
  --bg: var(--ink);
  --bg-2: #1d1c19;
  --surface: #1f1e1b;
  --surface-2: #2a2824;
  --text: #f2efe8;
  --muted: #b3ada2;
  --faint: #847e73;
  --line: rgba(242, 239, 232, .12);
  --line-2: rgba(242, 239, 232, .3);
  --accent: #ff6a30;
  --btn-fg: var(--ink);
  color-scheme: dark;
  background-color: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16.5px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-stretch: 108%; line-height: 1.05; margin: 0 0 .55em; letter-spacing: -.025em; color: var(--text); }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 750; }
h3 { font-size: 1.22rem; font-weight: 650; font-stretch: 100%; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-fill); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.grad-text { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 .76rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent-fill); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; }
.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-link:focus { left: 1rem; top: 1rem; }

/* Eski temadan kalan dekor öğeleri */
.bg-grid, .bg-glow { display: none; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.4rem; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 .93rem/1 var(--font-body); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s;
}
.btn svg { width: 18px; height: 18px; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--text); color: var(--btn-fg); }
.btn-primary:hover { background: var(--accent-fill); color: var(--ink); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }

/* Üst menü */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(242, 239, 232, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font: 800 1.2rem/1 var(--font-head); font-stretch: 110%; letter-spacing: -.02em; color: var(--text); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo span em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: .12em; }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a:not(.btn) {
  position: relative; padding: .55rem .8rem; font-size: .94rem; font-weight: 500; color: var(--muted); transition: color .18s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--accent-fill);
  transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after, .nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: .8rem; padding: .75rem 1.1rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; padding-block: clamp(56px, 9vw, 112px) clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { margin-bottom: .4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font: 500 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.hero-badges li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges svg { width: 15px; height: 15px; color: var(--accent); }

.code-window { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22, 21, 19, .45); }
.code-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3833; }
.code-bar i:nth-child(1) { background: var(--signal); }
.code-bar span { margin-left: auto; font: .75rem var(--font-mono); color: var(--faint); }
.code-body { padding: 1.3rem 1.4rem 1.6rem; font: .86rem/1.85 var(--font-mono); color: #d9d4c9; overflow-x: auto; white-space: pre; }
.c-k { color: #ff7a45; } .c-f { color: #e8c170; } .c-s { color: #a9bf8e; } .c-c { color: #7a756b; } .c-n { color: #e8c170; }
.cursor { display: inline-block; width: 8px; height: 1.1em; background: var(--signal); vertical-align: text-bottom; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Bölümler */
.section { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* Kartlar */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card {
  position: relative; padding: clamp(1.5rem, 2.6vw, 2.2rem); background: var(--surface);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s;
}
.card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--accent-fill);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { background: var(--bg); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 1.4rem;
  border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }
.card p { font-size: .96rem; }
.card ul { margin-top: 1rem; display: grid; gap: .45rem; }
.card li { display: flex; gap: .6rem; font-size: .93rem; color: var(--muted); }
.card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; background: var(--accent-fill); }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.4rem; color: var(--text); font-weight: 600; font-size: .93rem; border-bottom: 1px solid var(--line-2); padding-bottom: .15rem; transition: border-color .2s, gap .2s; }
.card-link:hover { border-color: var(--accent-fill); gap: .7rem; }

/* Süreç */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line-2); }
.step { position: relative; padding: 1.8rem 1.6rem 1.6rem 0; margin-right: 1.6rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 800 3.2rem/1 var(--font-head); font-stretch: 115%; margin-bottom: 1.2rem; color: var(--accent);
}
.step p { font-size: .95rem; margin: 0; }

/* Özellik listesi */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; border-top: 1px solid var(--line); }
.feature { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.feature-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--accent); }
.feature-icon svg { width: 19px; height: 19px; }
.feature h3 { font-size: 1.02rem; margin-bottom: .25em; }
.feature p { margin: 0; font-size: .93rem; }

/* Etiketler */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { padding: .45rem .75rem; border: 1px solid var(--line-2); border-radius: var(--radius); font: 500 .8rem/1 var(--font-mono); color: var(--text); }

/* CTA — sinyal turuncusu blok */
.cta {
  --text: var(--ink); --muted: rgba(22, 21, 19, .75); --line-2: rgba(22, 21, 19, .45); --accent: var(--ink); --btn-fg: var(--paper);
  position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) clamp(22px, 5vw, 72px);
  background: var(--signal); color: var(--ink); border-radius: var(--radius-lg);
}
.cta h2 { max-width: 18ch; }
.cta .grad-text { color: inherit; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; }
.cta .eyebrow::before { background: var(--ink); }
.cta .btn-primary:hover { background: var(--paper); color: var(--ink); }

/* Sayfa başlığı (iç sayfalar) */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 17ch; }
.breadcrumb { font: .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--accent); }

/* Hizmet detay */
.service { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:first-of-type { border-top: 0; }
.service-num { font: 500 .8rem var(--font-mono); letter-spacing: .1em; color: var(--accent); margin-bottom: 1rem; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-item { padding: 1.2rem 1.3rem; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-item h4 { font-size: 1rem; font-stretch: 100%; letter-spacing: -.01em; margin-bottom: .35em; }
.service-item p { margin: 0; font-size: .9rem; }
.service .tags { margin-top: 1.4rem; }

/* SSS */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.3rem 0; font-weight: 600; font-size: 1.04rem; color: var(--text);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--font-mono); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.4rem 0; margin: 0; }

/* Hakkımızda */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value { padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value h3 { font-size: 1.08rem; display: flex; align-items: center; gap: .6rem; }
.value h3 svg { width: 20px; height: 20px; color: var(--accent); }
.value p { margin: 0; font-size: .94rem; }
.terminal { font: .88rem/1.9 var(--font-mono); padding: 1.5rem; color: #d9d4c9; }
.terminal .p { color: var(--signal); }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-info { display: grid; border-top: 1px solid var(--line-2); }
.contact-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; color: var(--faint); font: 500 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; }
.contact-item a, .contact-item strong { font-weight: 600; color: var(--text); word-break: break-word; }
.contact-item a:hover { color: var(--accent); }
.form { padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font: 500 .76rem var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: inherit; font-size: .96rem; transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 84, 24, .22); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.check input { margin-top: .25rem; accent-color: var(--ink); }
.check a { color: var(--text) !important; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.2rem; font-size: .94rem; border-left: 3px solid; }
.alert-ok { background: #e6ecdc; border-color: #5f7d4e; color: #2f3f25; }
.alert-err { background: #f6e0d8; border-color: #b9441c; color: #6b2310; }

/* Alt bilgi */
.site-footer { padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font: 500 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 1.1rem; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid li a { color: var(--muted); font-size: .94rem; transition: color .18s; }
.footer-grid li a:hover { color: var(--text); }
.footer-grid p { font-size: .94rem; max-width: 34ch; margin-top: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font: .78rem var(--font-mono); color: var(--faint); }

/* Kaydırınca beliren öğeler */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Uzun metin sayfaları (KVKK vb.) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin: 2.2em 0 .7em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: none; margin: 0 0 1em; display: grid; gap: .5rem; }
.prose li { display: flex; gap: .7rem; }
.prose li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .65em; background: var(--accent-fill); }
.prose strong { color: var(--text); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-fill); text-underline-offset: 3px; }

/* ---- Projeler sayfası ---- */
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump a { padding: .6rem 1rem; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: .9rem; font-weight: 500; transition: border-color .18s, background .18s; }
.jump a:hover { border-color: var(--text); background: var(--surface); }
.badge {
  display: inline-block; padding: .38rem .6rem; margin-bottom: 1.1rem; border-radius: var(--radius);
  font: 500 .72rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: var(--accent-fill);
}
.featured {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(26px, 4.5vw, 64px); border-radius: var(--radius-lg);
}
.featured h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.checks { display: grid; gap: .7rem; margin: 1.5rem 0 .4rem; }
.checks li { display: flex; gap: .75rem; color: var(--text); font-size: .98rem; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: .2rem; border-radius: 2px;
  background: var(--accent-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161513' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.mock { margin: 0; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: #0f0e0d; overflow: hidden; }
.mock-body { padding: 16px; display: grid; gap: 12px; font-size: .82rem; }
.mock figcaption, .mock-cap { padding: .55rem 1rem; border-top: 1px solid var(--line); font: .7rem var(--font-mono); color: var(--faint); text-align: right; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mock-stats div { padding: 10px 12px; background: var(--surface); }
.mock-stats small { display: block; color: var(--faint); font: .66rem var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.mock-stats b { font: 700 1.35rem/1.25 var(--font-head); color: var(--text); }
.mock-stats div:first-child b { color: var(--signal); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-panel { padding: 12px; background: var(--surface); border: 1px solid var(--line); }
.mock-title { font: 500 .66rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 8px; }
.agent { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--text); border-bottom: 1px solid var(--line); white-space: nowrap; font-size: .78rem; }
.agent:last-child { border-bottom: 0; }
.agent em { margin-left: auto; font-style: normal; font: .66rem var(--font-mono); color: var(--faint); overflow: hidden; text-overflow: ellipsis; }
.dot { width: 7px; height: 7px; flex: none; }
.dot.on { background: #8fb57a; }
.dot.wait { background: var(--signal); }
.dot.off { background: #e8c170; }
.camp { margin-bottom: 9px; color: var(--text); }
.camp span { display: block; font-size: .74rem; margin-bottom: 4px; }
.bar { height: 5px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--signal); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.spark i { flex: 1; background: rgba(242, 239, 232, .55); }
.spark i:last-child { background: var(--signal); }

.modules { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line-2); }
.modules h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-stretch: 108%; }
.modules p { margin: 0; }

.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-bottom: 2.2rem; }
.filter button {
  display: inline-flex; align-items: center; gap: .55rem; padding: .65rem 1.05rem; border-radius: var(--radius); cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 .9rem/1 var(--font-body); transition: color .18s, border-color .18s, background .18s;
}
.filter button small { font: 500 .72rem/1 var(--font-mono); color: var(--faint); }
.filter button:hover { color: var(--text); border-color: var(--text); }
.filter button.active { color: var(--ink); background: var(--text); border-color: var(--text); }
.filter button.active small { color: var(--ink); opacity: .6; }

.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.game { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; scroll-margin-top: 90px; display: flex; flex-direction: column; transition: border-color .2s; }
.game:hover { border-color: var(--line-2); }
.game[hidden] { display: none !important; }
.game-art { --c: #8a8274; aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--c); color: #f6f2ea; }
.game-art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 9px);
}
.game-art svg { position: absolute; right: -10%; top: -14%; width: 64%; opacity: .22; transition: transform .6s ease, opacity .3s; }
.game:hover .game-art svg { transform: rotate(-6deg) scale(1.04); opacity: .3; }
.game-title { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1 var(--font-head); font-stretch: 112%; letter-spacing: -.02em; color: #fff; }
.game-plat { position: absolute; top: 1rem; left: 1.1rem; padding: .32rem .5rem; border-radius: 2px; font: 500 .68rem/1 var(--font-mono); letter-spacing: .1em; color: #fff; background: rgba(22, 21, 19, .55); }
.g-cyan   { --c: #b8892a; }  /* Yol Gezgini — hardal */
.g-indigo { --c: #3f5166; }  /* Gece Nöbeti — arduvaz */
.g-orange { --c: #b4431c; }  /* Ateş ve Kül — pas */
.g-red    { --c: #6e2622; }  /* Tepegöz — şarap */
.g-green  { --c: #56704a; }  /* Postacı Murat — adaçayı */
.g-pink   { --c: #a8656d; }  /* Stilist — gül kurusu */
.game-body { flex: 1; padding: 1.4rem 1.4rem 1.6rem; }
.game-body .badge { margin-bottom: .8rem; background: transparent; color: var(--muted); border: 1px solid var(--line-2); }
.game-body p { margin: 0; font-size: .93rem; }
.soon { margin-top: 1rem; padding: .75rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--radius); font: .78rem var(--font-mono); color: var(--faint); }

/* Hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor { animation: none; }
  * { transition-duration: 0s !important; }
}

/* Duyarlı tasarım */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .service, .featured, .modules { grid-template-columns: 1fr; }
  .hero-grid { align-items: start; }
  .cards, .game-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem clamp(16px, 4vw, 40px) 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line-2);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--accent); }
  .nav-cta { margin: 1rem 0 0; padding: 1rem; }
}
@media (max-width: 640px) {
  .cards, .steps, .features, .values, .service-list, .form-row, .game-grid, .mock-grid { grid-template-columns: 1fr; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .code-body { font-size: .76rem; }
  .step { margin-right: 0; border-bottom: 1px solid var(--line); }
}
