:root {
  --ink: #0b1b2b;
  --ink-2: #102a40;
  --paper: #eef2f5;
  --muted: #9fb3c4;
  --amber: #f5a524;
  --line: rgba(245, 165, 36, .35);
  --slide: 3200ms;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  grid-template-columns: minmax(0, 1fr);
  background: radial-gradient(1200px 700px at 80% -10%, #173a57 0%, transparent 60%), var(--ink);
  color: var(--paper);
  font: 400 17px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Arka plan: rota çizgileri */
.routes { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.r { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 6 10; animation: flow 18s linear infinite; }
.r2 { animation-duration: 24s; animation-direction: reverse; }
.r3 { animation-duration: 30s; opacity: .6; }
.hub { fill: var(--amber); animation: pulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes flow { to { stroke-dashoffset: -320; } }
@keyframes pulse { 50% { transform: scale(1.8); opacity: .4; } }

.top, main, .marquee, .foot { position: relative; z-index: 1; }

.top { display: flex; justify-content: space-between; align-items: center; padding: 24px clamp(16px, 5vw, 56px); }
.brand { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; }
.mark img { display: block; }
.brand span { display: grid; line-height: 1.15; }
.brand b { font: 700 18px/1 Unbounded, sans-serif; letter-spacing: .08em; }
.brand small { color: var(--muted); font-size: 13px; letter-spacing: .04em; }

.lang { display: flex; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 3px; }
.lang button {
  font: 600 13px/1 Manrope, sans-serif; letter-spacing: .06em;
  color: var(--muted); background: none; border: 0; border-radius: 999px;
  padding: 9px 14px; min-width: 44px; min-height: 36px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--amber); color: var(--ink); }
.lang button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

main {
  align-self: center;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 24px clamp(16px, 5vw, 56px) 40px;
}
.eyebrow { color: var(--amber); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }

/* Ana karusel: 10 dil, dikey kayan */
.carousel { position: relative; margin: 18px 0 26px; }
.track {
  list-style: none; position: relative;
  height: calc(clamp(40px, 9vw, 104px) * 1.25 + 30px);
  overflow: hidden;
}
.track li {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(60%);
  transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .7s;
}
.track li.on { opacity: 1; transform: none; }
.track li.out { opacity: 0; transform: translateY(-60%); }
.track span {
  font: 700 clamp(40px, 9vw, 104px)/1.15 Unbounded, "Noto Sans", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -.02em;
  white-space: nowrap;
  background: linear-gradient(90deg, #fff 0%, #ffe2ad 55%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.track li[dir="rtl"] { align-items: flex-end; }
.track i { font-style: normal; color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

.dots { list-style: none; display: flex; gap: 6px; margin-top: 14px; }
.dots li { width: 22px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.dots li.on::after { content: ""; display: block; height: 100%; background: var(--amber); animation: fill var(--slide) linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

.lead { max-width: 62ch; color: #c9d6e1; font-size: clamp(16px, 1.6vw, 19px); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: #dbe5ee; background: rgba(255,255,255,.03); }

/* Alt bant: sonsuz kayan yazı */
.marquee { overflow: hidden; border-block: 1px solid rgba(255,255,255,.1); background: var(--amber); color: var(--ink); }
.belt { display: flex; width: max-content; animation: belt 40s linear infinite; }
.belt span { font: 700 15px/1 Unbounded, "Noto Sans", system-ui, sans-serif; padding: 16px 0; white-space: nowrap; }
.belt span::after { content: "◆"; margin: 0 22px; font-size: 10px; vertical-align: middle; }
@keyframes belt { to { transform: translateX(-50%); } }

.foot { display: flex; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 5vw, 56px); color: var(--muted); font-size: 13px; }

@media (max-width: 560px) {
  .track span { white-space: normal; }
  .track { height: calc(clamp(40px, 9vw, 104px) * 2.4 + 30px); }
}

@media (prefers-reduced-motion: reduce) {
  .r, .hub, .belt { animation: none; }
  .track li { transition: opacity .3s; transform: none !important; }
  .dots li.on::after { animation: none; width: 100%; }
}
