/* ==========================================================
   Uzser AI Engine — temel stil
   ========================================================== */

:root {
  /* Sabit renkler */
  --accent: #FF6100;
  --on-accent: #0D0E10;

  /* Tipografi */
  /* Noto Sans Arabic: Geist'te olmayan Arapça harfler için yedek */
  --font-display: 'Geist', 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-sans: 'Geist', 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'Noto Sans Arabic', ui-monospace, monospace;

  /* Ölçüler */
  --container: 1280px;
  --gutter: clamp(16px, 3vw, 24px);
  --header-h: 76px;
  --radius: 10px;
  --radius-lg: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Tema: Koyu (varsayılan) ---------- */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D0E10;
  --bg-2: #101114;
  --surface: #141518;
  --surface-2: #16120F;
  --elev: #16171B;
  --text: #F3F2EF;
  --text-2: #B4B7BC;
  --nav: #C9CBCF;
  --muted: #8A8D93;
  --line: rgba(255, 255, 255, .06);
  --line-2: rgba(255, 255, 255, .10);
  --line-3: rgba(255, 255, 255, .14);
  --hover-tint: rgba(255, 255, 255, .06);
  --accent-2: #FF7A26;
  --accent-strong: #FF6100;
  --accent-text: #FF8A3D;
  --header-bg: rgba(13, 14, 16, .78);
  --header-bg-2: rgba(13, 14, 16, .92);
  --wire: rgba(255, 255, 255, .12);
  --node-text: #E6E5E2;
  --shadow: 0 18px 40px -16px rgba(0, 0, 0, .8);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .85);
  --canvas-rgb: 255, 255, 255;
  --canvas-alpha: .085;
}

/* ---------- Tema: Açık ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F4F0;
  --bg-2: #EFEDE8;
  --surface: #FFFFFF;
  --surface-2: #FFF5EE;
  --elev: #FFFFFF;
  --text: #121315;
  --text-2: #45474D;
  --nav: #45474D;
  --muted: #6B6E74;
  --line: rgba(18, 19, 21, .08);
  --line-2: rgba(18, 19, 21, .12);
  --line-3: rgba(18, 19, 21, .18);
  --hover-tint: rgba(18, 19, 21, .05);
  --accent-2: #E85800;
  --accent-strong: #D94F00;
  --accent-text: #B84300;
  --header-bg: rgba(245, 244, 240, .78);
  --header-bg-2: rgba(245, 244, 240, .92);
  --wire: rgba(18, 19, 21, .14);
  --node-text: #2B2D31;
  --shadow: 0 18px 40px -18px rgba(18, 19, 21, .28);
  --shadow-lg: 0 40px 80px -36px rgba(18, 19, 21, .32);
  --canvas-rgb: 18, 19, 21;
  --canvas-alpha: .07;
}

/* ---------- Tema: Lacivert (koyu) ---------- */
:root[data-theme="navy"] {
  color-scheme: dark;
  --bg: #0A1020;
  --bg-2: #0D1427;
  --surface: #111A30;
  --surface-2: #1A1A26;
  --elev: #131D35;
  --text: #EEF1F7;
  --text-2: #AEB7C9;
  --nav: #C3CADA;
  --muted: #7F8AA3;
  --line: rgba(174, 190, 230, .08);
  --line-2: rgba(174, 190, 230, .13);
  --line-3: rgba(174, 190, 230, .19);
  --hover-tint: rgba(174, 190, 230, .07);
  --accent-2: #FF7A26;
  --accent-strong: #FF6A12;
  --accent-text: #FF9550;
  --header-bg: rgba(10, 16, 32, .78);
  --header-bg-2: rgba(10, 16, 32, .92);
  --wire: rgba(174, 190, 230, .16);
  --node-text: #E3E8F2;
  --shadow: 0 18px 40px -16px rgba(0, 4, 16, .8);
  --shadow-lg: 0 40px 80px -30px rgba(0, 4, 16, .85);
  --canvas-rgb: 174, 190, 230;
  --canvas-alpha: .07;
}

