/* ==========================================================================
   Mustafa Korkmaz — tasarım sistemi
   Referans: linear.app token seti (renk, tipografi, yarıçap, kenarlık)
   ========================================================================== */

:root {
  /* Yüzeyler */
  --bg: #08090a;
  --bg-raised: #0e0f11;
  --bg-2: #1c1c1f;
  --bg-3: #232326;

  /* Kenarlıklar */
  --border: #23252a;
  --border-2: #34343a;
  --hairline: rgba(255, 255, 255, 0.08);

  /* Metin */
  --tx: #f7f8f8;
  --tx-2: #d0d6e0;
  --tx-3: #8a8f98;

  /* Marka */
  --brand: #5e6ad2;
  --brand-hi: #6e79dd;
  --link: #828fff;

  /* Tipografi */
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --w-regular: 400;
  --w-medium: 510;
  --w-semibold: 590;

  /* Yarıçap */
  --r4: 4px;
  --r6: 6px;
  --r8: 8px;
  --r12: 12px;
  --r16: 16px;
  --r24: 24px;
  --r-full: 9999px;

  /* Ölçü */
  --page: 1024px;
  --pad: 24px;
  --header-h: 64px;
  --gap-section: 120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: var(--w-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: var(--w-medium);
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p {
  margin: 0;
}

dl,
dd,
dt {
  margin: 0;
}

::selection {
  background: rgba(94, 106, 210, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
  border-radius: var(--r4);
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* --------------------------------------------------------------- Başlık */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid var(--hairline);
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar {
  height: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-size: 0.9375rem;
  font-weight: var(--w-semibold);
  letter-spacing: -0.02em;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: var(--r6);
  background: linear-gradient(140deg, var(--brand), #8b93e8);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: var(--w-semibold);
  color: #fff;
  letter-spacing: 0;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  color: var(--tx-3);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--tx);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-toggle span {
  width: 14px;
  height: 1.5px;
  background: var(--tx-2);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --------------------------------------------------------------- Butonlar */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r8);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: var(--w-medium);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-hi);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-2);
  color: var(--tx);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #43434b;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-2);
  color: var(--tx);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #43434b;
}

.btn-quiet {
  height: 34px;
  padding: 0 14px;
  background: transparent;
  border-color: var(--border);
  color: var(--tx-2);
  font-size: 0.8125rem;
}

.btn-quiet:hover {
  color: var(--tx);
  border-color: var(--border-2);
}

.nav-cta {
  height: 32px;
  padding: 0 14px;
  font-size: 0.8125rem;
  margin-left: 6px;
}

/* --------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -280px;
  left: 50%;
  width: 900px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(94, 106, 210, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8125rem;
  color: var(--tx-2);
  margin-bottom: 24px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4cc38a;
  box-shadow: 0 0 0 3px rgba(76, 195, 138, 0.16);
}

.hero-title {
  font-size: 64px;
  line-height: 1;
  letter-spacing: -1.408px;
  max-width: 15ch;
}

.hero-sub {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tx-3);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  overflow: hidden;
}

.hero-fact {
  background: var(--bg);
  padding: 18px 20px;
}

.hero-fact dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tx-3);
}

.hero-fact dd {
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--tx-2);
}

/* --------------------------------------- Pencere iskeleti (IDE görselleri) */

.win {
  container-type: inline-size;
  container-name: win;
  border: 1px solid var(--border);
  border-radius: var(--r12);
  background: var(--bg-raised);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

.win-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.win-dots {
  display: flex;
  gap: 6px;
}

.win-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3a40;
}

.win-dot:nth-child(1) {
  background: #48413f;
}

.win-dot:nth-child(2) {
  background: #4a4636;
}

.win-dot:nth-child(3) {
  background: #37453a;
}

.win-title {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--tx-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-chip {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--tx-3);
  border: 1px solid var(--border);
  border-radius: var(--r4);
  padding: 2px 6px;
  white-space: nowrap;
}

.hero-visual {
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

/* VS Code düzeni */

.vsc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 268px;
}

@container win (min-width: 520px) {
  .vsc {
    grid-template-columns: 168px minmax(0, 1fr);
  }

  .vsc .vsc-side {
    display: block;
  }
}

.vsc-side {
  display: none;
  border-right: 1px solid var(--border);
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.012);
}

.vsc-side-label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-3);
  padding: 0 14px 8px;
}

