/* =========================================================================
   CodeSight+ — public site
   Tek kaynak tema: tum renkler custom property. [data-theme="light"] ayni
   hue ailesinde acik varyanti tanimlar; bilesenler yalnizca var() kullanir.
   ========================================================================= */

:root {
  --accent: #10b981;

  --bg: #070708;
  --bg-soft: #0c0c0f;
  --bg-card: #0f0f13;
  --bg-elev: #141419;
  --ink: #f4f4f5;
  --muted: #888891;
  --faint: #4c4c52;
  --hairline: #222227;
  --hairline-soft: #17171b;

  --accent-ink: #04120c;
  --accent-glow: rgba(16, 185, 129, 0.18);
  --accent-soft: rgba(16, 185, 129, 0.10);
  --accent-line: rgba(16, 185, 129, 0.32);
  --warn: #e0a45e;

  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  --shadow-md: 0 20px 44px -28px rgba(0, 0, 0, 0.8);
  --noise-opacity: 0.045;
  --grid-dot: rgba(255, 255, 255, 0.055);

  --shell: min(1320px, 92vw);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.165, 0.84, 0.44, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

[data-theme='light'] {
  --bg: #fafafa;
  --bg-soft: #f2f2f3;
  --bg-card: #ffffff;
  --bg-elev: #ffffff;
  --ink: #111113;
  --muted: #61616a;
  --faint: #9a9aa2;
  --hairline: #e5e5e8;
  --hairline-soft: #eeeef0;

  --accent-ink: #ffffff;
  --accent-glow: rgba(16, 185, 129, 0.16);
  --accent-soft: rgba(16, 185, 129, 0.09);
  --accent-line: rgba(16, 185, 129, 0.34);
  --warn: #c07b22;

  --shadow-lg: 0 40px 80px -48px rgba(15, 23, 30, 0.32);
  --shadow-md: 0 18px 40px -28px rgba(15, 23, 30, 0.28);
  --noise-opacity: 0.03;
  --grid-dot: rgba(0, 0, 0, 0.06);
}

/* ------------------------------------------------------------------ reset */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 500; margin: 0; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

.shell { width: var(--shell); margin-inline: auto; position: relative; z-index: 2; }

.skip-link {
  position: absolute; top: -100px; left: 24px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 18px; border-radius: 999px; font-size: 13px;
}
.skip-link:focus { top: 20px; }

.ic { width: 1em; height: 1em; flex: none; }

/* --------------------------------------------------------------- typografi */

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.eyebrow--accent { color: var(--accent); }

.section-title {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  margin-top: 18px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 40px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--hairline);
}
.section-head--tight { grid-template-columns: 1fr; border-bottom: 0; margin-bottom: 40px; }
.section-lede { font-size: 1.05rem; color: var(--muted); max-width: 46ch; }

/* ---------------------------------------------------------------- butonlar */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn .ic { font-size: 16px; transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(4px); }

.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 18px 40px -22px var(--accent-glow); }
.btn--primary:hover { background: color-mix(in oklab, var(--accent) 88%, white); }

.btn--ghost { color: var(--ink); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--accent-line); color: var(--accent); }

.btn--outline { color: var(--ink); border-color: var(--hairline); background: var(--bg-card); }
.btn--outline:hover { border-color: var(--accent-line); }

/* ------------------------------------------------------------------ cursor */

.cursor-dot, .cursor-ring { display: none; }

@media (hover: hover) and (pointer: fine) {
  /* Fare hareket edene kadar gorunmez — sayfa ortasinda takili durmasin. */
  .cursor-dot, .cursor-ring { opacity: 0; transition: opacity 0.35s var(--ease); }
  .cursor-ready .cursor-dot, .cursor-ready .cursor-ring { opacity: 1; }

  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0;
    width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
    background: var(--accent); border-radius: 50%;
    z-index: 9999; pointer-events: none;
  }
  .cursor-ring {
    display: block; position: fixed; top: 0; left: 0;
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1px solid var(--accent-line); border-radius: 50%;
    z-index: 9998; pointer-events: none;
    transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
  }
  .cursor-ring.is-hot {
    width: 62px; height: 62px; margin: -31px 0 0 -31px;
    background: var(--accent-soft);
  }
  .cursor-ring {
    transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease),
                background-color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.35s var(--ease);
  }
}
[data-motion='reduced'] .cursor-dot, [data-motion='reduced'] .cursor-ring { display: none !important; }

