/* NextPcap C — Codex.io stil sistemi (Refero) birebir tokenlarla */
:root {
  --citrine: #e5ff5d;
  --carbon: #111111;
  --bone: #f9f9f9;
  --graphite: #2b2b2b;
  --stone: #9c9c9c;
  --smoke: #565656;
  --chalk: #d6d6d6;
  --cream: #eeeeee;
  --sans: "Inter", "Neue Haas Grotesk Text", ui-sans-serif, system-ui, sans-serif;
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; background: var(--carbon); }

body {
  margin: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, #191919 0%, #121212 45%, #0c0c0c 100%)
    var(--carbon);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
  color-scheme: dark;
}

a { color: inherit; }

/* versiyon geçişi */
.compare {
  position: fixed;
  bottom: 14px;
  right: 16px;
  z-index: 40;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 4px;
  background: rgba(17,17,17,.8);
  border: 1px solid var(--graphite);
}
.compare a {
  color: var(--stone);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.032em;
  padding: 5px 8px;
  border-radius: 3px;
  font-weight: 500;
}
.compare a.is-on, .compare a:hover { color: var(--carbon); background: var(--citrine); }

/* nav: logo sol üstte, koyu bar tepeye yapışık sağ üstte (codex düzeni) */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__mark {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--bone);
  margin: 20px 0 0 30px;
}
.nav__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #1c1c1c;
  border-radius: 0 0 0 10px;
  padding: 10px 10px 10px 28px;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  color: var(--bone);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.nav__links a:hover { color: var(--citrine); }

/* düğmeler: 4px, hap yok */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 4px;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .25s;
}
.btn:hover { opacity: .85; }
.btn--citrine { background: var(--citrine); color: var(--carbon); }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--dash { outline: 1px dashed rgba(229,255,93,.7); outline-offset: 4px; }
.btn--soft { background: #232323; color: #d9d9d9; font-size: 12px; letter-spacing: 0.04em; }
.btn--dark { background: var(--carbon); color: var(--bone); }
.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--bone);
  font-size: 12px;
  letter-spacing: 0.032em;
  padding: 11px 20px;
}
.btn--ghost-dark { color: var(--carbon); border-color: var(--carbon); }
.px {
  width: 8px; height: 8px;
  background: var(--carbon);
}
.px--lime { background: var(--citrine); }

/* etiketler */
.label {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.032em;
  color: var(--stone);
}
.label--lime { color: var(--citrine); }
.muted { color: var(--stone); }

/* display tipografi: 400, 0.9, uppercase */
.display {
  margin: 0;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bone);
}
.display .accent { color: var(--citrine); }
.display--dark { color: var(--carbon); }

h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--bone);
}

/* HERO */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 32px 72px;
  text-align: center;
}
.hero .display {
  position: relative;
  z-index: 1;
  margin-top: 118px;
  font-size: clamp(44px, 6.2vw, 82px);
  line-height: 1.03;
}

/* camsı jetonlar */
.hero__tokens { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.token {
  position: absolute;
  left: var(--tx);
  top: var(--ty);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #2c2c2c, #131313 72%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 34px rgba(0,0,0,.55), inset 0 1px 2px rgba(255,255,255,.14);
  display: grid;
  place-items: center;
  animation: bob 7s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes bob { 50% { transform: translateY(-12px); } }
.token img {
  width: 26px;
  height: 26px;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), opacity .22s;
}
.token.swap img { transform: scale(.15) rotate(-60deg); opacity: 0; }

/* cilalı lime küp: başlığın üstüne biner */
.slab {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 3;
  width: 148px;
  height: 148px;
  border-radius: 16px;
  transform: translateX(-42%) rotate(13deg);
  background: linear-gradient(150deg, #fbffd2 0%, #eeff85 26%, #e5ff5d 55%, #cfe94a 82%, #b6d335 100%);
  box-shadow:
    0 34px 100px rgba(229,255,93,.35),
    0 12px 28px rgba(0,0,0,.4),
    inset 0 2px 8px rgba(255,255,255,.85),
    inset 0 -12px 26px rgba(130,158,16,.3);
  display: grid;
  place-items: center;
  animation: slabfloat 9s ease-in-out infinite;
}
@keyframes slabfloat {
  0%, 100% { transform: translateX(-42%) translateY(0) rotate(13deg); }
  30% { transform: translateX(-48%) translateY(-22px) rotate(5deg); }
  65% { transform: translateX(-36%) translateY(10px) rotate(19deg); }
}

/* gezgin küp: pozisyonu JS verir */
.slab--travel {
  position: fixed;
  left: 0;
  top: 0;
  margin: 0;
  z-index: 6;
  pointer-events: none;
  animation: none;
  will-change: transform;
  transform: translate(-999px, -999px);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}
.slab--travel span { will-change: auto; }

/* modüllere kenetlenince: nefes alan lime parıltı */
.slab--travel.docked { animation: dockglow 2.4s ease-in-out infinite; overflow: hidden; }
@keyframes dockglow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(229,255,93,.4)); }
  50% { filter: drop-shadow(0 0 38px rgba(229,255,93,.9)); }
}