.vsc-file {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  font-size: 0.75rem;
  color: var(--tx-3);
}

.vsc-file.is-open {
  color: var(--tx-2);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 2px 0 0 var(--brand);
}

.vsc-file span:first-child {
  width: 12px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--brand);
  flex: none;
}

.vsc-file.is-nested {
  padding-left: 26px;
}

.vsc-main {
  min-width: 0;
}

.vsc-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.012);
}

.vsc-tab {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--tx-3);
  padding: 8px 14px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.vsc-tab.is-active {
  color: var(--tx);
  background: var(--bg-raised);
  box-shadow: inset 0 -1px 0 var(--brand);
}

.code {
  display: flex;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.85;
  overflow-x: auto;
  padding: 12px 0 16px;
}

.code-gutter {
  flex: none;
  padding: 0 12px 0 16px;
  color: #3f434b;
  text-align: right;
  user-select: none;
  white-space: pre;
}

.code-body {
  min-width: 0;
  padding-right: 20px;
  white-space: pre;
  color: var(--tx-2);
}

.t-key {
  color: #c07be0;
}

.t-fn {
  color: #7aa2f7;
}

.t-str {
  color: #8ed09a;
}

.t-num {
  color: #e5a06a;
}

.t-com {
  color: #5a616e;
  font-style: italic;
}

.t-var {
  color: #d0d6e0;
}

.t-tag {
  color: #6ec7d4;
}

/* Android Studio düzeni */

.as {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 268px;
}

@container win (min-width: 400px) {
  .as {
    grid-template-columns: minmax(0, 1fr) 172px;
  }

  .as .as-main {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
}

.as-main {
  border-bottom: 1px solid var(--border);
  padding: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(94, 106, 210, 0.08), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 22px);
}

.as-device {
  width: 156px;
  border: 1px solid var(--border-2);
  border-radius: 16px;
  background: #0b0c0e;
  padding: 8px 6px;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.85);
}

.as-notch {
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: #2a2c31;
  margin: 0 auto 7px;
}

.as-screen {
  border-radius: 10px;
  background: linear-gradient(180deg, #131722 0%, #0d0f16 100%);
  padding: 9px 9px 7px;
}

.fz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.fz-brand {
  font-size: 8.5px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.01em;
  color: var(--tx);
}

.fz-live {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  color: #7f8bef;
  border: 1px solid rgba(94, 106, 210, 0.45);
  border-radius: var(--r4);
  padding: 1px 4px;
}

.fz-label {
  font-size: 6.5px;
  color: #6f7583;
  letter-spacing: 0.02em;
}

.fz-value {
  margin-top: 1px;
  font-size: 15px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.03em;
  color: var(--tx);
  font-variant-numeric: tabular-nums;
}

.fz-delta {
  margin-top: 1px;
  font-size: 6.5px;
  color: #4cc38a;
  font-variant-numeric: tabular-nums;
}

.fz-chart {
  width: 100%;
  height: 34px;
  margin: 7px 0 8px;
  display: block;
  overflow: visible;
}

.fz-line {
  fill: none;
  stroke: #7f8bef;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fz-dot {
  fill: #fff;
  stroke: #5e6ad2;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.fz-list {
  display: grid;
  gap: 5px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fz-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.fz-sym {
  font-family: var(--mono);
  font-size: 7px;
  color: #b6bdc9;
  letter-spacing: 0.02em;
}

.fz-chg {
  font-family: var(--mono);
  font-size: 6.5px;
  border-radius: var(--r4);
  padding: 1px 4px;
  font-variant-numeric: tabular-nums;
}

.fz-chg.is-up {
  color: #4cc38a;
  background: rgba(76, 195, 138, 0.12);
}

.fz-chg.is-down {
  color: #e5776a;
  background: rgba(229, 119, 106, 0.12);
}

.fz-nav {
  margin-top: 9px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  padding-inline: 6px;
}

.fz-nav span {
  width: 12px;
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.fz-nav span.is-on {
  background: #5e6ad2;
}

.as-panel {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.as-panel-label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-3);
}

.as-attr {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--tx-3);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}

.as-attr b {
  color: var(--tx-2);
  font-weight: var(--w-regular);
}

/* Terminal */

.term {
  padding: 14px 16px 18px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.9;
  overflow-x: auto;
  white-space: pre;
  color: var(--tx-3);
  min-height: 268px;
}

.term b {
  color: #4cc38a;
  font-weight: var(--w-regular);
}

.term i {
  color: var(--link);
  font-style: normal;
}

.term u {
  color: #e5a06a;
  text-decoration: none;
}

.term-caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--tx-3);
  vertical-align: -2px;
  animation: caret 1.1s steps(2, start) infinite;
}