/* -------------------------------------------------------------------- boot */

.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.boot.is-done { display: none; }

.boot__scan {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 30%, var(--accent-soft), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(127, 127, 140, 0.05) 3px 4px);
  opacity: 0.6;
}

.boot__window {
  position: relative;
  width: min(560px, 88vw);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.boot__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
}
.boot__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline); }
.boot__dot:first-child { background: color-mix(in oklab, var(--accent) 60%, var(--hairline)); }
.boot__path {
  margin-left: 10px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--faint);
}
.boot__body {
  margin: 0; padding: 20px 18px 24px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.9;
  color: var(--muted); min-height: 190px; white-space: pre-wrap;
}
.boot__line { display: block; }
.boot__line.is-ok .boot__text { color: var(--ink); }
.boot__line.is-ok .boot__text::after {
  content: '';
  display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-radius: 50%; background: var(--accent); vertical-align: middle;
}
.boot__caret {
  display: inline-block; width: 8px; height: 14px;
  background: var(--accent); vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.boot__logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
}
.boot__mark {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 500; letter-spacing: -0.06em; color: var(--ink); line-height: 1;
}
.boot__tagline {
  font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--accent);
}

/* --------------------------------------------------------------------- nav */

.nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: var(--shell);
  max-width: 1320px;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 12px 12px 22px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-stuck .nav__inner { box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.7); }

.nav__brand { display: flex; align-items: center; gap: 11px; }
.nav__mark {
  font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.04em;
}
/* Logo orijinal haliyle kullanilir; yalnizca kare rozet olarak sunulur. */
.nav__logo {
  height: 36px; width: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--hairline), 0 6px 16px -10px rgba(0, 0, 0, 0.7);
}
.nav__wordmark {
  font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.035em;
  white-space: nowrap;
}

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link {
  position: relative;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.55s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__tools { display: flex; align-items: center; gap: 12px; }

.nav__status { display: inline-flex; align-items: center; gap: 8px; margin-right: 4px; }
.nav__status-text { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.nav__pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.nav__lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 3px;
}
.nav__lang-btn {
  font-size: 11px; letter-spacing: 0.08em; font-weight: 500;
  padding: 5px 11px; border-radius: 999px; color: var(--faint);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav__lang-btn.is-active { background: var(--accent); color: var(--accent-ink); }
.nav__lang-btn:not(.is-active):hover { color: var(--ink); }

.nav__theme {
  position: relative;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav__theme:hover { color: var(--accent); border-color: var(--accent-line); }
.nav__theme-icon { position: absolute; display: grid; place-items: center; font-size: 16px; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.nav__theme-icon--sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.nav__theme-icon--moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme='light'] .nav__theme-icon--sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme='light'] .nav__theme-icon--moon { opacity: 0; transform: rotate(90deg) scale(0.6); }

.nav__cta {
  padding: 10px 20px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 500;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); background: color-mix(in oklab, var(--accent) 88%, white); }

.nav__burger { display: none; width: 38px; height: 38px; border: 1px solid var(--hairline); border-radius: 50%; }
.nav__burger span { display: block; width: 15px; height: 1.5px; background: var(--ink); margin: 3px auto; transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav__burger[aria-expanded='true'] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.nav__drawer {
  margin-top: 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px);
  padding: 12px;
  box-shadow: var(--shadow-md);
}
.nav__drawer a {
  display: block; padding: 13px 16px; border-radius: 12px;
  font-size: 14px; color: var(--ink);
  transition: background-color 0.25s var(--ease);
}
.nav__drawer a:hover { background: var(--bg-soft); }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: clamp(140px, 18vh, 200px) 0 clamp(80px, 10vh, 130px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}
.hero::after {
  content: '';
  position: absolute; z-index: 0;
  top: -10%; right: -8%; width: 46vw; height: 46vw;
  background: radial-gradient(circle, var(--accent-glow), transparent 62%);
  filter: blur(28px);
  pointer-events: none;
}
.hero__grid-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__grid-lines span {
  position: absolute; top: 0; bottom: 0; width: 1px; background: var(--hairline-soft);
}
.hero__grid-lines span:nth-child(1) { left: 25%; }
.hero__grid-lines span:nth-child(2) { left: 50%; }
.hero__grid-lines span:nth-child(3) { left: 75%; }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(36px, 4.5vw, 74px);
  align-items: center;
}
.hero__badge { margin-bottom: 30px; }

