:root {
  --bg: #04070f;
  --bg-2: #0a1120;
  --bg-card: #0b1322;
  --ink: #e8eef7;
  --muted: #7e8aa0;
  --blue: #4d9eff;
  --blue-dim: #2c64b8;
  --cyan: #6fd9f2;
  --violet: #7c6bf0;
  --line: rgba(125, 155, 205, 0.13);
  --glow: rgba(77, 158, 255, 0.35);

  --f-display: "Inter", sans-serif;
  --f-body: "IBM Plex Sans", sans-serif;
  --f-mono: "IBM Plex Mono", monospace;
  --f-quote: "Newsreader", serif;

  --max: 1180px;
  --pad: clamp(20px, 4vw, 48px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--blue);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

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

.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.eyebrow::before {
  content: "// ";
  color: var(--muted);
}

.section {
  padding: clamp(90px, 12vh, 150px) 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(40px, 6vh, 64px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.01em;
}
.section-head .eyebrow {
  flex-shrink: 0;
}

.rv {
  opacity: 0;
  transform: translateY(28px);
}

/* ============================================================
   DİL DEĞİŞTİRME (TR / EN)
   ============================================================ */
[data-lang] {
  display: none;
}
html[lang="tr"] [data-lang="tr"],
html[lang="en"] [data-lang="en"] {
  display: inline;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1 !important;
    transform: none !important;
  }
  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(4, 7, 15, 0.62);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 11px;
}
.logo-sep {
  color: rgba(125, 155, 205, 0.25);
  font-weight: 400;
}
.logo-key {
  display: block;
  overflow: visible;
  flex-shrink: 0;
}
.logo-key .k-above {
  stroke: var(--blue);
  stroke-width: 1.7;
}
.logo-key .k-below {
  stroke: var(--blue-dim);
  stroke-width: 1.7;
}
.logo-key .k-water,
.logo-key .k-calm {
  stroke: #35507e;
  stroke-width: 1.1;
  stroke-linecap: round;
}
.logo-key .k-calm {
  transition: opacity 0.35s ease;
}
.logo-key .k-fin {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.logo-key .k-moon {
  fill: #9ecbff;
  transform-box: fill-box;
  transform-origin: center;
  animation: keyBreathe 5s ease-in-out infinite;
  transition: transform 0.35s ease;
}
@keyframes keyBreathe {
  50% {
    transform: scale(1.25);
    opacity: 0.75;
  }
}
/* hover / focus / dokunma: köpekbalığı yüzeye çıkar, ay büyür */
.logo:hover .k-fin,
.logo:focus-visible .k-fin,
.logo.shark .k-fin {
  opacity: 1;
  transform: translateY(0);
}
.logo:hover .k-calm,
.logo:focus-visible .k-calm,
.logo.shark .k-calm {
  opacity: 0;
}
.logo:hover .k-moon,
.logo:focus-visible .k-moon,
.logo.shark .k-moon {
  animation-play-state: paused;
  transform: scale(1.35);
}
.logo:focus-visible {
  outline: 1px solid var(--blue);
  outline-offset: 6px;
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
}
.nav-links a:focus-visible {
  outline: 1px solid var(--blue);
  outline-offset: 4px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-switch .lang-sep {
  color: var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
}
.lang-btn {
  background: none;
  border: none;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.25s;
}
.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--blue);
}
.lang-btn[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 600;
}
.lang-btn:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero::after {
  /* alt kısma yumuşak geçiş */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}
.hero .eyebrow {
  margin-bottom: 22px;
  display: block;
}

.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(52px, 9.5vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}
.hero h1 .thin {
  display: block;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(232, 238, 247, 0.55);
}
.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  margin-bottom: 40px;
}
.hero-sub strong {
  color: var(--ink);
  font-weight: 500;
}
.hero-sub em {
  font-style: normal;
  color: var(--blue);
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--f-mono);
  font-size: 14px;
  padding: 14px 26px;
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 2px;
  transition: all 0.3s;
  position: relative;
}
.btn:hover,
.btn:focus-visible {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 32px var(--glow);
}
.btn.ghost {
  border-color: var(--line);
  color: var(--muted);
}
.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.btn:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 4px;
}

.hero-meta {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}
.hero-meta .dot {
  color: var(--blue);
}
@media (max-width: 680px) {
  .hero-meta span:last-child {
    display: none;
  }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-2);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scrollX 36s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes scrollX {
  to {
    transform: translateX(-50%);
  }
}
.ticker-track span {
  font-family: var(--f-mono);
  font-size: 13.5px;
  color: var(--muted);
  padding: 0 28px;
  white-space: nowrap;
}
.ticker-track span::after {
  content: "·";
  color: var(--blue);
  margin-left: 56px;
}

/* ============================================================
   HAKKIMDA
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 90px);
}
.about-text p {
  margin-bottom: 20px;
  color: #b9c3d6;
}
.about-text p strong {
  color: var(--ink);
  font-weight: 600;
}
.about-text .mono-note {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid var(--blue-dim);
  padding-left: 16px;
  margin-top: 28px;
}

.now-box {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 28px;
  border-radius: 4px;
  height: max-content;
  position: sticky;
  top: 96px;
}
.now-box h3 {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.now-box h3::before {
  content: "~/ ";
  color: var(--muted);
}
.now-box ul {
  list-style: none;
}
.now-box li {
  font-size: 14.5px;
  color: #b9c3d6;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.now-box li:last-child {
  border-bottom: none;
}
.now-box li::before {
  content: "▸";
  color: var(--blue);
  font-size: 11px;
  flex-shrink: 0;
}

@media (max-width: 840px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .now-box {
    position: static;
  }
}

/* ============================================================
   FOCUS
   ============================================================ */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.focus-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-card), rgba(10, 17, 32, 0.4));
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.35s,
    transform 0.35s;
}
.focus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.6, 0.05, 0.2, 1);
}
.focus-card:hover {
  border-color: rgba(77, 158, 255, 0.4);
  transform: translateY(-4px);
}
.focus-card:hover::before {
  transform: scaleX(1);
}

