/* ==========================================================================
   KAEÜ TEKNOFEST TOPLULUĞU — FÜTÜRİSTİK UZAY & HAVACILIK TASARIM SİSTEMİ
   ========================================================================== */

@property --animation-reduced {
  syntax: "*";
  inherits: false;
  initial-value: none;
}

:root {
  /* Renk Paleti: Derin Uzay Siyahı + Neon Siyan, Kızıl/Macenta ve Elektrik Moru */
  --bg-space: #040711;
  --bg-deep: #080d1a;
  --surface-glass: rgba(13, 22, 42, 0.58);
  --surface-glass-strong: rgba(15, 25, 48, 0.82);
  --border-glass: rgba(0, 240, 255, 0.18);
  --border-highlight: rgba(255, 0, 85, 0.45);

  --neon-cyan: #00f0ff;
  --neon-crimson: #ff0055;
  --neon-purple: #7000ff;
  --neon-whatsapp: #25d366;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-display: "Orbitron", sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --container-max: 1240px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-space);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-space);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(13, 24, 54, 0.86) 0%, rgba(4, 7, 17, 0.94) 65%),
    url("https://cdn.teknofest.org/media/upload/userFormUpload/TEKNOFEST-Istanbul-Web-Site-Zemin-1728x3365_oymmk.webp");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ==========================================================================
   TEKNOFEST.ORG/TR/ ORİJİNAL AÇILIŞ EKRANI (PRELOADER) STİLLERİ
   ========================================================================== */
.tf-preloader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background-image: url("https://cdn.teknofest.org/static/assets/img/preloader-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #021c61;
  z-index: 99999;
  cursor: pointer;
  transition: opacity 0.65s ease, visibility 0.65s ease, scale 0.65s ease;
}

.tf-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  scale: 1.04;
  pointer-events: none;
}

.tf-preloader-bg-blue {
  background: linear-gradient(180deg, rgba(2, 28, 97, 0.72) 0%, rgba(2, 30, 107, 0.66) 100%);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tf-preloader-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.tf-loader-gif {
  width: min(400px, 78vw);
  height: auto;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.45));
}

.tf-kaeu-preloader-tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 240, 255, 0.14);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  text-align: center;
}

.tf-loader-p {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  padding: 16px 20px;
}

.tf-floating-rocket {
  width: 40px;
  height: auto;
  animation: tfFloatUpDown 2s ease-in-out infinite;
  --animation-reduced: none;
}

@keyframes tfFloatUpDown {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

.tf-loader-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.teknofest-article-1 {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.teknofest-article-2 {
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
}

.teknofest-article-svg {
  width: 215px;
  height: auto;
  margin-top: 4px;
}

.tf-nav-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

@media (max-width: 834px) {
  .tf-loader-p {
    left: 50%;
    bottom: 28px;
    translate: -50% 0;
    width: max-content;
    max-width: 92vw;
    text-align: center;
    justify-content: center;
  }
  .tf-loader-text-col {
    align-items: center;
  }
  .tf-floating-rocket {
    display: none;
  }
  .teknofest-article-svg {
    width: 155px;
  }
  .teknofest-article-1,
  .teknofest-article-2 {
    font-size: 11px;
  }
}

/* Özel Kaydırma Çubuğu */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-space);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 99px;
}

/* Arka Plan Uzay Tuvali & Nebula Işımaları */
#space-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.glow-cyan {
  width: 480px;
  height: 480px;
  background: var(--neon-cyan);
  top: -120px;
  left: -120px;
}
.glow-crimson {
  width: 420px;
  height: 420px;
  background: var(--neon-crimson);
  top: 28%;
  right: -140px;
}
.glow-purple {
  width: 520px;
  height: 520px;
  background: var(--neon-purple);
  bottom: -150px;
  left: 25%;
}