.hero__title {
  /* En uzun satir ("GELİŞTİRİYORUZ") sutuna sigacak sekilde olceklenir. */
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin-bottom: 34px;
}
/* Satir maskesi giris animasyonu icin; padding/negatif margin Turkce
   aksanlarin (İ, Ş, Ğ) kirpilmasini onler. */
.hero__line {
  display: block; overflow: hidden;
  padding: 0.05em 0 0.1em;
  margin: -0.05em 0 -0.1em;
}
.hero__line > span { display: block; }
/* Outline vurgulu satir: govde bos, kontur accent. Perde acildiktan sonra
   kontur soluk griden accent'e doner (is-lit). */
.hero__line--outline > span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--faint);
  transition: -webkit-text-stroke-color 1s var(--ease);
}
.hero__line--outline.is-lit > span { -webkit-text-stroke-color: var(--accent); }
.hero__line--outline { position: relative; }
.hero__line--outline::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--accent);
  opacity: 0.14;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease);
  pointer-events: none;
}
.hero__line--outline.is-lit::after { clip-path: inset(0 0 0 0); }

.hero__lede {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  max-width: 44ch;
  color: var(--muted);
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__panel {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__panel--image img { width: 100%; height: auto; }

.hero__panel-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--hairline);
}
.hero__panel-title { font-size: 12px; letter-spacing: 0.04em; color: var(--ink); font-weight: 500; }
.hero__panel-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--accent);
}
.hero__panel-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}

.hero__metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--hairline);
}
.hero__metric { padding: 18px 16px; border-right: 1px solid var(--hairline); }
.hero__metric:last-child { border-right: 0; }
.hero__metric-label { display: block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.hero__metric-value { display: block; font-size: clamp(0.95rem, 1.5vw, 1.25rem); color: var(--ink); font-weight: 500; letter-spacing: -0.02em; }
.hero__metric-delta { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--accent); }

.hero__chart { position: relative; padding: 22px 18px 12px; }
.hero__chart svg { width: 100%; height: 118px; }
.hero__chart-grid line { stroke: var(--hairline); stroke-width: 1; }
.hero__chart-line {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: draw 2.2s var(--ease) 0.3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 14px; }
.hero__bars span {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--accent-line), var(--accent-soft));
}
.hero__bars span:nth-child(even) { background: linear-gradient(180deg, var(--hairline), transparent); }

.hero__panel-foot {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 10.5px; color: var(--faint);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------------- marquee */

.marquee {
  position: relative; z-index: 2;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
  padding: clamp(38px, 5vw, 62px) 0;
  overflow: hidden;
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-speed, 34s) linear infinite; }
.marquee__item {
  padding-right: 48px;
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------- stats */

.stats { padding: clamp(72px, 9vw, 120px) 0; }
.stats__eyebrow { margin-bottom: 34px; display: block; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
}
.stats__item { padding: 34px 26px 34px 0; border-right: 1px solid var(--hairline); }
.stats__item:last-child { border-right: 0; }
.stats__item:not(:first-child) { padding-left: 26px; }
.stats__value {
  display: flex; align-items: baseline;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500; letter-spacing: -0.05em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stats__affix { color: var(--accent); }
.stats__label { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 22ch; }

/* ---------------------------------------------------------------- services */

.services { padding: clamp(72px, 9vw, 130px) 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 300px;
  gap: 18px;
}
.bento__card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease), background-color 0.4s var(--ease);
}
.bento__card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.bento__card--lg { grid-column: span 2; }
.bento__card--tall { grid-row: span 2; }

.bento__media {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.5;
  transition: opacity 0.6s var(--ease), transform 1s var(--ease);
}
.bento__card:hover .bento__media { opacity: 0.85; transform: scale(1.035); }
.bento__img { width: 100%; height: 100%; object-fit: cover; }

