/* ============================================================
   NEXUS — Melikgazi Teknofest Futuristic Interface
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --void: #000408;
  --surface: #0a0f18;
  --surface-2: #111827;
  --neon: #00f0ff;
  --neon-dim: rgba(0, 240, 255, 0.08);
  --neon-glow: rgba(0, 240, 255, 0.45);
  --volt: #39ff14;
  --volt-dim: rgba(57, 255, 20, 0.1);
  --plasma: #bf00ff;
  --plasma-dim: rgba(191, 0, 255, 0.12);
  --flare: #ff3d00;
  --flare-dim: rgba(255, 61, 0, 0.12);
  --text: #e8edf5;
  --muted: #6b7a94;
  --line: rgba(0, 240, 255, 0.18);
  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body.nexus {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  cursor: default;
}

body.nexus::before {
  content: '';
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

body.nexus h1, body.nexus h2, body.nexus h3, body.nexus h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

body.nexus a { color: inherit; text-decoration: none; transition: 0.25s var(--ease); }
body.nexus img { max-width: 100%; display: block; }
body.nexus ul { list-style: none; }

/* ---- Preloader ---- */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--void);
  display: grid; place-items: center;
}
.loader-ring {
  width: 64px; height: 64px;
  border: 2px solid var(--line);
  border-top-color: var(--neon);
  border-right-color: var(--volt);
  animation: spin 0.7s linear infinite;
}
.loader-text {
  position: absolute; margin-top: 100px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--neon); letter-spacing: 0.3em;
  animation: blink 1.2s step-end infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }

/* ---- Canvas BG ---- */
#particle-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
}

/* ---- Side Progress Nav ---- */
.side-nav {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
  z-index: 900; display: flex; flex-direction: column; gap: 14px;
}
.side-nav a {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  transition: 0.3s var(--ease); position: relative;
}
.side-nav a::after {
  content: attr(data-label);
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em;
  color: var(--muted); white-space: nowrap; opacity: 0;
  transition: 0.3s var(--ease); pointer-events: none;
}
.side-nav a:hover::after, .side-nav a.active::after { opacity: 1; color: var(--neon); }
.side-nav a.active {
  background: var(--neon); border-color: var(--neon);
  box-shadow: 0 0 12px var(--neon-glow);
}

/* ---- Site Header + Dock Nav ---- */
.site-header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 10002; width: calc(100% - 48px); max-width: 1400px;
  display: flex; align-items: center; gap: 24px;
}
.site-logo {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0; text-decoration: none;
}
.site-logo img {
  height: 88px; width: auto; object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}
.site-logo .logo-teknofest { height: 64px; }

.dock-nav {
  flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 4px;
  padding: 8px 8px 8px 20px;
  background: rgba(10, 15, 24, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--line);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: 0.4s var(--ease);
}
.dock-nav .dock-links { display: flex; gap: 2px; margin-right: auto; }
.dock-nav .dock-links a {
  padding: 8px 14px; font-size: 12px; font-weight: 500;
  font-family: var(--font-mono); letter-spacing: 0.05em;
  color: var(--muted); text-transform: uppercase;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: 0.25s var(--ease);
}
.dock-nav .dock-links a:hover, .dock-nav .dock-links a.active {
  color: var(--neon); background: var(--neon-dim);
}
.dock-cta {
  margin-left: 8px; padding: 9px 20px;
  background: var(--neon); color: var(--void);
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: 0.25s var(--ease);
}
.dock-cta:hover {
  background: var(--volt); color: var(--void);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.4);
}

/* Hamburger — desktop'ta gizli */
.dock-burger {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  padding: 0;
  margin: 0;
  background: rgba(10, 15, 24, 0.95);
  border: 2px solid var(--neon);
  border-radius: 8px;
  cursor: pointer;
  color: var(--neon);
  font-size: 20px;
  line-height: 1;
  z-index: 10003;
  transition: 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}
