:root {
  --ink: #15191d;
  --ink-2: #30373d;
  --muted: #5e6870;
  --soft: #69747b;
  --paper: #f3f0ea;
  --canvas: #fbfaf7;
  --white: #ffffff;
  --line: #d9d6cf;
  --line-strong: #bdb9b0;
  --red: #c61f32;
  --red-dark: #9e1424;
  --red-wash: #f7e9eb;
  --dark: #111213;
  --dark-2: #191a1b;
  --dark-deep: #0b0c0c;
  --dark-line: #222325;
  --dark-muted: #868c92;
  --lime: #c8d4c3;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .72, .18, 1);
  --dur-fast: 400ms;
  --dur-base: 500ms;
  --dist-sm: 14px;
  --stagger: 70ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(198, 31, 50, .28);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(27, 33, 37, .94);
  backdrop-filter: blur(16px);
  transition: background var(--dur-fast) var(--ease), min-height var(--dur-fast) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(27, 33, 37, .98);
}

.site-header.is-scrolled .nav-shell {
  min-height: 84px;
}

.nav-shell {
  width: min(var(--wrap), calc(100% - 48px));
  min-height: 100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  transition: min-height var(--dur-fast) var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  transition: height var(--dur-fast) var(--ease);
}

.site-header.is-scrolled .brand-logo {
  height: 36px;
}

.site-header .btn.primary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.footer-brand-logo .brand-logo {
  height: 44px;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #9aa3a9;
  font-size: 14px;
  font-weight: 550;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--red);
  transition: right .25s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  align-items: center;
  justify-content: center;
}

.mobile-menu::before,
.mobile-menu::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--white);
  transition: transform .2s ease;
}

.mobile-menu::before {
  transform: translateY(-4px);
}

.mobile-menu::after {
  transform: translateY(4px);
}

.mobile-menu[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.mobile-menu[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section.compact {
  padding: 78px 0;
}

.section:has(.service-band) {
  overflow: hidden;
}

.section.paper {
  background: var(--paper);
}

.section.white {
  background: var(--white);
}

.section.dark {
  background: var(--dark);
  color: var(--white);
}

.section.red {
  background: var(--red);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--red);
}

.dark .eyebrow,
.red .eyebrow {
  color: #c7cdd1;
}

.red .eyebrow::before {
  background: var(--white);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 0;
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 {
  max-width: 920px;
  font-size: clamp(3.4rem, 6.7vw, 7.1rem);
  font-weight: 720;
}

h1.medium {
  max-width: 970px;
  font-size: clamp(3rem, 5.6vw, 5.9rem);
}

h2 {
  max-width: 800px;
  font-size: clamp(2.2rem, 4.3vw, 4.35rem);
  font-weight: 690;
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 660;
}

h4 {
  font-size: 1.05rem;
  font-weight: 680;
  letter-spacing: -.02em;
}

.lede {
  max-width: 780px;
  margin: 30px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.62;
}

.dark .lede {
  color: #c5cbd0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 58px;
}

.section-intro {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.dark .section-intro {
  color: #adb5ba;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 21px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease);
}

.btn::after {
  content: "↗";
  font-size: 15px;
  transition: transform .2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: translate(2px, -2px);
}

.btn.primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.btn.primary:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.btn.ghost {
  border-color: var(--line-strong);
}

.btn.ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}

.btn.light {
  border-color: #4b5359;
  color: #fff;
}

.btn.light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.btn.white {
  border-color: var(--white);
  background: var(--white);
  color: var(--red);
}

.btn.white:hover,
.btn.white:focus-visible {
  color: var(--red);
}

.btn.small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 13px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.microcopy {
  max-width: 510px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dark .microcopy,
.red .microcopy {
  color: #c6ccd0;
}

/* Hero */
.home-hero {
  position: relative;
  min-height: min(840px, calc(100vh - 112px));
  display: flex;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(217, 214, 207, .4) 50%, transparent calc(50% + 1px)),
    linear-gradient(rgba(217, 214, 207, .34) 1px, transparent 1px);
  background-size: 100% 100%, 100% 132px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr);
  gap: 76px;
  align-items: center;
  padding: 90px 0 102px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 5.05vw, 5.15rem);
}

.system-stage {
  position: relative;
  min-height: 520px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-stage::before {
  content: "OPERASYON";
  position: absolute;
  top: 18px;
  right: 0;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .18em;
}

.system-stage::after {
  content: "ÇALIŞAN SİSTEM";
  position: absolute;
  bottom: -26px;
  right: 0;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.scatter-node,
.system-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #c7c4be;
}

.scatter-node {
  animation: scatter-in .95s both, node-drift-a 3.2s ease-in-out infinite alternate;
}

.scatter-node:nth-child(1) { top: 72px; left: 14%; animation-delay: .12s, 1.1s; }
.scatter-node:nth-child(2) { top: 118px; left: 47%; animation: scatter-in .95s .28s both, node-drift-b 3.6s ease-in-out infinite alternate 1.3s; }
.scatter-node:nth-child(3) { top: 56px; left: 72%; animation-delay: .44s, 1.5s; }
.scatter-node:nth-child(4) { top: 172px; left: 27%; animation: scatter-in .95s .6s both, node-drift-b 3.4s ease-in-out infinite alternate 1.7s; }
.scatter-node:nth-child(5) { top: 140px; left: 84%; animation-delay: .76s, 1.9s; }

.system-stage {
  --system-line-offset: 108px;
}

.stage-line {
  position: absolute;
  right: 0;
  bottom: var(--system-line-offset);
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--ink);
  animation: line-in 1.35s 1.1s var(--ease) forwards;
}

.system-node {
  bottom: calc(var(--system-line-offset) - 4.5px);
  background: var(--ink);
  opacity: 0;
  animation: node-in .6s forwards, node-drift 4.2s ease-in-out infinite alternate;
}

.system-node.n1 { left: -5px; animation-delay: 1.85s, 3.2s; }
.system-node.n2 { left: calc(25% - 5px); animation-delay: 2.04s, 3.4s; }
.system-node.n3 { left: calc(75% - 5px); animation-delay: 2.23s, 3.6s; }
.system-node.n4 { left: calc(100% - 5px); animation-delay: 2.42s, 3.8s; }

.decision-node {
  position: absolute;
  bottom: calc(var(--system-line-offset) - 6.5px);
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  transform: rotate(45deg) scale(0);
  background: var(--red);
  animation: decision-in .8s 2.62s cubic-bezier(.34, 1.56, .64, 1) forwards, decision-pulse 2.2s 3.5s ease-in-out infinite;
}

.decision-label {
  position: absolute;
  bottom: calc(var(--system-line-offset) + 28px);
  left: 50%;
  width: 100px;
  transform: translateX(-50%);
  text-align: center;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.stage-caption {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

@keyframes scatter-in {
  from { opacity: 0; transform: translateY(-42px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes line-in {
  to { transform: scaleX(1); }
}

@keyframes node-in {
  0% { opacity: 0; transform: translateY(-56px) scaleY(1); }
  62% { opacity: 1; transform: translateY(0) scaleY(1); }
  78% { opacity: 1; transform: translateY(-6px) scaleY(.82); }
  100% { opacity: 1; transform: translateY(0) scaleY(1); }
}

@keyframes node-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}

@keyframes node-drift-a {
  from { transform: translateY(0); }
  to { transform: translateY(-17px); }
}

@keyframes node-drift-b {
  from { transform: translate(0, 0); }
  to { transform: translate(6px, -15px); }
}

@keyframes decision-in {
  0% { transform: translateY(-64px) rotate(45deg) scale(0); }
  100% { transform: translateY(0) rotate(45deg) scale(1); }
}

@keyframes decision-pulse {
  0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(198, 31, 50, 0); transform: rotate(45deg) scale(1); }
  80% { box-shadow: 0 0 0 8px rgba(198, 31, 50, .14); transform: rotate(45deg) scale(1.1); }
}

/* Statement strip */
.statement-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
  padding: 66px 0;
}

.statement-grid h2 {
  max-width: 770px;
  font-size: clamp(2.1rem, 3.45vw, 3.65rem);
}

.system-terms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  border-bottom: 1px solid var(--line-strong);
}

.term {
  position: relative;
  min-height: 94px;
  padding: 0 12px 18px;
  display: flex;
  align-items: end;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.term::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.term.active {
  color: var(--red);
}

.term.active::after {
  border-color: var(--red);
  background: var(--red);
  transform: rotate(45deg);
}

/* Lifecycle */
.lifecycle-context {
  display: grid;
  grid-template-columns: auto 1fr 12px 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
}

.lifecycle-context i {
  height: 1px;
  background: var(--line-strong);
}

.lifecycle-context b {
  width: 10px;
  height: 10px;
  background: var(--red);
  transform: rotate(45deg);
}

.lifecycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.life-step {
  position: relative;
  min-height: 275px;
  padding: 30px 27px;
  background: var(--canvas);
}

.life-step::before {
  content: attr(data-step);
  display: block;
  margin-bottom: 54px;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .12em;
}

.life-step::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -6px;
  z-index: 2;
  width: 11px;
  height: 11px;
  background: var(--ink);
}

.life-step:last-child::after {
  right: 28px;
  background: var(--red);
  transform: rotate(45deg);
}

.life-step h3 {
  margin-bottom: 13px;
  font-size: 1.35rem;
}

.life-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Diagnostic */
.diagnostic {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  min-height: 500px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.diag-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.diag-tab {
  position: relative;
  flex: 1;
  min-height: 76px;
  padding: 18px 42px 18px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.diag-tab:last-child {
  border-bottom: 0;
}

.diag-tab::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 24px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-strong);
}

.diag-tab:hover {
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
}

.diag-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
  font-weight: 720;
}

.diag-tab[aria-selected="true"]::after {
  border-color: var(--red);
  background: var(--red);
  transform: rotate(45deg);
}

.diag-panel {
  display: none;
  grid-template-columns: 1fr .9fr;
  gap: 66px;
  align-items: center;
  padding: 58px 66px;
  background: var(--white);
}

.diag-panel.active {
  display: grid;
  animation: panel-in .35s var(--ease);
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.diag-panel h3 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.diag-panel p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.diag-example {
  position: relative;
  min-height: 260px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.diag-art {
  position: relative;
  min-height: 290px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(217, 214, 207, .28) 1px, transparent 1px);
  background-size: 100% 65px;
}

.diag-svg {
  width: 100%;
  height: 290px;
  overflow: visible;
}

.diag-svg text {
  fill: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.diag-svg .accent-text {
  fill: var(--red);
}

.diag-svg .main-line,
.diag-svg .branch-line,
.diag-svg .cycle-line,
.diag-svg .exception-line,
.diag-svg .grid-lines,
.diag-svg .ledger-line {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.diag-svg .main-line {
  stroke: var(--ink);
}

.diag-svg .arrow {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.diag-svg .dark-node,
.diag-svg .accent-node,
.diag-svg .state-nodes circle {
  fill: var(--ink);
  stroke: none;
}

.diag-svg .accent-node,
.diag-svg .accent-fill {
  fill: var(--red);
}

.diag-svg .outline-node,
.diag-svg .outline-nodes rect {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 1.4;
}

.diag-svg .diamond {
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(45deg);
}

.diag-svg .diamond.small {
  transform: rotate(45deg);
}

.diag-svg .state-nodes circle {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 1.6;
}

.diag-svg .state-nodes .accent-fill {
  fill: var(--red);
  stroke: var(--red);
}

.diag-svg .ledger {
  fill: var(--canvas);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.diag-example span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--ink);
}

.diag-example span:nth-child(1) { left: 12%; top: 18%; }
.diag-example span:nth-child(2) { left: 44%; top: 46%; background: var(--red); transform: rotate(45deg); }
.diag-example span:nth-child(3) { right: 10%; bottom: -5px; }

.diag-example::before,
.diag-example::after {
  content: "";
  position: absolute;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
}

.diag-example::before {
  width: 43%;
  top: 22%;
  left: 15%;
  transform: rotate(31deg);
}

.diag-example::after {
  width: 46%;
  top: 49%;
  left: 47%;
  transform: rotate(22deg);
}

/* Capability */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.cap-card {
  position: relative;
  min-height: 290px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  background: var(--dark-2);
}

.cap-card:nth-child(1),
.cap-card:nth-child(2) {
  grid-column: span 6;
}

.cap-card:nth-child(n+3) {
  grid-column: span 4;
}

.cap-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 132px;
  height: 132px;
  border: 1px solid #3d454b;
  z-index: 0;
  transform: rotate(45deg);
  transition: transform .45s var(--ease), border-color .25s ease;
}

.cap-card:hover::after {
  border-color: var(--red);
  transform: rotate(45deg) scale(1.18) translate(-8px, -8px);
}

.cap-card > * {
  position: relative;
  z-index: 1;
}

.cap-number {
  display: block;
  margin-bottom: 70px;
  color: #858f96;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .12em;
}

.cap-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
}

.cap-card p {
  max-width: 490px;
  margin: 0;
  color: #aeb6bb;
  font-size: 15px;
}

.cap-card.featured {
  background: var(--dark-2);
}

.cap-card.featured .cap-number {
  color: #ef7c89;
}

/* Service surfaces */
.service-surfaces {
  border-top: 1px solid var(--line);
}

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

.service-surface-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}

.service-surface-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 122px;
  height: 122px;
  border: 1px solid var(--line);
  transform: rotate(45deg);
  transition: background .22s ease, border-color .22s ease, transform .32s var(--ease);
}

.service-surface-card:hover {
  border-color: #bd9ca1;
  box-shadow: 0 14px 32px rgba(21, 25, 29, .06);
  transform: translateY(-3px);
}

.service-surface-card:hover::after {
  border-color: var(--red);
  transform: rotate(45deg) scale(1.06);
}

.service-surface-card > * {
  position: relative;
  z-index: 1;
}

.service-surface-card span {
  display: block;
  margin-bottom: 62px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .11em;
}

.service-surface-card h3 {
  max-width: 430px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.service-surface-card p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* References */
.references-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.references-section > .wrap > .eyebrow {
  display: block;
  margin-bottom: 32px;
}

.references-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 34px;
}

.references-head .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.references-head h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
}

.references-head p {
  max-width: 440px;
  margin: 0 0 5px auto;
  color: var(--muted);
  font-size: 16px;
}

.logo-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-bottom: 54px;
  border: 1px solid var(--line);
  background: var(--line);
}

.logo-slot {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, .56);
  color: var(--muted);
  transition: background .2s ease;
}

.logo-slot:hover {
  background: rgba(255, 255, 255, .82);
}

.logo-slot img {
  max-width: 132px;
  max-height: 40px;
  width: auto;
  height: auto;
  filter: grayscale(1);
  opacity: .82;
  transition: opacity .2s ease, filter .2s ease;
}

a.logo-slot:hover img,
.logo-slot:hover img {
  opacity: 1;
  filter: grayscale(.4);
}

.logo-slot span {
  color: var(--soft);
  font-size: 12px;
  text-align: center;
  letter-spacing: .01em;
}

.logo-slot.nda {
  gap: 6px;
}

.logo-slot.nda strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
}

/* Case */
.case-teaser {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 620px;
  border: 1px solid var(--line);
}

.case-copy {
  padding: 60px;
  background: var(--canvas);
}

.case-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
}

.case-copy p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.case-visual {
  position: relative;
  padding: 46px;
  overflow: hidden;
  background: var(--paper);
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(189, 185, 176, .45) 50%, transparent 50.2%),
    linear-gradient(rgba(189, 185, 176, .38) 1px, transparent 1px);
  background-size: 100% 100%, 100% 88px;
}

.case-labels {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.before-after {
  position: absolute;
  inset: 110px 46px 46px;
}

.loose-dot,
.flow-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  background: #aaa69e;
}

.loose-dot:nth-child(1) { top: 16%; left: 5%; }
.loose-dot:nth-child(2) { top: 47%; left: 25%; }
.loose-dot:nth-child(3) { top: 28%; left: 39%; }
.loose-dot:nth-child(4) { top: 72%; left: 13%; }
.loose-dot:nth-child(5) { top: 84%; left: 41%; }

.flow-rail {
  position: absolute;
  top: 18%;
  right: 6%;
  bottom: 18%;
  left: 64%;
  width: 1px;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s var(--ease);
}

.is-visible .flow-rail {
  transform: scaleY(1);
}

.flow-dot {
  left: calc(64% - 5px);
  background: var(--ink);
  opacity: 0;
  transition: opacity .3s ease;
}

.is-visible .flow-dot {
  opacity: 1;
}

.flow-dot.f1 { top: 18%; transition-delay: .25s; }
.flow-dot.f2 { top: 40%; transition-delay: .45s; }
.flow-dot.f3 { top: 62%; transition-delay: .65s; background: var(--red); transform: rotate(45deg); }
.flow-dot.f4 { top: 82%; transition-delay: .85s; }

.flow-word {
  position: absolute;
  left: calc(64% + 22px);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .35s ease, transform .35s var(--ease);
}

.is-visible .flow-word {
  opacity: 1;
  transform: none;
}

.flow-word.w1 { top: calc(18% - 4px); transition-delay: .3s; }
.flow-word.w2 { top: calc(40% - 4px); transition-delay: .5s; }
.flow-word.w3 { top: calc(62% - 4px); transition-delay: .7s; color: var(--red); }
.flow-word.w4 { top: calc(82% - 4px); transition-delay: .9s; }

/* Founder / trust */
.trust-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 80px;
  align-items: stretch;
}

.founder-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 38px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.founder-role {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  color: #aeb6bb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.founder-name {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.founder-name strong {
  display: block;
  max-width: 330px;
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.founder-name span {
  color: #aeb6bb;
  font-size: 14px;
}

/* Kurucu fotoğrafı: omuz üstü portre, 4:5 */
.founder-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 28px;
  border-radius: 4px;
  background: linear-gradient(160deg, #262d32 0%, #171c1f 100%);
  overflow: hidden;
}

.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-bio {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin-bottom: 24px;
  color: #cbd3d8;
  font-size: 14.5px;
  line-height: 1.65;
}

.founder-link {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.founder-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid #4a5157;
  border-radius: 3px;
  color: #e8ecef;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}

.founder-link a:hover {
  border-color: var(--red);
  color: #fff;
}

/* Hakkımızda — ekip (dört eşit kart) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  border-radius: 3px;
  background: linear-gradient(160deg, #ebe8e2 0%, #dedad2 100%);
  overflow: hidden;
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card strong {
  margin-bottom: 4px;
  font-size: 18px;
  letter-spacing: -.02em;
}

.team-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .team-grid {
    gap: 12px;
  }

  .team-card {
    padding: 10px 10px 14px;
  }

  .team-card strong {
    font-size: 15.5px;
  }

  .team-card span {
    font-size: 13px;
  }
}

.role-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 450;
  letter-spacing: 0;
}

.trust-copy {
  align-self: center;
}

.trust-copy h2 {
  margin-bottom: 26px;
}

.trust-copy > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.role-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 38px;
  border: 1px solid var(--line);
  background: var(--line);
}

.role-list div {
  padding: 18px 20px;
  background: var(--canvas);
  font-size: 14px;
  font-weight: 650;
}

/* Hakkımızda — numaralı ekip alanları */
.role-list.numbered {
  counter-reset: role-index;
}

.role-list.numbered div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 22px 20px;
  font-size: 15px;
}

.role-list.numbered div::before {
  content: "0" counter(role-index);
  counter-increment: role-index;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .06em;
}

/* CTA */
.closing-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
}

.closing-cta h2 {
  max-width: 850px;
}

.closing-cta p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #f0cbd0;
  font-size: 17px;
}

/* Footer */
.site-footer {
  padding: 66px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #181d21;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr;
  gap: 70px;
}

.footer-brand p {
  max-width: 450px;
  margin: 20px 0 0;
  color: #9aa3a9;
  font-size: 14px;
}

.footer-col strong {
  display: block;
  margin-bottom: 16px;
  color: #e2e8f0;
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin: 8px 0;
  color: #94a3b8;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #64748b;
  font-size: 12px;
}

/* Inner page hero */
.inner-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.inner-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 7%;
  width: 35vw;
  height: 35vw;
  max-width: 520px;
  max-height: 520px;
  border: 1px solid rgba(189, 185, 176, .48);
  transform: translate(30%, -32%) rotate(45deg);
  pointer-events: none;
}

.inner-hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 84px;
}

