/* =========================================================
   TITELIO — Design System (app studio)
   1. Tokens  2. Base  3. Layout  4. Components  5. Sections
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  --brand-1: #7C5CFF;
  --brand-2: #21E6C1;
  --brand-3: #FF8A3D;
  --grad-brand: linear-gradient(100deg, var(--brand-1) 0%, #A78BFF 42%, var(--brand-2) 100%);

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

  --fs-display: clamp(2.4rem, 5vw, 4.1rem);
  --fs-h2: clamp(1.9rem, 3.4vw, 3rem);
  --fs-h3: clamp(1.05rem, 1.5vw, 1.25rem);
  --fs-lead: clamp(1.02rem, 1.5vw, 1.18rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.78rem;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px; --r-full: 999px;

  --container: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.22,.68,.28,1);
}

[data-theme="dark"] {
  --bg: #07070B;
  --bg-2: #0B0B12;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);
  --text: #F3F4F8;
  --text-2: #A8A9BC;
  --text-3: #75768C;
  --shadow: 0 24px 60px -20px rgba(0,0,0,.75);
  --glow: 0 0 60px -12px rgba(124,92,255,.55);
  --on-brand: #0A0A10;
  --grid-line: rgba(255,255,255,.05);
}

[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F7F7FA;
  --surface: rgba(12,12,24,.025);
  --surface-2: rgba(12,12,24,.05);
  --border: rgba(12,12,24,.10);
  --border-strong: rgba(12,12,24,.18);
  --text: #0B0B14;
  --text-2: #55566B;
  --text-3: #82839A;
  --shadow: 0 22px 50px -22px rgba(20,20,45,.28);
  --glow: 0 0 60px -14px rgba(124,92,255,.35);
  --on-brand: #FFFFFF;
  --grid-line: rgba(12,12,24,.045);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s var(--ease), color .3s var(--ease);
}

h1, h2, h3, h4 { line-height: 1.14; letter-spacing: -.025em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--brand-1); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--r-md) var(--r-md); z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-5); }
.container-narrow { max-width: 800px; }
.section { padding-block: clamp(64px, 9vw, 128px); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-1);
  margin-bottom: var(--s-3);
}
[data-theme="dark"] .eyebrow { color: #A78BFF; }
.section-title { font-size: var(--fs-h2); }
.section-sub { margin-top: var(--s-4); color: var(--text-2); font-size: var(--fs-lead); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 4. COMPONENTS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 10px 18px; border-radius: var(--r-full); border: 1px solid transparent;
  background: transparent; font-size: var(--fs-sm); font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad-brand); color: var(--on-brand); box-shadow: 0 6px 24px -10px rgba(124,92,255,.9); }
.btn-primary:hover { box-shadow: 0 12px 32px -10px rgba(124,92,255,1); }
.btn-outline { border-color: var(--border-strong); background: var(--surface); color: var(--text); }
.btn-outline:hover { border-color: var(--text-3); background: var(--surface-2); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); cursor: pointer; font-size: var(--fs-xs); font-weight: 700;
  transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }

[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }
[data-theme="light"] .i-sun { display: none; }
[data-theme="light"] .i-moon { display: block; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; gap: var(--s-5); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; font-size: 1.15rem; }
.logo-mark { display: grid; place-items: center; }

.nav { display: flex; align-items: center; gap: var(--s-5); margin-inline: auto; }
.nav > a { font-size: var(--fs-sm); color: var(--text-2); font-weight: 500; transition: color .2s; }
.nav > a:hover { color: var(--text); }
.nav-mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.menu-btn { display: none; }
.burger, .burger::before, .burger::after {
  content: ""; display: block; width: 16px; height: 1.8px; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.burger::before { transform: translateY(-5px); }
.burger::after  { transform: translateY(3.2px); }
.menu-btn[aria-expanded="true"] .burger { background: transparent; }
.menu-btn[aria-expanded="true"] .burger::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger::after  { transform: rotate(-45deg) translateY(0); }

/* ---------- 5. HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 92px));
  padding-bottom: clamp(56px, 8vw, 104px);
}
.hero-glow {
  position: absolute; top: -280px; left: 50%; transform: translateX(-50%);
  width: min(1100px, 130vw); height: 720px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(124,92,255,.42), transparent 72%),
    radial-gradient(closest-side, rgba(33,230,193,.22), transparent 70%) 65% 45%/70% 70% no-repeat;
  filter: blur(18px);
}
[data-theme="light"] .hero-glow { opacity: .5; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 62% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 0%, #000 20%, transparent 78%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px 14px 6px 10px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface);
  font-size: var(--fs-xs); font-weight: 500; color: var(--text-2);
  backdrop-filter: blur(8px); transition: border-color .2s, color .2s;
}
.badge:hover { color: var(--text); border-color: var(--border-strong); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px rgba(33,230,193,.18); flex: none; }

.hero-title { font-size: var(--fs-display); font-weight: 800; letter-spacing: -.04em; margin-top: var(--s-5); }
.grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 54ch; margin-top: var(--s-5); color: var(--text-2); font-size: var(--fs-lead); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.hero-note { margin-top: var(--s-6); font-size: var(--fs-xs); color: var(--text-3); }

/* Hero görseli: telefon + yüzen kartlar */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.phone {
  position: relative; width: min(244px, 70vw); aspect-ratio: 9 / 18.6;
  border-radius: 40px; padding: 10px;
  border: 1px solid var(--border-strong); background: var(--bg-2);
  box-shadow: var(--shadow), var(--glow);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 20px; border-radius: var(--r-full); background: var(--bg);
  border: 1px solid var(--border); z-index: 2;
}
.phone-screen {
  height: 100%; border-radius: 31px; background: var(--bg);
  border: 1px solid var(--border); padding: 42px 16px 16px;
  display: flex; flex-direction: column; gap: var(--s-4); overflow: hidden;
}
.ph-top { display: flex; align-items: baseline; justify-content: space-between; }
.ph-title { font-weight: 700; letter-spacing: -.03em; }
.ph-sub { font-size: 11px; color: var(--text-3); }
.ph-list { display: flex; flex-direction: column; gap: var(--s-2); }
.ph-item {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 11px 12px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface); font-size: 12px; color: var(--text-2);
}
.ph-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.d1 { background: var(--brand-1); }
.d2 { background: var(--brand-2); }
.d3 { background: var(--brand-3); }
.ph-code { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.ph-code span { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); font-size: 10.5px; }
.ph-code i { font-style: normal; font-family: var(--font-mono); color: #A78BFF; }
[data-theme="light"] .ph-code i { color: #6D3BE0; }
.ph-code b { font-weight: 500; color: var(--text-3); }
.ph-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--surface); font-size: 12px; color: var(--text-3);
}
.ph-row b { color: var(--brand-2); font-size: 13px; }