.dock-burger .burger-lines {
  display: flex; flex-direction: column; gap: 5px;
  width: 22px;
}
.dock-burger .burger-lines span {
  display: block; width: 100%; height: 2px;
  background: var(--neon); border-radius: 2px;
  transition: 0.3s var(--ease);
}
.dock-burger:hover,
.dock-burger:focus {
  background: var(--neon-dim);
  box-shadow: 0 0 16px var(--neon-glow);
  outline: none;
}
.dock-burger.active .burger-lines span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.dock-burger.active .burger-lines span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.dock-burger.active .burger-lines span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 10050;
  background: rgba(0, 4, 8, 0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-overlay.open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.mobile-overlay a {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: var(--muted); padding: 12px 24px; letter-spacing: 0.05em;
}
.mobile-overlay a:hover { color: var(--neon); }
.mobile-overlay .dock-cta { margin-top: 24px; font-size: 14px; padding: 14px 32px; }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(10, 15, 24, 0.9); border: 2px solid var(--neon);
  color: var(--neon); width: 46px; height: 46px;
  font-size: 20px; cursor: pointer; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Marquee ---- */
.marquee-wrap {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface); overflow: hidden; padding: 14px 0;
  position: relative; z-index: 2;
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; flex-shrink: 0;
}
.marquee-track span em { color: var(--neon); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Hero Immersive ---- */
.hero-nexus {
  position: relative; z-index: 1;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  width: 100%; max-width: 100%;
  box-sizing: border-box;
}
.hero-nexus .hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-nexus .hero-video-bg video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}
.hero-nexus .hero-video-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--void) 0%, transparent 30%, transparent 60%, var(--void) 100%),
    linear-gradient(90deg, var(--void) 0%, transparent 40%, transparent 60%, var(--void) 100%);
}
.hero-nexus .hero-grid-deco {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  opacity: 0.4;
}
.hero-nexus .hero-inner {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
  width: 100%; min-width: 0;
  height: 100%;
  padding: 100px 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 40px;
}
.hero-content {
  min-width: 0;
}
.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.hero-robot {
  width: clamp(120px, 16vw, 220px);
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0, 240, 255, 0.25));
  opacity: 0.95;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--volt); text-transform: uppercase; margin-bottom: 28px;
  max-width: 100%; flex-wrap: wrap;
}
.hero-tag::before {
  content: ''; width: 32px; height: 1px; background: var(--volt);
  box-shadow: 0 0 8px var(--volt);
}
.hero-nexus h1 {
  font-size: clamp(48px, 9vw, 110px);
  text-transform: uppercase; line-height: 0.92;
  margin-bottom: 8px;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero-nexus h1 .line-2 {
  display: block;
  background: linear-gradient(90deg, var(--neon), var(--plasma));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-nexus .hero-amount-row {
  display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
  margin: 32px 0 24px;
}
.hero-nexus .hero-amount {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 120px); font-weight: 700;
  color: var(--flare); line-height: 1;
  text-shadow: 0 0 60px rgba(255, 61, 0, 0.5);
}
.hero-nexus .hero-amount-label {
  font-family: var(--font-mono); font-size: 14px;
  letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase;
}
.hero-nexus .hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px;
}
.btn-neon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; border: none; cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: 0.3s var(--ease);
}
.btn-neon.primary { background: var(--neon); color: var(--void); }
.btn-neon.primary:hover { background: var(--volt); box-shadow: 0 0 30px rgba(57,255,20,0.5); }
.btn-neon.ghost {
  background: transparent; color: var(--neon);
  border: 1px solid var(--line); box-shadow: inset 0 0 20px var(--neon-dim);
}
.btn-neon.ghost:hover { border-color: var(--neon); box-shadow: 0 0 20px var(--neon-dim); }

.hero-hud {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); margin-top: 28px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 0;
}
.hud-cell {
  background: rgba(10, 15, 24, 0.9); padding: 24px 20px;
  backdrop-filter: blur(8px);
  min-width: 0;
}
.hud-cell .hud-val {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  color: var(--neon); margin-bottom: 4px;
}
.hud-cell .hud-val.volt { color: var(--volt); }
.hud-cell .hud-val.plasma { color: var(--plasma); }
.hud-cell .hud-val.flare { color: var(--flare); }
.hud-cell .hud-key {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase;
}
.hero-alert {
  margin-top: 24px; padding: 14px 20px;
  border-left: 3px solid var(--flare);
  background: var(--flare-dim);
  font-family: var(--font-mono); font-size: 12px; color: var(--text);
}
.hero-alert a { color: var(--flare); font-weight: 600; }
.hero-alert a:hover { color: var(--neon); }