/* ---------- Tema: İnci (açık, soğuk) ---------- */
:root[data-theme="pearl"] {
  color-scheme: light;
  --bg: #F3F5F8;
  --bg-2: #EBEEF3;
  --surface: #FFFFFF;
  --surface-2: #FFF4EC;
  --elev: #FFFFFF;
  --text: #0F1726;
  --text-2: #435069;
  --nav: #435069;
  --muted: #6A7690;
  --line: rgba(15, 23, 38, .08);
  --line-2: rgba(15, 23, 38, .12);
  --line-3: rgba(15, 23, 38, .18);
  --hover-tint: rgba(15, 23, 38, .05);
  --accent-2: #E85800;
  --accent-strong: #D94F00;
  --accent-text: #B84300;
  --header-bg: rgba(243, 245, 248, .8);
  --header-bg-2: rgba(243, 245, 248, .93);
  --wire: rgba(15, 23, 38, .14);
  --node-text: #26324A;
  --shadow: 0 18px 40px -18px rgba(15, 23, 38, .25);
  --shadow-lg: 0 40px 80px -36px rgba(15, 23, 38, .3);
  --canvas-rgb: 15, 23, 38;
  --canvas-alpha: .07;
}

/* ---------- Tema: Taş (açık, biraz daha koyu zemin) ---------- */
:root[data-theme="stone"] {
  color-scheme: light;
  --bg: #E3E0D9;
  --bg-2: #DCD8D0;
  --surface: #F4F2EE;
  --surface-2: #F6EDE4;
  --elev: #F7F5F2;
  --text: #121315;
  --text-2: #3F4147;
  --nav: #3F4147;
  --muted: #64676D;
  --line: rgba(18, 19, 21, .09);
  --line-2: rgba(18, 19, 21, .14);
  --line-3: rgba(18, 19, 21, .2);
  --hover-tint: rgba(18, 19, 21, .06);
  --accent-2: #E85800;
  --accent-strong: #D94F00;
  --accent-text: #A93D00;
  --header-bg: rgba(227, 224, 217, .8);
  --header-bg-2: rgba(227, 224, 217, .93);
  --wire: rgba(18, 19, 21, .16);
  --node-text: #2B2D31;
  --shadow: 0 18px 40px -18px rgba(18, 19, 21, .3);
  --shadow-lg: 0 40px 80px -36px rgba(18, 19, 21, .34);
  --canvas-rgb: 18, 19, 21;
  --canvas-alpha: .08;
}

/* Tema geçişi: tarayıcı destekliyorsa butondan yayılan dairesel geçiş */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: themeReveal .7s var(--ease) both; }
@keyframes themeReveal {
  from { clip-path: circle(0 at var(--vt-x, 100%) var(--vt-y, 100%)); }
  to { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 100%) var(--vt-y, 100%)); }
}

/* Temanın tonuna göre logo (data-tone: dark | light) */
.logo-on-light { display: none; }
:root[data-tone="light"] .logo-on-dark { display: none; }
:root[data-tone="light"] .logo-on-light { display: block; }

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

/* Arapça: harfler bitişik yazılır, harf aralığı bozmasın; satır yüksekliği biraz artar */
:root[lang="ar"] body * { letter-spacing: 0 !important; }
:root[lang="ar"] body { line-height: 1.75; }
:root[lang="ar"] :is(h1, h2, h3, .hero-title, .jr-title, .sec-title, .cta-title) { line-height: 1.3; }

/* Sağdan sola: kayan göstergeler ve alt çizgiler ters yönde çalışır */
:root[dir="rtl"] .assist-tabs-ind { transform: translateX(calc(var(--idx) * -100%)); }
:root[dir="rtl"] .bill-ind { transform: translateX(calc(var(--idx) * -100%)); }
:root[dir="rtl"] .main-nav a::after,
:root[dir="rtl"] .scn-tab::after { transform-origin: right; }
/* hero şeması koordinatla çizilir: yönü sabit kalır (Arapça metin yine doğru şekillenir) */
.hero-visual svg { direction: ltr; }
/* yatay ok simgeleri yön değiştirir */
:root[dir="rtl"] .btn svg,
:root[dir="rtl"] .faq-go { transform: scaleX(-1); }
:root[dir="rtl"] .btn:hover svg,
:root[dir="rtl"] .faq-item:hover .faq-go,
:root[dir="rtl"] .faq-item:focus-visible .faq-go { transform: scaleX(-1) translateX(3px); }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Sabit arka plan: ekrana kilitli canvas, içerik üzerinden kayar.
   Çizgiler main.js içinde çizilir; kaydırma ve fareyle şekil değiştirir. */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-lg {
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 500;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); }

.btn-ghost { color: var(--text); font-weight: 500; border: 1px solid var(--line-3); }
.btn-ghost:hover { background: var(--hover-tint); }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .25s;
}
.site-header.is-scrolled { background: var(--header-bg-2); }