.cyber-grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 35%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Yardımcı Sınıflar */
.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.mono-text {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.accent-cyan {
  color: var(--neon-cyan);
}
.accent-crimson {
  color: var(--neon-crimson);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 50%, var(--neon-crimson) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   ÜST NAVİGASYON BARI
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(4, 7, 17, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom-color: rgba(0, 240, 255, 0.16);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-emblem {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.logo-emblem svg {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-uni {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(0, 240, 255, 0.14);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buton Stilleri */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: translate 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  translate: 0 -2px;
}

.btn-nav-whatsapp {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  background: rgba(37, 211, 102, 0.14);
  color: #e2fbe8;
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.btn-nav-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  box-shadow: 0 0 28px rgba(37, 211, 102, 0.45);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-whatsapp);
  box-shadow: 0 0 10px var(--neon-whatsapp);
}

.btn-whatsapp-hero {
  background: linear-gradient(135deg, #16a34a 0%, #25d366 55%, #00f0ff 100%);
  color: #03150a;
  font-weight: 800;
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.4), 0 0 20px rgba(0, 240, 255, 0.25);
}

.btn-whatsapp-hero:hover {
  box-shadow: 0 14px 42px rgba(37, 211, 102, 0.65), 0 0 30px rgba(0, 240, 255, 0.45);
}

.btn-whatsapp-hero .icon-wa {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-25deg);
  animation: shineSweep 4.5s infinite;
  --animation-reduced: none;
}

@keyframes shineSweep {
  0%, 65% { left: -100%; }
  100% { left: 160%; }
}

.btn-secondary-neon {
  background: rgba(15, 23, 42, 0.72);
  color: var(--text-primary);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.15);
}

.btn-secondary-neon:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.38);
}

.btn-secondary-neon svg {
  width: 20px;
  height: 20px;
  color: var(--neon-cyan);
}

/* Mobil Menü Butonu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-glass);
  padding: 0.6rem;
  border-radius: 10px;
  cursor: pointer;
}
.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   1. HERO (GİRİŞ) BÖLÜMÜ VE ROKET ANİMASYONU
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.telemetry-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: pulseGlow 2s infinite;
  --animation-reduced: none;
}

.badge-tag {
  background: linear-gradient(90deg, var(--neon-crimson), var(--neon-purple));
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.68rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.35rem;
}

.hero-subtitle-top {
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 1.4vw, 0.98rem);
  letter-spacing: 0.24em;
  color: var(--text-secondary);
}

.gradient-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  background: linear-gradient(125deg, #ffffff 15%, var(--neon-cyan) 55%, var(--neon-crimson) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(0, 240, 255, 0.22));
}

.hero-description {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: 2rem;
}

.hero-description strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 1.2rem 1.5rem;
  gap: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--neon-cyan);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

/* Sağ: Yörünge & Hareketli Roket Sahnesi */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbital-stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1.08;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.25);
  pointer-events: none;
}

.ring-outer {
  width: 96%;
  height: 96%;
  animation: spinOrbit 34s linear infinite;
  --animation-reduced: spinOrbit 120s linear infinite;
}

.ring-middle {
  width: 76%;
  height: 76%;
  border-style: solid;
  border-color: rgba(112, 0, 255, 0.28);
  animation: spinOrbitReverse 24s linear infinite;
  --animation-reduced: none;
}

.ring-inner {
  width: 56%;
  height: 56%;
  border-color: rgba(255, 0, 85, 0.25);
  animation: spinOrbit 18s linear infinite;
  --animation-reduced: none;
}

@keyframes spinOrbit {
  to { transform: rotate(360deg); }
}
@keyframes spinOrbitReverse {
  to { transform: rotate(-360deg); }
}

/* HUD Telemetri Kartları */
.hud-card {
  position: absolute;
  z-index: 4;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 155px;
}

.hud-top-left {
  top: 6%;
  left: -4%;
}

.hud-bottom-right {
  bottom: 8%;
  right: -4%;
}