/* Metnin altindaki perde: kompozisyon ne olursa olsun yazi okunur kalir. */
.bento__card::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bg-card) 10%, transparent) 0%,
    color-mix(in srgb, var(--bg-card) 78%, transparent) 42%,
    var(--bg-card) 76%);
  pointer-events: none;
}

.bento__body { padding: 26px 26px 28px; position: relative; z-index: 2; }
.bento__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 16px;
  border: 1px solid var(--hairline); border-radius: 11px;
  font-size: 18px; color: var(--accent);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.bento__card:hover .bento__icon { border-color: var(--accent-line); background: var(--accent-soft); }
.bento__title { font-size: clamp(1.05rem, 1.5vw, 1.35rem); margin-bottom: 10px; }
.bento__text { font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 46ch; }

.bento__index {
  position: absolute; top: 20px; right: 22px; z-index: 2;
  font-family: var(--mono); font-size: 11px; color: var(--faint);
  letter-spacing: 0.1em;
}

/* ------------------------------------------------------------------- works */

.works { padding: clamp(72px, 9vw, 130px) 0; }
.works__head {
  display: flex; flex-wrap: wrap; gap: 30px;
  align-items: flex-end; justify-content: space-between;
  padding-bottom: 44px; margin-bottom: 70px;
  border-bottom: 1px solid var(--hairline);
}
.works__title { font-size: clamp(2.4rem, 6.4vw, 5rem); letter-spacing: -0.055em; }
.works__title span { display: block; }
.works__meta { text-align: right; }
.works__subtitle { margin-top: 10px; font-size: 13px; color: var(--faint); max-width: 32ch; }

.works__grid { display: grid; gap: clamp(48px, 6vw, 96px); }
.work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.work:nth-child(even) .work__media { order: 2; }

.work__media {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
  transition: border-color 0.5s var(--ease);
}
.work:hover .work__media { border-color: var(--accent-line); }
.work__media img { width: 100%; height: 100%; object-fit: cover; }
.work__media .mock { height: 100%; }
.work__no {
  position: absolute; top: 16px; left: 18px;
  font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.12em;
}

.work__sector {
  display: inline-block; margin-bottom: 16px;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
}
.work__title { font-size: clamp(1.3rem, 2.4vw, 2rem); margin-bottom: 14px; }
.work__text { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; max-width: 48ch; }
.work__metrics { display: grid; gap: 10px; }
.work__metrics li { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--muted); }
.work__metrics .ic { font-size: 15px; color: var(--accent); margin-top: 3px; }

/* ----------------------------------------------------------------- process */

.process { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--hairline); }
.steps { border-top: 1px solid var(--hairline); }
.step {
  position: relative;
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.5s var(--ease);
}
.step:hover { background: color-mix(in srgb, var(--bg-soft) 70%, transparent); }
.step__row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 34px 8px;
}
.step__no { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.step__title {
  font-size: clamp(1.5rem, 3.6vw, 2.8rem);
  color: var(--faint);
  transition: color 0.45s var(--ease), transform 0.5s var(--ease);
}
.step:hover .step__title { color: var(--ink); transform: translateX(8px); }
.step__text { font-size: 13.5px; color: var(--muted); max-width: 46ch; }

/* Hover kompozisyonu dev tipografinin uzerine dusar; aciklama metnini
   kapatmamasi icin baslik sutununda kalir. */
.step__reveal {
  position: absolute;
  top: 50%; left: 30%; right: auto;
  width: 210px;
  transform: translate(0, -50%) scale(0.94) rotate(-2deg);
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
  z-index: 5;
}
.step:hover .step__reveal { opacity: 1; transform: translate(0, -50%) scale(1) rotate(0deg); }

/* ---------------------------------------------------------------- packages */

.packages { padding: clamp(72px, 9vw, 130px) 0; }
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 26px 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.plan:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.plan--featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-card) 40%);
  box-shadow: var(--shadow-md);
}
.plan__badge {
  position: absolute; top: -11px; left: 26px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
}
.plan__name { font-size: 1.15rem; margin-bottom: 16px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.plan__amount { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; color: var(--ink); letter-spacing: -0.04em; }
.plan__note { font-size: 12px; color: var(--faint); }
.plan__desc { margin-top: 14px; font-size: 13px; color: var(--muted); }

.plan__features {
  display: grid; gap: 11px;
  margin: 24px 0;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.plan__features .ic { font-size: 14px; color: var(--accent); margin-top: 3px; flex: none; }

.plan__foot { margin-top: auto; }
.plan__best {
  font-size: 12.5px; color: var(--faint); font-style: italic;
  padding: 14px 0 18px; border-top: 1px solid var(--hairline-soft);
}
.plan__cta { width: 100%; justify-content: center; }

.packages__note {
  margin-top: 34px; padding: 18px 22px;
  border: 1px dashed var(--hairline); border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--muted); text-align: center;
}

/* --------------------------------------------------------------------- faq */

.faq { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--hairline); }
.faq__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 130px; }