@keyframes caret {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Ortam bölümü ızgarası */

.env-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.env-grid > .env-wide {
  grid-column: 1 / -1;
}

.env-note {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--tx-3);
}

/* --------------------------------------------------------------- Araçlar */

.tool-strip {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 14px;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--tx-3);
  font-size: 0.6875rem;
  text-align: center;
  transition: color 0.15s ease;
}

.tool-item:hover {
  color: var(--tx-2);
}

.tool-item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------- Bölümler */

.section {
  padding: var(--gap-section) 0;
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 40px;
}

.section-title {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1.056px;
}

.meta {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tx-3);
  white-space: nowrap;
}

.lede {
  max-width: 58ch;
  color: var(--tx-3);
  font-size: 1.0625rem;
  margin-bottom: 40px;
}

.section-foot {
  margin-top: 32px;
}

/* --------------------------------------------------------------- Hizmetler */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-cell {
  border: 1px solid var(--border);
  border-radius: var(--r12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.024), transparent 60%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.service-cell:hover {
  border-color: var(--border-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 60%);
}

.service-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 16px;
}

.service-cell h3 {
  font-size: 1.0625rem;
  font-weight: var(--w-semibold);
  letter-spacing: -0.015em;
}

.service-cell p {
  margin-top: 8px;
  color: var(--tx-3);
  font-size: 0.875rem;
}

.service-cell > a {
  margin-top: 18px;
  font-size: 0.8125rem;
  color: var(--link);
  transition: opacity 0.15s ease;
}

.service-cell > a:hover {
  opacity: 0.8;
}

/* --------------------------------------------------------------- Projeler */

.project-grid {
  display: grid;
  gap: 10px;
}

.pcard {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--r12);
  background: var(--bg-raised);
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.pcard:hover {
  border-color: var(--border-2);
  background: var(--bg-2);
  transform: translateY(-1px);
}

.pcard-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-3);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px 9px;
  white-space: nowrap;
}

/* ------------------------------------------- Proje karti onizlemesi */

.pcard-shot {
  --acc: var(--brand);
  display: grid;
  place-items: center;
  height: 118px;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background:
    radial-gradient(90% 80% at 50% 0%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 72%),
    var(--bg-2);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.pcard:hover .pcard-shot {
  border-color: var(--border-2);
}

.pcard-shot.has-photo {
  padding: 0;
  background: var(--bg-2);
}

.pcard-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.mini {
  display: grid;
  gap: 4px;
  align-content: start;
  border: 1px solid var(--border-2);
  background: #0a0b0d;
  font-size: 6.5px;
  line-height: 1.35;
  color: var(--tx-3);
}

.mini-phone {
  width: 74px;
  height: 98px;
  border-radius: 8px;
  padding: 7px 6px;
}

.mini-win {
  width: 118px;
  height: 84px;
  border-radius: 6px;
  padding: 0 0 6px;
  gap: 0;
}

.mini-term {
  width: 128px;
  height: 76px;
  border-radius: 6px;
  padding: 8px;
  gap: 5px;
  font-family: var(--mono);
  font-size: 5.6px;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.mini-head b {
  font-size: 7px;
  font-weight: var(--w-semibold);
  color: var(--tx);
}

.mini-head .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acc);
}

.mini-head .dot.live {
  box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--acc) 30%, transparent);
}

.mini-head .tag {
  font-size: 5px;
  letter-spacing: 0.06em;
  color: var(--acc);
  border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent);
  border-radius: 3px;
  padding: 0 3px;
  font-style: normal;
}

.mini-note {
  color: #6f7583;
}

.mini-big {
  font-size: 11px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.02em;
  color: var(--tx);
  font-variant-numeric: tabular-nums;
}

.mini-spark {
  width: 100%;
  height: 20px;
  display: block;
}