.float-card {
  position: absolute; padding: 11px 14px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--bg-2);
  box-shadow: var(--shadow); min-width: 112px; max-width: 132px;
  animation: floaty 7s ease-in-out infinite;
}
.fc-label { display: block; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.float-card b { display: block; font-size: 1.15rem; letter-spacing: -.03em; margin-top: 3px; }
.float-card em { font-style: normal; font-size: 11px; }
.float-card .up { color: var(--brand-2); }
.fc-unit { font-size: .72em; font-weight: 500; color: var(--text-3); margin-left: 3px; letter-spacing: 0; }
.fc-pill {
  display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: var(--r-full);
  font-size: 10px; background: rgba(33,230,193,.14); color: var(--brand-2);
}
.fc-pill.muted { background: var(--surface-2); color: var(--text-3); }
.fc-1 { top: 5%; right: 0; animation-delay: -1s; }
.fc-2 { top: 42%; left: 0; animation-delay: -3s; }
.fc-3 { bottom: 6%; right: 0; animation-delay: -5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* İstatistik şeridi */
.stats-band { border-block: 1px solid var(--border); background: var(--bg-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-5); padding-block: clamp(36px, 5vw, 60px); text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.04em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { color: var(--text-2); font-size: var(--fs-sm); }

/* Pipeline kartları */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--s-4); }
.app-card {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-5); border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.app-card:hover { border-color: var(--border-strong); transform: translateY(-3px); background: var(--surface-2); }
.app-card-empty { border-style: dashed; background: transparent; }
.app-card-empty:hover { transform: none; background: transparent; }
.app-head { display: flex; align-items: center; gap: var(--s-3); }
.app-icon {
  flex: none; width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; font-family: var(--font-mono);
  font-size: 1.05rem; font-weight: 700; color: #fff;
}
.i-a01 { background: linear-gradient(140deg,#7C5CFF,#4B36B8); }
.i-a02 { background: linear-gradient(140deg,#6C8CFF,#21E6C1); color: #0A0A10; }
.i-a03 { background: linear-gradient(140deg,#C05CFF,#FF8A3D); }
.i-slot { background: var(--surface-2); color: var(--text-3); border: 1px dashed var(--border-strong); }
.app-head h3 { font-size: 1.05rem; }
.app-cat { font-size: var(--fs-xs); color: var(--text-3); }
.app-flag {
  margin-left: auto; align-self: flex-start; padding: 3px 10px; border-radius: var(--r-full);
  font-size: 10px; font-weight: 700; white-space: nowrap;
}
.app-flag.hot  { background: rgba(33,230,193,.15); color: var(--brand-2); }
.app-flag.beta { background: rgba(124,92,255,.16); color: #A78BFF; }
[data-theme="light"] .app-flag.beta { color: #5B3BD1; }
.app-card > p { color: var(--text-2); font-size: var(--fs-sm); }
.app-meta { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-xs); color: var(--text-3); margin-top: auto; }
.app-links { display: flex; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--border); }
.app-links a {
  padding: 6px 14px; border-radius: var(--r-full); border: 1px solid var(--border);
  font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); transition: color .2s, border-color .2s, background .2s;
}
.app-links a:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }

/* Metrik sözleşmesi tablosu */
.mtable-wrap { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow-x: auto; }
.mtable { width: 100%; border-collapse: collapse; min-width: 460px; }
.mtable th, .mtable td { padding: var(--s-4) var(--s-5); text-align: left; font-size: var(--fs-sm); }
.mtable thead th {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); border-bottom: 1px solid var(--border);
}
.mtable tbody tr + tr td { border-top: 1px solid var(--border); }
.mtable tbody td:first-child { color: var(--text); font-weight: 500; }
.mtable th:not(:first-child), .mtable td:not(:first-child) { text-align: right; white-space: nowrap; }
.mtable .kill { color: var(--brand-3); font-variant-numeric: tabular-nums; }
.mtable .ok { color: var(--brand-2); font-variant-numeric: tabular-nums; }
.mtable-note { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--text-3); text-align: center; }

/* Süreç hattı */
.pipeline {
  list-style: none; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--s-4);
}
.pl-step {
  position: relative; padding: var(--s-5); border: 1px solid var(--border);
  border-radius: var(--r-lg); background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column; gap: var(--s-2);
}
.pl-step::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.pl-step:hover::after { transform: scaleX(1); }
.pl-num { font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 600; color: var(--brand-1); }
[data-theme="dark"] .pl-num { color: #A78BFF; }
.pl-step h3 { font-size: var(--fs-h3); }
.pl-step p { color: var(--text-2); font-size: var(--fs-sm); }
.pl-time {
  margin-top: auto; align-self: flex-start; padding: 3px 10px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 600; background: var(--surface-2); color: var(--text-3);
}

.criteria {
  margin-top: var(--s-4); padding: var(--s-6);
  border: 1px dashed var(--border-strong); border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); align-items: center;
}
.criteria h3 { grid-column: 1; grid-row: 1; font-size: 1.1rem; }
.criteria p { grid-column: 1; grid-row: 2; color: var(--text-2); font-size: var(--fs-sm); max-width: 52ch; margin-top: var(--s-2); }
.crit-grid { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: var(--s-6); }
.crit { text-align: center; }
.crit b { display: block; font-size: 1.5rem; letter-spacing: -.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crit small { color: var(--text-3); font-size: 11px; }

/* Bento (model) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.card {
  position: relative; padding: var(--s-6); border: 1px solid var(--border);
  border-radius: var(--r-lg); background: var(--surface); overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card-wide { grid-column: span 2; }
.card-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--border); color: var(--brand-1); margin-bottom: var(--s-4);
}
[data-theme="dark"] .card-icon { color: #A78BFF; }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.card p { color: var(--text-2); font-size: var(--fs-sm); }
.stack-strip { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.stack-strip span {
  padding: 6px 12px; border-radius: var(--r-full); border: 1px solid var(--border);
  font-size: var(--fs-xs); color: var(--text-2); background: var(--bg);
}

.mini-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.mini-list li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--fs-sm); color: var(--text-2); }
.mini-list li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: rgba(33,230,193,.14); color: var(--brand-2);
}

/* Vaka çalışması */
.case {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border: 1px solid var(--border);
  border-radius: var(--r-xl); background: var(--bg-2);
}
.case h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.case-copy > p { margin-top: var(--s-3); color: var(--text-2); font-size: var(--fs-lead); }
.timeline { list-style: none; padding: 0; margin-top: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: var(--s-4); align-items: baseline; position: relative; padding-left: var(--s-5); }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--grad-brand);
}
.timeline li::after {
  content: ""; position: absolute; left: 4px; top: 18px; bottom: -16px; width: 1px; background: var(--border);
}
.timeline li:last-child::after { display: none; }
.timeline b { font-size: var(--fs-sm); color: var(--text); }
.timeline span { font-size: var(--fs-sm); color: var(--text-2); }

.case-panel { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); background: var(--surface); }
.panel-h { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-4); }
.ob-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.ob-list li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--fs-sm); color: var(--text-2); }
.ob-list i {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700;
  background: var(--surface-2); color: var(--text-3); border: 1px solid var(--border);
}
.ob-reveal {
  margin-top: var(--s-5); padding: var(--s-4); border-radius: var(--r-md);
  border: 1px solid rgba(124,92,255,.35); background: rgba(124,92,255,.07);
}
.ob-tag {
  display: inline-block; padding: 3px 10px; border-radius: var(--r-full);
  font-size: 10px; font-weight: 700; background: var(--grad-brand); color: var(--on-brand); margin-bottom: var(--s-3);
}
.ob-reveal p { font-size: var(--fs-sm); color: var(--text-2); }