/* yüzeyde kayan ışık huzmesi: kenetlenince tekrar eden parıldama */
.slab--travel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg,
    transparent 38%,
    rgba(255,255,255,.15) 46%,
    rgba(255,255,255,.95) 50%,
    rgba(255,255,255,.15) 54%,
    transparent 62%);
  background-size: 320% 320%;
  background-position: -110% -110%;
  opacity: 0;
  pointer-events: none;
}
.slab--travel.docked::after { animation: dockshine 3.4s ease-in-out .3s infinite; }
@keyframes dockshine {
  0%, 34%   { background-position: -110% -110%; opacity: 0; }
  40%       { opacity: 1; }
  62%       { background-position: 170% 170%; opacity: 1; }
  70%, 100% { background-position: 170% 170%; opacity: 0; }
}

/* küpün duraklarını işaretleyen görünmez çapalar */
.slab-anchor {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 148px;
  height: 148px;
  transform: translateX(-42%);
  visibility: hidden;
}
.core-anchor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116px;
  height: 116px;
  transform: translate(-50%, -50%);
  visibility: hidden;
}
.slab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #a3bf22;
  transform: translate(-7px, 9px);
  z-index: -1;
}
.slab span {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.13em;
  /* derin damga: kalın harf, koyu zemin çukuru + alt kenarda güçlü ışık */
  color: #768d12;
  text-shadow:
    0 1px 0 rgba(255,255,255,.85),
    0 2px 4px rgba(255,255,255,.3),
    0 -1px 1px rgba(64,80,2,.65);
  transform: rotate(-3deg);
}

.hero__sub {
  position: relative;
  z-index: 1;
  margin: 28px auto 24px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.5;
  color: #c9c9c9;
}
.hero__cta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.pillrow {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.pillrow span {
  position: relative;
  padding-left: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.032em;
  color: var(--citrine);
}
.pillrow span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  background: var(--citrine);
}

/* logo cloud: hero altında iki sıra, kartsız */
.cloud {
  position: relative;
  z-index: 1;
  margin-top: 72px;
}
.cloud ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 56px;
}
.cloud ul:last-child { margin-bottom: 0; }
.cloud li {
  color: var(--bone);
  opacity: 0.55;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* split: %40 metin / %60 görsel */
.split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 80px;
  align-items: center;
}
.split__text p { font-size: 16px; line-height: 1.5; max-width: 560px; margin: 0 0 16px; }
.split__viz { position: relative; }

/* takımyıldız: kesikli çizgilerde veri akışı */
#constellation .wires line { animation: dashflow 1.1s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -16; } }

/* merkezde hero'daki parlak küpün aynısı */
.slab--core {
  width: 116px;
  height: 116px;
  top: 50%;
  left: 50%;
  border-radius: 14px;
  animation: coreWobble 8s ease-in-out infinite;
}
.slab--core span { font-size: 11px; letter-spacing: 0.14em; }
@keyframes coreWobble {
  0%, 100% { transform: translate(-50%, -50%) rotate(9deg); }
  50% { transform: translate(-50%, -56%) rotate(-7deg) scale(1.05); }
}

