/* =========================
   GLOBAL / RESET
   ========================= */

html,
body {
  margin: 0;
  padding: 0;
  overflow-y: scroll; /* Scrollbar sabit, kayma yok */
}

* {
  box-sizing: border-box;
}

/* Çeviri koruması */
.notranslate {
  unicode-bidi: isolate !important;
  translate: no !important;
}

*[translate="no"] {
  translate: no !important;
}

/* =========================
   THEME VARIABLES
   ========================= */

:root {
  --bg: #05060a;
  --panel: #0d0f16;
  --border: rgba(255, 255, 255, 0.08);
  --ink: #e7e9f5;
  --muted: #8c92a3;
  --accent: #7fd3ff;
  --accent-soft: rgba(127, 211, 255, 0.12);
}

/* =========================
   BASE TYPOGRAPHY
   ========================= */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: radial-gradient(
    circle at top,
    #151a25 0,
    #05060a 55%,
    #020309 100%
  );
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   HEADER / NAVIGATION - DÜZELTME
   ========================= */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(5, 6, 10, 0.92),
    rgba(5, 6, 10, 0.78)
  );
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  height: 60px; /* SABİT YÜKSEKLİK - hizalama için */
  display: flex;
  align-items: center;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
  flex-shrink: 0;
}

.logo a {
  color: #ffffff;
}

/* Masaüstü navigasyon linkleri */

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  align-items: center;
  height: 100%; /* Full yükseklik */
}

.nav-links a,
.nav-links span {
  color: var(--muted);
  transition: color 0.18s ease;
  white-space: nowrap;
  /* ALT ÇİZGİ KALDIRILDI */
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links .active {
  color: var(--accent);
  cursor: default;
}

/* ===== Manifesto link - Logo ile uyumlu özel stil ===== */

.nav-manifesto {
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
}

.nav-manifesto:hover {
  color: #ffffff;
}

/* Hamburger (masaüstünde gizli) */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
  border-radius: 2px;
}

/* X şekli */

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Açılır mobil menü (hamburger tıklanınca açılan kutu) */

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  right: 15px;
  background: #0d0f16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 0;
  min-width: 200px;
  z-index: 9999;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.mobile-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
}

.mobile-menu a:hover {
  background: rgba(127, 211, 255, 0.1);
  color: #7fd3ff;
}

.mobile-menu.active {
  display: block;
}

/* =========================
   MAIN LAYOUT
   ========================= */

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 18px 72px;
}

section {
  padding: 32px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 12px;
  scroll-margin-top: 80px;
}

h1 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 6px;
}

h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

.lead {
  color: var(--muted);
  max-width: 70ch;
  font-size: 15px;
}

/* =========================
   INDEX: HERO SECTION
   ========================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 32px;
  padding: 32px 0 40px;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(127, 211, 255, 0.35);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 46rem;
  margin-bottom: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* Buttons */

.btn {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s ease, border-color 0.18s ease,
    transform 0.1s ease;
}

.btn-primary {
  border-color: rgba(127, 211, 255, 0.6);
  background: radial-gradient(
    circle at top left,
    rgba(127, 211, 255, 0.26),
    rgba(5, 6, 10, 1)
  );
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Hero right panel */

.hero-panel {
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    linear-gradient(120deg, rgba(127, 211, 255, 0.12), transparent 55%),
    radial-gradient(circle at bottom, rgba(0, 0, 0, 0.9), #05060a 65%);
  padding: 16px 16px 18px;
  position: relative;
  overflow: hidden;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.25;
  transform: translate3d(0, 0, 0);
}

.grid-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 0%,
    rgba(5, 6, 10, 0.2) 0,
    rgba(5, 6, 10, 1) 60%
  );
  pointer-events: none;
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
}

.chip {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 12px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.pill {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 10, 0.7);
  color: var(--muted);
}

.metric-box {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 8px;
}

.metric-box ul {
  margin-top: 4px;
}

/* =========================
   SHARED SECTIONS
   ========================= */

section p {
  font-size: 14px;
  color: var(--muted);
  max-width: 60rem;
}

ul {
  padding-left: 18px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* Two-column layout */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 24px;
  margin-top: 8px;
}

.card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 14px 14px 12px;
  font-size: 13px;
  color: var(--muted);
}

.card h3 {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--ink);
}

/* =========================
   MANIFESTO LIST PAGE
   ========================= */

.list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.list li:last-child {
  border-bottom: none;
}

.chapter-link {
  display: flex;
  flex-direction: column;
  padding: 10px 4px;
  color: var(--ink);
}

.chapter-link span.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 2px;
}

.chapter-link span.title {
  font-size: 15px;
}

.chapter-link:hover span.title {
  color: var(--accent);
}

/* =========================
   FOOTER
   ========================= */

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 18px;
  margin-top: 32px;
}

/* =========================
   RESPONSIVE (MOBILE)
   ========================= */

/* 840px altı: sadece Manifesto + ☰ görünür, diğer linkler hamburger içinde */

@media (max-width: 840px) {
  .nav {
    padding: 10px 14px;
  }

  main {
    padding: 24px 14px 56px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-panel {
    order: -1; /* Mobilde panel üste gelsin */
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  /* DÜZELTME: Mobilde nav-links düzeni - SAĞ TARAFA YAPIŞTIR */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 16px; /* Normal gap */
    margin-left: auto; /* SAĞ tarafa itelsin */
  }
  
  /* Manifesto'yu sola kaydır */
  .nav-manifesto {
    margin-right: 12px; /* 2mm daha sağa */
  }

  /* DÜZELTME: Tüm linkleri gizle SADECE manifesto hariç */
  .nav-links a:not(.nav-manifesto) {
    display: none;
  }

  /* DÜZELTME: Manifesto görünür kalsın */
  .nav-links a.nav-manifesto {
    display: inline-block;
  }

  /* DÜZELTME: Hamburger görünsün */
  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .tagline {
    font-size: 11px;
  }
  
  /* DÜZELTME: Küçük ekranlarda manifesto ve hamburger arası mesafe */
  .nav-links {
    gap: 16px;
  }
  
  .nav-manifesto {
    margin-right: 12px; /* 2mm daha sağa */
  }
}

/* === JOIN SECTION (revize, daha estetik) === */

.join-section {
  padding: 60px 20px 80px;      /* Üst–alt boşluk */
  margin-top: 40px;             /* Bir önceki bloktan koparsın */
  display: flex;
  justify-content: center;
}

.join-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
}

.join-title {
  font-size: 18px;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}

.join-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.join-form input {
  padding: 13px 15px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #05060a;
  color: var(--ink);
}

.join-form input::placeholder {
  color: var(--muted);
}

.join-form button {
  margin-top: 8px;
  padding: 13px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #0a1f44, #123a7a, #1e5eff);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: 0.25s ease;
}

.join-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(30,94,255, 0.45);
}