.focus-card .num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}
.focus-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.focus-card p {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 24px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips span {
  font-family: var(--f-mono);
  font-size: 12px;
  color: #9fb4d6;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(77, 158, 255, 0.05);
}

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

/* ============================================================
   SEÇİLİ İŞLER
   ============================================================ */
.case {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-card);
  padding: clamp(28px, 4vw, 52px);
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.case.flagship {
  border-color: rgba(77, 158, 255, 0.35);
  background:
    radial-gradient(
      ellipse 700px 320px at 85% -10%,
      rgba(77, 158, 255, 0.1),
      transparent
    ),
    var(--bg-card);
}
.case-tag {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: inline-block;
  border: 1px solid rgba(111, 217, 242, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
}
.case h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.case-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}
.case-body p {
  color: #b9c3d6;
  font-size: 15.5px;
  margin-bottom: 14px;
}
.case-body p strong {
  color: var(--ink);
}

.case-facts {
  list-style: none;
}
.case-facts li {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.case-facts li:last-child {
  border-bottom: none;
}
.case-facts .k {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}
.case-facts .v {
  font-size: 14.5px;
  color: var(--ink);
}

.case-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.case-row .case {
  margin-bottom: 0;
}
.case .stack {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--blue);
  margin-top: 18px;
}

@media (max-width: 840px) {
  .case-body,
  .case-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SIDE
   ============================================================ */
.side-note {
  color: var(--muted);
  font-size: 15px;
  max-width: 620px;
  margin: -34px 0 44px;
}
.quest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quest {
  position: relative;
  aspect-ratio: 16/10.5;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: pointer;
}
.quest .thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.6s;
  filter: saturate(0.75) brightness(0.85);
}
/* görsel eklenmemiş kartlar için desenli yer tutucu */
.quest .thumb.placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 14px,
      rgba(77, 158, 255, 0.045) 14px 15px
    ),
    linear-gradient(160deg, #0c1526, #070c18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quest .thumb.placeholder::after {
  content: attr(data-icon);
  font-size: 44px;
  opacity: 0.5;
  filter: grayscale(0.3);
}
.quest:hover .thumb {
  transform: scale(1.05);
  filter: saturate(1) brightness(0.55);
}

.quest .overlay {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(4, 7, 15, 0.92) 0%,
    rgba(4, 7, 15, 0.35) 55%,
    transparent 100%
  );
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.quest:hover .overlay,
.quest:focus-within .overlay {
  opacity: 1;
  transform: translateY(0);
}
.quest .overlay .q-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.quest .overlay h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 5px;
}
.quest .overlay p {
  font-size: 13px;
  color: #afb9cc;
  line-height: 1.5;
}

/* dokunmatik cihazlarda overlay hep görünür */
@media (hover: none) {
  .quest .overlay {
    opacity: 1;
    transform: none;
  }
  .quest .thumb {
    filter: saturate(0.85) brightness(0.6);
  }
}
@media (max-width: 940px) {
  .quest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .quest-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   GRİMUAR — alıntılar
   ============================================================ */
.grimoire {
  background:
    radial-gradient(
      ellipse 900px 460px at 50% 0%,
      rgba(124, 107, 240, 0.07),
      transparent
    ),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-stage {
  max-width: 820px;
  margin: 0 auto;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.quote-stage blockquote {
  font-family: var(--f-quote);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.4;
  color: var(--ink);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.quote-stage blockquote.out {
  opacity: 0;
  transform: translateY(14px);
}
.quote-stage cite {
  display: block;
  margin-top: 26px;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  transition: opacity 0.5s;
}
.quote-stage cite::before {
  content: "— ";
  color: var(--violet);
}
.quote-stage cite.out {
  opacity: 0;
}

.quote-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
  margin-top: 44px;
}
.quote-nav button {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--f-mono);
}
.quote-nav button:hover,
.quote-nav button:focus-visible {
  border-color: var(--violet);
  color: var(--violet);
  box-shadow: 0 0 20px rgba(124, 107, 240, 0.25);
}
.quote-dots {
  display: flex;
  gap: 8px;
}
.quote-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition:
    background 0.3s,
    transform 0.3s;
}
.quote-dots i.on {
  background: var(--violet);
  transform: scale(1.4);
}

/* ============================================================
   İLETİŞİM / FOOTER
   ============================================================ */
.contact {
  text-align: center;
}
.contact .eyebrow {
  display: block;
  margin-bottom: 20px;
}
.contact h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 72px);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.contact p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 40px;
}
.email-link {
  font-family: var(--f-mono);
  font-size: clamp(16px, 2.4vw, 24px);
  color: var(--blue);
  border-bottom: 1px solid var(--blue-dim);
  padding-bottom: 4px;
  transition: all 0.3s;
}
.email-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  text-shadow: 0 0 24px var(--glow);
}

.socials {
  display: flex;
  gap: 26px;
  justify-content: center;
  margin-top: 48px;
}
.socials a {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s;
}
.socials a:hover {
  color: var(--ink);
}
.socials a::before {
  content: "↗ ";
  color: var(--blue);
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-inner .sig {
  color: var(--blue-dim);
}
.footer-key {
  display: block;
  opacity: 0.9;
}
@media (max-width: 680px) {
  .footer-key {
    order: -1;
    width: 100px;
    height: auto;
    margin: 0 auto 8px;
  }
}