.hud-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.hud-value {
  font-size: 1.15rem;
  color: var(--neon-cyan);
}

.hud-sub {
  font-size: 0.68rem;
  color: #cbd5e1;
}

/* Yukarı Uçan / Süzülen Roket Animasyonu */
.rocket-assembly {
  position: relative;
  z-index: 3;
  width: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rocketHoverFlight 4.2s ease-in-out infinite;
  --animation-reduced: none;
  will-change: transform;
}

.rocket-assembly.boost-active {
  animation: rocketMachBoost 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes rocketHoverFlight {
  0%, 100% {
    translate: 0 10px;
    rotate: -1.5deg;
  }
  50% {
    translate: 0 -22px;
    rotate: 1.5deg;
  }
}

@keyframes rocketMachBoost {
  0% { translate: 0 0; scale: 1; }
  25% { translate: 0 18px; scale: 0.96 1.05; }
  60% { translate: 0 -95px; scale: 1.06 1.12; }
  100% { translate: 0 0; scale: 1; }
}

.rocket-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 240, 255, 0.32));
}

/* Roket Plazma Alevi Titreşimi */
.rocket-flame-group {
  transform-origin: 130px 312px;
  animation: thrusterPulse 0.18s ease-in-out infinite alternate;
  --animation-reduced: none;
}

.rocket-assembly.boost-active .rocket-flame-group {
  scale: 1.35 1.65;
}

@keyframes thrusterPulse {
  from { transform: scaleY(0.92) scaleX(0.96); }
  to { transform: scaleY(1.14) scaleX(1.05); }
}

.shockwave-ring {
  transform-origin: 130px 350px;
  animation: shockwaveExpand 1.6s ease-out infinite;
  --animation-reduced: none;
}
.sw-2 {
  animation-delay: 0.8s;
}

@keyframes shockwaveExpand {
  0% {
    transform: scale(0.6) translateY(-10px);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.45) translateY(35px);
    opacity: 0;
  }
}

/* Hız Çizgileri */
.speed-lines {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}
.speed-lines span {
  position: absolute;
  width: 2px;
  height: 45px;
  background: linear-gradient(180deg, var(--neon-cyan), transparent);
  opacity: 0.5;
  animation: speedLineFall 1.2s linear infinite;
  --animation-reduced: none;
}
.speed-lines span:nth-child(1) { left: 10%; top: 10%; animation-delay: 0.1s; }
.speed-lines span:nth-child(2) { left: 22%; top: 40%; animation-delay: 0.5s; height: 65px; }
.speed-lines span:nth-child(3) { right: 14%; top: 15%; animation-delay: 0.3s; }
.speed-lines span:nth-child(4) { right: 24%; top: 55%; animation-delay: 0.7s; height: 55px; }
.speed-lines span:nth-child(5) { left: 48%; top: -10%; animation-delay: 0.9s; }

@keyframes speedLineFall {
  0% { translate: 0 -40px; opacity: 0; }
  40% { opacity: 0.75; }
  100% { translate: 0 180px; opacity: 0; }
}

/* Roket Kıvılcım Parçacıkları */
.exhaust-particles {
  position: absolute;
  bottom: -15px;
  left: 50%;
  translate: -50% 0;
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.exhaust-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: sparkDrop 1.1s ease-out infinite;
  --animation-reduced: none;
}

@keyframes sparkDrop {
  0% {
    translate: 0 0;
    scale: 1;
    opacity: 1;
  }
  100% {
    translate: var(--dx, 20px) 95px;
    scale: 0.2;
    opacity: 0;
  }
}

/* Kaydırma Göstergesi */
.scroll-down-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.7rem;
  opacity: 0.8;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.scroll-down-indicator:hover {
  opacity: 1;
  color: var(--neon-cyan);
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border-radius: 99px;
  border: 1.5px solid rgba(0, 240, 255, 0.5);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 7px;
  border-radius: 99px;
  background: var(--neon-cyan);
  animation: wheelScroll 1.6s infinite;
  --animation-reduced: none;
}
@keyframes wheelScroll {
  0% { translate: 0 0; opacity: 1; }
  100% { translate: 0 11px; opacity: 0; }
}