/* ---- Section Shell ---- */
.nx-section { position: relative; z-index: 2; padding: 120px 0; max-width: 100%; overflow-x: hidden; }
.nx-section.alt { background: var(--surface); }
.nx-wrap { max-width: 1400px; margin: 0 auto; padding: 0 40px; width: 100%; min-width: 0; }

.sec-head { margin-bottom: 64px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-index {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.3em; color: var(--neon); text-transform: uppercase;
  margin-bottom: 12px; display: flex; align-items: center; gap: 12px;
}
.sec-index::before { content: '//'; color: var(--plasma); }
.sec-title {
  font-size: clamp(32px, 5vw, 56px); text-transform: uppercase;
}
.sec-title span { color: var(--neon); }

/* ---- Bento About ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.bento-cell {
  background: var(--surface-2); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: 0.4s var(--ease);
}
.bento-cell:hover { border-color: var(--neon); box-shadow: 0 0 40px var(--neon-dim); }
.bento-cell::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 40px; height: 1px; background: var(--neon);
}
.bento-cell::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 1px; height: 40px; background: var(--neon);
}
.bento-main { grid-column: span 7; grid-row: span 2; min-height: 420px; }
.bento-main img { width: 100%; height: 100%; object-fit: cover; }
.bento-main .bento-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 4, 8, 0.75) 0%, transparent 28%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px;
  pointer-events: none;
}
.bento-stat { grid-column: span 5; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.bento-stat .big-num {
  font-family: var(--font-display); font-size: 72px; font-weight: 700;
  background: linear-gradient(135deg, var(--neon), var(--plasma));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.bento-stat .big-label { font-size: 18px; font-weight: 600; margin-top: 8px; }
.bento-text { grid-column: span 5; padding: 36px; }
.bento-text p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.bento-img-sm { grid-column: span 7; min-height: 200px; }
.bento-img-sm img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Video Block ---- */
.video-block {
  position: relative; aspect-ratio: 21/9; overflow: hidden;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
}
.video-block video { width: 100%; height: 100%; object-fit: cover; }
.video-block .video-corner {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; color: var(--volt);
  padding: 6px 12px; border: 1px solid var(--volt);
  background: rgba(0,4,8,0.8);
}

/* ---- Horizontal Teams Scroll ---- */
#takimlar .sec-head.row {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.teams-scroll-wrap {
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
@media (min-width: 769px) {
  #takimlar .sec-head.row {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  #takimlar .scroll-hint {
    text-align: center;
    margin-top: 0;
  }
  .teams-scroll-wrap {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }
  .teams-scroll-wrap::before,
  .teams-scroll-wrap::after {
    display: none;
  }
  .teams-track {
    padding: 20px 0 40px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Masaüstü: 4 kart yan yana ortada */
@media (min-width: 1100px) {
  .teams-scroll-wrap {
    overflow: visible;
  }
  #takimlar .scroll-hint {
    display: none;
  }
  .teams-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1320px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .team-slide {
    flex: none;
    width: 100%;
    max-width: none;
    scroll-snap-align: none;
  }
}

/* Orta genişlik: yatay kaydırma */
@media (min-width: 769px) and (max-width: 1099px) {
  .teams-scroll-wrap {
    overflow-x: auto;
  }
  .teams-scroll-wrap::before,
  .teams-scroll-wrap::after {
    display: block;
  }
  .teams-scroll-wrap::before {
    left: 40px;
    width: 60px;
  }
  .teams-scroll-wrap::after {
    right: 40px;
    width: 60px;
  }
  .teams-track {
    display: flex;
    width: max-content;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }
}
.teams-scroll-wrap::before, .teams-scroll-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.teams-scroll-wrap::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.teams-scroll-wrap::after { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }
.teams-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px 40px 40px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.teams-track::-webkit-scrollbar { display: none; }
.team-slide {
  flex: 0 0 min(340px, 85vw); scroll-snap-align: start;
  border: 1px solid var(--line); background: var(--surface-2);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: 0.4s var(--ease); cursor: default;
}
.team-slide:hover {
  border-color: var(--plasma);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(191, 0, 255, 0.15);
}
.team-slide .ts-img { height: 200px; overflow: hidden; position: relative; }
.team-slide .ts-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s var(--ease); }
.team-slide:hover .ts-img img { transform: scale(1.1); }
.team-slide .ts-rank {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  padding: 4px 10px; background: var(--void); border: 1px solid var(--neon); color: var(--neon);
}
.team-slide .ts-body { padding: 24px; }
.team-slide .ts-body h3 { font-size: 20px; margin-bottom: 8px; color: var(--neon); }
.team-slide .ts-body p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.scroll-hint {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.15em; text-align: right; margin-top: 8px;
}