/* İş birliği */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--s-4); }
.partner {
  display: flex; flex-direction: column; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-6); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface);
  transition: border-color .3s;
}
.partner:hover { border-color: var(--border-strong); }
.partner h3 { font-size: var(--fs-h3); }
.partner > p { color: var(--text-2); font-size: var(--fs-sm); }
.partner .btn { margin-top: auto; }

/* Kariyer */
.career-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.culture { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.culture li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--fs-sm); color: var(--text-2); }
.culture li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--grad-brand);
}
.roles { display: flex; flex-direction: column; gap: var(--s-3); }
.role {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  padding: var(--s-4) var(--s-5); border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); transition: border-color .25s, background .25s, transform .2s var(--ease);
}
.role:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateX(3px); }
.role-t { font-weight: 600; font-size: var(--fs-sm); }
.role-m { font-size: var(--fs-xs); color: var(--text-3); }
.role-m em { font-style: normal; }

/* SSS */
.faq { display: flex; flex-direction: column; gap: var(--s-3); }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color .25s, background .25s; }
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: var(--s-4) var(--s-5);
  font-weight: 600; font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translate(-2px,-2px); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-3px,-3px); }
.faq-a { padding: 0 var(--s-5) var(--s-5); color: var(--text-2); font-size: var(--fs-sm); }