/* ==========================================================================
   2. HAKKIMIZDA, TAKIMLAR VE YOL HARİTASI BÖLÜMLERİ
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--neon-cyan);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 5rem;
}

.glass-card {
  position: relative;
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.85rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, translate 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 24px 60px rgba(0, 240, 255, 0.12);
}

.featured-card {
  border-color: rgba(255, 0, 85, 0.38);
  background: linear-gradient(165deg, rgba(255, 0, 85, 0.09) 0%, var(--surface-glass) 65%);
}
.featured-card:hover {
  border-color: var(--neon-crimson);
  box-shadow: 0 24px 60px rgba(255, 0, 85, 0.18);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(0, 240, 255, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-card:hover .card-glow {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
}
.card-icon svg {
  width: 28px;
  height: 28px;
}
.icon-cyan {
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
}
.icon-crimson {
  background: rgba(255, 0, 85, 0.12);
  color: var(--neon-crimson);
  border: 1px solid rgba(255, 0, 85, 0.35);
}
.icon-purple {
  background: rgba(112, 0, 255, 0.18);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.35);
}

.card-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--neon-cyan);
  margin-bottom: 0.45rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  margin-bottom: 0.85rem;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
}

.card-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #e2e8f0;
}
.card-highlights span {
  color: var(--neon-cyan);
  margin-right: 0.4rem;
}

/* Yarışma Kategorileri Grid */
.teams-showcase {
  margin-bottom: 5rem;
}

.teams-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.teams-note {
  font-size: 0.78rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.category-pill h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.35rem 0 0.65rem;
}

.category-pill p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.cat-code {
  font-size: 0.75rem;
  color: var(--neon-crimson);
  font-weight: 700;
}

.cat-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cat-tech-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  background: rgba(0, 240, 255, 0.09);
  border: 1px solid rgba(0, 240, 255, 0.24);
  color: #cbd5e1;
}

/* Yol Haritası (Timeline) */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.timeline-step {
  padding: 1.65rem;
  position: relative;
  transition: translate 0.25s ease, border-color 0.25s ease;
}

.timeline-step:hover {
  translate: 0 -5px;
  border-color: var(--neon-cyan);
}

.step-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bg-space);
  background: var(--neon-cyan);
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  margin-bottom: 0.85rem;
}

.timeline-step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.timeline-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   3. CANLI INSTAGRAM AKIŞI BÖLÜMÜ
   ========================================================================== */
.insta-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.insta-profile-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 1.35rem;
}

.insta-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
}

.insta-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}

.live-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  animation: pulseGlow 2.4s infinite;
  --animation-reduced: none;
}

.insta-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.insta-handle-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.verified-badge {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--neon-cyan);
  color: var(--bg-space);
  font-size: 0.65rem;
  font-weight: 900;
}

.insta-bio-mini {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.insta-counts {
  display: flex;
  gap: 0.85rem;
  font-size: 0.75rem;
  color: #e2e8f0;
}

.btn-insta-follow {
  background: linear-gradient(135deg, #ff0055, #7000ff);
  color: #fff;
  padding: 0.6rem 1.15rem;
  font-size: 0.82rem;
}

.insta-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.insta-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--bg-space);
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.api-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
}

.api-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* Instagram Grid (6'lı Fütüristik Kart Yapısı) */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insta-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  background: var(--bg-deep);
  border: 1px solid rgba(0, 240, 255, 0.16);
  cursor: pointer;
  group: insta;
  transition: translate 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.insta-card:hover {
  translate: 0 -6px;
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 45px rgba(0, 240, 255, 0.2);
}

.insta-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: scale 0.5s ease;
}