.qa { border-bottom: 1px solid var(--hairline); }
.qa__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink); font-weight: 500;
  transition: color 0.3s var(--ease);
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--accent); }
.qa__sign {
  display: grid; place-items: center;
  width: 30px; height: 30px; flex: none;
  border: 1px solid var(--hairline); border-radius: 50%;
  font-size: 15px; color: var(--accent);
  transition: transform 0.45s var(--ease), border-color 0.3s var(--ease);
}
.qa[open] .qa__sign { transform: rotate(45deg); border-color: var(--accent-line); }
.qa__a { padding-bottom: 26px; max-width: 62ch; }
.qa__a p { font-size: 14.5px; color: var(--muted); }
.qa[open] .qa__a { animation: fade-up 0.45s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(-6px); } }

/* ------------------------------------------------------------------ extras */

/* Ek hizmetler: bilerek bento'dan sade. Ana hizmet kartlariyla ayni gorsel
   agirligi tasirsa BI/RPA anlatisi ile yarisir. */
.extras { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--hairline); }

.extras__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.extras__item {
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--bg);
  transition: background-color 0.4s var(--ease);
}
.extras__item:hover { background: var(--bg-card); }

.extras__icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; margin-bottom: 16px;
  border: 1px solid var(--hairline); border-radius: 10px;
  font-size: 16px; color: var(--accent);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.extras__item:hover .extras__icon { border-color: var(--accent-line); background: var(--accent-soft); }

.extras__title { font-size: 1.02rem; font-weight: 500; margin-bottom: 9px; }
.extras__text { font-size: 14px; line-height: 1.65; color: var(--muted); }

.extras__foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px; margin-top: 30px;
}
.extras__note { font-size: 13.5px; color: var(--faint); max-width: 52ch; }