/* ---- Year Selector Journey ---- */
.year-selector {
  display: flex; gap: 0; margin-bottom: 48px;
  border: 1px solid var(--line);
}
.year-btn {
  flex: 1; padding: 20px; background: transparent; border: none;
  font-family: var(--font-display); font-size: clamp(24px, 4vw, 40px);
  font-weight: 700; color: var(--muted); cursor: pointer;
  border-right: 1px solid var(--line); transition: 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.year-btn:last-child { border-right: none; }
.year-btn::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--neon); transform: scaleX(0); transition: 0.3s var(--ease);
}
.year-btn.active { color: var(--neon); background: var(--neon-dim); }
.year-btn.active::after { transform: scaleX(1); }
.year-btn:hover:not(.active) { color: var(--text); background: rgba(255,255,255,0.02); }
.year-btn .year-short { display: none; }

.journey-panel { display: none; animation: panelIn 0.5s var(--ease); }
.journey-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); } }
.journey-img { min-height: 360px; overflow: hidden; position: relative; background: var(--surface-2); }
.journey-img img { width: 100%; height: 100%; object-fit: cover; }
.journey-img.journey-img--logo {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; min-height: 360px;
}
.journey-img.journey-img--logo img {
  width: auto; height: auto; max-width: 100%; max-height: 280px;
  object-fit: contain;
}
.journey-img .j-year-tag {
  position: absolute; bottom: 20px; left: 20px;
  font-family: var(--font-display); font-size: 64px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--neon);
  opacity: 0.6;
}
.journey-content {
  padding: 48px; display: flex; flex-direction: column; justify-content: center;
  background: var(--surface-2); border-left: 1px solid var(--line);
}
.journey-content h3 { font-size: 22px; margin-bottom: 20px; text-transform: uppercase; }
.journey-content p { color: var(--muted); font-size: 15px; line-height: 1.85; }

/* ---- Process Pipeline ---- */
.pipeline {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  position: relative;
}
.pipeline::before {
  content: ''; position: absolute; top: 36px; left: 16.67%; right: 16.67%;
  height: 1px; background: linear-gradient(90deg, var(--neon), var(--plasma), var(--flare));
  z-index: 0;
}
.pipe-step {
  text-align: center; padding: 0 24px; position: relative; z-index: 1;
}
.pipe-dot {
  width: 72px; height: 72px; margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  background: var(--void); border: 2px solid var(--line);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: 0.4s var(--ease);
}
.pipe-step:nth-child(1) .pipe-dot { border-color: var(--neon); color: var(--neon); }
.pipe-step:nth-child(2) .pipe-dot { border-color: var(--plasma); color: var(--plasma); }
.pipe-step:nth-child(3) .pipe-dot { border-color: var(--flare); color: var(--flare); }
.pipe-step:hover .pipe-dot { transform: scale(1.1); box-shadow: 0 0 30px var(--neon-dim); }
.pipe-step h4 { font-size: 16px; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.05em; }
.pipe-step p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.pipe-step a { color: var(--neon); font-size: 13px; }