/* dev küp sahnesi */
.bigcube {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 30fr 40fr 30fr;
  gap: 48px;
  align-items: center;
}
.bigcube__text p { font-size: 15px; line-height: 1.5; margin: 0; }
.bigcube__stage { position: relative; text-align: center; perspective: 900px; }
.tumble { transform-style: preserve-3d; will-change: transform; }
.slab--xl {
  position: relative;
  left: auto;
  top: auto;
  width: min(300px, 70vw);
  height: min(300px, 70vw);
  margin: 0 auto;
  border-radius: 24px;
  transform: none;
  z-index: 2;
  animation: xlBreath 4.5s ease-in-out infinite;
}
.slab--xl::before { border-radius: 24px; transform: translate(-10px, 12px); }
.slab--xl span { font-size: clamp(24px, 3vw, 38px); letter-spacing: 0.14em; transform: none; }
@keyframes xlBreath {
  0%, 100% { box-shadow: 0 0 110px rgba(229,255,93,.5), 0 0 260px rgba(229,255,93,.18), inset 0 3px 12px rgba(255,255,255,.85), inset 0 -20px 44px rgba(130,158,16,.35); }
  50% { box-shadow: 0 0 160px rgba(229,255,93,.68), 0 0 340px rgba(229,255,93,.28), inset 0 3px 12px rgba(255,255,255,.85), inset 0 -20px 44px rgba(130,158,16,.35); }
}
.bigcube__lines {
  display: block;
  width: 100%;
  height: 150px;
  margin-top: -20px;
}
.bigcube__lines path {
  fill: none;
  stroke: #3d3d3d;
  stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: feedflow 1.4s linear infinite;
  transition: stroke .8s, stroke-width .8s, filter .8s;
}
@keyframes feedflow { to { stroke-dashoffset: -20; } }
/* dashboard görünürken çizgiler limon yanar, veri panele akar */
.bigcube.lit .bigcube__lines path {
  stroke: #d9f04f;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 5px rgba(229,255,93,.7));
}

/* dashboard: çekirdekten dökülen veri */
.dash {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px 96px;
}
.dash__card {
  border: 1px solid var(--graphite);
  border-radius: 12px;
  background: #141414;
  overflow: hidden;
}
.dash__tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--graphite);
}
.dash__tabs b { cursor: pointer; }
.dash__pills i { cursor: pointer; }
.dash__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 18px;
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #46dc8c;
  white-space: nowrap;
}
.dash__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #46dc8c;
  animation: livepulse 1.6s ease-in-out infinite;
}
@keyframes livepulse { 50% { box-shadow: 0 0 0 5px rgba(70,220,140,.15); opacity: .5; } }
.dash__ticker {
  margin: 0;
  padding: 6px 22px 14px;
  list-style: none;
  border-top: 1px solid var(--graphite);
  min-height: 118px;
}
.dash__ticker li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 7px 0;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--stone);
  border-bottom: 1px dashed #1f1f1f;
  animation: tickin .45s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
  white-space: nowrap;
}
@keyframes tickin { from { opacity: 0; transform: translateY(-8px); } }
.dash__ticker time { color: var(--smoke); font-variant-numeric: tabular-nums; }
.dash__ticker b { color: var(--bone); font-weight: 500; }
.dash__ticker em {
  font-style: normal;
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 3px;
}
.dash__ticker em.block { background: rgba(229,255,93,.14); color: var(--citrine); }
.dash__ticker em.watch { background: rgba(70,220,140,.12); color: #46dc8c; }
.dash__tabs b {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--stone);
}
.dash__tabs b svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.dash__tabs b.on {
  color: var(--bone);
  box-shadow: inset 0 -2px 0 var(--citrine);
}
.dash__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 6px;
  flex-wrap: wrap;
}
.dash__pills { display: flex; gap: 8px; }
.dash__pills i {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--stone);
  border: 1px solid var(--graphite);
  border-radius: 4px;
  padding: 6px 12px;
}
.dash__pills s {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  text-decoration: none;
}
.dash__pills i.on { color: var(--carbon); background: var(--bone); border-color: var(--bone); }
.dash__kpi { text-align: right; }
.dash__kpi span { display: block; font-size: 10px; letter-spacing: 0.05em; color: var(--stone); }
.dash__kpi b { font-size: 30px; font-weight: 400; color: #46dc8c; }
.dash__chart { display: block; width: 100%; height: 230px; }
.dash__dot { animation: dotpulse 2s ease-in-out infinite; }
@keyframes dotpulse { 50% { r: 7; } }
.dash__foot {
  display: flex;
  justify-content: space-between;
  padding: 10px 22px 16px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--smoke);
}
.dash__foot .on { color: var(--bone); }