/* İletişim / son CTA */
.final-cta { position: relative; padding-block: clamp(72px, 10vw, 130px); overflow: hidden; border-top: 1px solid var(--border); }
.cta-glow {
  position: absolute; bottom: -320px; left: 50%; transform: translateX(-50%);
  width: min(900px, 120vw); height: 640px;
  background: radial-gradient(closest-side, rgba(124,92,255,.4), transparent 70%); filter: blur(10px);
}
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.cta-inner h2 { font-size: var(--fs-h2); }
.cta-inner > p { color: var(--text-2); font-size: var(--fs-lead); max-width: 52ch; }

.contact-form { width: min(560px, 100%); margin-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); text-align: left; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.cf-input {
  width: 100%; padding: 12px 16px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface); font-size: var(--fs-sm); resize: vertical;
}
.cf-input::placeholder { color: var(--text-3); }
.cf-input:focus { outline: none; border-color: var(--brand-1); }
select.cf-input { appearance: none; cursor: pointer; }
.cf-note { text-align: center; font-size: var(--fs-xs); color: var(--text-3); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-top: clamp(48px, 6vw, 80px); }
.footer-top { display: grid; grid-template-columns: minmax(280px, 1.2fr) 2fr; gap: clamp(32px, 5vw, 72px); }
.footer-tag { color: var(--text-2); font-size: var(--fs-sm); margin-top: var(--s-4); max-width: 34ch; }
.sub-form { display: flex; gap: var(--s-2); margin-top: var(--s-5); max-width: 380px; }
.sub-input {
  flex: 1; min-width: 0; padding: 10px 16px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface); font-size: var(--fs-sm);
}
.sub-input::placeholder { color: var(--text-3); }
.sub-input:focus { outline: none; border-color: var(--brand-1); }
.sub-note { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--text-3); }

