:root {
  --bg-top: #0B1124;
  --bg-bottom: #030612;
  --card: rgba(15, 23, 42, 0.62);
  --card-solid: rgba(15, 23, 42, 0.88);
  --line: rgba(148, 163, 184, 0.16);
  --line-glow: rgba(56, 189, 248, 0.35);
  --cream: #F8FAFC;
  --muted: rgba(226, 232, 240, 0.72);
  --gold: #FBBF24;
  --cyan: #38BDF8;
  --emerald: #10B981;
  --violet: #A855F7;
  --pink: #EC4899;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 55% at 20% 8%, rgba(56, 189, 248, 0.14), transparent 62%),
    radial-gradient(ellipse 70% 50% at 85% 22%, rgba(168, 85, 247, 0.15), transparent 60%),
    radial-gradient(ellipse 65% 45% at 50% 95%, rgba(236, 72, 153, 0.10), transparent 65%),
    radial-gradient(circle at 50% 0%, #131C3A 0%, var(--bg-top) 48%, var(--bg-bottom) 100%) fixed;
  background-color: var(--bg-bottom);
  color: var(--cream);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Canlı Yıldız Alanı */
#space-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

a { color: var(--cyan); }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 18px 68px;
}

/* Üst bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.2px;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}
.langs { display: flex; gap: 6px; }
.langs button {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.langs button:hover { background: rgba(255, 255, 255, 0.14); }
.langs button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--cyan), #6366F1);
  color: #fff;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

/* Dil seçimi */
html[data-lang="en"] [lang="tr"],
html[data-lang="tr"] [lang="en"] { display: none !important; }

/* Hero & Yörünge Halkaları */
.hero {
  text-align: center;
  padding: 26px 0 14px;
  position: relative;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.30);
  color: #BAE6FD;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseDot 2s ease-in-out infinite;
}