.inner-hero .lede {
  max-width: 760px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 74px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-meta > div {
  min-height: 122px;
  padding: 23px 25px;
  background: var(--canvas);
}

.hero-meta span {
  display: block;
  margin-bottom: 16px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  max-width: 340px;
  font-size: 16px;
  line-height: 1.45;
}

/* Service mechanism */
.service-principle {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: start;
}

.service-principle > p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.decision-record {
  margin-top: 66px;
  border: 1px solid var(--line);
  background: var(--white);
}

.decision-record-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.decision-record-header strong {
  color: var(--ink);
}

.decision-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  padding: 26px 24px;
  border-bottom: 1px solid var(--line);
}

.decision-row:last-child {
  border-bottom: 0;
}

.service-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px 1fr .85fr;
  gap: 46px;
  align-items: center;
  isolation: isolate;
}

.service-band .service-number {
  display: block;
  margin-bottom: 22px;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  transition: color .3s ease;
}

.service-band:hover .service-number {
  color: var(--red);
}

.service-band h2 {
  max-width: 640px;
  font-size: clamp(2.3rem, 3.7vw, 3.9rem);
}

.service-band-copy p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.service-ghost {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--ink);
  opacity: .04;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(9rem, 19vw, 15.5rem);
  font-weight: 700;
  line-height: 1;
  user-select: none;
  transition: opacity .4s ease, transform .4s var(--ease);
}

.service-band:hover .service-ghost {
  opacity: .07;
  transform: translateY(-50%) translateX(-10px);
}

.section.paper .service-ghost {
  color: var(--ink);
}

.service-rail {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

.service-rail-line {
  flex: 1 1 auto;
  width: 1px;
  background: var(--line-strong);
}

.service-rail-line.top.first {
  visibility: hidden;
}

.service-rail-node {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin: 14px 0;
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  transform: rotate(45deg);
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}

.section.paper .service-rail-node {
  background: var(--paper);
}

.service-band:hover .service-rail-node {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg) scale(1.25);
}

.service-band.is-active .service-number,
.service-band.is-complete .service-number {
  color: var(--red);
}

.service-band.is-active .service-ghost {
  opacity: .08;
  transform: translateY(-50%) translateX(-8px);
}

.service-band.is-active .service-rail-node,
.service-band.is-complete .service-rail-node {
  background: var(--red);
  border-color: var(--red);
}

.service-band.is-active .service-rail-node {
  transform: rotate(45deg) scale(1.2);
}

.service-band.is-complete .service-rail-line.top,
.service-band.is-complete .service-rail-line.bottom,
.service-band.is-active .service-rail-line.top {
  background: var(--red);
}

.service-rail-line.bottom.last {
  visibility: hidden;
}

.decision-row dt {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.decision-row dd {
  margin: 0;
  color: var(--ink-2);
}

.mechanism {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 58px;
}

.mechanism-steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--dark-line);
}

.mechanism-step {
  position: relative;
  padding: 22px 44px 22px 20px;
  border: 0;
  border-bottom: 1px solid var(--dark-line);
  background: transparent;
  color: #aeb6bb;
  text-align: left;
  cursor: pointer;
}

.mechanism-step span {
  display: block;
  margin-bottom: 6px;
  color: #7f8a91;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .1em;
}

.mechanism-step::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 20px;
  width: 10px;
  height: 10px;
  border: 1px solid #5a6268;
}

.mechanism-step[aria-selected="true"] {
  background: var(--dark-2);
  color: #fff;
}

.mechanism-step[aria-selected="true"]::after {
  border-color: var(--red);
  background: var(--red);
  transform: rotate(45deg);
}

.mechanism-panel {
  min-height: 480px;
  padding: 42px;
  border: 1px solid var(--dark-line);
  background: var(--dark-2);
}

.mechanism-panel h3 {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: clamp(2rem, 3.3vw, 3.45rem);
}

.mechanism-detail {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  padding: 19px 0;
  border-top: 1px solid var(--dark-line);
}

.mechanism-detail span {
  color: #839098;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mechanism-detail p {
  margin: 0;
  color: #c2c9cd;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.output-card {
  min-height: 245px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.output-visual {
  position: relative;
  height: 105px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.6%, var(--line) 50%, transparent 50.4%);
}

.output-visual.has-art {
  height: 118px;
  background: none;
}

.output-visual.has-art::before,
.output-visual.has-art::after {
  display: none;
}

.output-visual svg {
  width: 100%;
  height: 108px;
}

.output-visual .ov-line,
.output-visual .ov-grid,
.output-visual .ov-arrow,
.output-visual .ov-stem,
.output-visual .ov-baseline,
.output-visual .ov-link {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.output-visual .ov-line {
  stroke: var(--ink);
}

.output-visual .ov-node.outline {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.output-visual .ov-node.dark,
.output-visual .ov-layer.dark,
.output-visual .ov-phase.dark,
.output-visual .ov-milestone {
  fill: var(--ink);
  stroke: var(--ink);
}

.output-visual .ov-node.accent,
.output-visual .ov-phase.accent,
.output-visual .ov-milestone.accent,
.output-visual .ov-decision {
  fill: var(--red);
  stroke: var(--red);
}

.output-visual .ov-decision {
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(45deg) scale(.66);
}

.output-visual .ov-layer {
  fill: var(--paper);
  stroke: var(--line-strong);
  stroke-width: 1.3;
}

.output-visual .ov-layer.outline {
  fill: var(--white);
  stroke: var(--ink);
}

.output-visual .ov-phase {
  fill: #aeb5ba;
}

.output-visual .ov-milestone {
  stroke-width: 0;
}

.output-visual::before,
.output-visual::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  background: #fff;
}

.output-visual::before {
  top: 18px;
  left: 18%;
}

.output-visual::after {
  right: 18%;
  bottom: 18px;
  background: var(--ink);
}

.output-card:nth-child(3) .output-visual::before {
  left: calc(50% - 5px);
  border-color: var(--red);
  background: var(--red);
  transform: rotate(45deg);
}

.output-card h4 {
  margin-bottom: 8px;
}

.output-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.when-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.when-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.when-card {
  padding: 30px 32px;
  border: 1px solid var(--line);
  background: var(--canvas);
}

.when-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.when-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* Case detail */
.case-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.case-status::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--red);
  transform: rotate(45deg);
}

.case-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  border: 1px solid var(--line);
  background: var(--white);
}

.case-feature-main {
  padding: 64px;
}

.case-feature-main .eyebrow {
  margin-bottom: 26px;
}

.case-feature-main h2 {
  max-width: 560px;
  font-size: clamp(2rem, 3.3vw, 3.1rem);
}

.case-feature-main p {
  max-width: 520px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.case-feature-meta {
  display: flex;
  flex-direction: column;
  padding: 64px 56px;
  background: var(--dark);
  border-left: 1px solid var(--dark-line);
}

.case-feature-meta-label {
  margin-bottom: 30px;
  color: #859097;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.case-meta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--dark-line);
}

.case-meta-row:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.case-meta-row span {
  color: #859097;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.case-meta-row strong {
  color: var(--white);
  font-size: 17px;
  font-weight: 660;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.case-grid.grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--canvas);
  transition: border-color .2s ease, transform .2s var(--ease);
}

.case-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  transform: rotate(45deg);
  transition: border-color .22s ease, transform .32s var(--ease);
}

.case-card:hover {
  border-color: #bd9ca1;
  transform: translateY(-1px);
}

.case-card:focus-within,
.service-surface-card:focus-within,
.cap-card:focus-within {
  border-color: var(--red);
}

/* Case proof: a disclosure, not a decorative portfolio preview. */
.case-proof {
  margin: 34px 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.proof-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.proof-tabs button {
  flex: 1;
  padding: 12px 14px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
}

.proof-tabs button:last-child { border-right: 0; }
.proof-tabs button[aria-selected="true"] { background: var(--white); color: var(--red); }

.proof-panel { min-height: 142px; padding: 20px; }
.proof-panel > span { display: block; margin-bottom: 8px; color: var(--soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.proof-panel strong { display: block; font-size: 17px; }
.proof-panel p { margin: 10px 0 0; font-size: 13px; }

.proof-system-diagram { display: flex; align-items: center; gap: 7px; min-height: 68px; overflow: auto; }
.proof-system-diagram i { flex: 0 0 8px; width: 8px; height: 8px; background: var(--ink); }
.proof-system-diagram i.diamond { background: var(--red); transform: rotate(45deg); }
.proof-system-diagram b { color: var(--soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .04em; }

/* One controlled visual-storytelling moment on the anonymous case page. */
.system-transform { display: grid; grid-template-columns: 1fr 150px 1fr; gap: 20px; align-items: center; margin-top: 44px; padding: 26px; border: 1px solid var(--line); background: var(--white); }
.transform-state { position: relative; min-height: 108px; }
.transform-state > span { display: block; margin-bottom: 16px; color: var(--soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.transform-before i { position: absolute; width: 10px; height: 10px; background: #aaa69e; }
.transform-before i:nth-of-type(1) { top: 43px; left: 8%; }.transform-before i:nth-of-type(2) { top: 78px; left: 27%; }.transform-before i:nth-of-type(3) { top: 36px; left: 52%; }.transform-before i:nth-of-type(4) { top: 70px; left: 72%; }.transform-before i:nth-of-type(5) { top: 48px; left: 89%; }
.transform-connector { display: flex; align-items: center; }.transform-connector span { flex: 1; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform var(--dur-base) var(--ease); }.transform-connector span:first-child { transform-origin: right; }.transform-connector span:last-child { transform-origin: left; }.transform-connector b { width: 13px; height: 13px; background: var(--red); transform: rotate(45deg) scale(0); transition: transform var(--dur-base) var(--ease); }
.transform-after { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; gap: 8px; }.transform-after > span { flex-basis: 100%; }.transform-after i { width: 9px; height: 9px; background: var(--ink); }.transform-after i.decision { background: var(--red); transform: rotate(45deg); }.transform-after em { flex: 1 1 16px; height: 1px; min-width: 16px; background: var(--ink); }
.system-transform.is-visible .transform-connector span { transform: scaleX(1); }.system-transform.is-visible .transform-connector b { transform: rotate(45deg) scale(1); }

.case-card:hover::after {
  border-color: var(--red);
  transform: rotate(45deg) scale(1.06);
}

.case-card > * {
  position: relative;
  z-index: 1;
}

.case-card h3 {
  margin: 14px 0 12px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.home-service-grid .case-card {
  min-height: 348px;
}

.home-service-grid .case-card .eyebrow {
  color: var(--red);
}

.home-service-grid .case-card h3 {
  max-width: 440px;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
}

.home-service-grid .case-card p {
  max-width: 470px;
}

.service-output {
  width: 100%;
  margin: auto 0 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.service-output span {
  display: block;
  margin-bottom: 5px;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

.service-output strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.home-service-grid .case-card:hover .service-output,
.home-service-grid .case-card:focus-within .service-output {
  border-color: var(--red);
}

.service-decision-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.service-decision-note span {
  width: 72px;
  height: 1px;
  background: var(--red);
}

.case-card .case-status {
  margin-top: 26px;
}

.case-card .btn {
  margin-top: 26px;
}

.case-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.stage-pane {
  min-height: 550px;
  padding: 38px;
}

.stage-pane.standalone {
  min-height: 320px;
  max-width: 560px;
  border: 1px solid var(--line);
}

.stage-pane.before {
  background: var(--paper);
}

.stage-pane.after {
  background: var(--white);
}

.stage-pane-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.stage-diagram {
  position: relative;
  min-height: 360px;
  margin-top: 48px;
}

.stage-diagram .loose-dot:nth-child(1) { top: 8%; left: 8%; }
.stage-diagram .loose-dot:nth-child(2) { top: 36%; left: 56%; }
.stage-diagram .loose-dot:nth-child(3) { top: 65%; left: 20%; }
.stage-diagram .loose-dot:nth-child(4) { top: 84%; left: 72%; }
.stage-diagram .loose-dot:nth-child(5) { top: 24%; left: 80%; }

.vertical-flow {
  position: relative;
  width: min(340px, 85%);
  margin: 10px auto 0;
}

.vertical-flow::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 20px;
  left: 12px;
  width: 1px;
  background: var(--ink);
}

.vertical-item {
  position: relative;
  min-height: 72px;
  padding-left: 48px;
}

.vertical-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 7px;
  width: 10px;
  height: 10px;
  background: var(--ink);
}

.vertical-item.decision::before {
  background: var(--red);
  transform: rotate(45deg);
}

.vertical-item span {
  display: block;
  color: var(--soft);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vertical-item strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}

.case-logic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.logic-card {
  min-height: 310px;
  padding: 32px;
  background: var(--canvas);
}

.logic-card span {
  display: block;
  margin-bottom: 58px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.logic-card h3 {
  margin-bottom: 16px;
}

.logic-card p {
  margin: 0;
  color: var(--muted);
}

.architecture {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.arch-card {
  position: relative;
  min-height: 340px;
  padding: 34px;
  border: 1px solid var(--dark-line);
  background: var(--dark-2);
}

.arch-card::before {
  content: attr(data-role);
  display: block;
  margin-bottom: 84px;
  color: #859097;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.arch-card h3 {
  margin-bottom: 15px;
}

.arch-card p {
  color: #b6bec3;
}

.arch-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #929da4;
  font-size: 13px;
}

.arch-card li {
  padding: 7px 0;
  border-top: 1px solid var(--dark-line);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-column {
  min-height: 360px;
  padding: 36px;
  background: var(--white);
}

.proof-column h3 {
  margin-bottom: 28px;
}

.proof-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-column li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.proof-column li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--line-strong);
}

.proof-column:first-child li::before {
  border-color: var(--red);
  background: var(--red);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.faq-item {
  background: var(--canvas);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 680;
  letter-spacing: -.02em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0;
  padding: 0 30px 26px;
  max-width: 780px;
  color: var(--muted);
}

/* About */
/* Yön — Misyon & Vizyon */
.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.direction-col {
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.direction-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.direction-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: rotate(45deg);
}

.direction-col h3 {
  max-width: 440px;
  margin: 24px 0 16px;
  line-height: 1.22;
}

.direction-col p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.belief {
  min-height: 310px;
  padding: 34px;
  border-top: 2px solid var(--ink);
  background: var(--white);
}

.belief:nth-child(2) {
  border-top-color: var(--red);
}

.belief span {
  display: block;
  margin-bottom: 70px;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.belief h3 {
  margin-bottom: 15px;
}

.belief p {
  margin: 0;
  color: var(--muted);
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--dark-line);
  background: var(--dark-line);
}

.responsibility {
  min-height: 220px;
  padding: 30px;
  background: var(--dark-2);
}

.responsibility span {
  display: block;
  margin-bottom: 48px;
  color: #7f8a91;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.responsibility p {
  margin: 12px 0 0;
  color: #aeb6bb;
  font-size: 14px;
}

/* Mansa Grup — marka mimarisi */
.group-arch {
  display: grid;
  justify-items: center;
}

.group-root {
  padding: 22px 58px;
  border: 1px solid var(--ink);
  background: var(--white);
  text-align: center;
}

.group-root strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.group-root span {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  font-size: 12px;
}

.group-connector {
  position: relative;
  width: 100%;
  height: 64px;
}

.group-connector::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 50%;
  background: var(--line-strong);
}

.group-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc((100% - 24px) / 4);
  right: calc((100% - 24px) / 4);
  height: 1px;
  background: var(--line-strong);
}

.group-connector i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--red);
  transform: translate(-50%, -50%) rotate(45deg);
}

.group-branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.group-branch {
  position: relative;
  min-height: 230px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.group-branch::before {
  content: "";
  position: absolute;
  top: -32px;
  left: 50%;
  width: 1px;
  height: 32px;
  background: var(--line-strong);
}

.group-branch span {
  display: block;
  margin-bottom: 46px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.group-branch h3 {
  margin: 0 0 12px;
}

.group-branch p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.group-branch.is-primary {
  border-top: 2px solid var(--red);
  background: var(--ink);
  color: var(--white);
}

.group-branch.is-primary span {
  color: #aeb6bb;
}

.group-branch.is-primary p {
  color: #cbd3d8;
}

.group-note {
  max-width: 680px;
  margin: 56px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  text-align: center;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 90px;
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 120px;
}

.contact-aside h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.contact-aside p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-steps {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.contact-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-step span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.contact-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.contact-form {
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 680;
}

.field small {
  color: var(--soft);
  font-size: 11px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--canvas);
  color: var(--ink);
  padding: 13px 14px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 3px solid rgba(198, 31, 50, .12);
}

.form-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
}

.form-consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--red);
}

.form-status {
  display: none;
  margin-top: 22px;
  padding: 18px;
  border-left: 3px solid var(--red);
  background: var(--red-wash);
  color: var(--ink-2);
  font-size: 14px;
}

.form-status.visible {
  display: block;
}

/* Pilot index */
.pilot-index {
  min-height: 100vh;
  padding: 72px 0;
  background: var(--ink);
  color: #fff;
}

.pilot-index .brand {
  margin-bottom: 110px;
}

.pilot-index .brand-mark {
  --mark-ink: #fff;
  --mark-ground: var(--ink);
}

.pilot-index h1 {
  max-width: 1050px;
  font-size: clamp(3rem, 7vw, 7rem);
}

.pilot-index p {
  max-width: 750px;
  margin: 30px 0 0;
  color: #aeb6bb;
  font-size: 18px;
}

.surface-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 90px;
  border: 1px solid var(--dark-line);
  background: var(--dark-line);
}

.surface-link {
  min-height: 240px;
  padding: 24px;
  background: var(--dark-2);
  transition: background .2s ease;
}

.surface-link:hover {
  background: #293137;
}

.surface-link span {
  display: block;
  margin-bottom: 95px;
  color: #7f8a91;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.surface-link strong {
  display: block;
  font-size: 19px;
}

.surface-link em {
  display: block;
  margin-top: 10px;
  color: #929ca3;
  font-size: 12px;
  font-style: normal;
}

.services-alternative-cta {
  max-width: var(--wrap);
  margin: 48px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 28px 36px;
  border-radius: 12px;
  box-shadow: 0 4px 20px -2px rgba(21, 25, 29, 0.02), 0 0 0 1px rgba(21, 25, 29, 0.04);
  transition: all .3s var(--ease);
}

.services-alternative-cta:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 32px -8px rgba(21, 25, 29, 0.06);
}

.services-alternative-cta-text {
  flex: 1;
  margin-right: 32px;
  text-align: left;
}

.services-alternative-cta-text h4 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.services-alternative-cta-text p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.services-alternative-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: all .2s ease;
}

.services-alternative-cta-btn:hover {
  background: var(--red);
  transform: translateX(3px);
}

.services-alternative-cta-btn .arr {
  display: inline-block;
  transition: transform .2s var(--ease);
}

.services-alternative-cta-btn:hover .arr {
  transform: translateX(2px);
}

/* ==========================================================================
   HOME QUICK STANDALONE SERVICES SHOWCASE
   ========================================================================== */
.home-quick-services-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 36px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .03);
}

.hqsb-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.hqsb-header h3 {
  margin: 6px 0 8px;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  color: var(--ink);
}

.hqsb-header p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 740px;
  margin: 0;
}

.home-quick-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.hqsb-card {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  color: inherit !important;
  transition: all .22s ease;
}

.hqsb-card:hover {
  background: #ffffff;
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.hqsb-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hqsb-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.35;
}

.hqsb-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.hqsb-card-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.hqsb-card:hover .hqsb-card-link {
  text-decoration: underline;
}

.ssc-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.ssc-meta-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
}

.ssc-meta-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform .2s ease;
}