/* üçlü kart: bej / limon / beyaz */
.trio {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trio__card {
  border-radius: 12px;
  padding: 40px 32px 44px;
  color: var(--carbon);
}
.trio__card--sand { background: #b7b3a2; }
.trio__card--lime { background: var(--citrine); }
.trio__card--white { background: var(--bone); }
.trio__card svg { display: block; margin-bottom: 56px; }
.trio__card h3 {
  margin: 0 0 14px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.trio__card p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(17,17,17,.7); }

/* harf toplanma: dağınık karakterler yerine oturur */
.scatter .wd { display: inline-block; white-space: nowrap; }
.scatter .ch {
  display: inline-block;
  opacity: 0;
  transform: translate(var(--sx), var(--sy));
  transition: transform .9s cubic-bezier(.22,1,.36,1), opacity .7s;
  transition-delay: var(--sd);
}
.scatter.in .ch { opacity: 1; transform: none; }
.bigcube__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
  justify-content: start;
}
.bigcube__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #565656;
  transition: color .45s;
}
.bigcube__list li i {
  width: 10px;
  height: 10px;
  background:
    conic-gradient(from 0deg, #565656 0 25%, transparent 0 50%, #565656 0 75%, transparent 0) ;
  transition: filter .45s;
}
.bigcube__list li.on { color: #fff; }
.bigcube__list li.on i {
  background: conic-gradient(from 0deg, var(--citrine) 0 25%, transparent 0 50%, var(--citrine) 0 75%, transparent 0);
  filter: drop-shadow(0 0 6px rgba(229,255,93,.8));
}

/* rakam bandı: düz, kartsız */
.numbers {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.numbers b {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: var(--citrine);
  margin-bottom: 12px;
}
.numbers span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.032em;
  color: var(--stone);
}

/* modüller: düz grid, gölgesiz */
.modules {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 32px;
}
.modules__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--graphite);
  border: 1px solid var(--graphite);
  position: relative;
}
/* küp kenetlenince gridin üstünde kalır: küpün alt yarısı kartların
   arkasına gömülür, sadece üstteki parıldayan uç görünür kalır */