.insta-card:hover .insta-visual {
  scale: 1.06;
}

.insta-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(4, 7, 17, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 17, 0.1) 0%, rgba(4, 7, 17, 0.92) 85%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.insta-caption-preview {
  font-size: 0.9rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.insta-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
}

/* Native <dialog> Instagram Lightbox Modal (Modern Top-Layer Entry/Exit) */
.insta-modal {
  margin: auto;
  width: min(92vw, 820px);
  border: 1px solid var(--neon-cyan);
  color: var(--text-primary);
  padding: 0;
  opacity: 0;
  scale: 0.94;
  transition:
    opacity 0.25s ease-out,
    scale 0.25s ease-out,
    display 0.25s allow-discrete,
    overlay 0.25s allow-discrete;
}

.insta-modal[open] {
  opacity: 1;
  scale: 1;
}

@starting-style {
  .insta-modal[open] {
    opacity: 0;
    scale: 0.94;
  }
}

.insta-modal::backdrop {
  background: rgba(4, 7, 17, 0.8);
  backdrop-filter: blur(8px);
}

.modal-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(4, 7, 17, 0.8);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 3;
}

.modal-media {
  min-height: 360px;
  background: #050a18;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.modal-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal-author span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.modal-caption {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.65;
  flex: 1;
}

.modal-stats {
  font-size: 0.82rem;
  color: var(--neon-cyan);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   4. WHATSAPP CTA BANNER & SABİT (FIXED) SAĞ ALT WHATSAPP BUTONU
   ========================================================================== */
.cta-banner {
  position: relative;
  padding: 4rem 3rem;
  overflow: hidden;
  text-align: center;
  border-color: rgba(37, 211, 102, 0.35);
}

.cta-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
  pointer-events: none;
}
.orb-1 {
  background: var(--neon-whatsapp);
  top: -100px;
  left: -80px;
}
.orb-2 {
  background: var(--neon-cyan);
  bottom: -100px;
  right: -80px;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* SABİT (FIXED) SAĞ ALT PARLAYAN WHATSAPP BUTONU */
.floating-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.wa-icon-box {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a 0%, #25d366 60%, #00f0ff 100%);
  color: #04160b;
  display: grid;
  place-items: center;
  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.55),
    0 0 25px rgba(0, 240, 255, 0.4);
  transition: scale 0.25s ease;
}

.wa-icon-box svg {
  width: 32px;
  height: 32px;
}

.floating-whatsapp:hover .wa-icon-box {
  scale: 1.08;
}

.wa-glow-ring {
  position: absolute;
  right: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid var(--neon-whatsapp);
  pointer-events: none;
  animation: waRipple 2.4s ease-out infinite;
  --animation-reduced: none;
}

.wa-glow-ring.ring-2 {
  border-color: var(--neon-cyan);
  animation-delay: 1.2s;
}

@keyframes waRipple {
  0% {
    scale: 1;
    opacity: 0.85;
  }
  100% {
    scale: 1.75;
    opacity: 0;
  }
}

.wa-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--neon-crimson);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 12px var(--neon-crimson);
}

.wa-tooltip {
  background: var(--surface-glass-strong);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(37, 211, 102, 0.45);
  padding: 0.6rem 1rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: translate 0.25s ease, opacity 0.25s ease;
}

.wa-tooltip strong {
  font-size: 0.84rem;
  color: #ecfdf5;
}
.wa-tooltip small {
  font-size: 0.7rem;
  color: #86efac;
}