/* Logo her genişlikte tam ortada: iki yan kolon eşit (1fr), logo ortada (auto) */
.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.header-side {
  display: flex;
  align-items: center;
  min-width: 0;
}
.header-left { justify-content: flex-start; }
.header-right { justify-content: flex-end; }

.brand { display: flex; align-items: center; justify-content: center; }
.brand img { height: 34px; width: auto; }

/* ---------- Ana menü ---------- */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 40px);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  font-size: 14px;
  font-weight: 500;
  color: var(--nav);
  transition: color .2s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--text); }
.main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a:focus-visible { outline-offset: -2px; }

/* menüdeki İletişim butonu */
.main-nav a.nav-cta {
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--text);
  transition: background-color .2s, color .2s;
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover,
.main-nav a.nav-cta.is-active { background: var(--accent); color: var(--on-accent); }
.main-nav a.nav-cta:focus-visible { outline-offset: 3px; }

/* ---------- Mobil menü butonu ---------- */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle-lines {
  position: relative;
  width: 18px;
  height: 10px;
}
.menu-toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle-lines span:first-child { top: 0; }
.menu-toggle-lines span:last-child { top: calc(100% - 1.5px); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child { top: 4.25px; transform: rotate(-45deg); }

/* ---------- Mobil menü paneli ---------- */
/* header'daki backdrop-filter, fixed alt öğeler için header'ı referans kutusu yapar;
   bu yüzden bottom: 0 yerine yükseklik ekran boyundan açıkça verilir */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  z-index: 49;
  background: var(--bg);
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.mobile-menu > nav {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.mm-list { margin: 0; padding: 0; list-style: none; }
.mm-list li { border-bottom: 1px solid var(--line); }
.mm-list a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 16px;
  padding: 13px 2px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mm-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-2);
  transition: color .2s, border-color .2s, background-color .2s;
}
.mm-chev { color: var(--muted); transition: transform .25s var(--ease), color .2s; }
[dir="rtl"] .mm-chev { transform: scaleX(-1); }
.mm-list a:active .mm-ico { background: var(--hover-tint); }
.mm-list a.is-active { color: var(--accent-text); }
.mm-list a.is-active .mm-ico { color: var(--accent); border-color: var(--accent); background: var(--surface-2); }
.mm-list a.is-active .mm-chev { color: var(--accent); }

/* menünün altı: demo + satış hattı, e-posta */
.mm-foot { margin-top: auto; padding-top: 28px; }
.mm-actions { display: flex; gap: 10px; }
.mm-actions .btn { flex: 1 1 0; min-width: 0; padding: 8px 12px; gap: 8px; font-size: 14px; white-space: normal; text-align: center; }
.mm-actions .btn svg { flex: none; color: var(--accent); }
.mm-mail { display: block; margin-top: 16px; font-size: 12.5px; text-align: center; color: var(--muted); }

/* açılışta öğeler sırayla belirir */
.mobile-menu:not([hidden]) :is(.mm-list li, .mm-foot) { animation: mmIn .5s var(--ease) both; animation-delay: calc(var(--i) * 40ms + 40ms); }
@keyframes mmIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

body.menu-open { overflow: hidden; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(56px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero-copy { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--nav);
}
.eyebrow-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
}

/* dar ekranda uzun kelimeler (ör. Almanca) satıra sığmazsa heceden bölünür; yatay taşma olmaz */
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 480px) {
  .hero-title { font-size: clamp(30px, 9.4vw, 38px); }
}
.hero-title-soft { color: var(--accent-strong); }

.hero-lead {
  margin: 24px 0 0;
  max-width: 540px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  font-weight: 400;
  color: var(--text-2);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-systems {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Hero görseli ---------- */
.hero-visual {
  min-width: 0;
  width: 100%;
  max-width: 580px;
  justify-self: end;
}

@media (max-width: 960px) {
  /* tek sütun: başlık ve açıklama → çekirdek görseli → butonlar → sistemler */
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow { align-self: flex-start; }
  .hero-visual { order: 1; align-self: center; margin-top: 36px; }
  .hero-actions { order: 2; }
  .hero-systems { order: 3; }
}
.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font-sans);
}