/* ---- Mosaic Gallery ---- */
.mosaic {
  columns: 4; column-gap: 6px;
}
.mosaic-item {
  break-inside: avoid; margin-bottom: 6px;
  position: relative; overflow: hidden; display: block;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.mosaic-item img { width: 100%; display: block; transition: 0.5s var(--ease); filter: grayscale(30%); }
.mosaic-item:hover img { transform: scale(1.06); filter: grayscale(0%); }
.mosaic-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,240,255,0.2), rgba(191,0,255,0.2));
  opacity: 0; transition: 0.3s;
}
.mosaic-item:hover::after { opacity: 1; }
.mosaic-item .mosaic-zoom {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: 0.3s; z-index: 1;
}
.mosaic-item:hover .mosaic-zoom {
  opacity: 1; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--void); background: var(--neon);
  width: 40px; height: 40px; margin: auto; top: 0; bottom: 0; left: 0; right: 0;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.gallery-scroll-wrap {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  overflow-x: hidden;
}
.gallery-scroll-hint { display: none; }

/* ---- Footer Terminal ---- */
.nx-footer {
  border-top: 1px solid var(--line); padding: 64px 0 32px;
  background: var(--void); position: relative; z-index: 2;
}
.nx-footer::before {
  content: 'END_OF_TRANSMISSION'; position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.3em; color: var(--muted); background: var(--void); padding: 0 16px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand img { height: 56px; margin-bottom: 16px; opacity: 0.9; }
.footer-brand p { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.25em;
  color: var(--neon); text-transform: uppercase; margin-bottom: 16px;
}
.footer-col p, .footer-col a { font-size: 14px; color: var(--muted); line-height: 1.8; display: block; }
.footer-col a:hover { color: var(--neon); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--muted); font-size: 16px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: 0.3s;
}
.footer-social a:hover { border-color: var(--neon); color: var(--neon); background: var(--neon-dim); }
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}

/* ---- WhatsApp ---- */
.wa-pulse {
  position: fixed; bottom: 28px; left: 28px; z-index: 900;
}
.wa-pulse a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px 14px 14px;
  background: #128c47; color: #fff;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow: 0 0 30px rgba(18, 140, 71, 0.4);
  transition: 0.3s var(--ease);
}
.wa-pulse a:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(18, 140, 71, 0.6); color: #fff; }
.wa-pulse img { width: 32px; height: 32px; }
.wa-pulse .wa-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #39ff14;
  animation: pulse-wa 2s infinite;
}
@keyframes pulse-wa { 0%,100% { box-shadow: 0 0 0 0 rgba(57,255,20,0.6); } 50% { box-shadow: 0 0 0 8px rgba(57,255,20,0); } }

/* ---- Contact Page ---- */
.contact-hero {
  min-height: 50vh; display: flex; align-items: center;
  padding: 140px 0 60px; position: relative; z-index: 2;
  background: radial-gradient(ellipse at 30% 50%, var(--plasma-dim), transparent 60%);
}
.contact-hero h1 {
  font-size: clamp(40px, 7vw, 80px); text-transform: uppercase;
}
.contact-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--neon), var(--volt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-layout {
  display: grid; grid-template-columns: 1fr 2fr; gap: 32px;
  padding-bottom: 120px; position: relative; z-index: 2;
}
.contact-info-panel {
  display: flex; flex-direction: column; gap: 20px;
}
.info-card {
  padding: 24px; border: 1px solid var(--line); background: var(--surface-2);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.info-card .ic-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--neon); margin-bottom: 8px;
}
.info-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.form-terminal {
  border: 1px solid var(--line); background: var(--surface);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  overflow: hidden;
}
.form-terminal-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.form-terminal-bar .dot-r { width: 10px; height: 10px; border-radius: 50%; background: var(--flare); }
.form-terminal-bar .dot-y { width: 10px; height: 10px; border-radius: 50%; background: #ffbd2e; }
.form-terminal-bar .dot-g { width: 10px; height: 10px; border-radius: 50%; background: var(--volt); }
.form-terminal-bar span {
  margin-left: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--muted);
}
.form-terminal iframe { width: 100%; min-height: 750px; border: none; display: block; background: #fff; }

/* ---- Şartname Page ---- */
.doc-section { padding-bottom: 120px; position: relative; z-index: 2; }
.doc-layout {
  display: grid; grid-template-columns: 1fr 2.2fr; gap: 32px;
}
.doc-terminal {
  border: 1px solid var(--line); background: var(--surface);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  overflow: hidden;
}
.doc-terminal-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.doc-terminal-bar .dot-r { width: 10px; height: 10px; border-radius: 50%; background: var(--flare); }
.doc-terminal-bar .dot-y { width: 10px; height: 10px; border-radius: 50%; background: #ffbd2e; }
.doc-terminal-bar .dot-g { width: 10px; height: 10px; border-radius: 50%; background: var(--volt); }
.doc-terminal-bar span {
  margin-left: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--muted);
}
.doc-body { padding: 40px 44px; }
.doc-body > h2 {
  font-size: 22px; text-transform: uppercase; margin-bottom: 36px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
  color: var(--white);
}
.doc-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}
.doc-item:last-child { border-bottom: none; padding-bottom: 0; }
.doc-num {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--neon); border: 1px solid var(--line); background: var(--neon-dim);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.doc-item p { font-size: 15px; color: var(--muted); line-height: 1.85; flex: 1; }
.doc-item p a { color: var(--neon); font-weight: 500; }
.doc-item p a:hover { text-decoration: underline; }