.ssc-meta-link:hover {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .hqsb-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-quick-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-quick-services-box {
    padding: 24px 18px;
  }
  .home-quick-services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: auto auto 1fr;
  }

  .site-nav {
    position: fixed;
    inset: 112px 0 auto;
    display: none;
    padding: 28px 24px 36px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: var(--dark);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    font-size: 17px;
  }

  .mobile-menu {
    position: relative;
    display: inline-flex;
    justify-self: end;
  }

  .nav-cta {
    justify-self: end;
  }

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

  .system-stage {
    min-height: 380px;
    margin-left: 20%;
  }

  .lifecycle {
    grid-template-columns: repeat(2, 1fr);
  }

  .life-step:last-child {
    grid-column: span 2;
  }

  .diagnostic {
    grid-template-columns: 280px 1fr;
  }

  .diag-panel {
    grid-template-columns: 1fr;
  }

  .diag-example {
    display: none;
  }

  .cap-card:nth-child(n) {
    grid-column: span 6;
  }

  .service-surface-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-teaser,
  .trust-grid,
  .service-principle,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .direction-grid {
    gap: 48px;
  }

  .logo-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-copy {
    padding: 48px;
  }

  .mechanism {
    grid-template-columns: 310px 1fr;
    gap: 28px;
  }

  .output-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .output-card:nth-child(n+4) {
    grid-column: span 1;
  }

  .contact-aside {
    position: static;
  }

  .surface-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .architecture {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .services-alternative-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .services-alternative-cta-text {
    margin-right: 0;
    margin-bottom: 18px;
  }

  .services-alternative-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-shell,
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .nav-shell {
    min-height: 72px;
    gap: 12px;
  }

  .site-nav {
    inset: 100px 0 auto;
  }

  .brand {
    font-size: 13px;
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .section.compact {
    padding: 58px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 38px;
  }

  .section-intro {
    margin-top: 22px;
  }

  h1,
  .hero-copy h1 {
    font-size: clamp(2.7rem, 13.5vw, 4.6rem);
  }

  h1.medium {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  .home-hero {
    min-height: auto;
  }

  .hero-layout {
    gap: 30px;
    padding: 70px 0 82px;
  }

  .system-stage {
    min-height: 300px;
    margin-left: 0;
  }

  .stage-caption {
    width: 210px;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 52px 0;
  }

  .system-terms {
    grid-template-columns: repeat(5, minmax(60px, 1fr));
    overflow-x: auto;
  }

  .term {
    padding: 0 5px 16px;
    font-size: 9px;
  }

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

  .lifecycle-context {
    grid-template-columns: auto 1fr 10px 1fr auto;
    gap: 7px;
    font-size: 8px;
    letter-spacing: .06em;
  }

  .case-grid,
  .case-grid.grid-2x2 {
    grid-template-columns: 1fr;
  }

  .case-feature {
    grid-template-columns: 1fr;
  }

  .case-feature-main {
    padding: 40px 28px;
  }

  .case-feature-meta {
    padding: 36px 28px;
    border-left: 0;
    border-top: 1px solid var(--dark-line);
  }

  .service-band {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-rail,
  .service-ghost {
    display: none;
  }

  .service-band.is-active .service-number::after {
    content: " / AKTİF";
    color: var(--red);
    font-size: 10px;
  }

  .life-step,
  .life-step:last-child {
    grid-column: auto;
    min-height: 230px;
  }

  .life-step::after {
    right: 28px;
  }

  .diagnostic {
    display: block;
  }

  .diag-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .diag-tab {
    min-height: 68px;
    border-right: 1px solid var(--line);
  }

  .diag-panel {
    padding: 38px 24px;
  }

  .capability-grid {
    display: block;
  }

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

  .service-surface-card:nth-child(n) {
    grid-column: auto;
    min-height: 220px;
  }

  .cap-card {
    min-height: 260px;
    margin-bottom: 14px;
  }

  .case-teaser {
    min-height: 0;
  }

  .case-copy {
    padding: 38px 24px;
  }

  .case-visual {
    min-height: 480px;
    padding: 28px;
  }

  .before-after {
    inset: 92px 28px 28px;
  }

  .trust-grid {
    gap: 28px;
  }

  .founder-card {
    min-height: 420px;
  }

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

  .closing-cta {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .inner-hero .wrap {
    padding-top: 74px;
    padding-bottom: 62px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .hero-meta > div {
    min-height: auto;
  }

  .decision-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .mechanism-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mechanism-panel {
    min-height: auto;
    padding: 28px 22px;
  }

  .mechanism-detail {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .output-grid,
  .when-grid,
  .when-grid.cols-3,
  .case-stage,
  .case-logic,
  .architecture,
  .proof-grid,
  .belief-grid,
  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .logo-rail {
    grid-template-columns: 1fr;
  }

  .references-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  .references-head p {
    margin: 0;
  }

  .output-card:nth-child(n) {
    grid-column: auto;
  }

  .stage-pane {
    min-height: 470px;
    padding: 28px 22px;
  }

  .logic-card {
    min-height: 250px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .direction-col h3 {
    max-width: none;
  }

  .group-connector {
    width: 1px;
    height: 48px;
  }

  .group-connector::before {
    height: 100%;
  }

  .group-connector::after {
    display: none;
  }

  .group-branch-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .group-branch {
    min-height: 0;
  }

  .group-branch::before {
    display: none;
  }

  .group-note {
    margin-top: 44px;
    font-size: 16px;
  }

  .contact-form {
    padding: 28px 20px;
  }

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

  .field.full,
  .form-consent {
    grid-column: auto;
  }

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

  .surface-link {
    min-height: 180px;
  }

  .surface-link span {
    margin-bottom: 62px;
  }

  .case-proof {
    margin: 28px 0;
  }

  .proof-panel {
    min-height: 132px;
  }

  .system-transform {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
    padding: 22px;
  }

  .transform-connector {
    width: 100%;
  }

  .transform-before {
    min-height: 96px;
  }
}

/* Section & card reveal system */
html.motion-ready .section-head .eyebrow,
html.motion-ready .section-head h2,
html.motion-ready .section-head .section-intro {
  opacity: 1;
  transform: none;
}

html.motion-ready .section-head.is-visible .eyebrow,
html.motion-ready .section-head.is-visible h2,
html.motion-ready .section-head.is-visible .section-intro {
  opacity: 1;
  transform: translateY(0);
}

html.motion-ready .case-grid > *,
html.motion-ready .capability-grid > *,
html.motion-ready .service-surface-grid > *,
html.motion-ready .lifecycle > *,
html.motion-ready .logo-rail > *,
html.motion-ready .role-list > *,
html.motion-ready .belief-grid > *,
html.motion-ready .trust-grid > *,
html.motion-ready .output-grid > *,
html.motion-ready .when-grid > *,
html.motion-ready .faq-list > *,
html.motion-ready .proof-grid > * {
  opacity: 1;
  transform: none;
}

html.motion-ready .case-grid.is-visible > *,
html.motion-ready .capability-grid.is-visible > *,
html.motion-ready .service-surface-grid.is-visible > *,
html.motion-ready .lifecycle.is-visible > *,
html.motion-ready .logo-rail.is-visible > *,
html.motion-ready .role-list.is-visible > *,
html.motion-ready .belief-grid.is-visible > *,
html.motion-ready .trust-grid.is-visible > *,
html.motion-ready .output-grid.is-visible > *,
html.motion-ready .when-grid.is-visible > *,
html.motion-ready .faq-list.is-visible > *,
html.motion-ready .proof-grid.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.case-grid > *:nth-child(2), .capability-grid > *:nth-child(2), .service-surface-grid > *:nth-child(2),
.lifecycle > *:nth-child(2), .logo-rail > *:nth-child(2), .role-list > *:nth-child(2),
.belief-grid > *:nth-child(2), .trust-grid > *:nth-child(2), .output-grid > *:nth-child(2), .when-grid > *:nth-child(2), .faq-list > *:nth-child(2), .proof-grid > *:nth-child(2) {
  transition-delay: var(--stagger);
}

.case-grid > *:nth-child(3), .capability-grid > *:nth-child(3), .service-surface-grid > *:nth-child(3),
.lifecycle > *:nth-child(3), .logo-rail > *:nth-child(3), .role-list > *:nth-child(3),
.belief-grid > *:nth-child(3), .trust-grid > *:nth-child(3), .output-grid > *:nth-child(3), .when-grid > *:nth-child(3), .faq-list > *:nth-child(3), .proof-grid > *:nth-child(3) {
  transition-delay: calc(var(--stagger) * 2);
}

.case-grid > *:nth-child(4), .capability-grid > *:nth-child(4), .service-surface-grid > *:nth-child(4),
.lifecycle > *:nth-child(4), .logo-rail > *:nth-child(4), .role-list > *:nth-child(4),
.belief-grid > *:nth-child(4), .trust-grid > *:nth-child(4), .output-grid > *:nth-child(4), .when-grid > *:nth-child(4), .faq-list > *:nth-child(4), .proof-grid > *:nth-child(4) {
  transition-delay: calc(var(--stagger) * 3);
}

.case-grid > *:nth-child(5), .capability-grid > *:nth-child(5), .service-surface-grid > *:nth-child(5),
.lifecycle > *:nth-child(5), .logo-rail > *:nth-child(5), .role-list > *:nth-child(5),
.faq-list > *:nth-child(5), .proof-grid > *:nth-child(5) {
  transition-delay: calc(var(--stagger) * 4);
}

.faq-list > *:nth-child(n+6) {
  transition-delay: calc(var(--stagger) * 5);
}

/* ============================================================
   Etkileşim katmanı 2 — evrimsel hareket iyileştirmeleri
   (Yapısal değişiklik yok: hero koreografisi, sahne paralaksı)
   ============================================================ */

html {
  scroll-behavior: smooth;
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

html.motion-ready .hero-copy > * {
  animation: hero-copy-in .8s var(--ease) both;
}

html.motion-ready .hero-copy > *:nth-child(1) { animation-delay: .05s; }
html.motion-ready .hero-copy > *:nth-child(2) { animation-delay: .16s; }
html.motion-ready .hero-copy > *:nth-child(3) { animation-delay: .28s; }
html.motion-ready .hero-copy > *:nth-child(4) { animation-delay: .40s; }
html.motion-ready .hero-copy > *:nth-child(5) { animation-delay: .52s; }

.system-stage {
  transition: transform .7s var(--ease);
  will-change: transform;
}

/* ============================================================
   Etkileşim katmanı 3 — sayfa bazlı evrimsel iyileştirmeler
   (iç sayfa hero koreografisi, SSS akordeonu ve araması,
    vaka sayfalarında okuma ilerlemesi, form mikro-durumu)
   ============================================================ */

/* İç sayfa hero koreografisi */
@keyframes inner-hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

html.motion-ready .inner-hero .wrap > *,
html.motion-ready .flagship-hero-content > * {
  animation: inner-hero-in .7s var(--ease) both;
}

html.motion-ready .inner-hero .wrap > *:nth-child(1),
html.motion-ready .flagship-hero-content > *:nth-child(1) { animation-delay: .05s; }

html.motion-ready .inner-hero .wrap > *:nth-child(2),
html.motion-ready .flagship-hero-content > *:nth-child(2) { animation-delay: .16s; }

html.motion-ready .inner-hero .wrap > *:nth-child(3),
html.motion-ready .flagship-hero-content > *:nth-child(3) { animation-delay: .28s; }

html.motion-ready .flagship-hero-content > *:nth-child(4) { animation-delay: .40s; }
html.motion-ready .flagship-hero-content > *:nth-child(5) { animation-delay: .52s; }

/* Vaka sayfalarında okuma ilerlemesi */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.reading-progress b {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
}

/* SSS akordeonu — yumuşak açılma ve durum vurgusu */
.faq-item {
  transition: background .3s ease, box-shadow .3s ease;
}

.faq-item:hover { background: #fdfcf9; }

.faq-item[open] {
  background: var(--white);
  box-shadow: inset 3px 0 0 var(--red);
}

.faq-item summary::after { transition: transform .35s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}

.faq-item.is-expanded .faq-body { grid-template-rows: 1fr; }

.faq-body > div { overflow: hidden; }

/* İletişim adımları ve ilişki şeması kademeli görünümü */
html.motion-ready .contact-steps > *,
html.motion-ready .group-relation > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

html.motion-ready .contact-steps.is-visible > *,
html.motion-ready .group-relation.is-visible > * {
  opacity: 1;
  transform: none;
}

.contact-steps > *:nth-child(2),
.group-relation > *:nth-child(2) { transition-delay: var(--stagger); }

.contact-steps > *:nth-child(3) { transition-delay: calc(var(--stagger) * 2); }
.contact-steps > *:nth-child(4) { transition-delay: calc(var(--stagger) * 3); }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .stage-line,
  .flow-rail {
    transform: none;
  }

  .system-node,
  .flow-dot,
  .flow-word {
    opacity: 1;
    transform: none;
  }

  .section-head .eyebrow,
  .section-head h2,
  .section-head .section-intro,
  .case-grid > *,
  .capability-grid > *,
  .service-surface-grid > *,
  .lifecycle > *,
  .logo-rail > *,
  .role-list > *,
  .belief-grid > *,
  .trust-grid > *,
  .output-grid > *,
  .when-grid > *,
  .faq-list > *,
  .proof-grid > * {
    opacity: 1;
    transform: none;
  }

  .decision-node {
    transform: rotate(45deg);
  }

  .system-transform .transform-connector span,
  .system-transform .transform-connector b {
    opacity: 1;
    transform: none;
  }

  .system-transform .transform-after i.decision,
  .system-transform .transform-connector b {
    transform: rotate(45deg);
  }
}

/* Interactive operation scene */
.service-scene-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong);
  border-bottom: 0;
}

.service-scene-tab {
  position: relative;
  min-height: 112px;
  padding: 20px 22px;
  border: 0;
  border-right: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}

.service-scene-tab:last-child { border-right: 0; }
.service-scene-tab::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease); }
.service-scene-tab span { display: block; margin-bottom: 12px; color: var(--soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.service-scene-tab strong { display: block; font-size: 20px; }
.service-scene-tab:hover, .service-scene-tab:focus-visible { background: #f2f0eb; }
.service-scene-tab.is-active { background: var(--ink); color: var(--white); }
.service-scene-tab.is-active span { color: #aeb5ba; }
.service-scene-tab.is-active::after { transform: scaleX(1); }

.service-scene {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid #32383d;
  background: var(--dark-deep);
  color: var(--white);
  isolation: isolate;
}

.service-scene::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.service-scene::after { content: ""; position: absolute; top: 52%; left: 5%; z-index: -1; width: 90%; height: 1px; background: linear-gradient(90deg, transparent, rgba(211,31,52,.7) 30%, rgba(211,31,52,.7) 70%, transparent); transform: scaleX(.2); opacity: .55; animation: scene-link 5.6s var(--ease) infinite; }

.service-scene-topline { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 24px; border-bottom: 1px solid #343a3f; color: #aeb5ba; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.scene-live { display: flex; align-items: center; gap: 8px; }
.scene-live i { width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); animation: scene-pulse 2.2s ease-in-out infinite; }
.service-scene-grid { display: grid; grid-template-columns: .72fr 1.7fr .78fr; align-items: stretch; min-height: 535px; }
.scene-source, .scene-result { position: relative; z-index: 2; padding: 48px 28px; background: rgba(23,28,32,.8); }
.scene-source { border-right: 1px solid #343a3f; }
.scene-result { border-left: 1px solid #343a3f; }
.scene-column-label { display: block; margin-bottom: 35px; color: #80898f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 700; letter-spacing: .09em; }
.scene-source-items { position: relative; min-height: 210px; }
.scene-source-items span { position: absolute; display: inline-block; padding: 8px 12px; border: 1px solid #586066; color: #dbe0e4; background: #22282d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; font-weight: 700; letter-spacing: .06em; box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: transform 480ms var(--ease), border-color 480ms ease; }
.scene-source-items span:nth-child(1) { top: 6px; left: 0; transform: rotate(-2deg); }
.scene-source-items span:nth-child(2) { top: 82px; right: 0; transform: rotate(2deg); }
.scene-source-items span:nth-child(3) { top: 158px; left: 16px; transform: rotate(-1deg); }
.scene-source p { margin: 16px 0 0; color: #969fa5; font-size: 13px; line-height: 1.6; }

.scene-product { position: relative; display: flex; align-items: center; justify-content: center; padding: 42px 28px; }
.scene-canvas { display: none; width: min(100%, 590px); min-height: 385px; animation: scene-canvas-in 340ms var(--ease); }
.mode-discovery .scene-canvas-discovery,
.mode-product .scene-canvas-product,
.mode-modernize .scene-canvas-modernize,
.mode-continuity .scene-canvas-continuity { display: flex; flex-direction: column; }

.scene-app-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid #d7d5cf; background: #edece8; }
.scene-app-bar i { width: 6px; height: 6px; background: #aaa; border-radius: 50%; }
.scene-app-bar i:first-child { background: var(--red); }
.scene-app-bar span { margin-left: auto; color: #778086; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7.5px; font-weight: 700; letter-spacing: .08em; }

/* 01: Blueprint Canvas */
.scene-blueprint-box { display: flex; flex-direction: column; justify-content: space-between; min-height: 350px; padding: 22px 24px; background: #f8f7f3; box-shadow: 0 24px 60px rgba(0,0,0,.3); color: var(--ink); }
.blueprint-flow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bp-node { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; background: #edeae3; border: 1px solid #d4d0c5; }
.bp-node strong { font-size: 11px; font-weight: 800; }
.bp-tag { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7.5px; font-weight: 700; color: #727a80; letter-spacing: .06em; }
.bp-node.bp-decision { border-color: var(--red); background: #fdf5f5; }
.bp-node.bp-decision .bp-tag { color: var(--red); }
.bp-connector { flex: 0 0 24px; position: relative; height: 1px; background: #c5c1b6; }
.bp-connector i { position: absolute; top: -3px; left: calc(50% - 3px); width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.blueprint-phases { display: flex; flex-direction: column; gap: 7px; padding: 12px; background: #edeae3; border: 1px dashed #c5c1b6; }
.bp-phase { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #fff; border: 1px solid #dedbd4; font-size: 10.5px; }
.bp-phase.is-approved { border-left: 3px solid var(--red); }
.phase-badge { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; font-weight: 700; color: #70787e; }
.phase-name { font-weight: 600; }
.phase-status { padding: 2px 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7.5px; font-weight: 700; }
.is-approved .phase-status { background: #fdeded; color: var(--red); }
.is-planned .phase-status { background: #f0eee8; color: #525a60; }
.is-queued .phase-status { background: transparent; color: #9aa1a6; }
.blueprint-foot { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid #e0ddd5; font-size: 9px; color: #687076; }
.bp-dot { display: inline-block; width: 5px; height: 5px; margin-right: 4px; background: var(--red); transform: rotate(45deg); vertical-align: middle; }

/* 02: Multi-Surface Canvas */
.scene-multisurface-box { position: relative; display: grid; grid-template-columns: 50px 1fr; min-height: 350px; background: #f7f6f2; box-shadow: 0 24px 60px rgba(0,0,0,.3); color: var(--ink); }
.scene-multisurface-box .scene-app-nav { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 22px; background: #20262a; }
.scene-multisurface-box .scene-app-nav b { width: 14px; height: 14px; border: 1px solid var(--red); transform: rotate(45deg); }
.scene-multisurface-box .scene-app-nav i { width: 12px; height: 2px; background: #586168; }
.scene-multisurface-box .scene-app-main { padding: 20px 22px; }
.scene-multisurface-box .scene-app-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #dedbd4; }
.app-title-group { display: flex; align-items: center; gap: 8px; }
.app-title-group span { font-size: 13px; font-weight: 800; }
.live-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; background: #e8f5e9; color: #2e7d32; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7.5px; font-weight: 700; }
.live-dot { width: 4px; height: 4px; border-radius: 50%; background: #2e7d32; animation: scene-pulse 2s infinite; }
.app-header-sync { display: flex; align-items: center; gap: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7.5px; color: #767e84; }
.sync-dot { width: 5px; height: 5px; border-radius: 50%; background: #4caf50; animation: scene-pulse 2.2s infinite; }
.app-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 14px; }
.app-kpi { padding: 7px 10px; background: #fff; border: 1px solid #dedbd4; }
.app-kpi small { display: block; color: #767e84; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6.5px; font-weight: 700; }
.app-kpi strong { display: block; margin-top: 2px; font-size: 13px; font-weight: 800; }
.app-mini-table { display: flex; flex-direction: column; gap: 4px; }
.table-row { display: grid; grid-template-columns: 48px 1fr 65px 65px; align-items: center; padding: 6px 9px; background: #fff; border: 1px solid #dedbd4; font-size: 8.5px; }
.table-row.is-active { border-left: 3px solid var(--red); }
.row-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7.5px; color: #767e84; }
.row-desc { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 6px; }
.row-role { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; color: #848c92; }
.row-status { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; font-weight: 700; text-align: right; }
.badge-success { color: #2e7d32; }
.badge-process { color: var(--red); }
.badge-pending { color: #e65100; }
.badge-queue { color: #78909c; }
.app-foot-meta { display: flex; gap: 14px; margin-top: 12px; padding-top: 8px; border-top: 1px solid #e0ddd5; font-size: 8.5px; color: #687076; }

.scene-phone-mockup { position: absolute; right: 10px; bottom: 10px; width: 135px; padding: 12px 10px 10px; background: #1c2226; border: 4px solid #14181b; border-radius: 12px; box-shadow: 0 16px 36px rgba(0,0,0,.5); color: #fff; z-index: 3; }
.phone-speaker { width: 22px; height: 3px; margin: 0 auto 6px; background: #3a4349; border-radius: 2px; }
.phone-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 5px; border-bottom: 1px solid #333c42; color: #8a939a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6.5px; font-weight: 700; }
.phone-live-dot { width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); }
.phone-card { margin: 8px 0; padding: 7px; background: #262e33; border: 1px solid #384248; border-radius: 3px; }
.phone-card small { display: block; color: #9aa2a8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6px; }
.phone-card strong { display: block; margin: 2px 0 4px; font-size: 8.5px; font-weight: 700; }
.phone-badge { display: inline-block; padding: 1px 4px; background: #1f3627; color: #66bb6a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6.5px; font-weight: 700; }
.phone-action { display: block; padding: 4px; background: var(--red); color: #fff; font-size: 7.5px; font-weight: 700; text-align: center; border-radius: 2px; }

/* 03: Integration Canvas */
.scene-integration-box { display: flex; flex-direction: column; justify-content: space-between; min-height: 350px; padding: 22px 24px; background: #f7f6f2; box-shadow: 0 24px 60px rgba(0,0,0,.3); color: var(--ink); }
.integration-pipeline { display: grid; grid-template-columns: 1fr 20px 1.25fr 20px 1fr; gap: 4px; align-items: center; }
.integ-col-title { display: block; margin-bottom: 8px; color: #767e84; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; font-weight: 700; text-align: center; }
.integ-legacy { display: flex; flex-direction: column; gap: 6px; }
.integ-card { padding: 7px 9px; background: #fff; border: 1px solid #dedbd4; border-left: 2px solid #848c92; }
.integ-tag { display: block; color: #848c92; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6px; font-weight: 700; }
.integ-card strong { display: block; margin-top: 2px; font-size: 8.5px; font-weight: 700; }

.integ-flow-link { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; }
.integ-flow-link i { width: 100%; height: 1px; background: var(--red); opacity: .7; }
.integ-flow-link b { position: absolute; width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); animation: scene-pulse 2s infinite; }

.integ-bridge { padding: 14px 10px; background: #20262a; border: 1px solid #384248; border-radius: 4px; color: #fff; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.bridge-icon { width: 22px; height: 22px; margin: 0 auto 6px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; transform: rotate(45deg); }
.bridge-title { display: block; margin: 8px 0 6px; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.bridge-stream { display: flex; align-items: center; gap: 4px; margin: 8px 0; }
.stream-line { flex: 1; height: 1px; background: var(--red); }
.stream-pill { padding: 2px 4px; background: #313a40; color: #cfd5d9; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6px; font-weight: 700; }
.bridge-specs { display: flex; flex-direction: column; gap: 2px; color: #8e979e; font-size: 7.5px; }

.integ-target { display: flex; flex-direction: column; }
.target-card { padding: 12px 10px; background: #fff; border: 1px solid #dedbd4; border-left: 3px solid var(--red); }
.target-tag { display: block; color: var(--red); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6.5px; font-weight: 700; }
.target-card strong { display: block; margin: 3px 0 8px; font-size: 10px; font-weight: 800; }
.target-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin-bottom: 8px; }
.target-stats small { display: block; color: #848c92; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6px; }
.target-stats strong { margin: 0; font-size: 10px; }
.target-badge { display: block; color: #2e7d32; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6.5px; font-weight: 700; text-align: center; }
.integration-foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e0ddd5; font-size: 8.5px; color: #687076; }

/* 04: Telemetry & Continuity Canvas */
.scene-telemetry-box { display: flex; flex-direction: column; justify-content: space-between; min-height: 350px; padding: 22px 24px; background: #f8f7f3; box-shadow: 0 24px 60px rgba(0,0,0,.3); color: var(--ink); }
.telemetry-deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.telem-kpi { padding: 7px 10px; background: #fff; border: 1px solid #dedbd4; }
.telem-label { display: block; color: #767e84; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6.5px; font-weight: 700; }
.telem-value { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 13px; font-weight: 800; color: var(--ink); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; }
.status-dot.is-healthy { background: #2e7d32; }
.code-font { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.telemetry-console { background: var(--dark-deep); border: 1px solid var(--dark-line); border-radius: 4px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.console-head { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; background: var(--dark-2); border-bottom: 1px solid var(--dark-line); color: #8e98a0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6.5px; font-weight: 700; }
.console-live-tag { color: var(--red); font-weight: 700; }
.console-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; }
.log-line { display: flex; align-items: center; gap: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7.5px; }
.log-time { color: #6e7982; }
.log-badge { padding: 1px 3px; border-radius: 2px; font-size: 6.5px; font-weight: 700; }
.badge-perf { background: #1e3a2f; color: #66bb6a; }
.badge-sec { background: #3a2e1e; color: #ffa726; }
.badge-deploy { background: #1e2c3a; color: #42a5f5; }
.badge-auto { background: #30203a; color: #ab47bc; }
.log-msg { color: #d6dce2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.telemetry-foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e0ddd5; color: #687076; font-size: 8.5px; }

.scene-result strong { display: block; min-height: 110px; font-size: clamp(1.35rem, 2vw, 2.05rem); line-height: 1.08; }
.scene-result-list { display: grid; gap: 0; border-top: 1px solid #3f464b; }
.scene-result-list span { padding: 14px 0; border-bottom: 1px solid #3f464b; color: #bdc3c7; font-size: 11px; }
.scene-result-list span::before { content: "◆"; margin-right: 9px; color: var(--red); font-size: 7px; }
.scene-result a { position: absolute; right: 28px; bottom: 33px; left: 28px; display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--red); color: var(--white); font-size: 12px; font-weight: 700; }
.scene-scan { position: absolute; top: 54px; bottom: 0; left: 26%; width: 1px; background: linear-gradient(transparent, rgba(211,31,52,.95), transparent); opacity: .6; animation: scene-scan 5.6s var(--ease) infinite; pointer-events: none; }
.service-scene.is-switching .scene-canvas { animation: scene-canvas-in 340ms var(--ease); }

@keyframes scene-canvas-in { 0% { opacity: .4; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
@keyframes scene-link { 0%, 12% { transform: scaleX(.08); opacity: .15; } 48%, 76% { transform: scaleX(1); opacity: .65; } 100% { transform: scaleX(.08); opacity: .15; } }
@keyframes scene-scan { 0%, 12% { left: 26%; opacity: 0; } 25% { opacity: .8; } 76% { left: 74%; opacity: .8; } 90%, 100% { left: 74%; opacity: 0; } }
@keyframes scene-pulse { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

/* Product proof: an anonymous web + mobile system surface */
.case-visual.product-proof { min-height: 620px; padding: 0; background: #1b2024; }
.case-visual.product-proof::before { background: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 54px 54px; }
.proof-chrome { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 24px; border-bottom: 1px solid #343a3f; color: #9fa7ac; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.proof-chrome i { width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.proof-desktop { position: absolute; top: 100px; right: 65px; left: 56px; z-index: 1; display: grid; grid-template-columns: 58px 1fr; min-height: 410px; background: #f5f4f0; box-shadow: 0 24px 60px rgba(0,0,0,.32); }
.proof-sidebar { display: flex; flex-direction: column; align-items: center; gap: 25px; padding-top: 27px; background: #272d31; }
.proof-sidebar b { width: 16px; height: 16px; border: 1px solid var(--red); transform: rotate(45deg); }
.proof-sidebar i { width: 15px; height: 2px; background: #596168; }
.proof-workspace { padding: 28px 30px; color: var(--ink); }
.proof-title { display: flex; justify-content: space-between; align-items: center; }
.proof-title span { font-size: 17px; font-weight: 800; }
.proof-title b { padding: 5px 8px; background: #e9e7e1; color: var(--red); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; letter-spacing: .08em; }
.proof-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 25px 0; }
.proof-metrics > span { padding: 14px; border: 1px solid #dedbd4; }
.proof-metrics small { display: block; color: #8a9093; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6px; letter-spacing: .07em; }
.proof-metrics strong { display: block; margin-top: 8px; font-size: 20px; }
.proof-table > div { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; min-height: 52px; padding: 0 13px; border-top: 1px solid #ddd9d2; font-size: 9px; }
.proof-table div:last-child { border-bottom: 1px solid #ddd9d2; }
.proof-table div.is-active { position: relative; background: #ebe9e3; }
.proof-table div.is-active::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--red); }
.proof-table span { color: #687075; }
.proof-table em { color: #687075; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; font-style: normal; text-align: right; }
.proof-table .is-active em { color: var(--red); font-weight: 800; }
.proof-mobile { position: absolute; right: 28px; bottom: 45px; z-index: 3; width: 175px; min-height: 320px; padding: 24px 17px; border: 6px solid var(--dark-line); background: #faf9f5; color: var(--ink); box-shadow: 0 20px 45px rgba(0,0,0,.4); }
.proof-mobile-head { display: flex; align-items: center; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid #dedbd4; color: #7d8589; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 6px; letter-spacing: .07em; }
.proof-mobile-head i { width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.proof-mobile > strong { display: block; margin-top: 24px; font-size: 16px; line-height: 1.15; }
.proof-mobile > small { display: block; margin-top: 9px; color: #8a9093; font-size: 8px; }
.proof-mobile-state { display: flex; align-items: center; gap: 8px; margin-top: 40px; padding: 12px; border: 1px solid #dedbd4; color: var(--red); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; font-weight: 800; }
.proof-mobile-state i { width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); animation: scene-pulse 2.2s ease-in-out infinite; }
.proof-mobile button { position: absolute; right: 17px; bottom: 20px; left: 17px; height: 38px; border: 0; background: var(--red); color: white; font-size: 8px; font-weight: 800; }
.proof-event { position: absolute; right: 230px; bottom: 24px; left: 85px; z-index: 2; display: flex; align-items: center; color: #adb4b8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; letter-spacing: .06em; }
.proof-event i { width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
.proof-event b { flex: 1; height: 1px; margin: 0 9px; background: #586168; }
.product-proof.is-visible .proof-event i { animation: scene-pulse 2.2s ease-in-out infinite; }

@media (max-width: 980px) {
  .service-scene-selector { grid-template-columns: repeat(2, 1fr); }
  .service-scene-tab:nth-child(2) { border-right: 0; }
  .service-scene-tab:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
  .service-scene-grid { grid-template-columns: .72fr 1.5fr; }
  .scene-result { grid-column: 1 / -1; min-height: 230px; border-top: 1px solid #343a3f; border-left: 0; }
  .scene-result strong { min-height: 0; max-width: 60%; }
  .scene-result-list { width: 48%; margin-top: 24px; }
  .scene-result a { top: 76px; right: 28px; bottom: auto; left: auto; width: 38%; }
  .case-teaser { grid-template-columns: 1fr; }
  .case-visual.product-proof { min-height: 650px; }
}

@media (max-width: 680px) {
  .service-scene-tab { min-height: 92px; padding: 15px; }
  .service-scene-tab strong { font-size: 17px; }
  .service-scene-topline { padding: 0 15px; }
  .scene-live { display: none; }
  .service-scene-grid { display: block; }
  .scene-source, .scene-result { padding: 30px 20px; }
  .scene-source { min-height: 285px; border-right: 0; border-bottom: 1px solid #343a3f; }
  .scene-column-label { margin-bottom: 22px; }
  .scene-source-items { min-height: 155px; }
  .scene-source-items span:nth-child(2) { top: 60px; }
  .scene-source-items span:nth-child(3) { top: 120px; }
  .scene-product { min-height: auto; padding: 25px 14px; }
  .scene-blueprint-box { padding: 16px 12px; }
  .blueprint-flow { flex-direction: column; gap: 4px; }
  .bp-connector { width: 1px; height: 10px; margin: 0 auto; }
  .bp-connector i { top: 2px; left: -2.5px; }
  .blueprint-foot { flex-direction: column; gap: 4px; }
  .scene-multisurface-box { grid-template-columns: 36px 1fr; min-height: 280px; }
  .scene-multisurface-box .scene-app-main { padding: 14px 12px; }
  .scene-phone-mockup { transform: scale(.75); transform-origin: right bottom; right: 2px; bottom: 2px; }
  .integration-pipeline { grid-template-columns: 1fr; gap: 10px; }
  .telemetry-deck { grid-template-columns: 1fr; }
  .telemetry-foot { flex-direction: column; gap: 4px; }
  .scene-result { min-height: 300px; }
  .scene-result strong, .scene-result-list { width: 100%; max-width: none; }
  .scene-result a { top: auto; right: 20px; bottom: 28px; left: 20px; width: auto; }
  .case-visual.product-proof { min-height: 560px; }

}

/* ==========================================================================
   MANSA LOJİSTİK FLAGSHIP CASE STUDY STYLES
   ========================================================================== */

.flagship-hero-section {
  padding-top: 50px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}

.flagship-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.badge-flagship {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--red);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.flagship-hero-title {
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero-subtext {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.flagship-meta-box {
  margin-top: 36px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.meta-value {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1b8a3e;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .25);
  animation: pulse-dot-anim 2s infinite ease-in-out;
}

@keyframes pulse-dot-anim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: .7; }
}

/* 3-Layer Hero Composition */
.flagship-hero-visual {
  position: relative;
  min-width: 0;
}

.composition-deck {
  position: relative;
  width: 100%;
  height: 480px;
  background: #191f24;
  border: 1px solid #2e363d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.comp-layer {
  position: absolute;
  transition: transform .3s ease;
}

/* Layer 1: Background Web Dashboard */
.layer-web-dashboard {
  top: 18px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #20262b;
  border: 1px solid #38424a;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--dark-deep);
  border-bottom: 1px solid #2d353b;
}

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

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47535b;
}

.mockup-title {
  color: #9aa4ac;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .06em;
}

.mockup-status-tag {
  color: #22c55e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
}

.dash-top-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 14px;
  background: #1b2126;
  border-bottom: 1px solid #2d353b;
}

.dash-stat small {
  display: block;
  color: #7b8790;
  font-size: 9px;
  letter-spacing: .04em;
}

.dash-stat strong {
  display: block;
  color: #e5eaee;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.dash-table-preview {
  padding: 10px 14px;
}

.table-row-preview {
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr 100px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #283036;
  font-size: 11px;
  color: #9aa4ac;
}

.table-row-preview.header {
  color: #69747c;
  font-weight: 700;
  font-size: 9px;
  text-transform: uppercase;
}

.table-row-preview b {
  color: #cbd5dc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.table-row-preview.is-active {
  background: rgba(198, 31, 50, .08);
  border-left: 2px solid var(--red);
}

.badge-blue { color: #38bdf8; font-style: normal; font-size: 9px; font-weight: 700; }
.badge-green { color: #4ade80; font-style: normal; font-size: 9px; font-weight: 700; }
.badge-amber { color: #fbbf24; font-style: normal; font-size: 9px; font-weight: 700; }

/* Layer 2: Front Mobile Phone */
.layer-mobile-field {
  right: 28px;
  bottom: 24px;
  width: 210px;
  background: #faf9f5;
  border: 4px solid #15191d;
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .55);
  z-index: 5;
}

.phone-notch {
  width: 50px;
  height: 4px;
  background: #15191d;
  border-radius: 4px;
  margin: 0 auto 10px;
}

.phone-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2ded5;
  font-size: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: #7b8388;
}

.sync-badge {
  color: #1b8a3e;
}

.phone-task-hero {
  margin-top: 10px;
  background: #f1ede3;
  padding: 10px;
  border-radius: 4px;
}

.phone-task-hero small {
  font-size: 8px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: .04em;
}

.phone-task-hero h4 {
  font-size: 13px;
  margin: 2px 0 4px;
  color: var(--ink);
}

.phone-task-hero p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}

.phone-barcode-card {
  margin-top: 10px;
  border: 1px solid #dedbd2;
  padding: 8px;
  background: white;
  border-radius: 4px;
}

.barcode-graphic {
  height: 20px;
  background: repeating-linear-gradient(90deg, #15191d 0, #15191d 2px, transparent 2px, transparent 4px, #15191d 4px, #15191d 7px, transparent 7px, transparent 9px);
  margin-bottom: 6px;
}

.barcode-info strong {
  display: block;
  font-size: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
}

.barcode-info small {
  color: var(--soft);
  font-size: 9px;
}

.phone-action-btn {
  margin-top: 12px;
  background: var(--red);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  border-radius: 4px;
}

/* Layer 3: Store Demand Overlay */
.layer-mobile-store {
  top: 60px;
  left: 36px;
  width: 190px;
  background: rgba(23, 28, 32, .92);
  backdrop-filter: blur(12px);
  border: 1px solid #3f4a52;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .45);
  z-index: 4;
}

.store-mini-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #9aa4ac;
  letter-spacing: .05em;
}

.dot-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.store-tag {
  display: inline-block;
  margin-top: 8px;
  background: rgba(198, 31, 50, .2);
  color: #ff7b89;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
}

.store-desc {
  font-size: 11px;
  color: #e5eaee;
  font-weight: 600;
  margin: 6px 0 4px;
}

.store-status {
  font-size: 9px;
  color: #8c979f;
}

.comp-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.comp-pill {
  padding: 4px 8px;
  background: var(--dark-deep);
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.comp-text {
  font-size: 13px;
  color: var(--soft);
}

/* Section 02: Bağlam */
.context-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.context-copy-block p {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.highlight-callout {
  padding: 24px;
  background: var(--white);
  border-left: 3px solid var(--red);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 26px;
}

.highlight-callout strong {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.highlight-callout p {
  font-size: 16px !important;
  color: var(--ink) !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.visual-photo-card {
  border: 1px solid var(--line-strong);
  background: #20262b;
  color: white;
  padding: 28px;
}

.photo-badge {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  color: #8c979f;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.ambient-warehouse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 30px 16px;
  background: var(--dark-deep);
  border: 1px dashed #39424a;
  margin-bottom: 16px;
}

.pallet-mockup, .scanner-mockup, .gate-mockup {
  background: #252c33;
  border: 1px solid #3b454e;
  padding: 16px 10px;
  text-align: center;
}

.pallet-mockup span, .scanner-mockup span, .gate-mockup span {
  font-size: 10px;
  font-weight: 700;
  color: #cfd7de;
  letter-spacing: .04em;
}

.photo-caption {
  font-size: 13px;
  color: #8c979f;
  font-style: italic;
}

.context-flow-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.flow-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 10px;
  background: var(--paper);
}

.flow-pill.active {
  background: var(--red);
  color: white;
}

.flow-arrow {
  color: var(--line-strong);
  font-weight: 800;
}

/* Section 03: Platform Orbit */
.platform-orbit-container {
  margin-top: 40px;
}

.orbit-center-core {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.core-box {
  background: var(--dark);
  color: white;
  border: 2px solid var(--red);
  padding: 20px 36px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.core-tag {
  display: block;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.core-box strong {
  display: block;
  font-size: 18px;
  letter-spacing: .04em;
}

.core-box small {
  color: #8c979f;
  font-size: 12px;
}

.orbit-nodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.orbit-node-card {
  position: relative;
  background: var(--canvas);
  border: 1px solid var(--line);
  padding: 34px;
  transition: transform .2s ease, border-color .2s ease;
}

.orbit-node-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.node-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  font-weight: 800;
  color: var(--line-strong);
}

.node-badge {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--soft);
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.orbit-node-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.orbit-node-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.node-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.node-features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
}

.node-features li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 8px;
  top: 3px;
}

/* Section 04: Journey Lifecycle */
.journey-lifecycle {
  margin-top: 40px;
}

.journey-timeline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding: 0 20px;
}

.jt-node {
  color: var(--line-strong);
  font-size: 16px;
}

.jt-node.is-active {
  color: var(--red);
}

.jt-node.diamond {
  transform: rotate(45deg);
  display: inline-block;
  color: var(--ink);
}

.jt-line {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 10px;
}

.journey-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.journey-step-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 7px;
  background: var(--dark);
  color: white;
}

.step-head h4 {
  font-size: 17px;
  margin: 0;
}

.journey-step-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.step-mini-crop {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px;
  font-size: 11px;
}

.crop-header {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--soft);
  margin-bottom: 6px;
}

.crop-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.crop-row:last-child {
  margin-bottom: 0;
}

.crop-tag.green { color: #16a34a; font-weight: 700; }
.crop-tag.amber { color: #d97706; font-weight: 700; }
.crop-tag.blue { color: #0284c7; font-weight: 700; }
.crop-tag.red { color: var(--red); font-weight: 700; }

/* Section 05: Field App Layout */
.field-app-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.field-app-details p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 18px;
}

.tech-stack-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.tech-badge {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.tech-badge strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.tech-badge span {
  font-size: 12px;
  color: var(--muted);
}

.field-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-item {
  display: flex;
  gap: 12px;
}

.hi-icon {
  color: var(--red);
  font-size: 11px;
  margin-top: 4px;
}

.highlight-item strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.highlight-item p {
  font-size: 14px !important;
  color: var(--muted) !important;
  margin: 2px 0 0 !important;
}

/* 3 Mobile Phone Showcase */
.field-app-showcase {
  position: relative;
  min-height: 480px;
  background: var(--dark-deep);
  border: 1px solid var(--dark-line);
  padding: 30px;
}

.phone-frame {
  background: #faf9f5;
  border: 4px solid #2c343b;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

.main-phone {
  width: 250px;
  padding: 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-top-bar {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  color: #7b8388;
  margin-bottom: 12px;
}

.phone-inner-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.phone-inner-head small {
  display: block;
  font-size: 8px;
  color: #7b8388;
}

.phone-inner-head strong {
  font-size: 13px;
  color: var(--ink);
}

.store-badge-tag {
  background: var(--dark);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
}

.phone-active-work-card {
  background: var(--white);
  border: 1px solid #dedbd4;
  padding: 12px;
  margin-bottom: 16px;
}

.work-status-row {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #7b8388;
  margin-bottom: 6px;
}

.live-pill {
  color: #16a34a;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #16a34a;
}

.phone-active-work-card h4 {
  font-size: 13px;
  margin: 0 0 10px;
}

.progress-bar-wrap {
  height: 6px;
  background: #eae7df;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.pb-fill {
  height: 100%;
  background: var(--red);
}

.pb-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #7b8388;
}

.phone-list-title {
  font-size: 9px;
  font-weight: 800;
  color: #7b8388;
  margin-bottom: 8px;
  letter-spacing: .06em;
}

.phone-mini-tasks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-task-item {
  background: var(--white);
  border: 1px solid #e2ded6;
  padding: 8px 10px;
}

.mini-task-item b {
  display: block;
  font-size: 11px;
}

.mini-task-item span {
  font-size: 9px;
  color: #7b8388;
}

.phone-crop-1 {
  position: absolute;
  top: 40px;
  left: 20px;
  width: 150px;
  padding: 12px;
  z-index: 1;
  transform: rotate(-3deg);
  opacity: .95;
}

.phone-crop-2 {
  position: absolute;
  bottom: 40px;
  right: 20px;
  width: 160px;
  padding: 12px;
  z-index: 3;
  transform: rotate(3deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}

.mini-phone-head {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 800;
  color: #7b8388;
  margin-bottom: 8px;
}

.mini-scan-screen {
  background: var(--dark-deep);
  color: white;
  padding: 12px 8px;
  text-align: center;
  border-radius: 4px;
}

.barcode-target {
  border: 1px dashed var(--red);
  padding: 10px 4px;
  position: relative;
  margin-bottom: 8px;
}

.scan-laser {
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
  margin-bottom: 4px;
}

.barcode-target span {
  font-size: 7px;
  color: #8c979f;
}

.scanned-info strong {
  display: block;
  font-size: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.scanned-info small {
  font-size: 8px;
  color: #8c979f;
}

.sync-state-online {
  color: #16a34a;
  font-size: 8px;
}

.sync-queue-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sync-row {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  padding: 4px;
  border-bottom: 1px solid #eae7df;
}

.sync-row.success em { color: #16a34a; font-style: normal; font-weight: 700; }
.sync-row.queued em { color: #d97706; font-style: normal; font-weight: 700; }

/* Section 06: Evidence Grid */
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start;
  margin-top: 40px;
}

.evidence-content p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 18px;
}

.audit-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.audit-point {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.audit-point strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.audit-point span {
  font-size: 13px;
  color: var(--muted);
}

.evidence-master-card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.master-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--dark);
  color: white;
}

.mc-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag-op {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  color: #8c979f;
}

.mc-title strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  color: white;
}

.badge-verified {
  background: rgba(34, 197, 94, .2);
  color: #4ade80;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
}

.master-card-body {
  padding: 24px;
}

.op-meta-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.op-meta-columns label {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--soft);
  margin-bottom: 2px;
}

.op-meta-columns p {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.evidence-callouts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.callout-box {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.callout-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 8px;
}

.signature-canvas-demo {
  background: white;
  border: 1px solid #dedbd4;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.sig-svg {
  width: 140px;
  height: 40px;
}

.photo-thumbnail-demo {
  background: var(--dark-deep);
  color: white;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.box-silhouette {
  font-size: 14px;
}

.photo-thumbnail-demo span {
  font-size: 9px;
  color: #8c979f;
}

.staff-chain-rows {
  font-size: 11px;
  margin-bottom: 6px;
}

.staff-chain-rows div {
  margin-bottom: 3px;
}

.audit-status-tag {
  background: var(--dark);
  color: white;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  padding: 8px;
  margin-bottom: 6px;
}

.callout-box small {
  font-size: 9px;
  color: var(--soft);
}

/* Section 07: Store Experience */
.store-experience-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.usecase-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.usecase-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
}

.usecase-header h3 {
  font-size: 18px;
  margin: 6px 0 10px;
}

.usecase-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.store-resolution-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.srf-step {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.srf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--dark);
  color: white;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.srf-step strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.srf-step p {
  font-size: 11px;
  color: var(--soft);
  margin: 0;
  line-height: 1.4;
}

/* 2 Store Phones Showcase */
.store-visual-showcase {
  position: relative;
  min-height: 480px;
  background: #20262b;
  border: 1px solid #364047;
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.store-phone-1, .store-phone-2 {
  width: 210px;
  padding: 14px;
}

.store-phone-head, .store-create-head {
  margin-bottom: 12px;
}

.store-phone-head small, .store-create-head small {
  font-size: 8px;
  color: #7b8388;
  display: block;
}

.store-phone-head strong, .store-create-head strong {
  font-size: 12px;
  color: var(--ink);
}

.store-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  background: #f1ede3;
  padding: 8px;
  margin-bottom: 14px;
}

.store-stats-strip span { font-size: 7px; color: #7b8388; display: block; }
.store-stats-strip strong { font-size: 12px; color: var(--ink); }

.store-history-title {
  font-size: 8px;
  font-weight: 800;
  color: #7b8388;
  margin-bottom: 8px;
}

.store-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-item {
  background: white;
  border: 1px solid #dedbd4;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sh-item b { display: block; font-size: 9px; }
.sh-item small { font-size: 7px; color: #7b8388; }
.sh-badge.done {
  font-size: 7px;
  color: #16a34a;
  font-weight: 700;
  background: rgba(34, 197, 94, .1);
  padding: 2px 4px;
}

.store-form-mockup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-mock-group label {
  display: block;
  font-size: 8px;
  font-weight: 700;
  color: #7b8388;
  margin-bottom: 3px;
}

.select-mock {
  background: white;
  border: 1px solid #dedbd4;
  padding: 6px 8px;
  font-size: 9px;
  color: var(--ink);
}

.pills-mock {
  display: flex;
  gap: 4px;
}

.pills-mock span {
  padding: 4px 6px;
  background: white;
  border: 1px solid #dedbd4;
  font-size: 8px;
}

.pills-mock span.selected {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.stepper-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #dedbd4;
  padding: 4px 8px;
  width: fit-content;
}

.stepper-mock button {
  border: 0;
  background: #eee;
  width: 18px;
  height: 18px;
  font-size: 11px;
}

.btn-mock-primary {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 8px;
  font-weight: 800;
  margin-top: 6px;
}

/* Section 08: Admin Panorama */
.admin-overview-text {
  margin-top: 20px;
  margin-bottom: 34px;
}

.admin-overview-text p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 12px;
}

.terminology-note {
  padding: 16px 20px;
  background: var(--white);
  border-left: 3px solid var(--dark);
  font-size: 14px !important;
  color: var(--muted) !important;
}

.dashboard-panorama-wrapper {
  margin-top: 30px;
}

.dashboard-panorama {
  background: var(--dark-deep);
  border: 1px solid var(--dark-line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.dash-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--dark-deep);
  border-bottom: 1px solid #242c31;
}

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

.dash-mac-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3c464e;
}

.dash-address-bar {
  color: #7b8790;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.dash-user-profile {
  color: #9aa4ac;
  font-size: 11px;
  font-weight: 600;
}

.dash-panorama-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
}

.dash-side-nav {
  background: var(--dark-deep);
  border-right: 1px solid var(--dark-line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ds-item {
  padding: 10px 12px;
  font-size: 12px;
  color: #8c979f;
  border-radius: 4px;
}

.ds-item.active {
  background: #252d34;
  color: white;
  font-weight: 600;
}

.dash-main-pane {
  padding: 24px;
  background: #20262b;
}

.dash-filters-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 6px 12px;
  background: var(--dark-deep);
  border: 1px solid #364047;
  color: #8c979f;
  font-size: 11px;
}

.filter-chip.is-active {
  background: var(--red);
  color: white;
  border-color: var(--red);
  font-weight: 700;
}

.panorama-callouts-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.pano-callout {
  padding: 16px;
  background: var(--dark-deep);
  border: 1px solid #333d45;
}

.callout-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: var(--red);
  display: block;
  margin-bottom: 4px;
}

.pano-callout strong {
  display: block;
  font-size: 14px;
  color: white;
  margin-bottom: 6px;
}

.pano-callout p {
  font-size: 12px;
  color: #8c979f;
  margin: 0;
  line-height: 1.4;
}

.panorama-table-deck {
  background: var(--dark-deep);
  border: 1px solid var(--dark-line);
}

.pt-head {
  display: grid;
  grid-template-columns: 80px 90px 110px 80px 100px 1fr 110px;
  padding: 10px 14px;
  background: var(--dark-deep);
  font-size: 9px;
  font-weight: 800;
  color: #69747c;
  border-bottom: 1px solid var(--dark-line);
}

.pt-row {
  display: grid;
  grid-template-columns: 80px 90px 110px 80px 100px 1fr 110px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--dark-line);
  font-size: 11px;
  color: #9aa4ac;
}

.pt-row b {
  color: #cfd7de;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Section 09: Commercial */
.commercial-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.commercial-content p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 20px;
}

.chain-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cb-node {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.cb-node.active {
  color: var(--red);
  font-weight: 800;
}

.cb-arrow {
  color: var(--line-strong);
  font-weight: 800;
}

.commercial-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.cp-card strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.cp-card p {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin: 0 !important;
}

.ledger-paper-mockup {
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .08);
  padding: 30px;
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.ledger-brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: .04em;
}

.ledger-brand small {
  font-size: 10px;
  color: var(--soft);
}

.ledger-meta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  color: var(--soft);
}

.ledger-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--paper);
  padding: 14px;
  margin-bottom: 20px;
}

.ledger-summary-strip span {
  font-size: 9px;
  color: var(--soft);
  display: block;
}

.ledger-summary-strip strong {
  font-size: 15px;
  color: var(--ink);
}

.badge-approved {
  display: inline-block;
  color: #16a34a;
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  margin-top: 4px;
}

.ledger-table {
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.lt-header {
  display: grid;
  grid-template-columns: 1.5fr 70px 90px 90px;
  padding: 8px 12px;
  background: var(--paper);
  font-size: 9px;
  font-weight: 800;
  color: var(--soft);
  border-bottom: 1px solid var(--line);
}

.lt-row {
  display: grid;
  grid-template-columns: 1.5fr 70px 90px 90px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.lt-row:last-child {
  border-bottom: 0;
}

.lt-row b { display: block; font-size: 11px; }
.lt-row small { font-size: 9px; color: var(--soft); }

.ledger-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.ledger-stamp span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
}

.ledger-stamp small {
  font-size: 9px;
  color: var(--soft);
}

.ledger-export-actions {
  display: flex;
  gap: 8px;
}

.btn-pdf-preview, .btn-excel-preview {
  padding: 6px 12px;
  background: var(--dark);
  color: white;
  font-size: 10px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Section 10: Technical Section (Dark, No Screenshots) */
.flagship-tech-section {
  background: var(--dark);
  color: white;
}

.system-mechanisms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.mechanism-card {
  display: flex;
  gap: 20px;
  padding: 30px;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
}

.mech-icon-box {
  width: 48px;
  height: 48px;
  background: var(--dark-deep);
  border: 1px solid #364047;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.mech-label {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.mechanism-card h3 {
  font-size: 18px;
  color: white;
  margin-bottom: 8px;
}

.mechanism-card p {
  font-size: 14px;
  color: #9aa4ac;
  line-height: 1.6;
  margin: 0;
}

.tech-validation-note {
  margin-top: 36px;
  padding: 16px 20px;
  background: var(--dark-deep);
  border: 1px solid #2b3339;
  font-size: 13px;
  color: #8c979f;
}

.tech-validation-note span {
  color: var(--white);
  font-weight: 700;
  margin-right: 6px;
}

/* Section 11: Outcome */
.outcome-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.outcome-lead {
  font-size: 20px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 24px;
}

.outcome-core-quote {
  padding: 28px;
  background: var(--paper);
  border-left: 4px solid var(--red);
}

.outcome-core-quote p {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}

.outcome-summary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.os-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.os-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #16a34a;
  color: white;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.os-item strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.os-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Section 12: Role Cards */
.role-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.role-spec-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
}

.role-spec-card.full-width {
  grid-column: 1 / -1;
}

.spec-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.role-spec-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.role-spec-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Flagship Card for calismalar.html */
.flagship-case-banner {
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  margin-bottom: 28px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.flagship-case-banner:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.fcb-content {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fcb-content .eyebrow {
  font-size: 11px;
}

.fcb-content h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 8px 0 12px;
  color: var(--ink);
}

.fcb-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.fcb-visual {
  background: #F4F6F8;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.mac-safari-window {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.mac-window-body {
  flex-grow: 1;
  background: #ffffff;
  overflow: hidden;
  line-height: 0;
  min-height: 240px;
}

.mac-window-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.fcb-mini-deck {
  width: 100%;
  max-width: 320px;
}

/* Responsive adjustments for flagship case */
@media (max-width: 980px) {
  .flagship-hero-grid,
  .context-split-grid,
  .field-app-layout,
  .evidence-grid,
  .store-experience-grid,
  .commercial-grid,
  .outcome-layout,
  .flagship-case-banner {
    grid-template-columns: 1fr;
  }

  .orbit-nodes-grid,
  .journey-cards-grid,
  .system-mechanisms-grid,
  .role-cards-grid {
    grid-template-columns: 1fr;
  }

  .dash-panorama-body {
    grid-template-columns: 1fr;
  }

  .dash-side-nav {
    display: none;
  }

  .panorama-callouts-strip {
    grid-template-columns: 1fr;
  }

  .pt-head, .pt-row {
    grid-template-columns: 70px 80px 1fr 90px;
  }
  .pt-head span:nth-child(4), .pt-head span:nth-child(5), .pt-head span:nth-child(6),
  .pt-row span:nth-child(4), .pt-row span:nth-child(5), .pt-row span:nth-child(6) {
    display: none;
  }

  .store-visual-showcase {
    flex-direction: column;
    align-items: center;
  }

  .field-app-showcase {
    min-height: 520px;
  }

  .phone-crop-1 {
    top: 20px;
    left: 10px;
  }

  .phone-crop-2 {
    bottom: 20px;
    right: 10px;
  }
}

@media (max-width: 680px) {
  .fcb-content {
    padding: 28px 20px;
  }
  .dash-top-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .table-row-preview {
    grid-template-columns: 60px 1fr 80px;
  }
  .table-row-preview span:nth-child(3) {
    display: none;
  }
  .layer-mobile-store {
    display: none;
  }
  .layer-mobile-field {
    right: 10px;
    bottom: 10px;
    width: 180px;
  }
  .ambient-warehouse-grid {
    grid-template-columns: 1fr;
  }
  .store-resolution-flow {
    grid-template-columns: 1fr;
  }
  .evidence-callouts-grid {
    grid-template-columns: 1fr;
  }
  .op-meta-columns {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ODTÜ / INNOSI HORIZON EUROPE FLAGSHIP CASE STUDY STYLES
   ========================================================================== */

/* Hero Composition: 3 Screens (Admin Center + Applicant Form Left + Reviewer Right) */
.innosi-hero-deck {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
  border-radius: 6px;
  overflow: hidden;
  padding: 40px 20px 24px;
  cursor: pointer;
  transition: border-color .3s ease;
}

.innosi-hero-deck:hover {
  border-color: #4a5963;
}

.innosi-hero-deck:hover .layer-compass-applicant {
  transform: translate(-4px, -4px);
}

.innosi-hero-deck:hover .layer-compass-reviewer {
  transform: translate(4px, -4px);
}

.workflow-hero-bg-track {
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  color: #98A1A7;
  letter-spacing: .08em;
  z-index: 1;
  user-select: none;
}

.workflow-hero-bg-track i {
  font-style: normal;
  color: #55646e;
}

.compass-comp-layer {
  position: absolute;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease;
}

/* Layer 1: Center Admin Dashboard (Background Main) */
.layer-compass-admin {
  position: relative;
  width: 94%;
  margin: 0 auto;
  z-index: 2;
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
}

.layer-compass-admin .compass-screen-img-wrap {
  max-height: 380px;
}

/* Layer 2: Applicant Stepper (Left Front) */
.layer-compass-applicant {
  bottom: 18px;
  left: 20px;
  width: 45%;
  max-width: 390px;
  z-index: 6;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

.layer-compass-applicant .compass-screen-img-wrap {
  max-height: 220px;
}

/* Layer 3: Reviewer Evaluation (Right Front) */
.layer-compass-reviewer {
  bottom: 18px;
  right: 20px;
  width: 45%;
  max-width: 390px;
  z-index: 6;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

.layer-compass-reviewer .compass-screen-img-wrap {
  max-height: 220px;
}

/* ==========================================================================
   VERIFIED OPERATIONAL SCALE PROOF STRIP (HERO BOTTOM)
   ========================================================================== */

.case-proof-strip {
  margin-top: 40px;
  padding: 22px 28px 18px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-top: 3px solid var(--red);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.cps-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}

.cps-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0 12px;
}

.cps-item:not(:last-child) {
  border-right: 1px solid #e5e7eb;
}

.cps-num {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.cps-item:first-child .cps-num {
  color: var(--red);
}

.cps-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.cps-context {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.cps-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .case-proof-strip {
    padding: 18px 20px 16px;
  }
  .cps-items {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .cps-item {
    padding: 0;
  }
  .cps-item:not(:last-child) {
    border-right: none;
  }
}

@media (max-width: 600px) {
  .cps-items {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .cps-num {
    font-size: 26px;
  }
}

/* ==========================================================================
   HERO SINGLE-SHOT CAROUSEL (case detail pages — replaces overlapping deck)
   ========================================================================== */

.hero-case-slider {
  position: relative;
  background: #111518;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
  overflow: hidden;
}

.csf-viewport.hero-csf-viewport {
  height: auto;
  aspect-ratio: 16 / 10;
  min-height: 420px;
}

.hero-csf-viewport .csf-slide {
  flex-direction: column;
  align-items: stretch;
  background: #12161a;
}

.hero-csf-viewport .csf-slide img {
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: 100%;
}

.hero-csf-viewport .csf-slide img.img-contain {
  object-fit: contain;
  background: #12161a;
}

.csf-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: .04em;
  user-select: none;
  flex-shrink: 0;
}

.csf-slide-header .compass-window-dots span {
  background: #4A5660;
}

.csf-slide-header .compass-frame-title {
  color: #98A1A7;
}

.hero-track-static {
  position: static;
  margin-bottom: 12px;
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .csf-viewport.hero-csf-viewport {
    height: auto;
    min-height: 340px;
  }
}

@media (max-width: 600px) {
  .csf-viewport.hero-csf-viewport {
    height: auto;
    min-height: 260px;
  }
}

/* ==========================================================================
   COMPASS SCREENSHOT FRAME & LIGHT EDITORIAL SYSTEM
   ========================================================================== */

.compass-screen-frame {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.compass-screen-frame:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .09);
}

.compass-screen-frame::after {
  content: "↗ İncele";
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(-3px);
  transition: all .2s ease;
  z-index: 10;
  pointer-events: none;
}

.compass-screen-frame:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Dark Technical Frame for Katman B (Derin İnceleme) and Hero Admin */
.compass-screen-frame.dark-frame {
  background: var(--dark-2);
  border-color: var(--dark-line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}

.compass-screen-frame.dark-frame:hover {
  border-color: #4a5963;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
}

.compass-screen-frame.dark-frame::after {
  color: #ffffff;
  background: rgba(35, 43, 48, 0.95);
  border-color: #4a5963;
}

.compass-frame-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .04em;
  user-select: none;
}

.compass-screen-frame.dark-frame .compass-frame-header {
  background: var(--dark);
  border-bottom-color: var(--dark-line);
}

.compass-window-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.compass-window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.compass-screen-frame.dark-frame .compass-window-dots span {
  background: #4A5660;
}

.compass-frame-title {
  color: #475569;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
}

.compass-screen-frame.dark-frame .compass-frame-title {
  color: #98A1A7;
}

.compass-frame-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  color: #475569;
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: .05em;
  white-space: nowrap;
}

.compass-frame-badge.red {
  color: var(--red);
  background: rgba(198, 31, 50, 0.1);
}

.compass-frame-badge.blue {
  color: #0284c7;
  background: #e0f2fe;
}

.compass-frame-badge.green {
  color: #16a34a;
  background: #dcfce7;
}

.compass-screen-frame.dark-frame .compass-frame-badge {
  background: #2C353B;
  color: #98A1A7;
}

.compass-screen-frame.dark-frame .compass-frame-badge.red {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.compass-screen-frame.dark-frame .compass-frame-badge.blue {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

.compass-screen-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.compass-screen-frame.dark-frame .compass-screen-img-wrap {
  background: var(--dark-deep);
}

.compass-screen-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}

.compass-screen-frame:hover .compass-screen-img-wrap img {
  transform: scale(1.018);
}

.compass-frame-caption {
  padding: 8px 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.compass-screen-frame.dark-frame .compass-frame-caption {
  background: var(--dark);
  border-top-color: var(--dark-line);
  color: #98A1A7;
}

.compass-frame-caption strong {
  color: #1e293b;
  font-weight: 600;
}

.compass-screen-frame.dark-frame .compass-frame-caption strong {
  color: #e2e8f0;
}

/* Section 02: Context 3-Way Geometric Flow */
.innosi-user-roles-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.iur-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.iur-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  padding: 2px 6px;
  background: var(--paper);
}

.iur-item strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}

.iur-item p {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.innosi-system-schema-card {
  background: #fbfaf7;
  border: 1px solid #e5e0d5;
  padding: 24px 22px;
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.schema-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e0d5;
  margin-bottom: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .06em;
}

.schema-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .08em;
}

.schema-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.schema-ver {
  font-size: 9.5px;
  font-weight: 700;
  color: #7a7368;
  background: var(--paper);
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid #ded9cd;
}

.schema-tree-flow {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stf-node {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid #e5e0d5;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.stf-node:hover {
  border-color: #d1c8b8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.stf-node.is-management {
  border: 1px solid #e5e0d5;
  background: var(--white);
}

.stf-node.is-management .stf-label {
  color: #943843;
}

.stf-node.is-outcome {
  background: #faf8f5;
  border: 1px solid #ded7ca;
}

.stf-node.is-outcome .stf-label {
  color: #4a5d6e;
}

.stf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #f7f5ef;
  border: 1px solid #e3ded3;
  border-radius: 6px;
  color: var(--ink);
  flex-shrink: 0;
}

.stf-node.is-management .stf-icon {
  color: var(--ink);
  background: #f7f5ef;
  border-color: #e3ded3;
}

.stf-node.is-outcome .stf-icon {
  color: var(--ink);
  background: #f0ece3;
  border-color: #dcd6c9;
}

.stf-label {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: #8c8275;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.stf-content strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 1px 0 2px;
  letter-spacing: 0.01em;
}

.stf-content small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.stf-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 0;
}

.stf-line {
  width: 22px;
  height: 1px;
  background: #ded9cd;
}

.stf-diamond {
  color: #a89f91;
  font-size: 7px;
}

/* Section 03: Scope Roadmap */
.innosi-scope-roadmap {
  margin-top: 30px;
}

.roadmap-track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: 4px;
  color: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 24px;
}

.roadmap-track-header i {
  font-style: normal;
  color: var(--red);
}

/* Section 04: Workflow Lifecycle */
.innosi-workflow-lifecycle {
  margin-top: 30px;
}

.workflow-state-chips-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 28px;
  overflow-x: auto;
}

.wsc-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  background: var(--paper);
  color: var(--muted);
  white-space: nowrap;
}

.wsc-chip.is-active {
  background: var(--red);
  color: white;
  font-weight: 800;
}

.wsc-arrow {
  color: var(--line-strong);
  font-weight: 800;
}

.innosi-journey-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   COMPACT LIFECYCLE STRIP
   ========================================================================== */

.innosi-lifecycle-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 20px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  color: white;
  border-radius: 4px;
  margin-top: 28px;
  overflow-x: auto;
}

.ils-step {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ils-step span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
  background: rgba(198, 31, 50, 0.15);
  padding: 2px 6px;
  border-radius: 2px;
}

.ils-step strong {
  font-size: 12px;
  color: #e5eaee;
}

.ils-arrow {
  color: #55646e;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE PLATFORM TABS SHOWCASE
   ========================================================================== */

.compass-platform-showcase {
  margin-top: 10px;
}

.platform-tabs-header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
  overflow-x: auto;
}

.platform-tabs-nav {
  display: inline-flex;
  gap: 4px;
  background: #eef2f6;
  padding: 4px;
  border: 1px solid #dbe2ea;
  border-radius: 6px;
  overflow-x: auto;
}

.platform-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #556575;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.platform-tab-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}

.platform-tab-btn[aria-selected="true"] {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.platform-tab-btn .tab-num {
  font-size: 9px;
  color: #64748b;
  font-weight: 800;
}

.platform-tab-btn[aria-selected="true"] .tab-num {
  color: var(--red);
}

.platform-tab-panel {
  display: none;
  animation: fadeInPanel 0.25s ease-out;
}

.platform-tab-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-intro-block {
  margin-bottom: 20px;
}

.panel-intro-block .panel-badge {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.panel-intro-block h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 6px;
}

.panel-intro-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 840px;
  margin: 0;
}

/* Split Layout (e.g. Applicant 9-Step Main + Completion Status Supporting) */
.compass-showcase-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Dual Grid Layout (2 Equal Supporting Panels) */
.compass-showcase-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Single Full-Width Showcase Frame */
.compass-showcase-single {
  width: 100%;
  margin-bottom: 24px;
}

/* Katman B: Deep Dive Visual Proof Grid & Collapsible Gate */
.deep-dive-gate-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.deep-dive-gate-card:hover {
  border-color: #4a5963;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
}

.ddg-text .eyebrow {
  color: var(--red);
  margin-bottom: 6px;
}

.ddg-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.ddg-text p {
  font-size: 14px;
  color: #98A1A7;
  margin: 0;
  max-width: 600px;
}

.deep-dive-toggle-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 12px 22px;
}

.deep-dive-collapsible-body {
  margin-top: 24px;
  padding: 32px;
  background: var(--dark-deep);
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.deep-dive-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

/* ==========================================================================
   CASE STUDY SCREENSHOT LIGHTBOX MODAL
   ========================================================================== */

.case-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-lightbox-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.clb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 26, 30, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.clb-container {
  position: relative;
  z-index: 2;
  width: 94vw;
  max-width: 1420px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: clbScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes clbScaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.clb-image-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--dark-line);
  background: var(--dark-2);
}

.clb-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.clb-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dark-line);
  background: var(--dark);
  color: #ffffff;
  border-radius: 50%;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clb-close-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.clb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--dark-line);
  background: var(--dark);
  color: #ffffff;
  border-radius: 50%;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.clb-nav-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}

.clb-prev-btn {
  left: 16px;
}

.clb-next-btn {
  right: 16px;
}

.clb-footer-bar {
  margin-top: 12px;
  text-align: center;
  color: #e2e8f0;
  max-width: 820px;
}

.clb-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #98A1A7;
  margin-bottom: 4px;
}

.clb-counter {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 3px;
  color: #cbd5e1;
}

.clb-title {
  color: #ffffff;
  font-weight: 700;
}

.clb-caption {
  font-size: 13px;
  color: #98A1A7;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .clb-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .clb-prev-btn { left: 8px; }
  .clb-next-btn { right: 8px; }
  .clb-close-btn { top: -40px; right: 8px; }
}

.terminology-callout-box {
  padding: 18px;
  background: var(--white);
  border-left: 3px solid var(--red);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 20px 0;
}

.tcb-tag {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 4px;
}

.terminology-callout-box strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.terminology-callout-box p {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin: 0 !important;
}

.invite-lifecycle-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ils-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.ils-num {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: white;
  font-size: 10px;
  font-weight: 800;
}

.ils-item strong {
  display: block;
  font-size: 12px;
}

.ils-item small {
  font-size: 11px;
  color: var(--soft);
}

.invite-showcase-deck {
  background: var(--dark-deep);
  border: 1px solid #2f3841;
  padding: 24px;
}

.invite-mockup-card {
  background: #faf9f5;
  border: 2px solid var(--dark-deep);
  border-radius: 4px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .4);
}

.imc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--dark);
  color: white;
}

.imc-logo {
  font-size: 11px;
  font-weight: 700;
}

.imc-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  background: #22c55e;
  color: white;
  padding: 2px 6px;
}

.imc-body {
  padding: 18px;
}

.imc-sub {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 4px;
}

.imc-body h4 {
  font-size: 14px;
  margin: 0 0 8px;
}

.imc-body p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

.imc-matched-box {
  background: #ede9e0;
  border: 1px solid #ded9cd;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.imc-matched-box small {
  display: block;
  font-size: 7px;
  color: #7b8388;
}

.imc-matched-box strong {
  font-size: 11px;
}

.invite-matching-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
}

.imb-node {
  padding: 4px 8px;
  background: #252d34;
  color: #cfd7de;
}

.imb-node.active {
  background: #38bdf8;
  color: #0b1c26;
  font-weight: 800;
}

.imb-line {
  color: #64748b;
}

/* Section 08: Declaration & Scoring Grid */
.evaluation-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.eval-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eval-card-header {
  border-bottom: 1px solid #2e373f;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.ech-tag {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.eval-card-header h3 {
  font-size: 16px;
  color: white;
  margin: 0;
}

.declaration-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.dec-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--dark-deep);
  border: 1px solid #2c353d;
}

.dec-check {
  width: 18px;
  height: 18px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.dec-item strong {
  display: block;
  font-size: 12px;
  color: white;
}

.dec-item small {
  font-size: 10px;
  color: #8c979f;
}

.dec-status-banner {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: #4ade80;
  background: rgba(34, 197, 94, .12);
  padding: 8px;
  text-align: center;
}

.criteria-scoring-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cs-item {
  padding: 12px;
  background: var(--dark-deep);
  border: 1px solid #2c353d;
}

.cs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cs-head strong {
  font-size: 12px;
  color: white;
}

.cs-score {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
}

.cs-comment-mock {
  font-size: 11px;
  color: #8c979f;
  font-style: italic;
  padding-left: 8px;
  border-left: 2px solid #38bdf8;
}

.cs-total-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--dark-deep);
  border: 1px solid var(--dark-line);
}

.cs-total-strip small {
  display: block;
  font-size: 8px;
  color: #8c979f;
}

.cs-total-strip strong {
  font-size: 14px;
  color: #4ade80;
}

.cs-submit-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, .15);
  padding: 4px 8px;
}

/* Section 09: PDF Showcase */
.pdf-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 36px;
}

.pdf-doc-card {
  border: 1px solid var(--line-strong);
  background: #20262b;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .08);
}

.pdf-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: var(--dark-deep);
  color: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.pdf-type-tag {
  color: var(--red);
  font-weight: 800;
}

.pdf-paper-sheet {
  background: var(--white);
  padding: 24px;
  margin: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
}

.pdf-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.pdf-logos-placeholder strong {
  font-size: 13px;
}

.pdf-logos-placeholder small {
  display: block;
  font-size: 9px;
  color: var(--soft);
}

.pdf-doc-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--soft);
}

.pdf-doc-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 12px;
}

.pdf-field-block {
  margin-bottom: 10px;
}

.pdf-field-block small, .pdf-two-cols small, .pdf-section-preview small {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 700;
  color: var(--soft);
  margin-bottom: 2px;
}

.pdf-field-block p, .pdf-two-cols p {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.pdf-two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.pdf-mock-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.pdf-mock-lines div {
  height: 6px;
  background: #ede9e0;
}

.pdf-mock-lines div:nth-child(2) { width: 80%; }
.pdf-mock-lines div:nth-child(3) { width: 60%; }

.pdf-stamp-box {
  margin-top: 16px;
  padding: 10px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  text-align: center;
}

.pdf-stamp-box span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
}

.pdf-stamp-box small {
  font-size: 8px;
  color: var(--soft);
}

.pdf-stamp-box.green-stamp span {
  color: #16a34a;
}

.pdf-scores-table {
  border: 1px solid var(--line);
  margin: 10px 0;
  font-size: 10px;
}

.pst-row {
  display: grid;
  grid-template-columns: 1.5fr 60px 80px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
}

.pst-row.head {
  background: var(--paper);
  font-weight: 800;
  font-size: 8px;
  color: var(--soft);
}

.pst-row.total {
  background: var(--paper);
  font-weight: 800;
  border-bottom: 0;
}

/* Section 10: Analytics Dashboard */
.analytics-showcase-container {
  margin-top: 30px;
}

.analytics-master-dashboard {
  background: var(--dark-deep);
  border: 1px solid #2d363e;
  padding: 24px;
}

.amd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #29333b;
  margin-bottom: 20px;
}

.amd-title strong {
  display: block;
  font-size: 14px;
  color: white;
}

.amd-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  background: #38bdf8;
  color: #0b1c26;
  padding: 4px 8px;
}

.analytics-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.ak-item {
  background: #1f272e;
  border: 1px solid #333f4a;
  padding: 14px;
}

.ak-item small {
  display: block;
  font-size: 8px;
  color: #8c979f;
  letter-spacing: .04em;
}

.ak-item strong {
  display: block;
  font-size: 18px;
  color: white;
  margin: 4px 0 2px;
}

.ak-item span {
  font-size: 10px;
  color: #38bdf8;
}

.analytics-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.chart-box {
  background: #1b2126;
  border: 1px solid #2e3841;
  padding: 18px;
}

.cb-header {
  margin-bottom: 14px;
}

.cb-header strong {
  display: block;
  font-size: 13px;
  color: white;
}

.cb-header small {
  font-size: 10px;
  color: #8c979f;
}

.bar-chart-row {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 10px;
  color: #cfd7de;
}

.b-fill {
  height: 8px;
  background: var(--red);
  border-radius: 4px;
}

.radar-metric-row {
  margin-bottom: 12px;
}

.radar-metric-row div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #e5eaee;
  margin-bottom: 4px;
}

.line-progress {
  height: 6px;
  background: #2a343d;
  border-radius: 3px;
  overflow: hidden;
}

.line-progress div {
  height: 100%;
  background: #38bdf8;
}

/* Section 11: Real Impact Banner */
.real-impact-banner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
  margin-top: 36px;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 40px;
}

.rib-number-side {
  border-right: 2px solid var(--line);
  padding-right: 30px;
}

.big-counter {
  display: block;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}

.rib-number-side strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}

.rib-number-side p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.rib-calls-mini-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rcml-item {
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rcml-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .08em;
}

.rcml-item strong {
  font-size: 13px !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

.rcml-count {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #556575;
}

.rib-features-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rib-point {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.rib-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.rib-point strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}

.rib-point p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Section 12: Five Mechanisms Grid */
.five-mechanisms {
  grid-template-columns: repeat(2, 1fr);
}

/* Responsive Rules for ODTÜ / InnoSI Case */
@media (max-width: 980px) {
  .innosi-hero-deck {
    min-height: auto;
    padding: 40px 18px 22px;
  }
  .compass-showcase-split,
  .compass-showcase-grid-2,
  .deep-dive-visual-grid {
    grid-template-columns: 1fr;
  }
  .innosi-journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .evaluation-grid-layout,
  .pdf-showcase-grid,
  .analytics-charts-grid,
  .real-impact-banner {
    grid-template-columns: 1fr;
  }
  .rib-number-side {
    border-right: 0;
    border-bottom: 2px solid var(--line);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .analytics-kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .innosi-hero-deck {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 42px 14px 18px;
  }
  .layer-compass-admin {
    width: 100%;
    position: static;
  }
  .layer-compass-applicant,
  .layer-compass-reviewer {
    position: static;
    width: 100%;
    max-width: 100%;
    bottom: auto;
    left: auto;
    right: auto;
  }
  .layer-compass-admin .compass-screen-img-wrap {
    max-height: 260px;
  }
  .layer-compass-applicant .compass-screen-img-wrap,
  .layer-compass-reviewer .compass-screen-img-wrap {
    max-height: 200px;
  }
  .compass-frame-header {
    padding: 7px 10px;
    font-size: 9px;
  }
  .compass-frame-title {
    font-size: 9px;
  }
  .compass-frame-caption {
    padding: 8px 12px;
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .deep-dive-gate-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
  }
  .deep-dive-toggle-btn {
    width: 100%;
    justify-content: center;
  }
  .platform-tabs-header-bar {
    margin-bottom: 18px;
  }
  .platform-tab-btn {
    padding: 8px 12px;
    font-size: 10px;
  }
  .innosi-lifecycle-strip {
    padding: 12px 14px;
    gap: 6px;
  }
  .ils-step strong {
    font-size: 11px;
  }
}

/* ==========================================================================
   MANSA ÜRÜNÜ · STOK & SİPARİŞ YÖNETİMİ FLAGSHIP CASE STUDY STYLES
   ========================================================================== */

/* Hero: Desktop-Only Product Control Center */
.inventory-hero-deck {
  position: relative;
  width: 100%;
  height: 520px;
  background: #11171c;
  border: 1px solid #28333c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.inv-trend-bg-graph {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  pointer-events: none;
  z-index: 1;
}

.inv-trend-bg-graph svg {
  width: 100%;
  height: 100%;
}

.inv-comp-layer {
  position: absolute;
  transition: transform .3s ease;
}

/* Layer 1: Background Main Dashboard */
.layer-inv-dashboard {
  top: 30px;
  left: 30px;
  right: 30px;
  background: var(--dark-deep);
  border: 1px solid #33404b;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  z-index: 2;
}

.inv-stats-strip {
  background: #151c22;
}

/* Layer 2: Purchase Order Card (Left Front) */
.layer-inv-order-card {
  bottom: 24px;
  left: 24px;
  width: 260px;
  background: #faf9f5;
  border: 2px solid #141a20;
  border-radius: 6px;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .6);
  z-index: 5;
}

.inv-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ded8cc;
}

.inv-card-head strong {
  font-size: 11px;
  color: var(--ink);
}

.inv-order-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 9px;
}

.iod-row {
  display: flex;
  justify-content: space-between;
  color: #555f68;
}

.iod-row b {
  color: var(--ink);
}

.inv-stage-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.inv-stage-steps span {
  text-align: center;
  font-size: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  padding: 2px 0;
  background: #e2ded6;
  color: #7b8388;
}

.inv-stage-steps span.done {
  background: #22c55e;
  color: white;
}

.inv-stage-steps span.current {
  background: #f59e0b;
  color: white;
}

/* Layer 3: Critical Alert Widget (Right Front) */
.layer-inv-alert-card {
  bottom: 24px;
  right: 24px;
  width: 250px;
  background: #171d22;
  border: 1px solid #ef4444;
  border-radius: 6px;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .6);
  z-index: 5;
}

.alert-head-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.alert-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .3);
  animation: pulse-dot-anim 1.8s infinite ease-in-out;
}

.alert-head-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: .06em;
}

.alert-body-content p {
  font-size: 10px;
  color: #cfd7de;
  margin: 0 0 8px;
  line-height: 1.4;
}

.alert-body-content strong {
  color: white;
}

.alert-action-pill {
  font-size: 8px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, .15);
  padding: 4px;
  text-align: center;
  border-radius: 3px;
}

/* Section 02: Problem Questions & Before/After */
.problem-questions-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.pq-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
}

.pq-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--paper);
  color: var(--red);
  font-weight: 800;
  font-size: 11px;
}

.comparison-schema-card {
  background: #171d22;
  border: 1px solid var(--line-strong);
  padding: 24px;
  color: white;
}

.schema-phase-box {
  padding: 16px;
  border: 1px solid #2d3842;
  background: #1f272e;
}

.spb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.spb-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 6px;
}

.spb-tag.red {
  background: rgba(239, 68, 68, .2);
  color: #f87171;
}

.spb-tag.green {
  background: rgba(34, 197, 94, .2);
  color: #4ade80;
}

.spb-head strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .06em;
}

.spb-scattered-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.scatter-cell {
  background: #171d22;
  border: 1px dashed #3a4754;
  padding: 8px;
  font-size: 10px;
  color: #8c979f;
  text-align: center;
}

.scatter-unknown {
  background: #281a1c;
  color: #f87171;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  padding: 6px;
}

.schema-transition-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: #0284c7;
}

.schema-transition-divider i {
  font-style: normal;
}

.after-connected-tree {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.act-core-node {
  background: #0284c7;
  color: white;
  text-align: center;
  padding: 8px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
}

.act-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.act-branch-item {
  background: #171d22;
  border: 1px solid #2d3842;
  padding: 8px 6px;
  text-align: center;
}

.act-branch-item strong {
  display: block;
  font-size: 10px;
  color: white;
}

.act-branch-item small {
  font-size: 8px;
  color: #8c979f;
}

.act-bottom-alert {
  background: #0f2c3b;
  border: 1px solid #0284c7;
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  padding: 6px;
}

/* Section 03: Movement Ledger */
.ledger-feature-layout {
  align-items: flex-start;
}

.movement-attributes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.ma-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
}

.ma-icon {
  color: #0284c7;
  font-size: 8px;
  margin-top: 3px;
}

.ma-item strong {
  color: var(--ink);
}

.ma-item span {
  color: var(--muted);
}

.movement-ledger-showcase {
  background: #171d22;
  border: 1px solid #2f3a44;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .2);
}

.ledger-feed-card {
  padding: 20px;
}

.lfc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 2px solid #2d3842;
  margin-bottom: 16px;
}

.lfc-head small {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  color: #0284c7;
  font-weight: 800;
}

.lfc-head strong {
  font-size: 13px;
  color: white;
}

.lfc-balance {
  text-align: right;
}

.lfc-balance small {
  color: #8c979f;
}

.lfc-balance strong {
  font-size: 18px;
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.lfc-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.lfc-row {
  display: grid;
  grid-template-columns: 80px 1fr 50px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #1f272e;
  border: 1px solid #2b3640;
}

.lfc-qty {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
}

.lfc-row.positive .lfc-qty { color: #4ade80; }
.lfc-row.negative .lfc-qty { color: #38bdf8; }
.lfc-row.warning .lfc-qty { color: #f87171; }
.lfc-row.adjustment .lfc-qty { color: #fbbf24; }

.lfc-desc strong {
  display: block;
  font-size: 11px;
  color: white;
}

.lfc-desc small {
  font-size: 9px;
  color: #8c979f;
}

.lfc-time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  color: #64748b;
  text-align: right;
}

.lfc-foot {
  padding-top: 12px;
  border-top: 1px solid #28333c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: #8c979f;
}

.lfc-foot span {
  color: #0284c7;
  font-weight: 800;
}

.lfc-foot strong {
  color: #38bdf8;
}

/* Section 04: Order Lifecycle */
.order-lifecycle-container {
  margin-top: 30px;
}

.order-stages-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 28px;
  overflow-x: auto;
}

.os-stage-step {
  text-align: center;
  padding: 8px 12px;
}

.os-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--paper);
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 4px;
}

.os-stage-step strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
}

.os-stage-step small {
  font-size: 10px;
  color: var(--muted);
}

.os-stage-step.is-complete .os-num {
  background: #22c55e;
  color: white;
}

.os-stage-step.is-active {
  background: #fef3c7;
  border: 1px solid #f59e0b;
}

.os-stage-step.is-active .os-num {
  background: #f59e0b;
  color: white;
}

.os-sep {
  color: var(--line-strong);
  font-weight: 800;
}

.po-master-detail-card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .06);
}

.pom-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--dark);
  color: white;
}

.pom-title small {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  color: #38bdf8;
  font-weight: 800;
}

.pom-title strong {
  font-size: 14px;
}

.pom-body {
  padding: 20px;
}

.pom-meta-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  font-size: 11px;
}

.pom-meta-cols span {
  display: block;
  font-size: 9px;
  color: var(--soft);
}

.pom-items-table {
  border: 1px solid var(--line);
  margin-bottom: 16px;
  font-size: 11px;
}

.pit-head {
  display: grid;
  grid-template-columns: 1.5fr 80px 90px 90px;
  padding: 8px 12px;
  background: var(--paper);
  font-weight: 800;
  font-size: 9px;
  color: var(--soft);
  border-bottom: 1px solid var(--line);
}

.pit-row {
  display: grid;
  grid-template-columns: 1.5fr 80px 90px 90px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.pit-row:last-child {
  border-bottom: 0;
}

.pit-row b { display: block; font-size: 11px; }
.pit-row small { font-size: 8px; color: var(--soft); }

.pom-foot-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.pfs-note {
  font-size: 11px;
  color: var(--muted);
}

.pfs-note span {
  color: #0284c7;
  font-weight: 800;
}

.pfs-total {
  text-align: right;
}

.pfs-total small {
  display: block;
  font-size: 8px;
  color: var(--soft);
}

.pfs-total strong {
  font-size: 16px;
  color: var(--ink);
}

/* Section 05: Approval Gate Flow */
.approval-gate-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.ag-node {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
}

.ag-node.is-approved {
  border: 1px solid var(--dark-line);
}

.ag-node.is-execution {
  border: 1px solid var(--dark-line);
}

.ag-icon {
  font-size: 20px;
}

.ag-tag {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  color: var(--dark-muted);
}

.ag-content strong {
  display: block;
  font-size: 13px;
  color: white;
  margin: 2px 0;
}

.ag-content small {
  font-size: 11px;
  color: #8c979f;
}

.ag-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ag-line {
  flex: 1;
  height: 1px;
  background: #2d3842;
}

.ag-gate-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  color: #f59e0b;
  background: #262017;
  border: 1px solid #5c4314;
  padding: 4px 10px;
}

/* Section 06: Stock Count Grid */
.stock-count-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.count-ui-card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.cuc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.cuc-head small {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  color: var(--soft);
  font-weight: 800;
}

.cuc-head strong {
  font-size: 12px;
}

.cuc-body {
  padding: 18px;
}

.count-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.count-item-row:last-child {
  border-bottom: 0;
}

.count-item-row.is-variance {
  background: #fffbeb;
  border-left: 2px solid #f59e0b;
}

.count-item-row b { display: block; font-size: 11px; }
.count-item-row small { font-size: 8px; color: var(--soft); }

.count-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.count-input-box {
  background: white;
  border: 1px solid var(--line-strong);
  padding: 4px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  font-size: 11px;
}

.count-input-box.variance {
  border-color: #ef4444;
  color: #ef4444;
}

.variance-summary-box {
  display: flex;
  justify-content: space-between;
  background: var(--paper);
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 11px;
}

.variance-reason-form label {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  color: var(--soft);
  margin-bottom: 4px;
}

.textarea-mock {
  background: white;
  border: 1px solid #dedbd4;
  padding: 8px;
  font-size: 10px;
  color: var(--ink);
  margin: 6px 0 10px;
}

/* Section 07: Critical Alerts Deck */
.critical-alerts-deck {
  margin-top: 30px;
}

.status-threshold-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.st-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.st-card.is-normal { border-top: 3px solid #22c55e; }
.st-card.is-low { border-top: 3px solid #f59e0b; }
.st-card.is-critical { border-top: 3px solid #ef4444; background: #fff5f5; }

.stc-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}

.is-normal .stc-badge { color: #16a34a; }
.is-low .stc-badge { color: #d97706; }
.is-critical .stc-badge { color: #dc2626; }

.stc-val {
  font-size: 26px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-bottom: 4px;
}

.st-card strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.st-card small {
  font-size: 10px;
  color: var(--muted);
}

.alert-action-trigger-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--dark);
  color: white;
}

.aat-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.aat-icon {
  font-size: 20px;
  color: #fbbf24;
}

.aat-left strong {
  display: block;
  font-size: 13px;
}

.aat-left p {
  font-size: 11px;
  color: #8c979f;
  margin: 0;
}

.aat-btn {
  background: #0284c7;
  color: white;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}

/* Section 08: Supplier History */
.supplier-history-card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  margin-top: 30px;
}

.shc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.shc-avatar {
  font-size: 24px;
}

.shc-profile strong {
  display: block;
  font-size: 13px;
}

.shc-profile small {
  font-size: 10px;
  color: var(--soft);
}

.shc-stats {
  display: flex;
  gap: 20px;
  font-size: 11px;
}

.shc-stats span {
  display: block;
  font-size: 8px;
  color: var(--soft);
}

.shc-table {
  font-size: 11px;
}

.st-head {
  display: grid;
  grid-template-columns: 110px 90px 1.4fr 120px 100px;
  padding: 8px 16px;
  background: #f9f8f5;
  font-weight: 800;
  font-size: 9px;
  color: var(--soft);
  border-bottom: 1px solid var(--line);
}

.st-row {
  display: grid;
  grid-template-columns: 110px 90px 1.4fr 120px 100px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}

.st-row:last-child {
  border-bottom: 0;
}

.text-green { color: #16a34a; font-weight: 700; }
.text-neutral { color: var(--muted); }

/* Section 09: Multi Tenant Grid */
.multi-tenant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.mt-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.mt-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  color: #0284c7;
  display: block;
  margin-bottom: 8px;
}

.mt-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.mt-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Section 12: Target Audiences */
.target-audiences-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.ta-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.ta-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  color: #0284c7;
  display: block;
  margin-bottom: 8px;
}

.ta-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.ta-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Section 13: Transformation Pillars */
.transformation-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.tp-item {
  padding: 24px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.tp-label {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  background: var(--dark);
  color: white;
  margin-bottom: 12px;
}

.tp-item p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

.tp-item strong {
  color: var(--ink);
}

/* Responsive adjustments for Inventory Case */
@media (max-width: 980px) {
  .status-threshold-cards,
  .multi-tenant-grid,
  .transformation-pillars-grid,
  .stock-count-grid,
  .target-audiences-grid {
    grid-template-columns: 1fr;
  }

  .st-head, .st-row {
    grid-template-columns: 90px 1fr 90px;
  }
  .st-head span:nth-child(2), .st-head span:nth-child(4),
  .st-row span:nth-child(2), .st-row span:nth-child(4) {
    display: none;
  }

  .pom-meta-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .layer-inv-order-card, .layer-inv-alert-card {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 10px;
  }
  .inventory-hero-deck {
    height: auto;
    padding: 16px;
  }
  .layer-inv-dashboard {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
  }
  .alert-action-trigger-box {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   CASE ASSET PLACEHOLDER & DEEP-DIVE EXPANDABLE STYLES
   ========================================================================== */

/* Technical Case Asset Placeholder */
.case-asset-placeholder {
  position: relative;
  background: var(--dark-deep);
  border: 1px solid #2d3842;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.case-asset-placeholder.light-surface {
  background: #f4f0e6;
  border-color: #ded6c5;
  color: var(--ink);
}

.case-asset-placeholder.compact-crop {
  min-height: 180px;
}

.cap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #0f1316;
  border-bottom: 1px solid #242e37;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .06em;
}

.light-surface .cap-header {
  background: #eae3d2;
  border-bottom-color: #ded6c5;
}

.cap-badge {
  color: var(--red);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cap-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.cap-id {
  color: #8c979f;
  font-weight: 700;
}

.light-surface .cap-id {
  color: #706757;
}

.cap-body {
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 140px;
}

.cap-grid-crosshair {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.light-surface .cap-grid-crosshair {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

.cap-meta-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(15, 19, 22, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid #28343e;
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 11px;
}

.light-surface .cap-meta-list {
  background: rgba(255, 255, 255, 0.88);
  border-color: #d6ccb8;
}

.cap-meta-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.cap-meta-list span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  color: #8c979f;
  text-transform: uppercase;
  min-width: 90px;
}

.light-surface .cap-meta-list span {
  color: #7e7464;
}

.cap-meta-list strong {
  font-size: 12px;
  color: #e5eaee;
  font-weight: 600;
}

.light-surface .cap-meta-list strong {
  color: var(--ink);
}

.cap-target-file {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #2d3a46;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: #38bdf8;
}

.light-surface .cap-target-file {
  border-top-color: #d6ccb8;
  color: #0284c7;
}

/* Deep-Dive Expandable Architecture */
.deep-dive-section {
  background: transparent;
  color: var(--ink);
  padding: 40px 0 70px;
}

.deep-dive-head {
  margin-bottom: 40px;
}

.deep-dive-head .eyebrow {
  color: var(--red);
}

.deep-dive-head h2 {
  color: white;
  margin: 6px 0 14px;
}

.deep-dive-head .section-intro {
  color: #98A1A7;
}

.deep-dive-accordions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deep-dive-item {
  background: var(--dark);
  border: 1px solid var(--dark-line);
  transition: border-color .2s ease;
}

.deep-dive-item[open] {
  border-color: #4a5963;
}

.dd-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  color: white;
}

.dd-summary::-webkit-details-marker {
  display: none;
}

.dd-summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

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

.dd-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
  background: rgba(198, 31, 50, 0.15);
  padding: 3px 8px;
}

.dd-icon {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 20px;
  font-weight: 700;
  color: #98A1A7;
  transition: transform .25s ease, color .25s ease;
}

.deep-dive-item[open] .dd-icon {
  transform: rotate(45deg);
  color: var(--red);
}

.dd-content {
  padding: 0 28px 28px;
  border-top: 1px solid var(--dark-line);
  padding-top: 24px;
}

.dd-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dd-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  padding: 20px;
}

.dd-card strong {
  display: block;
  font-size: 14px;
  color: white;
  margin-bottom: 6px;
}

.dd-card p {
  font-size: 13px;
  color: #98A1A7;
  margin: 0;
  line-height: 1.5;
}

.dd-note-box {
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-left: 3px solid var(--red);
  padding: 14px 18px;
  font-size: 13px;
  color: #98A1A7;
  margin-top: 20px;
  line-height: 1.5;
}

.dd-note-box span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  color: var(--red);
  margin-right: 6px;
}

@media (max-width: 980px) {
  .dd-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* =======================================================================
   HOME SERVICES OVERVIEW GRID (YENİ TEMİZ HİZMET BLOĞU)
   ======================================================================= */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card-clean {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid #e5e7eb;
  padding: 34px 30px;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 20px -2px rgba(21, 25, 29, 0.02), 0 0 0 1px rgba(21, 25, 29, 0.04);
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-clean:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  border-top-color: var(--red);
  box-shadow: 0 24px 48px -12px rgba(21, 25, 29, 0.08), 0 0 0 1px rgba(21, 25, 29, 0.02);
}

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

.scc-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -.02em;
  transition: color .3s ease;
}

.service-card-clean:hover .scc-num {
  color: var(--red);
}

.scc-badge {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 750;
  color: var(--red);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  padding: 0;
  transition: color .3s ease;
}

.service-card-clean:hover .scc-badge {
  color: var(--red-dark);
}

.service-card-clean h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 12px;
  min-height: 50px;
}

.service-card-clean p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 24px;
  flex-grow: 1;
}

.scc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scc-features li {
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.scc-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  transform: rotate(45deg);
  display: inline-flex;
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), background-color .3s ease;
}

.service-card-clean:hover .scc-features li::before {
  transform: rotate(225deg) scale(1.2);
  background: var(--red-dark);
}

.scc-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .3s ease;
  margin-top: auto;
  padding-top: 8px;
}

.scc-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
}

.scc-link .arr {
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.service-card-clean:hover .scc-link {
  color: var(--red);
}

.service-card-clean:hover .scc-link .arr {
  transform: translateX(6px);
  color: var(--red);
}

@media (max-width: 1100px) {
  .services-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-overview-grid {
    grid-template-columns: 1fr;
  }
  .service-card-clean h3 {
    min-height: auto;
  }
}

/* =======================================================================
   HOME DUAL FLAGSHIP SHOWCASE WITH MINI SLIDERS (2 AYRI VAKA KARTI)
   ======================================================================= */
.home-dual-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
}

.dual-case-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}

.dual-case-card:hover {
  transform: translateY(-4px);
  border-color: var(--dark-line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.card-slider-frame {
  background: #111518;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.mac-safari-bar {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  background: #e8ebef;
  border-bottom: 1px solid #d2d6de;
  gap: 12px;
}

.mac-traffic-lights {
  display: flex;
  gap: 7px;
  align-items: center;
  width: 54px;
}

.mac-traffic-lights span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.mac-traffic-lights .t-red {
  background: #ff5f56;
  border: 1px solid #e0443e;
}

.mac-traffic-lights .t-yellow {
  background: #ffbd2e;
  border: 1px solid #dea123;
}

.mac-traffic-lights .t-green {
  background: #27c93f;
  border: 1px solid #1aab29;
}

.mac-url-pill {
  flex-grow: 1;
  max-width: 140px;
  height: 16px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #cbd1db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.mac-url-lock {
  width: 9px;
  height: 9px;
  opacity: .35;
}

.mac-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8.5px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: .02em;
  width: 54px;
  text-align: right;
  box-sizing: border-box;
}

.csf-viewport {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #0f1316;
}

.csf-track {
  display: flex;
  height: 100%;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.csf-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12161a;
  overflow: hidden;
}

.csf-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  cursor: zoom-in;
  transition: opacity .2s ease;
}

.csf-slide img:hover {
  opacity: .93;
}

.csf-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(17, 22, 26, 0.92) 0%, rgba(17, 22, 26, 0.4) 70%, transparent 100%);
  padding: 12px 14px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #e5eaee;
  letter-spacing: .02em;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.csf-nav-btn {
  position: absolute;
  top: calc(50% - 16px);
  width: 32px;
  height: 32px;
  background: rgba(27, 33, 37, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all .2s ease;
  font-size: 13px;
  opacity: 0.7;
}

.csf-nav-btn:hover {
  background: var(--red);
  border-color: var(--red);
  opacity: 1;
  transform: scale(1.08);
}

.csf-prev { left: 10px; }
.csf-next { right: 10px; }

.csf-dots-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.csf-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .2s ease;
}

/* Parmakla dokunma alanını görseli büyütmeden genişletir (min. ~24px hedef) */
.csf-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
}

.csf-dot.is-active {
  background: var(--red);
  transform: scale(1.3);
}

.dual-card-body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dcb-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .08em;
  margin-bottom: 8px;
  display: block;
}

.dual-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 10px;
}

.dual-card-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

.dcb-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, #fcfdfe 0%, #f4f6f9 100%);
  border: 1px solid #e2e8f0;
  border-top: 2.5px solid var(--red);
  border-radius: 8px;
  padding: 13px 10px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dcb-metric-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 10px;
  min-width: 0;
}

.dcb-metric-item:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.dcb-metric-item:first-child {
  padding-left: 6px;
}

.dcb-metric-item:last-child {
  padding-right: 6px;
}

.dcb-num {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  color: #090d16;
  letter-spacing: -0.035em;
  display: block;
}

.dcb-metric-item:first-child .dcb-num {
  color: var(--red);
}

.dcb-lbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: #526071;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}

@media (max-width: 540px) {
  .dcb-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 0;
    padding: 12px 14px;
  }
  .dcb-metric-item:nth-child(2) {
    border-right: none;
  }
  .dcb-metric-item:nth-child(3) {
    padding-left: 6px;
  }
  .dcb-metric-item:nth-child(1),
  .dcb-metric-item:nth-child(2) {
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
  }
}

.dcb-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  transition: transform .2s ease;
}

.dcb-link:hover {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .home-dual-showcase {
    grid-template-columns: 1fr;
  }
}

.case-privacy-note {
  font-size: 11.5px;
  color: var(--soft);
  line-height: 1.5;
  margin: 16px 0 0;
  letter-spacing: .01em;
}

.case-privacy-note.center {
  text-align: center;
}




/* ═══════════════════════════════════════════════════════════════════════════
   KULLANICI DÖNÜTLERİ — 2026-08-20
   1) Buton köşeleri: 8px yumuşatma
   4) Vitrin ekranı kromu: koyu Safari çubuğu (köşeler keskin kalır)
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1 — Buton köşeleri */
.btn {
  border-radius: 8px;
}

.btn.small {
  border-radius: 7px;
}

/* 4 — Ana sayfa vitrin kartları: koyu tarayıcı çubuğu */
.mac-safari-bar {
  background: linear-gradient(180deg, #23262b, #191c20);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mac-url-pill {
  background: #0e1013;
  border: 1px solid rgba(255, 255, 255, .12);
}

.mac-url-pill svg {
  fill: #9aa3a9;
}

.mac-badge {
  color: #34d058;
  background: rgba(46, 204, 64, .08);
  border: 1px solid rgba(46, 204, 64, .35);
}

/* ═══════════════════════════════════════════════════════════════════════════
   KULLANICI ONAYI — T1: kart hover mikro-yükselme (beta'dan onaylandı)
   ═══════════════════════════════════════════════════════════════════════════ */

.service-card-clean,
.service-surface-card,
.when-card,
.founder-card,
.logic-card,
.output-card,
.ta-card,
.pq-item,
.tp-item,
.dd-card,
.flagship-case-banner,
.innosi-case-banner,
.nda-case-banner,
.life-step,
.logo-slot,
.stf-node,
.contact-step {
  transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
}

.service-card-clean:hover,
.service-surface-card:hover,
.when-card:hover,
.founder-card:hover,
.logic-card:hover,
.output-card:hover,
.ta-card:hover,
.pq-item:hover,
.tp-item:hover,
.dd-card:hover,
.flagship-case-banner:hover,
.innosi-case-banner:hover,
.nda-case-banner:hover,
.life-step:hover,
.logo-slot:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 1px 2px rgba(23, 27, 32, .05), 0 12px 28px -14px rgba(23, 27, 32, .16);
}

.life-step::before {
  transition: color .25s ease;
}

.life-step:hover::before { color: var(--red); }

.logo-slot img { filter: grayscale(.25); }
.logo-slot:hover img { filter: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   KULLANICI ONAYI — T2–T7 (beta'dan 3000'e taşındı) + T8 özel select
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── T2 · Bölüm belirme koreografisi (ölçülü) ────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {

  html.motion-ready [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
  }

  html.motion-ready [data-reveal] {
    transition: opacity .65s var(--ease), transform .65s var(--ease);
  }

  html.motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  .services-overview-grid.is-visible > *,
  .service-surface-grid.is-visible > *,
  .architecture.is-visible > *,
  .logo-rail.is-visible > *,
  .lifecycle.is-visible > *,
  .faq-list.is-visible > *,
  .output-grid.is-visible > *,
  .when-grid.is-visible > *,
  .belief-grid.is-visible > *,
  .trust-grid.is-visible > *,
  .direction-grid.is-visible > *,
  .group-branch-grid.is-visible > *,
  .target-audiences-grid.is-visible > *,
  .transformation-pillars-grid.is-visible > *,
  .stock-count-grid.is-visible > *,
  .case-grid.is-visible > *,
  .capability-grid.is-visible > *,
  .proof-grid.is-visible > *,
  .role-list.is-visible > *,
  .home-dual-showcase.is-visible > * {
    animation: beta-rise .6s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 65ms);
  }

  @keyframes beta-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (scripting: none) {
  html.motion-ready [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}

/* ── T3 · Form odak halkası ve giriş incelikleri ─────────────────────────── */

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198, 31, 50, .09);
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-2); }

/* ── T4 · "Dijital ihtiyaç" bandına görsel ağırlık ───────────────────────── */

.services-alternative-cta {
  padding: 34px 40px;
  border-left-width: 5px;
  box-shadow: 0 1px 2px rgba(23, 27, 32, .04), 0 10px 26px -14px rgba(23, 27, 32, .14);
}

.services-alternative-cta-text h4 {
  font-size: 1.3rem;
  letter-spacing: -.015em;
}

.services-alternative-cta-text p {
  font-size: 15.5px;
  max-width: 640px;
}

.services-alternative-cta-btn {
  padding: 14px 26px;
}

/* ── T5 · Vaka ekran görsellerinde hafif yakınlık ────────────────────────── */

.csf-slide img {
  transition: transform .6s var(--ease);
}

.csf-slide:hover img { transform: scale(1.015); }

/* ── T6 · Okuma çubuğunun görünürlüğü ────────────────────────────────────── */

.reading-progress { height: 3px; }
.reading-progress b { box-shadow: 0 1px 4px rgba(198, 31, 50, .4); }

/* ── T7 · SSS kartlarında ince hover ─────────────────────────────────────── */

.faq-item {
  transition: border-color .25s ease, background .25s ease;
}

.faq-item:hover { border-color: var(--line-strong); }

/* ── T8 · İletişim formunda özel select bileşeni ─────────────────────────── */

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235e6870' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  transition: border-color .2s ease, box-shadow .2s ease, background-image 0s ease;
}

.field select:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2330373d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c61f32' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.field select:invalid {
  color: var(--muted);
}

.field select option {
  color: var(--ink);
  background: #fff;
}

/* ==========================================================================
   Vaka sayfası sistem kartları (vaka-stok-isletme inline stillerden taşındı)
   ========================================================================== */
.vka-role-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vka-role-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.vka-role-card .iur-badge {
  background: var(--red);
  color: #fff;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.vka-role-card.vka-dark .iur-badge { background: var(--dark); }
.vka-role-card.vka-gray .iur-badge { background: #4b5563; }

.vka-role-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--ink);
}

.vka-role-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.vka-schema-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.vka-schema-node {
  width: 100%;
  text-align: center;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.vka-schema-node strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: .03em;
}

.vka-schema-node span {
  font-size: 11px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.vka-schema-arrow {
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.vka-callout {
  margin-top: 28px;
  padding: 20px;
  background: #faf9f5;
  border-left: 3px solid var(--red);
  border-radius: 0 4px 4px 0;
}

.vka-callout strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ink);
}

.vka-callout p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   İletişim: e-posta satırı (yapılandırma dolunca JS ile doldurulur)
   ========================================================================== */
.contact-email-line {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.contact-email-line strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-email-line a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

.contact-email-line a:hover {
  color: var(--red);
}

/* ==========================================================================
   İletişim Formu: Frosted Glass Yükleme & Başarı Durumu (Overlay)
   ========================================================================== */
.contact-form {
  position: relative;
  overflow: hidden;
}

.form-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-overlay.is-active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.form-overlay.is-fading-out {
  opacity: 0 !important;
  pointer-events: none;
  backdrop-filter: blur(0px) !important;
  -webkit-backdrop-filter: blur(0px) !important;
}

.form-overlay-card {
  max-width: 440px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: formCardPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes formCardPop {
  0% { transform: scale(0.92) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.form-overlay-icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.form-overlay-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  animation: mansaPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 14px rgba(200, 24, 42, 0.3));
}

@keyframes mansaPulse {
  0% { transform: scale(0.94); opacity: 0.85; filter: drop-shadow(0 2px 8px rgba(200, 24, 42, 0.2)); }
  50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 8px 22px rgba(200, 24, 42, 0.5)); }
  100% { transform: scale(0.94); opacity: 0.85; filter: drop-shadow(0 2px 8px rgba(200, 24, 42, 0.2)); }
}

.form-overlay-check {
  display: none;
  width: 38px;
  height: 38px;
  color: #16a34a;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: checkmarkDraw 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes checkmarkDraw {
  to { stroke-dashoffset: 0; }
}

/* Başarı Durumu */
.form-overlay.is-success .form-overlay-icon {
  background: #f0fdf4;
  border: 2px solid #86efac;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.18);
}

.form-overlay.is-success .form-overlay-logo {
  display: none;
}

.form-overlay.is-success .form-overlay-check {
  display: block;
}

/* Hata Durumu */
.form-overlay.is-error .form-overlay-icon {
  background: #fef2f2;
  border: 2px solid #fca5a5;
}

.form-overlay-title {
  font-size: 21px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.form-overlay-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE QA CONSOLIDATION — 2026-09-01
   Ortak viewport, navigasyon, dokunma hedefi ve dar ekran iyileştirmeleri.
   ========================================================================== */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  min-height: 100svh;
}

main,
section,
.wrap,
.nav-shell,
.footer-grid,
.flagship-hero-grid {
  min-width: 0;
}

a,
button,
summary,
input,
select,
textarea {
  touch-action: manipulation;
}

section[id] {
  scroll-margin-top: 104px;
}

.mobile-nav-cta {
  display: none;
}

.brand {
  min-height: 44px;
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .mobile-menu {
    grid-column: 2;
  }

  .nav-cta {
    grid-column: 3;
  }

  .site-nav {
    inset: 100% 0 auto;
    left: auto;
    width: min(100vw, 420px);
    justify-self: auto;
    max-height: calc(100vh - 84px);
    max-height: calc(100svh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 22px max(24px, calc((100vw - var(--wrap)) / 2)) 30px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, .2), 0 100vh 0 100vh rgba(11, 12, 12, .42);
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .site-nav .mobile-nav-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header.is-scrolled .nav-shell,
  .nav-shell {
    min-height: 72px;
  }

  .brand-logo,
  .site-header.is-scrolled .brand-logo {
    height: 34px;
  }

  .mobile-menu {
    grid-column: 3;
  }

  .site-nav {
    width: 100vw;
    max-height: calc(100vh - 72px);
    max-height: calc(100svh - 72px);
    padding: 18px max(16px, env(safe-area-inset-left)) calc(22px + env(safe-area-inset-bottom));
  }

  .site-nav .mobile-nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 14px;
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
  }

  .section {
    padding: clamp(64px, 10vw, 76px) 0;
  }

  .section.compact {
    padding: clamp(50px, 8vw, 58px) 0;
  }

  .section-head {
    margin-bottom: clamp(30px, 7vw, 38px);
  }

  .section-intro,
  .lede {
    max-width: 42rem;
    font-size: clamp(1rem, 4.2vw, 1.15rem);
    line-height: 1.62;
  }

  .hero-layout {
    padding: clamp(52px, 12vw, 70px) 0 clamp(64px, 14vw, 82px);
  }

  .flagship-hero-section {
    padding-top: 40px;
    padding-bottom: 58px;
  }

  .footer-col a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .contact-email-line a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-grid {
    gap: 28px;
  }

  .csf-nav-btn,
  .clb-nav-btn,
  .clb-close-btn {
    width: 44px;
    height: 44px;
  }

  .csf-prev { left: 6px; }
  .csf-next { right: 6px; }

  .csf-dots-bar {
    gap: 0;
    bottom: 2px;
  }

  .csf-dot {
    width: 12px;
    height: 12px;
    padding: 16px;
    box-sizing: content-box;
    background-clip: content-box;
    transform: none;
  }

  .csf-dot.is-active {
    transform: none;
  }

  .csf-dot::after {
    inset: 0;
  }

  .scc-link,
  .dcb-link,
  .ssc-meta-link,
  .hqsb-card-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .order-stages-bar,
  .proof-system-diagram,
  .shc-table,
  .pom-items-table {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .order-stages-bar {
    gap: 8px;
    scroll-snap-type: x proximity;
  }

  .os-stage-step {
    min-width: 108px;
    scroll-snap-align: start;
  }

  .dd-summary {
    min-height: 56px;
    padding: 18px 20px;
  }

  .dd-content {
    padding: 20px;
  }

  .pom-head,
  .shc-header,
  .alert-action-trigger-box {
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .nav-shell,
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  h1,
  h1.medium,
  .hero-copy h1,
  .flagship-hero-title {
    font-size: clamp(2.35rem, 11.2vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.9rem, 8.8vw, 2.6rem);
    line-height: 1.04;
  }

  h3 {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button-row .btn,
  .closing-cta .btn,
  .services-alternative-cta-btn {
    width: 100%;
  }

  .system-stage {
    min-height: 270px;
  }

  .case-feature-main,
  .case-feature-meta,
  .case-copy,
  .contact-form {
    padding-inline: 20px;
  }

  .services-alternative-cta {
    padding: 24px 20px;
  }

  .dual-card-body,
  .service-card-clean,
  .ta-card,
  .tp-item,
  .dd-card {
    padding-inline: 20px;
  }

  .csf-viewport {
    height: clamp(210px, 64vw, 250px);
  }

  .csf-slide-caption {
    min-height: 54px;
    padding-inline: 12px;
    font-size: 10.5px;
  }

  .hero-badge-row,
  .hero-meta,
  .pom-meta-cols,
  .analytics-kpi-strip,
  .dash-top-stats {
    grid-template-columns: 1fr;
  }

  .hero-badge-row {
    align-items: flex-start;
  }

  .pom-foot-summary,
  .shc-stats,
  .count-item-row,
  .variance-summary-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .shc-stats {
    width: 100%;
  }

  .st-head,
  .st-row {
    grid-template-columns: 72px minmax(0, 1fr) 72px;
  }

  .pit-head,
  .pit-row {
    min-width: 500px;
  }
}

@media (hover: none), (pointer: coarse) {
  .service-card-clean:hover,
  .service-surface-card:hover,
  .when-card:hover,
  .founder-card:hover,
  .logic-card:hover,
  .output-card:hover,
  .ta-card:hover,
  .tp-item:hover,
  .dd-card:hover,
  .flagship-case-banner:hover,
  .innosi-case-banner:hover,
  .nda-case-banner:hover,
  .life-step:hover,
  .logo-slot:hover,
  .dual-case-card:hover,
  .csf-slide:hover img {
    transform: none;
  }
}

/* Analytics consent — mevcut görsel sistemle uyumlu, küçük ve erişilebilir. */
.consent-banner {
  position: fixed;
  z-index: 10000;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  left: max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding: 20px;
  color: var(--ink, #151515);
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(21, 21, 21, .16);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .2);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner-copy {
  max-width: 500px;
}

.consent-banner-copy strong {
  display: block;
  margin-bottom: 6px;
}

.consent-banner-copy p {
  margin: 0;
  color: var(--muted, #5e5e5e);
  font-size: .9rem;
  line-height: 1.5;
}

.consent-banner-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-banner-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-preferences-link {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.prose {
  max-width: 800px;
}

.prose h2 {
  margin: 2.2em 0 .6em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 680px) {
  .consent-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .consent-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .consent-banner-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   SEO / HİZMET MİMARİSİ REVİZYONU — küçük ekler
   ========================================================================== */

/* width/height öznitelikleri CLS'yi önler; CSS genişlik verdiğinde oran korunur. */
img {
  height: auto;
}

.text-link {
  color: var(--red);
  font-weight: 600;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
}

.footer-grid {
  grid-template-columns: 1.35fr .95fr .6fr .6fr;
  gap: 56px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  color: #94a3b8;
  font-size: 14px;
}

.footer-social a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom a {
  color: inherit;
}

.service-band-related {
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.6;
}

.service-band-copy .service-band-related {
  margin: 22px 0 0;
  font-size: 14px;
}

.service-band-related a {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.service-band-related a:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}

.hub-principle-note {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.related-links-grid {
  margin-top: 36px;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }


  .text-link {
    white-space: normal;
  }
}

.closing-cta p a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.principle-copy {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

/* Köşe dekorasyonu küçük kalır ve hover'da büyümez; metin ve "Proje Başlat" linkinin üstüne taşmaz. */
.service-surface-card::after {
  right: -28px;
  bottom: -28px;
  width: 56px;
  height: 56px;
}

.service-surface-card:hover::after {
  transform: rotate(45deg);
}

/* Footer sosyal ikonları */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .72);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

@media (max-width: 1080px) {
  .service-principle {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .footer-bottom {
    align-items: flex-start;
  }

  .decision-record-header {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 760px) {
  .footer-social a {
    width: 44px;
    height: 44px;
  }
}

/* Hizmet sayfalarında tek ilgili proje kartı (kapanış CTA'sından görsel olarak ayrışır) */
.project-ref {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  margin-top: 22px;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s var(--ease);
}

.project-ref:hover,
.project-ref:focus-visible {
  border-color: var(--line-strong);
  border-left-color: var(--red);
  box-shadow: 0 14px 32px rgba(21, 25, 29, .06);
  transform: translateY(-2px);
}

.project-ref-badge {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
}

.project-ref-title {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.project-ref p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.project-ref-link {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.project-ref:hover .project-ref-link {
  text-decoration: underline;
}

.focused-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .project-ref {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 22px;
  }
}

/* ==========================================================================
   WEB SİTELERİ & DİJİTAL DENEYİMLER — Fırat Gürel vakası ve vitrin bantları
   ========================================================================== */
.mac-safari-window.is-dark {
  background: var(--dark-deep);
  border-color: #2a2d31;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.mac-safari-window.is-dark .mac-window-body {
  background: var(--dark-deep);
}

.mac-window-body video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.mac-url-pill .mac-url-text {
  color: #9aa3a9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: .02em;
  line-height: 1;
}

/* Ana sayfa: seçili çalışmalarda tam genişlikte üçüncü kart (görsel solda, metin sağda) */
.dual-case-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.dual-case-card--wide .card-slider-frame {
  display: flex;
  flex-direction: column;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.dual-case-card--wide .csf-viewport {
  flex: 1 1 auto;
  height: auto;
  min-height: 340px;
}

.dual-case-card--wide .dual-card-body {
  justify-content: center;
  padding: 34px 34px 30px;
}

/* dar kartlarda metin esneyip link alta itilir; geniş kartta içerik dikeyde tek blok olarak ortalanır */
.dual-case-card--wide .dual-card-body p {
  flex-grow: 0;
  margin-bottom: 24px;
}

.dual-case-card--wide .dcb-actions {
  margin-top: 0;
}

.dcb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: auto;
}

.dcb-actions .dcb-link {
  margin-top: 0;
}

.dcb-live-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.dcb-live-link:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

@media (max-width: 980px) {
  .dual-case-card--wide {
    grid-template-columns: 1fr;
  }

  .dual-case-card--wide .card-slider-frame {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dual-case-card--wide .csf-viewport {
    min-height: 0;
    height: 250px;
  }
}

.wsb-live-link {
  color: #c7cdd1;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(199, 205, 209, .35);
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.wsb-live-link:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

.web-cases-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Vaka sayfası: hazır şablon ile özel proje karşılaştırması */
.web-compare {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.wc-row {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1px;
}

.wc-row > span {
  padding: 20px 24px;
  background: var(--white);
  font-size: 15px;
  line-height: 1.55;
}

.wc-row .wc-topic {
  color: var(--ink);
  font-weight: 680;
}

.wc-row .wc-template {
  color: var(--soft);
  background: var(--canvas);
}

.wc-row .wc-custom {
  position: relative;
  padding-left: 48px;
  color: var(--ink);
}

.wc-row:not(.wc-head) .wc-custom::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 21px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.wc-head > span {
  padding-top: 14px;
  padding-bottom: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wc-head .wc-topic,
.wc-head .wc-template {
  color: var(--muted);
}

.wc-head .wc-custom {
  padding-left: 24px;
  background: var(--ink);
  color: var(--white);
}

.web-process {
  margin-top: 72px;
}

.web-process-head .eyebrow {
  margin-bottom: 22px;
}

@media (max-width: 760px) {
  .wc-head {
    display: none;
  }

  .wc-row {
    grid-template-columns: 1fr;
  }

  .wc-row > span {
    padding: 14px 18px;
  }

  .wc-row .wc-topic {
    padding-bottom: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .wc-row .wc-template::before {
    content: "Hazır şablon: ";
    font-weight: 650;
  }

  .wc-row .wc-custom {
    padding-left: 44px;
  }

  .wc-row:not(.wc-head) .wc-custom::before {
    left: 16px;
    top: 15px;
  }

  .web-process {
    margin-top: 52px;
  }
}

/* Hizmetler: web kartındaki örnek proje bağlantısı */
.ssc-case-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.ssc-case-link:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

/* Vaka sayfası: kaydırma videosu sahnesi */
.web-video-stage {
  max-width: 1080px;
  margin: 0 auto;
}

.web-video-stage .mac-window-body {
  min-height: 0;
}

.web-video-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 18px;
  color: var(--dark-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Vaka sayfası: mobil ekran sırası */
.web-phone-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-phone {
  margin: 0;
}

.web-phone-frame {
  aspect-ratio: 780 / 1688;
  overflow: hidden;
  background: var(--dark-deep);
  border: 7px solid var(--ink);
  border-radius: 30px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .14);
}

.web-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.web-phone figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .web-phone-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

@media (max-width: 600px) {
  .web-phone-frame {
    border-width: 5px;
    border-radius: 22px;
  }
}