/* ==========================================================================
   ALT BİLGİ (FOOTER)
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(0, 240, 255, 0.14);
  padding: 4rem 0 6rem;
  background: rgba(4, 7, 17, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 44ch;
}

.footer-copy {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  margin-top: 1.25rem !important;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--neon-cyan);
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom-credit {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.credit-link {
  color: var(--neon-cyan);
  font-weight: 700;
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.credit-link:hover {
  background: rgba(0, 240, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.45);
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; scale: 1; }
  50% { opacity: 0.45; scale: 0.92; }
}

/* ==========================================================================
   SCROLL-DRIVEN ENTRY ANIMATIONS & REDUCED MOTION (MODERN WEB GUIDANCE)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes scrollRevealUp {
      from {
        opacity: 0;
        translate: 0 36px;
        scale: 0.96;
      }
      to {
        opacity: 1;
        translate: 0 0;
        scale: 1;
      }
    }

    .reveal-up {
      animation: scrollRevealUp auto linear backwards;
      animation-timeline: view(block);
      animation-range: entry 10% cover 28%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: var(--animation-reduced) !important;
    transition-duration: 0.05s !important;
  }
}

/* ==========================================================================
   SAVAŞAN İHA OTONOM KİLİTLENME SİMÜLASYONU (CANLI HUD) STİLLERİ
   ========================================================================== */
.uav-sim-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.uav-sim-wrapper {
  padding: 1.35rem;
  border: 1px solid rgba(0, 240, 255, 0.32);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(0, 240, 255, 0.12);
}

.uav-sim-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.uav-mode-group,
.uav-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.uav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8, 13, 26, 0.82);
  color: var(--text-secondary);
  border: 1px solid rgba(0, 240, 255, 0.22);
  padding: 0.55rem 1.05rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.uav-btn:hover {
  color: var(--text-primary);
  border-color: var(--neon-cyan);
}

.uav-btn.active {
  background: rgba(0, 240, 255, 0.16);
  color: #ffffff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.28);
}

.uav-btn-accent {
  border-color: rgba(255, 0, 85, 0.45);
  color: #fda4af;
}

.uav-btn-accent:hover {
  background: rgba(255, 0, 85, 0.18);
  border-color: var(--neon-crimson);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.35);
}

.uav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.uav-hud-stage {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: #020813;
  aspect-ratio: 16 / 8;
  cursor: crosshair;
}

#uav-hud-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.uav-lock-alert {
  position: absolute;
  top: 16%;
  left: 50%;
  translate: -50% 0;
  background: rgba(255, 0, 85, 0.9);
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: 0 0 35px rgba(255, 0, 85, 0.8);
  pointer-events: none;
  z-index: 5;
}

.uav-lock-alert[hidden] {
  display: none !important;
}

.uav-lock-alert strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.uav-lock-alert span {
  font-size: 0.72rem;
}

.uav-telemetry-bar {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.8fr 1.1fr;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  border-radius: 14px;
  background: rgba(4, 7, 17, 0.78);
  border: 1px solid rgba(0, 240, 255, 0.16);
}

.uav-tele-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.uav-tele-label {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.uav-tele-val {
  font-size: 0.96rem;
  color: var(--text-primary);
}

.uav-lock-progress-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.uav-progress-track {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.uav-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-crimson));
  transition: width 0.08s linear;
}

/* ==========================================================================
   TAKIM EŞLEŞME, KULLANICI GİRİŞİ, MESAJLAŞMA VE ADMİN PLATFORMU
   ========================================================================== */
.nav-auth-btn {
  cursor: pointer;
}

.portal-section {
  position: relative;
}

.portal-welcome-banner {
  padding: 1.4rem 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.12);
}

.portal-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border-color: rgba(0, 240, 255, 0.25);
}

.session-user-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.session-user-info strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.session-user-info span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.session-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.5);
  flex-shrink: 0;
}

.session-status-dot.online {
  background: var(--whatsapp-green);
  box-shadow: 0 0 12px var(--whatsapp-green);
}

.session-status-dot.admin {
  background: var(--neon-crimson);
  box-shadow: 0 0 14px var(--neon-crimson);
}

.session-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
}

.demo-accounts-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.6rem;
  background: rgba(11, 18, 36, 0.72);
  border: 1px dashed rgba(0, 240, 255, 0.28);
}