.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.footer-nav h4 { font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.footer-nav a { display: block; font-size: var(--fs-sm); color: var(--text-2); padding-block: 5px; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px); padding-block: var(--s-5); border-top: 1px solid var(--border);
  color: var(--text-3); font-size: var(--fs-xs);
}
.socials { display: flex; gap: var(--s-2); }
.socials a {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-full);
  border: 1px solid var(--border); color: var(--text-3); transition: color .2s, border-color .2s;
}
.socials a:hover { color: var(--text); border-color: var(--border-strong); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%);
  padding: 12px 20px; border-radius: var(--r-full); border: 1px solid var(--border);
  background: var(--bg-2); box-shadow: var(--shadow); font-size: var(--fs-sm);
  z-index: 150; transition: transform .4s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; min-height: 420px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .case, .career-wrap { grid-template-columns: 1fr; }
  .criteria { grid-template-columns: 1fr; }
  .criteria h3, .criteria p { grid-column: 1; grid-row: auto; }
  .crit-grid { grid-column: 1; grid-row: auto; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: var(--s-4) var(--s-5) var(--s-6);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a { padding-block: 14px; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-mobile-actions { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-5); }
  .header-inner { justify-content: space-between; }
  .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .bento, .app-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .store-badges { width: 100%; }
  .store-badge { flex: 1; }
  .crit-grid { width: 100%; justify-content: space-between; gap: var(--s-3); }
  .cf-row { grid-template-columns: 1fr; }
  /* Dar ekranda yüzen kartlar telefonun içeriğini kapatıyor */
  .float-card { display: none; }
  .hero-visual { min-height: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}