@media (max-width: 900px) {
  .extras__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .extras__grid { grid-template-columns: 1fr; }
  .extras__foot { flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------------- contact */

.contact { padding: clamp(72px, 9vw, 130px) 0; }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact__title { font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 18px 0 22px; max-width: 16ch; }
.contact__lede { font-size: 1.02rem; color: var(--muted); max-width: 44ch; margin-bottom: 30px; }
.contact__actions { margin-bottom: 34px; }
.contact__list { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.contact__list .ic { font-size: 17px; color: var(--accent); }
.contact__list a { color: var(--ink); transition: color 0.3s var(--ease); }
.contact__list a:hover { color: var(--accent); }

.contact__form-wrap {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}
.contact__form-title { font-size: 1.05rem; margin-bottom: 22px; }

.cform { display: grid; gap: 16px; }
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-line); background: var(--bg-soft); }
.field input:invalid:not(:placeholder-shown) { border-color: var(--warn); }

.cform__submit { justify-content: center; margin-top: 4px; }
.cform__submit[disabled] { opacity: 0.6; pointer-events: none; }
.cform__status { font-size: 13px; min-height: 20px; }
.cform__status.is-ok { color: var(--accent); }
.cform__status.is-error { color: var(--warn); }
.cform__note { font-size: 11.5px; color: var(--faint); }

/* ------------------------------------------------------------------ footer */

.footer { border-top: 1px solid var(--hairline); padding-top: clamp(64px, 8vw, 110px); position: relative; z-index: 2; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 70px);
  padding-bottom: clamp(56px, 7vw, 100px);
}
.footer__wordmark {
  font-size: clamp(2.4rem, 7.6vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin-bottom: 24px;
}
.footer__desc { font-size: 15px; color: var(--muted); max-width: 44ch; }
.footer__col-title { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { font-size: 14px; color: var(--muted); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--ink); }
.footer__muted { font-size: 13px; color: var(--faint); }

.footer__bar {
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
  padding: 26px 0 30px;
  border-top: 1px solid var(--hairline);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.footer__social { display: flex; gap: 18px; font-size: 18px; }
.footer__social a { color: var(--faint); transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer__social a:hover { color: var(--accent); transform: translateY(-2px); }

/* ------------------------------------------------------------- wa floating */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-size: 26px;
  box-shadow: 0 16px 36px -14px var(--accent-glow), var(--shadow-md);
  transition: transform 0.4s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* ------------------------------------------------------------ mock (SVG) */

.mock { position: relative; width: 100%; height: 100%; min-height: 180px; background: var(--bg-soft); }
.mock svg { width: 100%; height: 100%; }
.mock__caption {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 0.1em;
}

.mk-canvas { fill: var(--bg-soft); }
.mk-card { fill: var(--bg-card); stroke: var(--hairline); stroke-width: 1; }
.mk-card-accent { stroke: var(--accent-line); }
.mk-elev { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28)); }
.mk-chrome circle { fill: var(--hairline); }
.mk-hair { stroke: var(--hairline); stroke-width: 1; }
.mk-hair-rect { fill: none; stroke: var(--hairline); stroke-width: 1; }
.mk-stroke-hair { fill: none; stroke: var(--hairline); stroke-width: 1.5; }
.mk-stroke-accent { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-fill-ink { fill: var(--ink); opacity: 0.82; }
.mk-fill-soft { fill: var(--faint); opacity: 0.5; }
.mk-fill-accent { fill: var(--accent); }
.mk-fill-accent-soft { fill: var(--accent); opacity: 0.35; }
.mk-fill-warn { fill: var(--warn); }
.mk-track { fill: var(--hairline); }
.mk-area { fill: var(--accent); opacity: 0.12; }
.mk-dot { fill: var(--accent); }
.mk-ring { fill: none; stroke: var(--hairline); stroke-width: 6; }
.mk-ring-soft { fill: none; stroke: var(--faint); stroke-width: 6; opacity: 0.5; }
.mk-ring-accent { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 120 70; }
.mk-bubble { fill: var(--bg-card); stroke: var(--hairline); }
.mk-bubble-accent { fill: var(--accent-soft); stroke: var(--accent-line); }
.mk-pill { fill: var(--hairline); }
.mk-pill-accent { fill: var(--accent); opacity: 0.75; }
.mk-caret { fill: var(--accent); animation: blink 1.1s steps(2) infinite; }

.mk-spin { animation: mk-spin 18s linear infinite; transform-origin: center; transform-box: fill-box; }
.mk-spin-slow { animation: mk-spin 26s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes mk-spin { to { transform: rotate(360deg); } }
.mk-dash { stroke-dasharray: 5 6; animation: mk-flow 1.6s linear infinite; }
@keyframes mk-flow { to { stroke-dashoffset: -22; } }
.mk-pulse { animation: mk-pulse 2.6s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes mk-pulse { 50% { opacity: 0.35; transform: scale(1.12); } }
.mk-draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease) forwards; }

/* -------------------------------------------------------------- animasyon */

.reveal { opacity: 1; }
.js-anim .reveal { opacity: 0; transform: translateY(24px); }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--lg { grid-column: span 2; }
  .bento__card--tall { grid-row: span 1; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 96px; }
  .nav__links, .nav__status { display: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: 2; }
  .work { grid-template-columns: 1fr; }
  .work:nth-child(even) .work__media { order: 0; }
  .faq__inner, .contact__inner { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .step__row { grid-template-columns: 60px 1fr; }
  .step__text { grid-column: 2; }
  .step__reveal { display: none; }
}

@media (max-width: 640px) {
  .nav { top: 12px; }
  .nav__inner { padding: 10px 10px 10px 18px; }
  .bento, .plans { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 280px; }
  .bento__card--lg { grid-column: span 1; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-right: 0; border-bottom: 1px solid var(--hairline); padding-left: 0 !important; }
  .cform__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .works__meta { text-align: left; }
  .section-head { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js-anim .reveal { opacity: 1; transform: none; }
}