.orbit-logo {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orbit-ring.outer {
  inset: 0;
  border: 1.5px dashed rgba(56, 189, 248, 0.32);
  animation: spinSlow 24s linear infinite;
}
.orbit-ring.inner {
  inset: 20px;
  border: 1px solid rgba(168, 85, 247, 0.32);
  animation: spinReverse 16s linear infinite;
}
.orbit-sat {
  position: absolute;
  border-radius: 50%;
}
.orbit-ring.outer .orbit-sat {
  width: 11px;
  height: 11px;
  top: -6px;
  left: 50%;
  margin-left: -5.5px;
  background: radial-gradient(circle at 35% 35%, #FEF08A, var(--gold));
  box-shadow: 0 0 12px var(--gold);
}
.orbit-ring.inner .orbit-sat {
  width: 9px;
  height: 9px;
  bottom: -4.5px;
  left: 50%;
  margin-left: -4.5px;
  background: radial-gradient(circle at 35% 35%, #E0F2FE, var(--cyan));
  box-shadow: 0 0 12px var(--cyan);
}
.orbit-logo img {
  width: 134px;
  height: 134px;
  border-radius: 32px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.65),
    0 0 38px rgba(56, 189, 248, 0.28),
    0 0 70px rgba(168, 85, 247, 0.16);
  animation: floatOrb 4.8s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(44px, 10vw, 64px);
  margin: 10px 0 6px;
  letter-spacing: -1px;
  line-height: 1.05;
  background: linear-gradient(180deg, #FFFFFF 20%, #BAE6FD 72%, #A5B4FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline {
  color: var(--muted);
  font-size: clamp(17px, 3.6vw, 21px);
  max-width: 540px;
  margin: 0 auto 28px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38BDF8 0%, #6366F1 55%, #A855F7 100%);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.badge svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.badge.ghost {
  background: rgba(15, 23, 42, 0.65);
  color: var(--cream);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
a.badge:hover, button.badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 36px rgba(56, 189, 248, 0.42);
}
a.badge.ghost:hover, button.badge.ghost:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.16);
}

/* Bölüm başlıkları */
.section-head {
  text-align: center;
  margin: 54px 0 22px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.section-head h2 {
  font-size: clamp(26px, 5vw, 34px);
  margin: 0 0 6px;
  line-height: 1.15;
}
.section-head p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 520px;
  font-size: 15.5px;
}

/* 12 Kademeli Kozmik Evrim Şeridi */
.atlas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.planet-chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 8px 12px;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.planet-chip:hover {
  transform: translateY(-4px);
  border-color: var(--line-glow);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.14);
}
.planet-orb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 10px;
  position: relative;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.45), var(--p-col) 46%, var(--p-dark) 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 18px var(--p-glow, rgba(56, 189, 248, 0.22));
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.planet-orb.ring::after {
  content: "";
  position: absolute;
  inset: 14px -10px;
  border-radius: 50%;
  border: 2.5px solid rgba(253, 230, 138, 0.9);
  transform: rotate(-18deg);
}
.planet-orb.blackhole {
  background: radial-gradient(circle at center, #000 54%, #1E1B4B 78%, #F59E0B 100%);
  border-color: #F59E0B;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.45);
}
.planet-orb.galaxy {
  background: radial-gradient(circle at center, #E0E7FF 0%, #6366F1 45%, #312E81 100%);
  box-shadow: 0 0 24px rgba(129, 140, 248, 0.55);
}
.planet-orb.bigbang {
  background: radial-gradient(circle at center, #FFFFFF 0%, #FDE047 36%, #EC4899 78%, #7C3AED 100%);
  border-color: #FEF08A;
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.65);
}
.planet-tier {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan);
  opacity: 0.85;
  margin-bottom: 1px;
}
.planet-name {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.25;
}

/* Demo */
.demo {
  text-align: center;
  margin: 52px 0 8px;
  scroll-margin-top: 20px;
}
.demo-portal {
  display: inline-block;
  width: 100%;
  max-width: 392px;
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.14), rgba(168, 85, 247, 0.10));
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.62),
    0 0 48px rgba(56, 189, 248, 0.14);
}
.stage {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 360 / 420;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: #050814;
}
.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: crosshair;
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 8, 20, 0.76);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.overlay .card {
  width: 100%;
  max-width: 298px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 24px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
}
.overlay p { margin: 0; }
.overlay .title { font-size: 21px; font-weight: 800; color: var(--cream); }
.overlay .score { font-size: 48px; font-weight: 900; line-height: 1; color: var(--gold); }
.overlay .note { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.overlay .badge { width: 100%; padding: 12px 16px; font-size: 14.5px; margin-top: 4px; }
.demo-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill {
  background: rgba(15, 23, 42, 0.72);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: all 0.18s ease;
}
.pill:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
}

/* Özellik kartları */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 44px 0 36px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--line-glow);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.feature b { display: block; font-size: 17.5px; margin-bottom: 6px; color: var(--gold); }
.feature span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Alt İndirme Çağrısı (Final CTA) */
.final-cta {
  margin: 42px 0 12px;
  padding: 34px 24px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.20), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.22), transparent 55%),
    rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.final-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.15;
}
.final-cta p {
  margin: 0 auto 22px;
  max-width: 480px;
  color: var(--muted);
  font-size: 15.5px;
}

/* Metin sayfaları (privacy.html, support.html) */
.doc h1 { font-size: 34px; margin: 0 0 4px; line-height: 1.2; }
.doc .meta { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; color: var(--cyan); }
.doc h3 { font-size: 17px; margin: 20px 0 6px; color: var(--gold); }
.doc p, .doc li { color: rgba(248, 250, 252, 0.88); }
.doc ul { padding-left: 20px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 20px 0; }
.mail { font-size: 20px; font-weight: 800; word-break: break-all; }

[hidden] { display: none !important; }

footer {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
footer .foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--cyan); }

/* Animasyonlar */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .orbit-logo img, .live-dot { animation: none !important; }
}