/* ---- Gallery Hint ---- */
.gallery-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: -40px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gallery-hint i { color: var(--neon); }

/* ---- Custom Gallery Lightbox ---- */
.nx-lightbox {
  position: fixed; inset: 0; z-index: 12000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.nx-lightbox.open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.nx-lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 4, 8, 0.94); backdrop-filter: blur(8px);
}
.nx-lb-stage {
  position: relative; z-index: 2;
  max-width: min(92vw, 1200px); max-height: 78vh;
  display: flex; align-items: center; justify-content: center;
}
.nx-lb-img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  object-fit: contain; border: 1px solid var(--line);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  animation: lbFadeIn 0.35s var(--ease);
}
@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}
.nx-lb-close,
.nx-lb-prev,
.nx-lb-next {
  position: absolute; z-index: 3;
  border: 1px solid var(--line); background: rgba(10, 15, 24, 0.92);
  color: var(--neon); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: 0.25s var(--ease);
  font-family: var(--font-display); line-height: 1;
}
.nx-lb-close:hover,
.nx-lb-prev:hover,
.nx-lb-next:hover {
  border-color: var(--neon); background: var(--neon-dim);
  box-shadow: 0 0 24px var(--neon-glow);
}
.nx-lb-prev:hover,
.nx-lb-next:hover { transform: translateY(-50%); }
.nx-lb-close {
  top: 24px; right: 24px; width: 44px; height: 44px;
  border-radius: 50%; font-size: 18px;
}
.nx-lb-prev,
.nx-lb-next {
  top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%; font-size: 28px;
}
.nx-lb-prev { left: 24px; }
.nx-lb-next { right: 24px; }
.nx-lb-meta {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; text-align: center;
}
.nx-lb-counter {
  display: block; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.15em; color: var(--neon); margin-bottom: 6px;
}
.nx-lb-hint {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .nx-lb-prev, .nx-lb-next { width: 48px; height: 48px; font-size: 24px; }
  .nx-lb-prev { left: 12px; }
  .nx-lb-next { right: 12px; }
  .nx-lb-close { top: 16px; right: 16px; }
}