.mini-spark path {
  fill: none;
  stroke: var(--acc);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.mini-board {
  height: 30px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(115deg, transparent 44%, color-mix(in srgb, var(--acc) 30%, transparent) 46%, transparent 52%),
    rgba(255, 255, 255, 0.03);
}

.mini-cta {
  margin-top: auto;
  text-align: center;
  border-radius: 4px;
  padding: 3px 0;
  background: var(--acc);
  color: #fff;
  font-weight: var(--w-medium);
}

.mini-chip {
  border-radius: 4px;
  padding: 2.5px 4px;
  background: color-mix(in srgb, var(--acc) 22%, transparent);
  color: #d6d9e6;
}

.mini-chip.ghost {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: #6f7583;
}

.mini-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}

.mini-wave i {
  flex: 1;
  border-radius: 1px;
  background: var(--acc);
  opacity: 0.85;
}

.mini-wave i:nth-child(odd) { height: 60%; }
.mini-wave i:nth-child(3n) { height: 95%; }
.mini-wave i:nth-child(4n) { height: 35%; }
.mini-wave i:nth-child(5n) { height: 75%; }

.mini-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 13px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.mini-bar i {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mini-hero {
  height: 20px;
  margin: 0 7px 5px;
  border-radius: 3px;
  background: var(--acc);
  opacity: 0.8;
}

.mini-grid {
  display: flex;
  gap: 4px;
  padding: 0 7px;
  margin-bottom: 5px;
}

.mini-grid i {
  flex: 1;
  height: 14px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-win .mini-note {
  padding: 0 7px;
}

.mini-rows {
  display: grid;
  gap: 4px;
}

.mini-win .mini-rows {
  padding: 0 7px;
  margin-bottom: 5px;
}

.mini-rows i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 3px;
}

.mini-rows.tight i:last-child {
  border-bottom: none;
}

.mini-rows em {
  font-style: normal;
  color: #7f8592;
}

.mini-rows b {
  font-weight: var(--w-medium);
  color: #c3c9d4;
  font-variant-numeric: tabular-nums;
}

.mini-rows b.up { color: #4cc38a; }
.mini-rows b.down { color: #e5776a; }

.mini-term code {
  display: block;
  color: #4cc38a;
}

.mini-term code.dim { color: #6f7583; }
.mini-term code.warn { color: #e5a06a; }

.pcard-main {
  min-width: 0;
}

.pcard-main h3 {
  font-size: 1.0625rem;
  font-weight: var(--w-semibold);
  letter-spacing: -0.015em;
}

.pcard-main p {
  margin-top: 6px;
  color: var(--tx-3);
  font-size: 0.875rem;
}

.pcard-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pcard-tags span {
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--tx-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--r4);
  padding: 2px 7px;
}

.pcard-cue {
  font-size: 0.8125rem;
  color: var(--tx-3);
  white-space: nowrap;
  align-self: center;
  transition: color 0.15s ease, transform 0.15s ease;
}

.pcard:hover .pcard-cue {
  color: var(--link);
  transform: translateX(2px);
}

/* --------------------------------------------------------------- Süreç */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  overflow: hidden;
}

.process-step {
  background: var(--bg);
  padding: 22px 20px 26px;
}

.process-num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin-top: 14px;
  font-size: 0.9375rem;
  font-weight: var(--w-semibold);
}

.process-step p {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--tx-3);
}

/* --------------------------------------------------------------- Hakkımda */

#hakkimda .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.manifesto h2 {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1.056px;
  margin-bottom: 24px;
}

.manifesto p {
  color: var(--tx-3);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  max-width: 46ch;
}

.manifesto .btn {
  margin-top: 12px;
}

.info-rows {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  overflow: hidden;
}

.info-row {
  background: var(--bg);
  padding: 18px 20px;
}

.info-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 12px;
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-list strong {
  display: block;
  font-size: 1.25rem;
  font-weight: var(--w-semibold);
  letter-spacing: -0.02em;
}

.stat-list span {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--tx-3);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-list span {
  font-size: 0.75rem;
  color: var(--tx-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px 10px;
}

.timeline-list,
.exp-list,
.cert-list,
.faq-list {
  display: grid;
  gap: 16px;
}

.timeline-item strong,
.exp-item strong,
.cert-item strong,
.faq-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--w-semibold);
}

.timeline-item .meta,
.exp-item .meta,
.cert-item .meta {
  display: block;
  margin-top: 3px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
  white-space: normal;
}

.timeline-item p,
.exp-item p,
.faq-item p {
  margin-top: 7px;
  font-size: 0.8125rem;
  color: var(--tx-3);
}