.demo-strip-label {
  font-size: 0.75rem;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
}

.demo-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.portal-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.portal-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(13, 21, 38, 0.68);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all 0.25s ease;
}

.portal-tab:hover {
  color: var(--text-primary);
  border-color: rgba(0, 240, 255, 0.35);
}

.portal-tab.active {
  color: #03111c;
  background: linear-gradient(135deg, var(--neon-cyan), #38bdf8);
  border-color: transparent;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.32);
}

.portal-tab-admin {
  border-color: rgba(255, 0, 85, 0.45);
  color: #fda4af;
}

.portal-tab-admin.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--neon-crimson), #9333ea);
  box-shadow: 0 0 24px rgba(255, 0, 85, 0.4);
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
}

[hidden],
.portal-tab[hidden],
.btn[hidden],
.portal-panel[hidden] {
  display: none !important;
}

.portal-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.portal-user-card {
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.15rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.portal-user-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.4);
}

.portal-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.portal-user-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.portal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(168, 85, 247, 0.28));
  border: 1px solid rgba(0, 240, 255, 0.4);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.portal-avatar.seeker {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(255, 0, 85, 0.25));
  border-color: rgba(168, 85, 247, 0.45);
  color: #e9d5ff;
}

.portal-user-meta h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.portal-user-email {
  font-size: 0.73rem;
  color: var(--neon-cyan);
}

.role-pill {
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.role-pill.leader {
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.role-pill.seeker {
  background: rgba(168, 85, 247, 0.14);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.portal-project-box {
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  background: rgba(4, 9, 22, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.portal-box-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portal-box-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

.portal-box-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.portal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.verified-edu-tag {
  font-size: 0.72rem;
  color: #4ade80;
}

/* SİTE İÇİ MESAJLAŞMA MERKEZİ */
.messaging-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.22);
}

.chat-sidebar {
  border-right: 1px solid var(--border-glass);
  background: rgba(5, 10, 22, 0.75);
  display: flex;
  flex-direction: column;
}

.chat-sidebar-header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-glass);
}

.chat-sidebar-header h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
}