@media (max-width: 1100px) {
  .bento-main { grid-column: span 12; min-height: 300px; }
  .bento-stat, .bento-text, .bento-img-sm { grid-column: span 6; }
  .hero-hud { grid-template-columns: repeat(2, 1fr); }
  .journey-panel.active { grid-template-columns: 1fr; }
  .journey-content { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-body { padding: 28px 24px; }
  .side-nav { display: none; }

  /* Mobil header + hamburger */
  .site-header {
    top: 0; left: 0; right: 0; transform: none;
    width: 100%; max-width: 100%;
    padding: 10px 16px;
    gap: 12px;
    justify-content: flex-start;
    background: rgba(6, 11, 20, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-sizing: border-box;
  }
  .site-logo {
    flex: 0 1 auto; min-width: 0; overflow: hidden;
    order: 1;
  }
  .site-logo img {
    height: 48px; max-height: 48px;
  }
  .site-logo .logo-teknofest { height: 38px; }
  .dock-nav { display: none !important; }
  .dock-burger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0;
    order: 2;
    margin-left: auto;
    z-index: 10052;
  }
  .mobile-overlay { display: flex; }
  .hero-nexus {
    height: 100dvh;
    max-height: 100dvh;
    padding-top: 0;
  }
  .hero-nexus .hero-inner {
    padding: calc(70px + 12px) 16px 16px;
  }
  .contact-hero { padding-top: calc(70px + 40px); }
}

@media (max-width: 768px) {
  .nx-wrap { padding: 0 16px; max-width: 100%; }
  .nx-section { padding: 80px 0; }
  .hero-nexus .hero-inner {
    padding: calc(70px + 8px) 16px 12px;
  }
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 32vw);
    align-items: stretch;
    gap: 0 10px;
  }
  .hero-content {
    grid-column: 1;
    min-width: 0;
  }
  .hero-visual {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    padding-bottom: 4px;
  }
  .hero-robot {
    width: 100%;
    max-width: 110px;
    height: auto;
    max-height: min(38vh, 210px);
    object-fit: contain;
    object-position: bottom center;
  }
  .hero-nexus h1 { font-size: clamp(30px, 9.5vw, 44px); line-height: 0.95; }
  .hero-nexus .hero-amount-row {
    margin: 20px 0 16px;
  }
  .hero-nexus .hero-actions {
    margin-top: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-nexus .hero-amount {
    font-size: clamp(40px, 14vw, 56px);
  }
  .hero-nexus .hero-amount-label { font-size: 12px; letter-spacing: 0.15em; }
  .hero-hud { grid-template-columns: 1fr 1fr; clip-path: none; margin-top: 40px; }
  .hud-cell { padding: 14px 10px; }
  .hud-cell .hud-val { font-size: 22px; }
  .hud-cell .hud-key { font-size: 9px; letter-spacing: 0.08em; line-height: 1.4; }
  .bento-stat, .bento-text, .bento-img-sm { grid-column: span 12; }
  .bento-stat .big-num { font-size: 52px; }
  .pipeline { grid-template-columns: 1fr; gap: 40px; }
  .pipeline::before { display: none; }

  /* Galeri — 2 sütunlu kompakt ızgara */
  .gallery-scroll-wrap { padding: 0 16px; }
  .mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 0;
  }
  .mosaic-item {
    margin-bottom: 0;
    aspect-ratio: 1;
    clip-path: none;
    border-radius: 4px;
  }
  .mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
  }
  .mosaic-item .mosaic-zoom {
    opacity: 1;
    width: 28px;
    height: 28px;
    font-size: 14px;
    background: rgba(0, 240, 255, 0.9);
  }
  .gallery-scroll-hint { display: none; }
  .gallery-hint {
    margin-top: -24px;
    margin-bottom: 24px;
    font-size: 11px;
    flex-wrap: wrap;
    padding: 0 8px;
    text-align: center;
  }

  .teams-track { padding: 20px 16px 32px; }
  .team-slide { flex: 0 0 min(280px, calc(100vw - 48px)); }

  .year-btn { padding: 14px 6px; font-size: 20px; }
  .year-btn .year-full { display: none; }
  .year-btn .year-short { display: inline; }
  .footer-grid { grid-template-columns: 1fr; }
  .video-block { aspect-ratio: 16/9; clip-path: none; }
  .wa-pulse a span:not(.wa-dot) { display: none; }
  .wa-pulse a { padding: 14px; }
}

@media (max-width: 480px) {
  .site-logo img { height: 40px; max-height: 40px; }
  .site-logo .logo-teknofest { height: 32px; }
  .dock-burger { width: 42px; height: 42px; }
  .hero-nexus h1 { font-size: clamp(28px, 8.5vw, 36px); }
  .hero-nexus .hero-amount { font-size: clamp(36px, 13vw, 48px); }
  .wa-pulse { left: 16px; bottom: 16px; }
}