.hv-wire { fill: none; stroke: var(--wire); stroke-width: 1.2; }
.hv-flow { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: .55; }
.hv-packets { fill: var(--accent); }
.hv-node { font-size: 13px; fill: var(--node-text); }
.hv-node rect { fill: var(--surface); stroke: var(--line-2); }
.hv-node rect.is-on { stroke: var(--accent); }
.hv-node .hv-dot { fill: var(--accent); }
.hv-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.2px; fill: var(--muted); }
/* çekirdek: soluk kılavuz çember + üzerinde dönerek çizen nokta */
.hv-core { fill: var(--surface-2); stroke: var(--line-3); stroke-width: 1.5; }
/* kalıcı çizgi: ilk turda noktayla birlikte çizilir, sonra hep görünür kalır */
.hv-orbit-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  opacity: .55;
  animation: hvOrbitDraw 5s linear forwards;
}
/* noktanın arkasındaki parlak iz: noktayla aynı hızda, durmadan döner */
.hv-orbit-trail {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 24 76;
  stroke-dashoffset: 24;
  animation: hvOrbitTrail 5s linear infinite;
}
.hv-orbit-dot {
  transform-box: view-box;
  transform-origin: 330px 250px;
  animation: hvOrbitDot 5s linear infinite;
}
.hv-orbit-dot circle { fill: var(--accent); stroke: var(--surface-2); stroke-width: 2.5; }
@keyframes hvOrbitDraw { to { stroke-dashoffset: 0; } }
/* iz, noktanın hemen arkasında biter: [konum − 24, konum] */
@keyframes hvOrbitTrail { from { stroke-dashoffset: 24; } to { stroke-dashoffset: -76; } }
@keyframes hvOrbitDot { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hv-orbit-line { stroke-dashoffset: 0; }
}
.hv-core-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; fill: var(--text); }

/* Veri akışı hareketi */
@keyframes dash { to { stroke-dashoffset: -40; } }
.flow { stroke-dasharray: 2 8; animation: dash 1.6s linear infinite; }

@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.pk { offset-rotate: 0deg; opacity: 0; animation: travel 3.4s cubic-bezier(.55, 0, .45, 1) infinite; }
.p1 { offset-path: path('M160 70 C 220 70, 225 250, 255 250'); animation-delay: 0s; }
.p2 { offset-path: path('M160 160 C 215 160, 225 250, 255 250'); animation-delay: .7s; }
.p3 { offset-path: path('M160 250 C 200 250, 225 250, 255 250'); animation-delay: 1.4s; }
.p4 { offset-path: path('M160 340 C 215 340, 225 250, 255 250'); animation-delay: 2.1s; }
.p5 { offset-path: path('M160 430 C 220 430, 225 250, 255 250'); animation-delay: 2.8s; }
.q1 { offset-path: path('M405 250 C 425 250, 415 100, 440 100'); animation-delay: 1.7s; }
.q2 { offset-path: path('M405 250 C 425 250, 415 200, 440 200'); animation-delay: 2.4s; }
.q3 { offset-path: path('M405 250 C 425 250, 415 300, 440 300'); animation-delay: 3.1s; }
.q4 { offset-path: path('M405 250 C 425 250, 415 400, 440 400'); animation-delay: .9s; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 28s linear infinite; }

/* Giriş animasyonu */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: fadeUp .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero-copy > :nth-child(4) { animation-delay: .36s; }
.hero-copy > :nth-child(5) { animation-delay: .5s; }
.hero-visual { animation: fadeUp .9s var(--ease) .24s both; }

/* ---------- Kırılımlar ---------- */
@media (max-width: 1240px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand img { height: 26px; }
  /* buton çiftleri mobilde yan yana: eşit genişlik, uzun metin buton içinde iki satıra iner */
  .hero-actions, .jr-end-actions, .cta-actions { flex-wrap: nowrap; gap: 10px; }
  :is(.hero-actions, .jr-end-actions, .cta-actions) .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 12px;
    gap: 6px;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
  :is(.hero-actions, .jr-end-actions, .cta-actions) .btn svg { display: none; }
}
@media (min-width: 1241px) {
  .mobile-menu { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================
   Geçici bölümler (içerik gelene kadar)
   ========================================================== */
/* Soru panelinden gelinen bölümü kısaca işaretle */
main > section { position: relative; }
main > section.is-target::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
  animation: targetLine 1.6s var(--ease) both;
}
@keyframes targetLine {
  0% { transform: scaleX(0); opacity: 1; }
  45% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* Dil değişiminde metinler kısa bir solma ile değişir */
.is-lang-switching [data-i18n],
.is-lang-switching [data-i18n-html] { opacity: 0; }
[data-i18n], [data-i18n-html] { transition: opacity .18s ease; }

.placeholder {
  min-height: 80vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.placeholder .container { width: 100%; }
.placeholder .mono { font-size: 12px; color: var(--accent-text); }
.placeholder h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}
