/* EMKİP tanıtım sitesi — koyu zemin, marka mavisi buton, amber vurgu (yanan pencereler) */
:root {
  --bg: #070C16;
  --bg-2: #0B1322;
  --text: #F2F5F9;
  --muted: #A3AFBF;
  --subtle: #6E7C90;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #2F6FB8;      /* marka mavisi #1F4E79'un koyu zeminde okunan tonu */
  --primary-hover: #3A7DCB;
  --blue-soft: #8DB8E8;
  --amber: #FFB829;
  --ok: #3CC48F;
  --radius: 20px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.03em; }
p { margin: 0; }
.nowrap { white-space: nowrap; }

/* ── Nav ─────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 12, 22, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 24px;
}
.brand { font-weight: 700; letter-spacing: 0.08em; text-decoration: none; font-size: 18px; }
.brand-sm { font-size: 15px; }
.nav-links { display: none; gap: 28px; margin-left: auto; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
.nav-links a:hover { color: var(--text); }
.nav .btn { margin-left: 4px; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* ── Dil seçici ──────────────────────── */
.lang {
  display: inline-flex; margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 3px;
}
@media (min-width: 768px) { .lang { margin-left: 8px; } }
.lang-btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  color: var(--muted); font: 600 12px/1 var(--font); letter-spacing: 0.06em;
  min-width: 34px; height: 30px; border-radius: 999px;
}
.lang-btn[aria-pressed="true"] { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.lang-btn:hover { color: var(--text); }
.lang-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.legal-note:empty { display: none; }
.legal-note { width: 100%; order: 3; }

/* ── Buttons ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { color: var(--text); padding: 0 6px; }
.btn-ghost:hover { color: var(--amber); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ── Ortak ───────────────────────────── */
.eyebrow {
  color: var(--amber);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.lead { color: var(--muted); font-size: 18px; font-weight: 400; max-width: 34em; }
.section { max-width: var(--max); margin: 0 auto; padding: 72px 16px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2, .cta h2 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; margin-bottom: 18px; }

/* ── Arka plan sahnesi (building.js) ──── */
.scene {
  position: fixed; inset: 0;
  width: 100%; height: 100vh; /* iOS'ta vh = geniş görünüm: araç çubuğu açılıp kapanınca bina zıplamaz */
  display: block; z-index: 0; pointer-events: none;
}
/* "Hareketi azalt": bina sayfayla birlikte kayıp gider, dağılma/birleşme yok */
@media (prefers-reduced-motion: reduce) { .scene { position: absolute; } }
body { position: relative; }
.nav { z-index: 10; }
main, .footer { position: relative; z-index: 1; }

/* ── Hero ────────────────────────────── */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 32px 16px 24px;
  min-height: calc(100svh - 66px);
  display: flex; flex-direction: column;
}
/* bina yazının altına girebilir: yazı her koşulda okunsun */
.hero-text { position: relative; max-width: 620px; text-shadow: 0 2px 28px rgba(7, 12, 22, 0.9), 0 0 2px rgba(7, 12, 22, 0.6); }
.hero h1 {
  font-size: clamp(40px, 9vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-cta.center { justify-content: center; }
@media (min-width: 960px) {
  .hero { justify-content: center; padding-top: 0; padding-bottom: 6vh; }
  .hero-text { max-width: 600px; }
}

/* ── Roller ──────────────────────────── */
.role {
  display: grid; gap: 32px; align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.role-tag {
  display: inline-block;
  color: var(--blue-soft);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.role h3 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; margin-bottom: 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); }
.checks li strong { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--amber);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(255, 184, 41, 0.55);
}
@media (min-width: 960px) {
  .role { grid-template-columns: 1fr 1fr; gap: 72px; padding: 64px 0; }
  .role-flip .role-text { order: 2; }
}

/* ── Arayüz örnekleri (dekoratif) ─────── */
.mock {
  background: linear-gradient(180deg, var(--bg-2), #09101C);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 18px 14px;
  font-size: 14px;
  box-shadow: 0 30px 80px -40px rgba(47, 111, 184, 0.45);
}
.mock-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  color: var(--subtle); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
.mock-head-sub { margin-top: 8px; border-top: 1px solid var(--line); }
.mock-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.mock-row b { display: block; font-weight: 600; }
.mock-row small { display: block; color: var(--subtle); font-size: 12.5px; margin-top: 2px; }
.mock-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; flex-shrink: 0; }
.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.pill-amber { background: rgba(255, 184, 41, 0.14); color: var(--amber); }
.pill-ok { background: rgba(60, 196, 143, 0.14); color: var(--ok); }
.mini-btn {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap;
}
.mini-btn-primary { background: var(--primary); border-color: var(--primary); }
.compare {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 18px 0 10px; border-top: 1px solid var(--line);
}
.compare small { display: block; color: var(--subtle); font-size: 12px; margin-bottom: 4px; }
.compare b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.compare .arrow { color: var(--subtle); font-size: 20px; }
.amber { color: var(--amber); }
.mock-note { color: var(--muted); font-size: 13px; padding-bottom: 14px; }
.mock-actions { display: flex; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ── Özellikler ──────────────────────── */
.features { display: grid; grid-template-columns: 1fr; gap: 28px 32px; }
@media (min-width: 560px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature svg {
  width: 26px; height: 26px; margin-bottom: 14px;
  fill: none; stroke: var(--blue-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.feature h4 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }
/* telefonda ikon solda, metin sağda — 8 öğe alt alta çok uzuyordu */
@media (max-width: 559px) {
  .features { gap: 22px; }
  .feature { display: grid; grid-template-columns: 26px 1fr; column-gap: 16px; }
  .feature svg { grid-row: span 2; margin: 2px 0 0; }
  .feature h4 { font-size: 17px; margin-bottom: 2px; }
}

/* ── CTA + footer ────────────────────── */
.cta { text-align: center; padding-top: 96px; padding-bottom: 96px; }
.cta .lead { margin: 0 auto 32px; }
.footer { border-top: 1px solid var(--line); padding: 28px 16px calc(28px + env(safe-area-inset-bottom)); }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  color: var(--subtle); font-size: 13px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer a { color: var(--subtle); text-decoration: none; }
.footer a:hover { color: var(--text); }
.copy { margin-left: auto; }
@media (max-width: 640px) { .copy { margin-left: 0; width: 100%; } }

/* ── Kaydırınca beliren bölümler ──────── */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