/* --------------------------------------------------------------- İletişim */

.contact {
  padding: var(--gap-section) 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  bottom: -320px;
  left: 50%;
  width: 820px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(94, 106, 210, 0.18), transparent 70%);
  pointer-events: none;
}

.contact .wrap {
  position: relative;
  text-align: center;
}

.contact h2 {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1.056px;
  margin-top: 12px;
}

.contact-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-lines {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--tx-3);
}

/* --------------------------------------------------------------- Alt bilgi */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 0.8125rem;
  color: var(--tx-3);
}

.footer-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.footer a:hover {
  color: var(--tx-2);
}

.footer-note {
  flex-basis: 100%;
  font-size: 0.75rem;
  color: #6a6f78;
}

/* --------------------------------------------------------------- Modal */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(720px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  border: 1px solid var(--border-2);
  border-radius: var(--r16);
  background: var(--bg-raised);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background: var(--bg-2);
  color: var(--tx-3);
  font-size: 0.75rem;
  cursor: pointer;
  z-index: 2;
}

.modal-close:hover {
  color: var(--tx);
  border-color: var(--border-2);
}

.modal-body {
  padding: 28px;
}

#modalTitle {
  font-size: 1.5rem;
  font-weight: var(--w-semibold);
  letter-spacing: -0.02em;
  padding-right: 40px;
}

.modal-desc {
  margin-top: 10px;
  color: var(--tx-3);
  font-size: 0.9375rem;
}

.modal-shot {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  overflow: hidden;
}

.modal-block {
  margin-top: 22px;
}

.modal-block h4 {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: var(--w-regular);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-3);
}

.modal-block p {
  font-size: 0.875rem;
  color: var(--tx-2);
}

.modal-block ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.modal-block li {
  font-size: 0.875rem;
  color: var(--tx-2);
}

.modal-actions {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------- İşler sayfası */

.works-hero {
  padding: calc(var(--header-h) + 80px) 0 40px;
}

.works-back {
  font-size: 0.8125rem;
  color: var(--tx-3);
}

.works-back:hover {
  color: var(--tx-2);
}

.works-hero h1 {
  margin-top: 18px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1.2px;
}

.works-lead {
  margin-top: 16px;
  max-width: 56ch;
  color: var(--tx-3);
  font-size: 1.0625rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.filter-tab {
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--tx-3);
  font-family: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.filter-tab:hover {
  color: var(--tx-2);
  border-color: var(--border-2);
}

.filter-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.works-empty {
  border: 1px dashed var(--border-2);
  border-radius: var(--r12);
  padding: 40px 24px;
  text-align: center;
}

.works-empty p {
  color: var(--tx-3);
  font-size: 0.875rem;
  margin-bottom: 18px;
}

/* --------------------------------------------------------------- Animasyon */

/* JS calismazsa hicbir sey gizlenmez; sayfa bos gorunmez */
html.js .rv {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js .rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .rv {
    transition-duration: 0.01ms;
  }
}

/* --------------------------------------------------------------- Duyarlı */

@media (max-width: 900px) {
  :root {
    --gap-section: 88px;
  }

  .hero-title {
    font-size: 44px;
    letter-spacing: -0.9px;
  }

  .section-title,
  .manifesto h2,
  .contact h2 {
    font-size: 34px;
    letter-spacing: -0.7px;
  }

  .works-hero h1 {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  #hakkimda .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 14px;
  }
}

@media (max-width: 700px) {
  .env-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 18px;
    --gap-section: 72px;
  }

  .menu-toggle {
    display: flex;
    order: 3;
  }

  .nav-panel {
    order: 4;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 18px;
    background: rgba(8, 9, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-panel.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-link {
    height: 40px;
    border-radius: var(--r8);
  }

  .nav-cta {
    height: 40px;
    margin: 8px 0 0;
    justify-content: center;
  }

  .hero {
    padding-top: calc(var(--header-h) + 64px);
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: -0.7px;
    max-width: none;
  }

  .hero-sub {
    font-size: 0.9375rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 44px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pcard {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pcard-shot {
    height: 132px;
  }

  .pcard-cue {
    align-self: start;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .stat-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tool-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-body {
    padding: 22px 18px;
  }

  .modal-actions .btn {
    flex: 1 1 100%;
  }

  .footer-links {
    margin-left: 0;
  }
}