.modules__grid.docked { z-index: 7; }
.modules__grid a {
  background: var(--carbon);
  padding: 24px;
  min-height: 128px;
  transition: background .35s;
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.modules__grid a::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity .25s, transform .25s;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c9c9c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 L17 7 M9 7 H17 V15'/%3E%3C/svg%3E");
}
.modules__grid a:hover::after { opacity: 1; transform: translate(0,0); }
/* her modülün kendi rengi */
.modules__grid a:nth-child(1)  { --c: #46dc8c; }
.modules__grid a:nth-child(2)  { --c: #ff5c5c; }
.modules__grid a:nth-child(3)  { --c: #ffab3d; }
.modules__grid a:nth-child(4)  { --c: #4da2ff; }
.modules__grid a:nth-child(5)  { --c: #8c6fff; }
.modules__grid a:nth-child(6)  { --c: #2bd4c4; }
.modules__grid a:nth-child(7)  { --c: #f2c94c; }
.modules__grid a:nth-child(8)  { --c: #7fd1ff; }
.modules__grid a:nth-child(9)  { --c: #ff7a59; }
.modules__grid a:nth-child(10) { --c: #5be07a; }
.modules__grid a:nth-child(11) { --c: #b48cff; }
.modules__grid a:nth-child(12) { --c: #ffd166; }
.modules__grid a:nth-child(13) { --c: #a8e64a; }
.modules__grid a svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  box-sizing: border-box;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--c);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%),
    color-mix(in srgb, var(--c) 10%, #161616);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .35s, background .35s;
}
.modules__grid b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--bone);
}
.modules__grid p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--stone);
}
/* küp tünediğinde ikonlar küpe yakınlık sırasıyla dalga halinde parlar */
.modules__grid.docked a svg {
  animation: modwave .95s cubic-bezier(.22,1,.36,1) both;
}
@keyframes modwave {
  0%, 100% { transform: none; box-shadow: none; }
  38% {
    transform: translateY(-7px) scale(1.16);
    box-shadow: 0 0 26px color-mix(in srgb, var(--c) 60%, transparent);
  }
}
/* dalga gecikmeleri: küpün tünediği 3–4 arasından dışa doğru yayılır */
.modules__grid.docked a:nth-child(3) svg,
.modules__grid.docked a:nth-child(4) svg  { animation-delay: 0s; }
.modules__grid.docked a:nth-child(2) svg,
.modules__grid.docked a:nth-child(7) svg,
.modules__grid.docked a:nth-child(8) svg  { animation-delay: .1s; }
.modules__grid.docked a:nth-child(1) svg,
.modules__grid.docked a:nth-child(6) svg,
.modules__grid.docked a:nth-child(11) svg,
.modules__grid.docked a:nth-child(12) svg { animation-delay: .2s; }
.modules__grid.docked a:nth-child(5) svg,
.modules__grid.docked a:nth-child(10) svg { animation-delay: .3s; }
.modules__grid.docked a:nth-child(9) svg,
.modules__grid.docked a:nth-child(13) svg { animation-delay: .4s; }

.modules__grid a:hover { background: #181818; }
.modules__grid a:hover b { color: var(--c); }
.modules__grid a:hover svg {
  transform: translateY(-4px) scale(1.08);
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%),
    color-mix(in srgb, var(--c) 16%, #161616);
  box-shadow: 0 0 22px color-mix(in srgb, var(--c) 35%, transparent);
}
.modules__grid a:last-child { grid-column: 1 / -1; min-height: 0; }

/* açık mega bölüm */
.light {
  position: relative;
  background: var(--cream);
  color: var(--carbon);
  padding: 112px 32px;
  overflow: hidden;
}
.light__head { text-align: center; max-width: 900px; margin: 0 auto 64px; position: relative; z-index: 1; }
.light__head p { margin: 24px 0 0; color: #565656; font-size: 16px; }

/* kenarlardan bakan cilalı küpler */
.light__cubes {
  position: absolute;
  top: 340px;
  pointer-events: none;
  z-index: 0;
}
.light__cubes--l { left: -14px; }
.light__cubes--r { right: -14px; }
.light__cubes i {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(150deg, #fbffd2 0%, #eeff85 26%, #e5ff5d 55%, #cfe94a 82%, #b6d335 100%);
  box-shadow:
    0 24px 60px rgba(140,170,20,.28),
    inset 0 2px 8px rgba(255,255,255,.85),
    inset 0 -12px 26px rgba(130,158,16,.3);
  transform: rotate(8deg);
}
/* hero küpüyle aynı 3D alt yüz */
.light__cubes i::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #a3bf22;
  transform: translate(-6px, 8px);
  z-index: -1;
}
/* ikinci küp: küçük, hafif bulanık — alan derinliği */
.light__cubes i:nth-child(2) {
  width: 88px;
  height: 88px;
  margin: 34px 0 0 44px;
  transform: rotate(-12deg);
  filter: blur(2.5px);
  opacity: .92;
}
.light__cubes--r i:nth-child(2) { margin-left: -44px; }
.light__cubes i:nth-child(3) { display: none; }
.light__cubes i::after {
  content: "NEXTPCAP";
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #768d12;
  text-shadow:
    0 1px 0 rgba(255,255,255,.85),
    0 2px 4px rgba(255,255,255,.3),
    0 -1px 1px rgba(64,80,2,.65);
  transform: rotate(-3deg);
}
/* yazı yalnız büyük küpte */
.light__cubes i:nth-child(2)::after { content: ""; }

/* sektör kartları: buzlu, küpler arkadan görünür */
.usecases {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecases article {
  background: rgba(249,249,249,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(17,17,17,.06);
  border-radius: 12px;
  padding: 26px 24px;
}
.usecases b { display: block; font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.usecases p { margin: 0; font-size: 13px; line-height: 1.5; color: #565656; }

/* ikon duvarı + sıralı istatistikler */
.netsup {
  max-width: var(--max);
  margin: 0 auto 112px;
  display: grid;
  grid-template-columns: 40fr 50fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.wall {
  display: flex;
  gap: 14px;
  justify-content: center;
  height: 460px;
  overflow: hidden;
  border-radius: 12px;
  background: #f6f6f4;
  border: 1px solid rgba(17,17,17,.06);
  padding: 0 18px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.wall__col {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  animation: wallup 16s linear infinite;
}
.wall__col--rev { animation: walldown 16s linear infinite; }
@keyframes wallup { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes walldown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.wall__col li {
  width: 104px;
  height: 104px;
  border-radius: 20px;
  background: #ffffff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 8px 20px rgba(17,17,17,.08);
}
.wall__col li img { width: 44px; height: 44px; }
.stats { display: grid; gap: 56px; }
.stat b {
  display: block;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
  color: #b5b5b0;
  transition: color .7s;
}
.stat span {
  display: block;
  margin-top: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid #b5b5b0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #9a9a95;
  transition: color .7s, border-color .7s;
}
.stat p { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: #b0b0ab; max-width: 380px; transition: color .7s; }
.stat.on b, .stat.on span { color: var(--carbon); border-color: var(--carbon); }
.stat.on p { color: #565656; }

/* referans: küp kümesi + buzlu cam kart */
.quote {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 30fr 70fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.quote__title h2 { font-size: clamp(30px, 3vw, 42px); text-transform: uppercase; color: var(--carbon); margin: 0 0 12px; }
.quote__title p { margin: 0; color: #565656; font-size: 14px; }
.quote__stage { position: relative; padding: 40px 0; }
.quote__cubes { position: absolute; inset: 0; pointer-events: none; }
.quote__cubes i {
  position: absolute;
  border-radius: 14px;
  background: linear-gradient(150deg, #f4ffa6 0%, #e5ff5d 45%, #b9d637 100%);
  box-shadow: inset 0 2px 6px rgba(255,255,255,.8), inset 0 -12px 24px rgba(130,158,16,.35), 0 18px 44px rgba(140,170,20,.3);
  display: grid;
  place-items: center;
}
.quote__cubes i::after {
  content: "NEXTPCAP";
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #768d12;
  text-shadow:
    0 1px 0 rgba(255,255,255,.85),
    0 2px 4px rgba(255,255,255,.3),
    0 -1px 1px rgba(64,80,2,.65);
  transform: rotate(-3deg);
}
.quote__cubes i:nth-child(1) { width: 150px; height: 150px; right: 4%; top: -46px; transform: rotate(8deg); font-size: 13px; }
.quote__cubes i:nth-child(2) { width: 110px; height: 110px; right: -34px; top: 40%; transform: rotate(-12deg); }
.quote__cubes i:nth-child(3) { width: 120px; height: 120px; right: 16%; bottom: -40px; transform: rotate(20deg); }
.quote__cubes i:nth-child(4) { width: 90px; height: 90px; left: 6%; top: -30px; transform: rotate(-16deg); }
/* yazı yalnız en büyük küpte */
.quote__cubes i:nth-child(2)::after,
.quote__cubes i:nth-child(3)::after,
.quote__cubes i:nth-child(4)::after { content: ""; }
.quote__card {
  position: relative;
  margin: 0;
  background: rgba(249,249,249,.62);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(17,17,17,.06);
  border-radius: 16px;
  padding: 36px 40px;
}
.quote__card b { display: block; font-size: 18px; font-weight: 500; margin-bottom: 20px; }
.quote__card strong {
  display: block;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 18px;
}
.quote__card p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #3a3a3a; }
.quote__card span { font-size: 11px; letter-spacing: 0.04em; color: #8a8a86; }

.light__cta { text-align: center; margin-top: 112px; position: relative; z-index: 1; }
.light__cta .display--dark { margin-bottom: 32px; }

/* demo formu: ince tek şerit */
.demo {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 34fr 66fr;
  gap: 48px;
  align-items: center;
}
.demo h2 { font-size: 24px; margin: 6px 0 4px; }
.demo .label { margin: 0; }
.demo .muted { margin: 0; font-size: 13px; }
.demo a { color: var(--bone); }
.demo .btn--citrine { background: var(--bone); }
.demo form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}
.demo label {
  display: grid;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.032em;
  color: var(--stone);
}
.demo input {
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid var(--graphite);
  background: transparent;
  color: var(--bone);
  font: inherit;
  font-size: 13px;
}
.demo input:focus { outline: none; border-color: var(--citrine); }
.demo button { justify-content: center; white-space: nowrap; }

/* footer: düz */
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px;
  border-top: 1px solid var(--graphite);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot .nav__mark { font-size: 16px; }
.foot nav { display: flex; gap: 32px; }
.foot nav a {
  color: var(--stone);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.027em;
}
.foot nav a:hover { color: var(--bone); }
.foot p { margin: 0; font-size: 12px; }

/* reveal: sade */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.rv.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__bar { padding: 4px; background: transparent; }
  .split, .demo { grid-template-columns: 1fr; gap: 48px; }
  .bigcube { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .bigcube__list { justify-content: center; }
  .trio { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: 1fr 1fr; }
  .netsup { grid-template-columns: 1fr; gap: 48px; }
  .quote { grid-template-columns: 1fr; }
  .quote__cubes i:nth-child(2), .quote__cubes i:nth-child(4) { display: none; }
  .light__cubes { display: none; }
  .dash__tabs b:nth-child(n+3) { display: none; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .modules__grid { grid-template-columns: 1fr 1fr; }
  .hero__tokens { display: none; }
  .hero .display { margin-top: 150px; }
  .slab { width: 116px; height: 116px; top: 30px; }
  .slab span { font-size: 12px; }
  .rcubes { display: none; }
  .demo { gap: 24px; }
  .demo form { grid-template-columns: 1fr; align-items: stretch; }
}
@media (max-width: 560px) {
  .modules__grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .usecases { grid-template-columns: 1fr; }
  .wall__col li { width: 84px; height: 84px; border-radius: 16px; }
  .wall__col li img { width: 36px; height: 36px; }
}

/* ============ MODÜLLER açılır menüsü (nav) ============ */
.nav__item--has-dropdown { position: relative; display: flex; align-items: center; }
.nav__trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { transition: transform .25s var(--ease); opacity: .65; }
.nav__item--has-dropdown:hover .nav__caret,
.nav__item--has-dropdown.is-open .nav__caret { transform: rotate(180deg); opacity: 1; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 18px);
  right: -10px;
  left: auto;
  transform: translateY(-8px);
  width: 620px;
  max-width: calc(100vw - 40px);
  background: #161616;
  border: 1px solid var(--graphite);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
  z-index: 35;
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown,
.nav__item--has-dropdown.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}
.nav__dropdown a:hover { background: rgba(255,255,255,.06); }
.nav__dropdown a.is-current { background: rgba(229,255,93,.08); }
.nav__dropdown a.is-current b { color: var(--citrine); }
.nav__dropdown svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 8px;
  flex: none;
  box-sizing: border-box;
  fill: none;
  stroke: var(--c);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%),
    color-mix(in srgb, var(--c) 10%, #161616);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.nav__dropdown b { display: block; font-size: 12.5px; font-weight: 500; color: var(--bone); letter-spacing: .01em; }
.nav__dropdown small { display: block; font-size: 11px; color: var(--stone); margin-top: 2px; }
.nav__dropdown-all {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 4px;
  padding: 12px 10px !important;
  border-top: 1px solid var(--graphite);
  color: var(--citrine) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
}
@media (max-width: 900px) {
  .nav__dropdown { display: none; }
}

/* ============ MODÜL ÜRÜN SAYFASI ============ */
.modpage { padding-top: 132px; }
.modcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  font-size: 12px;
  color: var(--stone);
  letter-spacing: .02em;
}
.modcrumb a { color: var(--stone); text-decoration: none; }
.modcrumb a:hover { color: var(--citrine); }

.modhero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 32px 80px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid var(--graphite);
}
.modhero__icon {
  width: 96px; height: 96px;
  border-radius: 20px;
  display: grid; place-items: center;
  box-sizing: border-box;
  fill: none; stroke: var(--c); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%),
    color-mix(in srgb, var(--c) 12%, #161616);
  border: 1px solid color-mix(in srgb, var(--c) 34%, transparent);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--c) 22%, transparent);
}
.modhero__icon svg { width: 48px; height: 48px; }
.modhero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--bone);
}
.modhero__tag { color: var(--c); font-size: 14px; font-weight: 500; margin: 0 0 16px; }
.modhero__desc { max-width: 640px; color: var(--stone); font-size: 15px; line-height: 1.7; margin: 0 0 28px; }
.modhero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.modhero__pills li {
  font-size: 11px; letter-spacing: .04em; font-weight: 500;
  padding: 7px 12px; border-radius: 999px; color: var(--chalk);
  background: #191919; border: 1px solid var(--graphite);
}
.modhero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.modsection { max-width: var(--max); margin: 0 auto; padding: 72px 32px; border-bottom: 1px solid var(--graphite); }
.modsection__label { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .032em; color: var(--stone); }
.modsection h2 { margin: 0 0 40px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; color: var(--bone); max-width: 640px; }

.modfeatures { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--graphite); border: 1px solid var(--graphite); }
.modfeatures article { background: var(--carbon); padding: 24px; }
.modfeatures b { display: block; font-size: 14px; font-weight: 500; color: var(--bone); margin-bottom: 8px; }
.modfeatures p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--stone); }

.modsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: modstep; }
.modsteps article { position: relative; padding-top: 8px; }
.modsteps article::before {
  counter-increment: modstep;
  content: counter(modstep, decimal-leading-zero);
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c);
  margin-bottom: 14px;
  letter-spacing: .05em;
}
.modsteps b { display: block; font-size: 15px; font-weight: 500; color: var(--bone); margin-bottom: 8px; }
.modsteps p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--stone); }

.modrelated { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--graphite); border: 1px solid var(--graphite); }
.modrelated a { display: block; background: var(--carbon); padding: 22px; text-decoration: none; color: inherit; transition: background .3s; }
.modrelated a:hover { background: #181818; }
.modrelated a svg {
  width: 34px; height: 34px; padding: 8px; border-radius: 10px; margin-bottom: 14px; box-sizing: border-box;
  fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%), color-mix(in srgb, var(--c) 10%, #161616);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.modrelated b { display: block; font-size: 13.5px; font-weight: 500; color: var(--bone); margin-bottom: 6px; }
.modrelated p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--stone); }

.modcta { background: var(--cream); color: var(--carbon); padding: 72px 32px; text-align: center; }
.modcta h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); font-weight: 400; color: var(--carbon); }
.modcta p { margin: 0 0 32px; color: #565656; }
.modcta .hero__cta { justify-content: center; margin-top: 0; }

@media (max-width: 900px) {
  .modhero { grid-template-columns: 1fr; }
  .modsteps { grid-template-columns: 1fr; gap: 40px; }
  .modrelated { grid-template-columns: 1fr; }
  .modfeatures { grid-template-columns: 1fr 1fr; }
  .modpage { padding-top: 100px; }
}
@media (max-width: 560px) {
  .modfeatures { grid-template-columns: 1fr; }
}