.chat-contacts-list,
.admin-threads-list {
  flex: 1;
  overflow-y: auto;
  max-height: 440px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chat-contact-item,
.admin-thread-item {
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-contact-item:hover,
.admin-thread-item:hover {
  background: rgba(0, 240, 255, 0.07);
  border-color: rgba(0, 240, 255, 0.22);
}

.chat-contact-item.active,
.admin-thread-item.active {
  background: rgba(0, 240, 255, 0.14);
  border-color: var(--neon-cyan);
}

.chat-contact-item strong,
.admin-thread-item strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.chat-contact-item small,
.admin-thread-item small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-main,
.admin-transcript-col {
  display: flex;
  flex-direction: column;
  background: rgba(8, 13, 27, 0.55);
}

.chat-header {
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(4, 8, 19, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.chat-header span {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.chat-messages-box {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  max-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-empty-state {
  margin: auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 360px;
}

.chat-bubble {
  max-width: 78%;
  padding: 0.8rem 1.05rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  position: relative;
}

.chat-bubble.outgoing {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(56, 189, 248, 0.18));
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

.chat-bubble.incoming {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-cyan);
}

.chat-input-form {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-glass);
  background: rgba(4, 8, 19, 0.8);
}

.chat-input-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.chat-input-form input:focus {
  outline: none;
  border-color: var(--neon-cyan);
}

/* ADMİN DENETİM PANELİ */
.admin-dashboard {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 0, 85, 0.35);
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  background: rgba(255, 0, 85, 0.06);
  border-bottom: 1px solid var(--border-glass);
}

.admin-stat-box {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(4, 8, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-stat-box span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.admin-stat-box strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--neon-cyan);
}

.admin-inspector-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 460px;
}

.admin-threads-col {
  border-right: 1px solid var(--border-glass);
  background: rgba(5, 10, 22, 0.78);
}

.admin-delete-msg-btn {
  background: rgba(255, 0, 85, 0.16);
  border: 1px solid rgba(255, 0, 85, 0.4);
  color: #fda4af;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.65rem;
  cursor: pointer;
}

.admin-delete-msg-btn:hover {
  background: var(--neon-crimson);
  color: #fff;
}

/* ÖĞRENCİ GİRİŞ & KAYIT MODALI (MODERN FORM DOĞRULAMA KURALLARIYLA) */
.auth-modal {
  margin: auto;
  width: min(580px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 0;
  color: var(--text-primary);
  background: rgba(7, 12, 26, 0.97);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85);
}

.auth-modal::backdrop {
  background: rgba(2, 4, 10, 0.82);
  backdrop-filter: blur(8px);
}

.auth-modal-inner {
  padding: 2rem;
  position: relative;
}

.auth-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 1.4rem;
  margin-right: 2.2rem;
}

.auth-switch-btn {
  padding: 0.65rem 0.9rem;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-switch-btn.active {
  background: linear-gradient(135deg, var(--neon-cyan), #38bdf8);
  color: #04101c;
}

.auth-modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.auth-modal-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.auth-feedback {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.84rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 0, 85, 0.45);
  background: rgba(255, 0, 85, 0.12);
  color: #fecdd3;
}

.auth-feedback.success {
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.14);
  color: #bbf7d0;
}

.auth-form[hidden],
.dynamic-role-fields[hidden] {
  display: none !important;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-bottom: 1.1rem;
}

.field label {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hint,
.rules-list {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin: 0;
}

.rules-list {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rules-list li.rule-ok {
  color: #4ade80;
}

.field input,
.field textarea {
  padding: 0.78rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(148, 163, 184, 0.28);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.14);
}

/* Modern Web Guidance: validate-input-after-interaction (:user-invalid & :user-valid) */
.error-msg {
  display: none;
  color: #fb7185;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.field input:user-invalid {
  border-color: #f43f5e;
  background: rgba(244, 63, 94, 0.07);
}

.field input:user-valid {
  border-color: #22c55e;
}

.field input:user-invalid + .error-msg {
  display: block;
}

.field:has(input:user-invalid) .rules-list {
  color: #fb7185;
}

.field:has(input:user-valid) .rules-list {
  display: none;
}

.role-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.role-option-card {
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-glass);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.role-option-card input[type="radio"] {
  accent-color: var(--neon-cyan);
}

.role-option-card strong {
  font-size: 0.84rem;
  color: var(--text-primary);
}

.role-option-card small {
  font-size: 0.73rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.role-option-card.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
}

/* ==========================================================================
   %100 MOBİL VE TABLET UYUMLULUK (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-inline: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .about-cards-grid,
  .insta-grid,
  .uav-telemetry-bar,
  .portal-cards-grid,
  .admin-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .messaging-layout,
  .admin-inspector-grid {
    grid-template-columns: 1fr;
  }
  .timeline-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .uav-hud-stage {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 74px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 1rem;
    background: rgba(8, 13, 26, 0.96);
    border: 1px solid var(--border-glass);
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
  .btn-nav-whatsapp span:not(.pulse-dot) {
    display: none;
  }
  .about-cards-grid,
  .categories-grid,
  .timeline-track,
  .insta-grid,
  .footer-grid,
  .modal-inner,
  .uav-telemetry-bar,
  .portal-cards-grid,
  .role-selector-grid,
  .admin-stats-row {
    grid-template-columns: 1fr;
  }
  .uav-hud-stage {
    aspect-ratio: 4 / 3;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .stat-divider {
    width: 100%;
    height: 1px;
  }
  .hud-top-left {
    left: 0;
  }
  .hud-bottom-right {
    right: 0;
  }
  .wa-tooltip {
    display: none;
  }
  .cta-banner {
    padding: 2.5rem 1.35rem;
  }
}
