/* Başlık yazı tipi: Cinzel (OFL, Google Fonts; yalnızca Latin + Türkçe harfler, ~17 KB). Keskin, yazıt gibi, mitolojik. */
@font-face {
  font-family: "Cinzel"; src: url("../fonts/Cinzel-Title.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
/*
 * LYCAN — ana sayfa düzeni
 * Hero, rapor, ilkeler, sayılar, kontrol kartları ve tanıtım bölümleri. Renkler style.css'teki değişkenlerden gelir.
 */

/* ---------- Ortak parçalar ---------- */
.kicker { font: 600 1.05rem/1 var(--display); letter-spacing: .04em; color: var(--frost); margin-bottom: .9rem; }
.center-head { text-align: center; margin-bottom: 3rem; }
.center-head .section__title { margin-bottom: 0; }
.center-head .section__lead { margin: 1rem auto 0; }

.tile {
  position: relative; min-width: 0;
  padding: 1.7rem 1.6rem 1.8rem;
  background: linear-gradient(180deg, rgba(142, 197, 240, .06), rgba(142, 197, 240, 0) 140px), #0e1828;
  border: 1px solid var(--rule); border-radius: 10px;
  transition: border-color .25s;
}
.tile:hover { border-color: rgba(142, 197, 240, .35); }
.tile__title { font: 600 1.55rem/1.1 var(--display); margin: 1.1rem 0 .55rem; color: var(--moon); }
.tile p { color: var(--fog); font-size: .97rem; }

/* İlkeler, sayılar, kapsam ve "kimler için": ay ışığı panelleri. Simge yok, üst etiket yok, ay görseli yok.
   Koyu cam yüzey; kenarı üstten ay ışığı alır. Her panelin bir köşesinden ayın kenarı (ince ışık yayı) doğar.
   Üzerine gelince: panel hafifçe yükselir, ay kenarı parlar, kenar boyunca yavaşça bir ışık dolaşır. */
@property --lit { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --rim { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:is(.pillars__grid, .offer, .who-grid, .nums) { gap: var(--gap, 18px); }
:is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num),
.has-moon :is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num) {
  --lx: calc(100% + 40px); --ly: -140px; --lr: 240px;
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: visible;
  padding: 2rem 2.1rem 2.1rem; border: 1px solid transparent; border-radius: 18px; isolation: isolate;
  background:
    radial-gradient(circle at var(--lx) var(--ly), transparent calc(var(--lr) - 1.5px), rgba(205, 232, 255, calc(.2 + .45 * var(--lit))) var(--lr), transparent calc(var(--lr) + 1.5px)) padding-box,
    radial-gradient(circle at var(--lx) var(--ly), rgba(160, 205, 245, calc(.045 + .045 * var(--lit))) calc(var(--lr) - 1px), transparent var(--lr)) padding-box,
    radial-gradient(130% 90% at 50% -25%, rgba(142, 197, 240, calc(.07 + .06 * var(--lit))), transparent 62%) padding-box,
    linear-gradient(180deg, rgba(16, 27, 45, .9), rgba(8, 13, 24, .94)) padding-box,
    linear-gradient(180deg, rgba(196, 226, 255, .3), rgba(142, 197, 240, .07) 50%, rgba(142, 197, 240, .03)) border-box;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .03);
  transition: --lit .9s cubic-bezier(.4, 0, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
:is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num):hover { --lit: 1; transform: translateY(-4px); }
/* Kenarda dolaşan ışık: yalnızca üzerine gelince görünür ve döner */
:is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num)::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: conic-gradient(from var(--rim), transparent 0 70%, rgba(220, 240, 255, .9) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .8s; animation: lunarRim 7s linear infinite paused;
}
:is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num):hover::before { opacity: .8; animation-play-state: running; }
@keyframes lunarRim { to { --rim: 360deg; } }
/* İlke, sayı ve kapsam panelleri satır satır hizalı: başlıklar ve metinler aynı çizgiden başlar (alt ızgara) */
:is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num),
.has-moon :is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num) {
  display: grid; grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; justify-content: stretch;
}
:is(.pillars__grid, .offer, .who-grid) .tile__title { align-self: end; }
:is(.pillars__grid, .offer, .who-grid) .tile__title,
.nums .num__label {
  margin: 0 0 .55rem; font: 600 1.5rem/1.1 var(--display); color: var(--moon); transition: color .6s;
}
:is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num):hover :is(.tile__title, .num__label) { color: #fff; }
:is(.pillars__grid, .offer, .who-grid) .tile p,
.nums .num p { max-width: 38ch; font-size: .98rem; line-height: 1.62; color: var(--fog); }

/* Kart simgeleri (ilkeler, kapsam, kimler için): kutusuz ince çizgi, panelin üst köşesinde.
   Kapsamdakiler aydaki bulgu işaretleriyle aynı. Üzerine gelince simge kendini yeniden çizer, noktalar yerine oturur. */
.tile .ico {
  grid-row: 1; align-self: start; width: 40px; height: 40px; overflow: visible;
  fill: none; stroke: var(--frost); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: filter .9s cubic-bezier(.4, 0, .2, 1);
}
.ico :is(path, rect, circle, polyline, line, ellipse)[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ico .ico__dot { fill: var(--frost); stroke: none; transform-box: fill-box; transform-origin: center; }
.tile:hover .ico { filter: drop-shadow(0 0 7px rgba(142, 197, 240, .55)); }
/* Simgeler üzerine gelince yeniden çizilmez (kullanıcı istemedi); yalnızca hafifçe parlar */

/* ---------- Neden Lycan: üç ilke ---------- */
/* Uzun paneller, yazı altta. Ay üç panelde soldan sağa ilerler: sol köşe, orta, sağ köşe. */
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(150px, 1fr) auto auto; }
.pillars__grid > .tile:nth-child(1) { --lx: -40px; }
.pillars__grid > .tile:nth-child(2) { --lx: 50%; --ly: -205px; --lr: 260px; }

/* ---------- Kontrol kartları: altılı mozaik (ilk ve son panel geniş) ---------- */
.offer, .who-grid { list-style: none; margin: 0; padding: 0; display: grid; }
.offer { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(96px, 1fr) auto auto; }
.offer > .tile:nth-child(1), .offer > .tile:nth-child(6) { grid-column: span 2; }
.offer > .tile:nth-child(1), .offer > .tile:nth-child(6) { --lx: calc(100% - 90px); --ly: -200px; --lr: 250px; }
.offer > .tile:nth-child(3), .offer > .tile:nth-child(5) { --lx: -40px; }

/* ---------- Kimler için: üç küçük kart; ay kenarı soldan sağa ilerler ---------- */
.who-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(96px, 1fr) auto auto; }
.who-grid > .tile:nth-child(1) { --lx: -40px; }
.who-grid > .tile:nth-child(2) { --lx: 50%; --ly: -205px; --lr: 260px; }

/* ---------- Dar ekranlar ---------- */
@media (max-width: 960px) {
  .pillars__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: minmax(70px, 1fr) auto auto; }
  .offer { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .offer, .who-grid { grid-template-columns: 1fr; }
  .offer > .tile:nth-child(1), .offer > .tile:nth-child(6) { grid-column: auto; }
  .center-head { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num) { transition: none; }
  :is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num)::before { animation: none; }
}

/* ==========================================================
   Telefon: sıkı düzen. Yazı boyutları aynı, boşluklar ve süsler küçük.
   ========================================================== */
@media (max-width: 600px) {
  /* İlk ekran: yazı üstte, ay altta; hepsi ekrana sığar, hiçbiri aşağı taşmaz.
     Hero tam ekran yüksekliğinde; ay kalan boşluğu doldurur (ekran küçükse ay da küçülür). */
  .hero { padding: 14px 0 0; }

  .hero__title { margin-bottom: .9rem; }
  .hero__lead { font-size: 1rem; line-height: 1.55; }
  .hero__cta { margin: 1.1rem 0 0; }

  .section { padding: 52px 0; }
  .center-head { margin-bottom: 1.5rem; }
  .section__title { margin-bottom: .7rem; }

  .tile { padding: 1.1rem 1.1rem 1.2rem; }
  .tile__title { margin: .1rem 0 .3rem; font-size: 1.3rem; }
  :is(.pillars__grid, .offer, .who-grid, .nums) > :is(.tile, .num) { min-height: 0; padding: 1.3rem 1.3rem 1.4rem; }

  .caps { gap: 22px; }
  .checks li { padding: .75rem 0 .75rem 2rem; }
  .checks li::before { top: 1.2rem; }
  .roadmap { margin-top: 1.6rem; }
  .roadmap li { padding: 1rem 0; gap: .4rem 1rem; }
  .faq summary { padding: .95rem 2.2rem .95rem 0; }
  .split { gap: 24px; }
  .split .btn { margin-top: 1.2rem; }
  .footer--center { padding: 2rem 0; }
}

@media (max-width: 600px) {
  .term__body { height: 280px; }
}

/* ==========================================================
   PREMIUM ANA SAYFA: hero, rapor, sayılar (ortak ay stilleri style.css içinde)
   ========================================================== */

/* ---------- Hero: ortada başlık ve tarama kutusu, altta ay sahnesi ---------- */
.hero--orbit {
  position: relative; display: flex; flex-direction: column; overflow: visible;
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h));
  padding: calc(clamp(132px, 25vh, 270px) + 20px) 0 0;
}
.hero--orbit::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--nav-h) - 2px); height: 78%; pointer-events: none;
  background: radial-gradient(120% 75% at 50% 0%, rgba(5, 10, 20, .8) 0%, rgba(5, 10, 20, .32) 46%, transparent 74%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero--orbit .hero__title {
  max-width: 13ch; margin: 0 auto; font-size: clamp(2.8rem, 6.4vw, 5.8rem); line-height: .9; text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .55);
}
.hero--orbit .hero__lead { max-width: 39em; margin: 1.3rem auto 0; color: #bac5d7; text-shadow: 0 1px 20px rgba(0, 0, 0, .6); }

.hscan { width: 100%; max-width: 560px; margin: 1.3rem auto 0; text-align: left; }
.hscan__row {
  padding: 6px; border-radius: 14px; gap: 6px;
  background: rgba(10, 18, 32, .82); border: 1px solid rgba(142, 197, 240, .24);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .2s, box-shadow .2s;
}
.hscan__row:focus-within { border-color: rgba(142, 197, 240, .6); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .85), 0 0 0 4px rgba(142, 197, 240, .12); }
.hscan__row:has(input[aria-invalid="true"]) { border-color: var(--ember); }
.hscan__row input, .hscan__row input:focus { background: transparent; border: 0; box-shadow: none; }
.hscan__row .btn { border-radius: 10px; padding-inline: 1.4rem; }
/* "Taramayı başlat": koyu cam, buz mavisi parlayan kenar, hap biçimi. Üzerine gelince kenar ve iç ışık güçlenir */
.hscan__row .btn--primary {
  border-radius: 999px; color: #dff0ff; text-shadow: none;
  background: rgba(142, 197, 240, .08); border: 1px solid rgba(142, 197, 240, .55);
  box-shadow: inset 0 0 14px rgba(142, 197, 240, .15), 0 0 18px -6px rgba(142, 197, 240, .6);
  transition: background-color .3s, border-color .3s, box-shadow .3s, color .3s;
}
.hscan__row .btn--primary:hover {
  filter: none; transform: none; color: #fff;
  background: rgba(142, 197, 240, .16); border-color: rgba(190, 225, 255, .85);
  box-shadow: inset 0 0 18px rgba(142, 197, 240, .25), 0 0 26px -4px rgba(142, 197, 240, .8);
}

.hscan__status { text-align: center; min-height: 1.4em; }
.hscan__stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; border-top: 0; padding-top: .2rem; }
.hscan__stages li { display: flex; flex-direction: column; align-items: center; gap: .25rem; text-align: center; font-size: .78rem; }
.hscan__stages b { font-size: 1rem; }

.hero__stage { position: relative; flex: 1 1 auto; min-height: 36vh; transition: min-height .9s cubic-bezier(.22, .7, .2, 1); }

/* ---------- Rapor: tarama bitince hero'nun hemen altında açılır ---------- */
.hreport:has(#scanHead:not([hidden])) { padding: clamp(48px, 7vw, 96px) 0; }
.hreport .dash__head { scroll-margin-top: 90px; }

/* ---------- Telefon: yazı üstte, ay altta; hepsi ilk ekrana sığar ---------- */
@media (max-width: 600px) {
  .hero--orbit { padding: 20px 0 0; }
  .hero--orbit .hero__lead { display: none; }
  .hscan { margin-top: 1.3rem; }
  .hscan__row .btn { padding-inline: 1rem; }

  .hscan__stages span { display: none; }
  .hero__stage { min-height: 210px; }
}
@media (min-width: 601px) and (max-height: 700px) {
  .hero--orbit .hero__lead { display: none; }
}

/* Tarama bitince formun altında beliren rapor düğmesi */
.hscan__jump { display: flex; width: fit-content; margin: 1rem auto 0; }
.hscan__jump[hidden] { display: none; }

/* Tarama modu: "Taramayı başlat"a basılınca tanıtım bölümleri gizlenir; ekranda ay, tarama ve rapor kalır */
.scan-mode main > section:not(.hero):not(.hreport) { display: none; }
.scan-mode .mcta { display: none; }

/* İlk ekran: güven satırı (formun altında üç kısa, doğru bilgi) */
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin: 1.1rem 0 0; padding: 0; }
.hero__trust li { position: relative; padding-left: 1.15rem; font-size: .88rem; color: #c3cedd; }
.hero__trust li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: .62rem; height: .34rem;
  border-left: 1.6px solid var(--frost); border-bottom: 1.6px solid var(--frost); rotate: -45deg;
}
.hero--orbit .hero__title { max-width: 18ch; }
@media (max-width: 600px) { .hero__trust { gap: .3rem .9rem; } .hero__trust li { font-size: .8rem; } }
/* Tarama modunda başlık ve açıklama gizlenir; tarama kutusu ve altındaki bilgiler kalır, ay büyür */
.scan-mode .hscan__jump { display: none; }

/* Tarama başlayınca başlık ve açıklama yavaşça solup yukarı kapanır; form yerine süzülür (sıçrama yok) */
.hero__intro {
  display: grid; grid-template-rows: 1fr; opacity: 1;
  transition: grid-template-rows .9s cubic-bezier(.65, 0, .35, 1), opacity .55s ease, margin .9s cubic-bezier(.65, 0, .35, 1);
}
.hero__intro > div { overflow: visible; min-height: 0; }
.scan-mode .hero__intro > div { overflow: hidden; }
.scan-mode .hero__intro { grid-template-rows: 0fr; opacity: 0; }
.scan-mode .hscan { margin-top: .6rem; }
.hscan { transition: margin .9s cubic-bezier(.65, 0, .35, 1); }
@media (prefers-reduced-motion: reduce) { .hero__intro, .hscan { transition: none; } }

/* Rapora geçiş: ilk ekran yavaşça solup yukarı kalkar, sonra kaybolur; sayfada yalnızca rapor kalır */
.hero__inner { transition: opacity .6s ease, transform .8s cubic-bezier(.65, 0, .35, 1); }
.report-leaving .hero__inner { opacity: 0; transform: translateY(-16px); }
.report-mode .hero--orbit { display: none; }
.report-mode .hreport { padding-top: clamp(28px, 5vw, 56px); }
@media (prefers-reduced-motion: reduce) { .hero__inner { transition: none; } }

/* Bulgulardan rapora geçiş */
.report-mode .hreport { animation: reportArrive 1.1s cubic-bezier(.16, 1, .3, 1) both; transform-origin: 50% 0; }
@keyframes reportArrive { from { opacity: 0; transform: scale(.955) translateY(22px); } to { opacity: 1; transform: none; } }
/* Rapora geçerken etiketler ayla birlikte küçülüp söner; çizgiler aya doğru çekilir */
.moon-callouts.is-receding .moon-tag { opacity: 0 !important; transition: opacity .55s ease; }
.moon-callouts.is-receding .moon-tag__box { scale: .86; transition: scale .6s cubic-bezier(.65, 0, .35, 1); }
@media (prefers-reduced-motion: reduce) { .report-mode .hreport { animation: none; } }
/* "Başka bir site tara": rapor geri çekilerek söner, ardından ilk ekran ve ay döner */
.report-closing .hreport { animation: reportLeave .45s cubic-bezier(.65, 0, .35, 1) both; transform-origin: 50% 0; }
@keyframes reportLeave { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.97) translateY(12px); } }

/* Rapor sırayla kurulur: kartlar tek tek belirir (yalnızca opaklık; uçan etiketlerin hedefi kaymaz) */
.report-mode .hreport .dash__head, .report-mode .hreport .card { animation: cardIn .8s ease both; }
.report-mode .hreport .card:nth-child(1) { animation-delay: .08s; }
.report-mode .hreport .card:nth-child(2) { animation-delay: .18s; }
.report-mode .hreport .card:nth-child(3) { animation-delay: .28s; }
.report-mode .hreport .card:nth-child(4) { animation-delay: .38s; }
.report-mode .hreport .card:nth-child(n + 5) { animation-delay: .48s; }
@keyframes cardIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .report-mode .hreport .dash__head, .report-mode .hreport .card { animation: none; } }

/* ==========================================================
   TANITIM BÖLÜMLERİ: sayılar, saldırı haritası, bulgu anatomisi, not, istek listesi, yol
   Hepsi koddaki gerçek davranışı anlatır (src/scan.js). Hareketler yalnızca ekrana girince başlar.
   ========================================================== */
:root { --amber: #e8b04a; --mint: #6fd6a8; }

/* ---------- Sayılar: 6 · 4 · 3 · 0 ay ışığı panelinde. Sol üstte canlı gösterge, sağ üstte küçük sayı kutusu;
   başlıklar ve metinler dört kartta aynı çizgide. Göstergeler kart ekrana girince canlanır (home.js is-live). ---------- */
.nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(96px, 1fr) auto auto; }
.nums > .num, .has-moon .nums > .num { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
.nums .num__label, .nums .num p { grid-column: 1 / -1; }
.nums .num__label { align-self: end; }
.num__viz { grid-column: 1; grid-row: 1; align-self: start; width: 40px; height: 40px; fill: none; stroke: var(--frost); stroke-width: 2.6; stroke-linecap: round; overflow: visible; }
.num__val {
  grid-column: 2; grid-row: 1; align-self: start; justify-self: end;
  font: 600 1.55rem/1 var(--display); color: #9fd0ff; font-variant-numeric: tabular-nums;
  padding: 7px 12px; border-radius: 10px; background: rgba(79, 134, 255, .1); border: 1px solid rgba(120, 175, 255, .25);
  transition: border-color .9s, background-color .9s;
}
.num:hover .num__val { border-color: rgba(160, 205, 255, .5); background-color: rgba(79, 134, 255, .18); }

/* 6: altı aile sırayla yanar */
.num__arcs path { opacity: .28; }
.num--fam circle { fill: var(--frost); stroke: none; }
.num.is-live .num__arcs path { animation: arcOn 4.8s ease-in-out infinite; }
.num__arcs path:nth-child(2) { animation-delay: .4s; }
.num__arcs path:nth-child(3) { animation-delay: .8s; }
.num__arcs path:nth-child(4) { animation-delay: 1.2s; }
.num__arcs path:nth-child(5) { animation-delay: 1.6s; }
.num__arcs path:nth-child(6) { animation-delay: 2s; }
@keyframes arcOn { 0%, 100% { opacity: .2; } 12%, 62% { opacity: 1; } 78% { opacity: .2; } }
/* 4: dört adım soldan sağa dolar */
.num__bars rect { fill: rgba(142, 197, 240, .12); stroke: rgba(142, 197, 240, .35); stroke-width: 1.2; }
.num.is-live .num__bars rect { animation: barOn 4.8s ease infinite; }
.num__bars rect:nth-child(2) { animation-delay: .5s; }
.num__bars rect:nth-child(3) { animation-delay: 1s; }
.num__bars rect:nth-child(4) { animation-delay: 1.5s; }
@keyframes barOn { 0%, 100% { fill: rgba(142, 197, 240, .12); } 10%, 64% { fill: var(--frost); } 80% { fill: rgba(142, 197, 240, .12); } }
/* 3: üç istek, birer kez yanıp söner */
.num__pings circle { fill: rgba(142, 197, 240, .15); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; }
.num.is-live .num__pings circle { animation: ping 3.6s ease-out infinite; }
.num__pings circle:nth-child(2) { animation-delay: .6s; }
.num__pings circle:nth-child(3) { animation-delay: 1.2s; }
@keyframes ping { 0% { fill: var(--frost); scale: .7; } 30% { fill: rgba(142, 197, 240, .15); scale: 1.25; } 60%, 100% { scale: 1; } }
/* 0: boş yörünge; tek ışık dışarıdan dolaşır */
.num__orbit { stroke-dasharray: 2 6; stroke-width: 1.6; opacity: .6; }
.num__dot { fill: var(--frost); stroke: none; transform-origin: 32px 32px; filter: drop-shadow(0 0 4px var(--frost)); }
.num.is-live .num__dot { animation: orbit 7s linear infinite; }
@keyframes orbit { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .num.is-live .num__arcs path, .num.is-live .num__bars rect, .num.is-live .num__pings circle, .num.is-live .num__dot { animation: none; }
  .num__arcs path { opacity: 1; }
}

/* ---------- Saldırı haritası ---------- */
.threats { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 18px; align-items: stretch; }
.threats__list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.threats__tab {
  position: relative; display: grid; gap: .3rem; text-align: left; cursor: pointer;
  padding: 1rem 1.1rem 1rem 1.35rem; border-radius: 12px; color: var(--moon); font: inherit;
  background: rgba(12, 21, 37, .72); border: 1px solid rgba(142, 197, 240, .1);
  transition: border-color .3s, background-color .3s;
}
.threats__tab::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px;
  background: var(--frost); box-shadow: 0 0 10px var(--frost); scale: 1 0; transition: scale .4s cubic-bezier(.22, .7, .2, 1);
}
.threats__tab b { font: 600 1.25rem/1.1 var(--display); }
.threats__tab span { font-size: .84rem; color: var(--fog); transition: color .3s; }
.threats__tab:hover { border-color: rgba(142, 197, 240, .28); }
.threats__tab[aria-selected="true"] { background: rgba(142, 197, 240, .08); border-color: rgba(142, 197, 240, .34); }
.threats__tab[aria-selected="true"]::before { scale: 1 1; }
.threats__tab[aria-selected="true"] span { color: var(--frost); }
.threats__tab:focus-visible { outline: 2px solid var(--frost); outline-offset: 2px; }
.threats__stage {
  min-width: 0; padding: clamp(20px, 3vw, 36px); border-radius: 16px;
  background: rgba(10, 18, 32, .84); border: 1px solid rgba(142, 197, 240, .13); box-shadow: 0 40px 90px -44px rgba(0, 0, 0, .9);
}
.threats__panel:focus-visible { outline: 2px solid var(--frost); outline-offset: 6px; border-radius: 6px; }
.threats__panel:not([hidden]) { animation: panelIn .55s cubic-bezier(.22, .7, .2, 1) both; }
@keyframes panelIn { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.threats__panel h3 { font: 600 1.1rem/1 var(--display); letter-spacing: .03em; color: var(--frost); margin: 1.35rem 0 .45rem; }
.threats__panel h3:first-child { margin-top: 0; }
.threats__panel p { color: #b9c4d5; }
.threats__flags { display: flex; flex-wrap: wrap; gap: 6px; }
.threats__flags code { font: .8rem/1 var(--mono); color: #ff9c84; background: rgba(226, 85, 58, .1); border: 1px solid rgba(226, 85, 58, .3); padding: .38rem .55rem; border-radius: 6px; }

/* Saldırı yolu: paket saldırgandan çıkar, Lycan kontrolüne çarpar ve söner; site ile ziyaretçi arası temiz kalır */
.tpath { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, .45fr) auto; align-items: center; gap: 10px; margin-bottom: 1.7rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.tpath__node { font: 600 .95rem/1 var(--display); letter-spacing: .03em; padding: .5rem .75rem; border-radius: 8px; border: 1px solid var(--rule); white-space: nowrap; background: rgba(7, 13, 23, .8); }
.tpath__node--atk { color: #ff8a70; border-color: rgba(226, 85, 58, .45); }
.tpath__node--site { color: var(--moon); border-color: rgba(142, 197, 240, .4); }
.tpath__node--you { color: var(--mint); border-color: rgba(111, 214, 168, .4); }
.tpath__wire { position: relative; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(226, 85, 58, .55), rgba(142, 197, 240, .3)); }
.tpath__wire--safe { background: rgba(111, 214, 168, .4); }
.tpath__packet { position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 14px 2px var(--ember); opacity: 0; }
.tpath__shield {
  position: absolute; right: 8%; top: 50%; translate: 0 -50%; white-space: nowrap;
  font: 600 .78rem/1 var(--display); letter-spacing: .05em; padding: .38rem .6rem; border-radius: 6px;
  color: var(--frost); background: #0b1424; border: 1px solid var(--frost); box-shadow: 0 0 0 4px rgba(10, 18, 32, .95);
}
.is-run .tpath__packet { animation: packet 1.8s cubic-bezier(.45, 0, .55, 1) .15s both; }
.is-run .tpath__shield { animation: shieldHit 1.8s ease .15s both; }
@keyframes packet {
  0% { left: 0; opacity: 0; scale: 1; }
  12% { opacity: 1; }
  64% { left: calc(92% - 7.2rem); opacity: 1; scale: 1; }
  82%, 100% { left: calc(92% - 7.2rem); opacity: 0; scale: 2.4; }
}
@keyframes shieldHit {
  0%, 60% { box-shadow: 0 0 0 4px rgba(10, 18, 32, .95); background: #0b1424; }
  70% { box-shadow: 0 0 0 4px rgba(10, 18, 32, .95), 0 0 26px 6px rgba(142, 197, 240, .55); background: #13233a; }
  100% { box-shadow: 0 0 0 4px rgba(10, 18, 32, .95); background: #0b1424; }
}

/* ---------- Bulgu anatomisi ---------- */
.anat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.anat__keys { list-style: none; counter-reset: k; margin: 2rem 0 0; padding: 0; display: grid; gap: 6px; }
.anat__keys li {
  counter-increment: k; display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 1rem; row-gap: .2rem;
  padding: .85rem 1rem; border-radius: 12px; border: 1px solid transparent; transition: background-color .4s, border-color .4s;
}
.anat__keys li::before {
  content: counter(k); grid-row: 1 / 3; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  font: 600 1rem/1 var(--display); color: var(--frost); border: 1px solid rgba(142, 197, 240, .35); transition: background-color .4s, color .4s, box-shadow .4s;
}
.anat__keys b { font: 600 1.3rem/1.15 var(--display); color: var(--moon); }
.anat__keys span { color: var(--fog); font-size: .93rem; }
.anat__keys li.is-on { background: rgba(142, 197, 240, .06); border-color: rgba(142, 197, 240, .2); }
.anat__keys li.is-on::before { background: var(--frost); color: var(--ink); box-shadow: 0 0 16px rgba(142, 197, 240, .5); }

.anat__card {
  position: relative; margin: 0; padding: clamp(22px, 3vw, 34px); border-radius: 16px; overflow: hidden;
  background: rgba(10, 18, 32, .9); border: 1px solid rgba(142, 197, 240, .16); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95);
}
.anat__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--amber), rgba(232, 176, 74, 0) 70%); }
.anat__title { font: 600 clamp(1.5rem, 2.4vw, 1.9rem)/1.1 var(--display); color: #fff; margin: .9rem 0 .4rem; }
.anat__part { position: relative; margin: 0 -.9rem; padding: .7rem 2.8rem .8rem .9rem; border-radius: 10px; transition: background-color .45s, box-shadow .45s, opacity .45s; }
.anat__part--sev { display: flex; align-items: center; gap: .8rem; padding-block: .55rem; }
.anat__fam { font-size: .85rem; color: var(--fog); }
.anat__part p { color: #b9c4d5; font-size: .95rem; }
.anat__part .flist__label { margin-top: 0 !important; }
.anat__ev { display: block; font: .82rem/1.6 var(--mono); color: var(--moon); background: #070d17; border: 1px solid var(--rule); border-radius: 6px; padding: .6rem .75rem; overflow-wrap: anywhere; }
.anat__pin {
  position: absolute; right: .7rem; top: .7rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center;
  font: 600 .85rem/1 var(--display); color: var(--frost); background: #0b1424; border: 1px solid rgba(142, 197, 240, .4);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.anat__part--sev .anat__pin { top: 50%; translate: 0 -50%; }
.anat__card.has-focus .anat__part { opacity: .5; }
.anat__card.has-focus .anat__part.is-on { opacity: 1; background: rgba(142, 197, 240, .06); box-shadow: inset 0 0 0 1px rgba(142, 197, 240, .26); }
.anat__part.is-on .anat__pin { background: var(--frost); color: var(--ink); box-shadow: 0 0 16px rgba(142, 197, 240, .6); }

/* ---------- Not: kurallar ve hesaplayıcı ---------- */
.grading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.rules { margin: 2rem 0 0; padding: .3rem clamp(16px, 2.4vw, 24px); border-radius: 14px; background: rgba(10, 18, 32, .8); border: 1px solid rgba(142, 197, 240, .1); }
.rules__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--rule); }
.rules__row:first-child { border-top: 0; }
.rules dt { display: flex; align-items: center; gap: .7rem; color: var(--moon); }
.rules dt::before, .sim__name::before { content: ""; flex-shrink: 0; width: .6rem; height: .6rem; border-radius: 50%; background: var(--fog); }
.rules__row--high dt::before, .sim__row--high .sim__name::before { background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.rules__row--med dt::before, .sim__row--med .sim__name::before { background: var(--amber); }
.rules__row--low dt::before, .sim__row--low .sim__name::before { background: #9fb3cc; }
.rules dd { margin: 0; font: 600 1.6rem/1 var(--display); color: var(--moon); font-variant-numeric: tabular-nums; }
.rules__row--high dd { color: #ff8a70; }
.bands { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.bands li { --c: var(--frost); padding: .75rem .45rem .7rem; border-radius: 10px; text-align: center; background: rgba(10, 18, 32, .8); border: 1px solid rgba(142, 197, 240, .1); border-top: 2px solid var(--c); }
.bands li.bands__a { --c: var(--mint); }
.bands li.bands__c { --c: var(--amber); }
.bands li.bands__d { --c: var(--ember); }
.bands b { display: block; font: 600 1.7rem/1 var(--display); color: var(--c); }
.bands span { display: block; margin-top: .35rem; font-size: .74rem; line-height: 1.3; color: var(--fog); }

.sim {
  padding: clamp(22px, 3vw, 36px); border-radius: 18px; text-align: center;
  background: radial-gradient(80% 60% at 50% 0%, rgba(142, 197, 240, .1), transparent 70%), rgba(10, 18, 32, .88);
  border: 1px solid rgba(142, 197, 240, .16); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95);
}
.sim__hint { color: var(--fog); font-size: .92rem; margin-bottom: 1.3rem; }
.sim__ring { --g: var(--mint); position: relative; width: min(210px, 62vw); aspect-ratio: 1; margin: 0 auto 1.7rem; display: grid; place-content: center; }
.sim__ring[data-grade="b"] { --g: var(--frost); }
.sim__ring[data-grade="c"] { --g: var(--amber); }
.sim__ring[data-grade="d"], .sim__ring[data-grade="f"] { --g: var(--ember); }
.sim__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.sim__track { fill: none; stroke: rgba(142, 197, 240, .1); stroke-width: 5; }
.sim__arc { fill: none; stroke: var(--g); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100 100; filter: drop-shadow(0 0 6px var(--g)); transition: stroke-dasharray .8s cubic-bezier(.22, .7, .2, 1), stroke .45s; }
.sim__grade { font: 600 4.6rem/.85 var(--display); color: var(--g); transition: color .45s; }
.sim__score { font: .85rem var(--mono); color: var(--fog); margin-top: .5rem; }
.sim__rows { display: grid; gap: 8px; text-align: left; }
.sim__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 2.4rem auto; align-items: center; gap: .5rem; padding: .5rem .55rem .5rem .9rem; border-radius: 10px; background: rgba(7, 13, 23, .75); border: 1px solid var(--rule); }
.sim__name { display: flex; align-items: center; gap: .65rem; color: var(--moon); font-size: .95rem; }
.sim__btn { width: 2.3rem; height: 2.3rem; border-radius: 8px; border: 1px solid rgba(142, 197, 240, .25); background: transparent; color: var(--moon); font: 600 1.2rem/1 var(--text); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.sim__btn:hover:not(:disabled) { border-color: var(--frost); color: var(--frost); background: rgba(142, 197, 240, .06); }
.sim__btn:disabled { opacity: .3; cursor: default; }
.sim__btn:focus-visible { outline: 2px solid var(--frost); outline-offset: 2px; }
.sim__count { text-align: center; font: 600 1.45rem/1 var(--display); font-variant-numeric: tabular-nums; }

/* ---------- İstek listesi ---------- */
.fp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.fp__log { min-width: 0; padding: clamp(16px, 2.4vw, 26px); border-radius: 16px; background: rgba(6, 11, 20, .92); border: 1px solid rgba(142, 197, 240, .14); box-shadow: 0 40px 90px -44px rgba(0, 0, 0, .9); }
.fp__head, .fp__rows li { display: grid; grid-template-columns: 3.3rem minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; align-items: center; }
.fp__head { padding: 0 .6rem .7rem; font-size: .76rem; color: var(--fog); border-bottom: 1px solid var(--rule); }
.fp__rows { list-style: none; margin: 0; padding: 0; }
.fp__rows li { position: relative; padding: .62rem .6rem; border-bottom: 1px solid rgba(31, 44, 66, .55); }
.fp__kind { font: 600 .72rem/1 var(--mono); padding: .32rem 0; border-radius: 5px; text-align: center; color: var(--frost); background: rgba(142, 197, 240, .1); }
.fp__kind--dns { color: var(--mint); background: rgba(111, 214, 168, .1); }
.fp__rows code { font: .82rem/1.4 var(--mono); color: var(--moon); overflow-wrap: anywhere; }
.fp__rows li > span:last-child { color: var(--fog); font-size: .86rem; }
.fp__note { margin-top: 1rem; font-size: .85rem; color: var(--fog); }
.fp__never { padding: clamp(18px, 2.6vw, 30px); border-radius: 16px; background: rgba(10, 18, 32, .84); border: 1px solid rgba(226, 85, 58, .2); box-shadow: 0 40px 90px -44px rgba(0, 0, 0, .9); }
.fp__never h3 { font: 600 1.55rem/1.1 var(--display); margin-bottom: .9rem; }
.never { list-style: none; margin: 0; padding: 0; }
.never li { position: relative; padding: .72rem 0 .72rem 2.1rem; border-top: 1px solid var(--rule); color: #c3cedd; }
.never li:first-child { border-top: 0; }
.never li::before {
  content: ""; position: absolute; left: .1rem; top: 50%; width: 1.25rem; height: 1.25rem; translate: 0 -50%; border-radius: 50%;
  border: 1px solid rgba(226, 85, 58, .5);
  background: linear-gradient(45deg, transparent 45%, #ff8a70 45% 55%, transparent 55%) center / 55% 55% no-repeat,
              linear-gradient(-45deg, transparent 45%, #ff8a70 45% 55%, transparent 55%) center / 55% 55% no-repeat;
}

/* ---------- Yol: çizgi kaydırdıkça adımdan adıma dolar ---------- */
.journey { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 14px; }
.journey li { --seg: 0; position: relative; display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.journey li:not(:last-child)::before, .journey li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.4rem; top: 2.1rem; width: 2px; height: calc(100% + 14px); margin-left: -1px; border-radius: 2px;
}
.journey li:not(:last-child)::before { background: rgba(142, 197, 240, .13); }
.journey li:not(:last-child)::after {
  background: linear-gradient(180deg, var(--frost), var(--mint)); box-shadow: 0 0 12px rgba(142, 197, 240, .45);
}
.journey__n {
  position: relative; z-index: 1; width: 2.8rem; height: 2.8rem; margin-top: .7rem; border-radius: 50%; display: grid; place-items: center;
  font: 600 1.25rem/1 var(--display); color: var(--fog); background: #0b1424; border: 1px solid rgba(142, 197, 240, .25);
  transition: background-color .45s, color .45s, border-color .45s, box-shadow .45s;
}
.journey li > div { padding: 1.1rem 1.4rem 1.25rem; border-radius: 14px; background: rgba(12, 21, 37, .8); border: 1px solid rgba(142, 197, 240, .1); transition: border-color .5s; }
.journey li .journey__n { background: var(--frost); color: var(--ink); border-color: var(--frost); box-shadow: 0 0 0 5px rgba(10, 18, 32, .95), 0 0 24px rgba(142, 197, 240, .55); }
.journey li > div { border-color: rgba(142, 197, 240, .26); }
.journey h3 { font: 600 1.45rem/1.1 var(--display); margin-bottom: .35rem; }
.journey p { color: var(--fog); }
.journey__go { text-align: center; margin-top: 2.6rem; }

/* Bülten: yol haritasının altında */
.roadmap__notify { margin: 2.4rem 0 0; max-width: 560px; }

/* ---------- Dar ekranlar ---------- */
@media (max-width: 960px) {
  .nums { grid-template-columns: 1fr 1fr; }
  .threats, .anat, .grading, .fp { grid-template-columns: minmax(0, 1fr); }
  .threats__list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin; }
  .threats__tab { flex: 0 0 auto; width: min(240px, 70vw); scroll-snap-align: start; }
  .anat__keys { margin-top: 1.4rem; }
}
@media (max-width: 600px) {
  .nums { grid-template-columns: minmax(0, 1fr); }
  .tpath { grid-template-columns: auto minmax(0, 1fr) auto; }
  .tpath__wire--safe, .tpath__node--you { display: none; }
  .tpath__shield { right: 6%; }
  .bands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp__head { display: none; }
  .fp__rows li { grid-template-columns: 3rem minmax(0, 1fr); row-gap: .25rem; }
  .fp__rows li > span:last-child { grid-column: 2; }
  .journey li { grid-template-columns: 2.4rem minmax(0, 1fr); gap: .9rem; }
  .journey__n { width: 2.4rem; height: 2.4rem; font-size: 1.1rem; }
  .journey li:not(:last-child)::before, .journey li:not(:last-child)::after { left: 1.2rem; top: 1.9rem; }
  .journey li > div { padding: .95rem 1.1rem 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .is-run .tpath__packet, .is-run .tpath__shield, .threats__panel:not([hidden]) { animation: none; }
}

/* ---------- "Başka bir site tara": rapor yukarı süzülerek çözülür, ay derinlikten öne gelir, ardından başlık ve arama ---------- */
/* Yalnızca opaklık ve konum canlanır (bulanıklık filtresi büyük raporda takılma yapıyordu) */
.report-closing .hreport { animation: reportLeave2 .6s cubic-bezier(.55, 0, .45, 1) both; will-change: opacity, transform; }
@keyframes reportLeave2 { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-28px); } }
.hero-return .hero__intro { animation: heroBack 1s cubic-bezier(.2, .7, .2, 1) .7s both; }
.hero-return .hscan { animation: heroBack 1s cubic-bezier(.2, .7, .2, 1) .95s both; }
@keyframes heroBack { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .report-closing .hreport, .hero-return .hero__intro, .hero-return .hscan { animation: none; } }

/* ---------- İlk ekran: formun altındaki yazılar ayın üstüne gelse bile okunur ---------- */
.hero__trust li, .hero--orbit .scan__legal, .hero--orbit .hscan__status {
  text-shadow: 0 1px 2px rgba(3, 7, 15, .95), 0 0 12px rgba(3, 7, 15, .95), 0 0 26px rgba(3, 7, 15, .9);
}
.hero__trust li { color: #e3ebf6; }
.hero--orbit .scan__legal { color: #c4d0e0; }


/* Bulgu anatomisi: başlık ve açıklama üstte tam genişlikte; dört madde ile kart yan yana, aynı üst ve alt çizgide */
.anat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(24px, 3vw, 40px); row-gap: 0; align-items: stretch; }
.anat__intro { display: contents; }
.anat__intro .section__title, .anat__intro .section__lead { grid-column: 1 / -1; }
.anat__intro .section__lead { max-width: 44em; }
.anat__keys { grid-column: 1; grid-row: 3; margin-top: 2rem; display: grid; grid-auto-rows: 1fr; align-content: stretch; }
.anat__keys li { align-content: center; }
.anat__card { grid-column: 2; grid-row: 3; margin-top: 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 960px) {
  .anat { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .anat__keys, .anat__card { grid-column: 1; grid-row: auto; }
}


/* ---------- İlk ekran tipografisi: sakin, keskin, kurumsal ---------- */
.hero--orbit .hero__title {
  font-family: "Cinzel", "Trajan Pro", var(--display), serif;
  font-weight: 600; font-size: clamp(2.3rem, 4.5vw, 4rem); line-height: 1.15; letter-spacing: .05em;
  padding: .14em .04em .24em; margin: -.1em auto -.2em;
  color: #e9f0fa;
  background: linear-gradient(180deg, #ffffff 0%, #e6eef9 48%, #a9bcd6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .55));
}
.hero--orbit .hero__lead {
  margin: 1.1rem auto 0; font-family: var(--text); font-style: normal;
  font-size: .95rem; line-height: 1.6; color: #8d9cb3; letter-spacing: .01em; font-weight: 400;
}
@media (min-width: 761px) { .hero--orbit .hero__lead { max-width: none; white-space: nowrap; } }
.hscan__row input, .hscan__row input:focus { font: 400 1.04rem var(--text); color: #eef3fa; letter-spacing: .01em; }
.hscan__row input::placeholder { color: #66758d; }
.hscan__row { background: rgba(9, 16, 30, .86); border-color: rgba(142, 197, 240, .2); }
/* Arama çubuğu hap biçiminde (düğme gibi); giriş alanı çubukla bir bütün, ayrı kutu yok */
.hscan__row { border-radius: 999px; padding: 5px 5px 5px 8px; }
.hscan__row input, .hscan__row input:focus { padding-left: .9rem; font-size: .98rem; border-radius: 999px; }
.hscan__row input[aria-invalid="true"] { box-shadow: none; border: 0 !important; }
.hscan__row input:-webkit-autofill, .hscan__row input:-webkit-autofill:focus {
  -webkit-text-fill-color: #eef3fa; caret-color: #eef3fa; transition: background-color 600000s 0s, color 600000s 0s;
}
.hscan__row .btn--primary { padding-block: .72rem; }
.hscan__row .btn { padding-inline: 1.5rem; }
.hero__trust { gap: .4rem 1.6rem; }
.hero__trust li { font-size: .84rem; color: #b6c2d4; letter-spacing: .01em; }
.hero__trust li::before { border-color: #6fa8ff; }
.hero--orbit .scan__legal { font-size: .76rem; color: #6f7c91; letter-spacing: .03em; transition: opacity .45s ease; }
.hero--orbit .scan__legal a { color: #a7b3c5; text-decoration: none; transition: color .3s; }
.hero--orbit .scan__legal a:hover, .hero--orbit .scan__legal a:focus-visible { color: #dfe8f4; }

/* Tarama sırasında ekranda yalnızca ay (ve arama alanı) kalır; rapor gelince yalnızca rapor.
   Altbilgi, yukarı çık düğmesi ve aşama satırı gizlenir (ilerlemeyi ayın halkası gösterir). */
.scan-mode .footer, .scan-mode .to-top, .scan-mode .mcta { display: none !important; }

/* Ay ve rapor asla aynı ekranda değil: tarama sürerken (ve ay çekilirken) rapor tamamen gizli */
.scan-mode:not(.report-mode) .hreport { display: none; }

/* Tarama adımları görünürken güven satırı ve yasal not onların yerini bırakır: ay küçülmez, altta kaydırma oluşmaz */
.scan-mode .hscan:has(#scanStages:not([hidden])) .hero__trust,
.scan-mode .hscan:has(#scanStages:not([hidden])) .scan__legal { display: none; }

/* Telefonda ana sayfa yalnızca menü, giriş (başlık, arama kutusu) ve aydan oluşur; tarama ve rapor aynı akışla çalışır */
@media (max-width: 760px) {
  body:has(#moonStage) main > section:not(.hero):not(.hreport),
  body:has(#moonStage) .footer, body:has(#moonStage) .to-top, body:has(#moonStage) .mcta { display: none !important; }
}

/* Arama kutusunun kenarında yavaşça dolaşan ince ay ışığı (kutu boşken; yazınca ya da taramada durur) */
@property --orbit { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hscan__row { position: relative; }
.hscan__row::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--orbit), transparent 0deg 300deg, rgba(159, 208, 255, .0) 300deg, rgba(196, 228, 255, .85) 336deg, rgba(159, 208, 255, 0) 352deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: orbitLight 9s linear infinite; opacity: .9; transition: opacity .4s;
}
.hscan__row:focus-within::before, .scan-mode .hscan__row::before { opacity: 0; }
@keyframes orbitLight { to { --orbit: 360deg; } }

/* Ana düğme: üstüne gelince yüzeyinden ince bir ışık geçer */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) -150% 0 / 220% 100% no-repeat;
}
.btn--primary:hover::after { animation: sheen .9s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes sheen { to { background-position: 150% 0; } }
@media (prefers-reduced-motion: reduce) { .hscan__row::before { animation: none; opacity: 0; } .btn--primary:hover::after { animation: none; } }

/* Açılışta başlığın üstünden bir kez buz mavisi ay ışığı geçer (tek, sakin bir an) */
.hero--orbit .hero__title {
  background:
    linear-gradient(100deg, transparent 44%, rgba(255, 255, 255, .95) 49.5%, #ffffff 50%, rgba(255, 255, 255, .95) 50.5%, transparent 56%) -160% 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f6faff 35%, #e3edf9 62%, #cbdaee 100%);
  -webkit-background-clip: text, text; background-clip: text, text;
  /* Elmas parlaklığı: keskin beyaz kenar ışığı ve soğuk, ince bir parıltı (ay gibi geniş bir hâle değil) */
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)) drop-shadow(0 0 14px rgba(200, 228, 255, .3)) drop-shadow(0 6px 30px rgba(0, 0, 0, .55));
  animation: titleShine 9s cubic-bezier(.4, 0, .2, 1) 1.1s infinite;
}
/* Işık her 9 sn'de bir, ilk ~2 sn içinde geçer; gerisinde başlık sakin durur */
@keyframes titleShine { 0% { background-position: -160% 0, 0 0; } 24%, 100% { background-position: 260% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero--orbit .hero__title { animation: none; } }

/* Not hesaplayıcı: harf değişince kısa bir büyüyüp oturma */
.sim__grade.is-bump { animation: gradeBump .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes gradeBump { from { transform: scale(.72); opacity: .4; } to { transform: none; opacity: 1; } }

/* İstek listesi: satırlar sırayla kısa bir an aydınlanır; tarama istekleri tek tek gönderiyormuş gibi (sakin döngü) */
.fp__rows li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 8px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(142, 197, 240, .16), rgba(142, 197, 240, .03) 70%, transparent);
  box-shadow: inset 2px 0 0 rgba(159, 208, 255, .8);
  animation: fpSend 9s ease-in-out infinite;
}
.fp__rows li:nth-child(2)::before { animation-delay: 0.55s; }
.fp__rows li:nth-child(3)::before { animation-delay: 1.10s; }
.fp__rows li:nth-child(4)::before { animation-delay: 1.65s; }
.fp__rows li:nth-child(5)::before { animation-delay: 2.20s; }
.fp__rows li:nth-child(6)::before { animation-delay: 2.75s; }
.fp__rows li:nth-child(7)::before { animation-delay: 3.30s; }
.fp__rows li:nth-child(8)::before { animation-delay: 3.85s; }
.fp__rows li { isolation: isolate; }
@keyframes fpSend { 0% { opacity: 0; } 3% { opacity: 1; } 9%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fp__rows li::before { animation: none; } }
.anat__fam { display: inline-flex; align-items: center; gap: .4em; }

/* Yol: adımları bağlayan çizginin üstünden yavaşça inen bir ışık (kullanıcının adımları izlemesi) */
.journey { position: relative; }
.journey::after {
  content: ""; position: absolute; left: 1.4rem; top: 2.1rem; width: 6px; height: 34px; margin-left: -3px; border-radius: 6px; pointer-events: none;
  background: linear-gradient(180deg, rgba(223, 240, 255, 0), #eaf6ff 55%, rgba(159, 208, 255, 0));
  filter: drop-shadow(0 0 6px rgba(159, 208, 255, .9));
  animation: journeyLight 7s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes journeyLight { 0% { top: 2.1rem; opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 90%, 100% { top: calc(100% - 5.5rem); opacity: 0; } }
@media (max-width: 760px) { .journey::after { left: 1.2rem; top: 1.9rem; } }
@media (prefers-reduced-motion: reduce) { .journey::after { display: none; } }

/* Rapor geldiği an bulgu ve sağlam kontrol satırları kısa aralıklarla sırayla belirir (tek, sakin bir an) */
.report-mode .hreport :is(.flist, .passed) > li { animation: rowIn .5s cubic-bezier(.2, .7, .2, 1) .45s both; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(2) { animation-delay: 0.51s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(3) { animation-delay: 0.57s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(4) { animation-delay: 0.63s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(5) { animation-delay: 0.69s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(6) { animation-delay: 0.75s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(7) { animation-delay: 0.81s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(8) { animation-delay: 0.87s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(9) { animation-delay: 0.93s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(10) { animation-delay: 0.99s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(11) { animation-delay: 1.05s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(12) { animation-delay: 1.11s; }
.report-mode .hreport :is(.flist, .passed) > li:nth-child(n + 13) { animation-delay: 1.15s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .report-mode .hreport :is(.flist, .passed) > li { animation: none; } }

/* Uyarı yazısı: arama kutusunun hemen altında küçük bir baloncuk. Akışın dışında durur;
   altındaki satırları itmez, ilk ekran ve ay küçülmez. Boşken görünmez ama ekran okuyucu için yerinde kalır. */
.hero--orbit .hscan .scan__status {
  position: absolute; left: 50%; top: calc(100% + 10px); z-index: 5; translate: -50% 0;
  width: max-content; max-width: min(92vw, 560px); min-height: 0; margin: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .5rem .85rem; border-radius: 10px; font-size: .9rem; line-height: 1.35; text-align: left;
  color: #dbe5f2; background: #0a1120; border: 1px solid rgba(142, 197, 240, .22);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .9); text-shadow: none;
  animation: hintIn .35s cubic-bezier(.2, .7, .2, 1);
}
.hero--orbit .hscan .scan__status:empty { opacity: 0; visibility: hidden; animation: none; }
.hero--orbit .hscan .scan__status.is-error { color: #ffc2b3; border-color: rgba(255, 138, 112, .5); background: #1c0d0b; }
.hero--orbit .hscan .scan__status.is-error::before {
  content: "!"; flex-shrink: 0; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  font: 700 .72rem/1 var(--text); color: #1a0b07; background: #ff9a82; box-shadow: 0 0 12px rgba(255, 138, 112, .45);
}
/* Baloncuğun ucu kutuyu gösterir */
.hero--orbit .hscan .scan__status::after {
  content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; translate: -50% 0; rotate: 45deg;
  background: inherit; border-left: 1px solid; border-top: 1px solid; border-color: inherit;
}
@keyframes hintIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero--orbit .hscan .scan__status { animation: none; } }
/* İlk ekranda uyarı baloncuk değildir ve hiçbir yazıyı örtmez: kutunun altındaki koşullar satırının yerinde
   yumuşakça (opaklıkla) belirir, koşullar satırı o sırada söner. Tarama ekranında baloncuk kutunun altında kalır. */
body:not(.scan-mode) .hero--orbit .hscan .scan__status {
  top: calc(100% + .8rem); padding: 0; gap: .45rem; font-size: .8rem; line-height: 1.3; letter-spacing: .02em;
  background: none; border: 0; box-shadow: none; animation-name: hintFade; animation-duration: .5s;
}
body:not(.scan-mode) .hero--orbit .hscan .scan__status.is-error { background: none; color: #f0b3a4; }
body:not(.scan-mode) .hero--orbit .hscan .scan__status::after { display: none; }
body:not(.scan-mode) .hero--orbit .hscan .scan__status.is-error::before { width: 6px; height: 6px; font-size: 0; background: #ff8a70; box-shadow: 0 0 10px rgba(255, 138, 112, .7); }
body:not(.scan-mode) .hero--orbit .hscan:has(.scan__status:not(:empty)) .scan__legal { opacity: 0; }
@keyframes hintFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Bölüm numara etiketleri: her tanıtım bölümünün başlığının üstünde sırayla 01–14 ----------
   İnce çizgi, numara, ayraç ve büyük harfli bölüm adı. Ortalı başlıklarda iki yanda çizgi, sola dayalıda yalnızca sağda. */
.obs-index {
  display: flex; align-items: center; gap: .75rem; width: fit-content; margin: 0 0 1.1rem;
  font: 600 .78rem/1.3 var(--display); letter-spacing: .22em; text-transform: uppercase; color: #8fb6e6;
}
.obs-index span { padding-right: .75rem; border-right: 1px solid rgba(142, 197, 240, .35); color: #e9f0fa; font-variant-numeric: tabular-nums; }
.obs-index::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, rgba(142, 197, 240, .55), transparent); }
.center-head .obs-index { margin-inline: auto; }
.center-head .obs-index::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, rgba(142, 197, 240, .55)); }
.anat__intro .obs-index { grid-column: 1 / -1; }
#demo .obs-index { margin-bottom: 0; }
@media (min-width: 961px) {
  #anatomy .anat { grid-template-rows: auto auto auto 1fr; }
  #anatomy .anat__intro .obs-index { grid-row: 1; }
  #anatomy .anat__intro .section__title { grid-row: 2; }
  #anatomy .anat__intro .section__lead { grid-row: 3; }
  #anatomy .anat__keys, #anatomy .anat__card { grid-row: 4; }
}
@media (max-width: 600px) { .center-head .obs-index { margin-inline: 0; } .center-head .obs-index::before { display: none; } }

/* ---------- İş akışı karuseli: altı adım yatay kayar ----------
   Ortadaki adım tam parlak; yandakiler soluk ve hafif küçük (yalnızca opaklık ve transform: akıcı).
   Dokunmatikte parmakla kayar (scroll-snap); oklar, noktalar ve klavye (← →) aynı işi yapar. */
.carousel { --slide: min(560px, 82vw); max-width: 980px; margin: 0 auto; }
.carousel__track {
  position: relative; list-style: none; margin: 0; padding: 6px calc((100% - var(--slide)) / 2) 10px;
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid rgba(142, 197, 240, .6); outline-offset: 4px; }
.carousel__item { flex: 0 0 var(--slide); scroll-snap-align: center; }
/* Neden Lycan kartı: üstte hareketli sahne (journey-fx.js, canvas), altında "01 —" numara, başlık, yazı */
.carousel__item { display: flex; }
.jcard {
  position: relative; flex: 1; display: flex; flex-direction: row; align-items: stretch; height: 240px; overflow: hidden; border-radius: 12px;
  background: linear-gradient(180deg, #06112a, #050b19 70%);
  border: 1px solid rgba(70, 140, 255, .32);
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(140, 190, 255, .08);
}
/* Yatay dikdörtgen kart: sahne solda (sağa doğru karta karışır), yazı sağda; telefonda sahne üstte */
.jcard__fx {
  display: block; flex: none; height: 100%; width: auto; aspect-ratio: 6 / 5;
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent);
}
.jcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .55rem; padding: 22px 24px 22px 4px; }
@media (max-width: 600px) {
  .jcard { flex-direction: column; height: auto; }
  .jcard__fx { width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent); mask-image: linear-gradient(180deg, #000 76%, transparent); }
  .jcard__body { padding: 2px 22px 24px; }
}
.jcard__n { display: flex; align-items: center; gap: 12px; font: 600 1rem/1 var(--display); letter-spacing: .14em; color: #6fb1ff; }
.jcard__n::after { content: ""; width: 34px; height: 1px; background: rgba(111, 177, 255, .7); }
.jcard h3 { font: 600 clamp(1.2rem, 1.25vw, 1.45rem)/1.15 var(--display); color: #f2f7ff; }
.jcard p { color: var(--fog); font-size: .92rem; line-height: 1.55; }
/* Karusel: ortadaki kart önde ve parlak; yandakiler sönük ve hafif küçük (oklar, noktalar, kaydırma) */
.jcard { opacity: .42; transform: scale(.955); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1), border-color .5s; }
.carousel__item.is-active .jcard { opacity: 1; transform: none; border-color: rgba(110, 170, 255, .55); }
.carousel__bar { display: flex; align-items: center; gap: 16px; margin: 18px auto 0; width: var(--slide); }
.carousel__dots { display: flex; align-items: center; gap: 8px; }
.carousel__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(142, 197, 240, .28); transition: width .35s cubic-bezier(.2, .7, .2, 1), background-color .35s;
}
.carousel__dot:hover { background: rgba(142, 197, 240, .55); }
.carousel__dot[aria-current="true"] { width: 26px; background: var(--frost); box-shadow: 0 0 12px rgba(142, 197, 240, .55); }
.carousel__nav { display: flex; gap: 8px; margin-left: auto; }
.carousel__btn {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer;
  color: #cfe4ff; background: rgba(12, 21, 37, .86); border: 1px solid rgba(142, 197, 240, .24);
  transition: border-color .2s, background-color .2s, opacity .2s;
}
.carousel__btn:hover:not(:disabled) { border-color: rgba(142, 197, 240, .6); background: rgba(142, 197, 240, .1); }
.carousel__btn:focus-visible, .carousel__dot:focus-visible { outline: 2px solid var(--frost); outline-offset: 3px; }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
  .jcard, .carousel__dot { transition: none; }
}

/* ---------- Kapsam ağacı (organizasyon şeması): bir tarama → altı aile → on altı kontrol ----------
   Kökten ailelere ve ailelerden kontrollere ince çizgiler iner. Her ailenin altındaki yuvarlak düğme
   kontrolleri katlar ya da açar. Renkler marka mavisi; simgeler aydaki işaretlerle aynı (site.js lycanMark). */
.otree-wrap { margin-top: clamp(56px, 8vw, 96px); }
.otree-wrap--own { margin-top: 0; } /* kendi bölümünde (08 Check map) */
.otree__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.otree { --line: rgba(142, 197, 240, .26); --gap-x: 14px; display: flex; flex-direction: column; align-items: center; }
.otree__top { position: relative; display: flex; flex-direction: column; align-items: center; padding-bottom: 30px; }
.otree__top::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 30px; background: var(--line); }
.otree__top:has(.otree__toggle[aria-expanded="false"])::after { display: none; }
.onode {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 14px 10px 10px; border-radius: 12px; text-align: left;
  background: rgba(12, 21, 37, .9); border: 1px solid rgba(142, 197, 240, .16); box-shadow: 0 18px 44px -28px rgba(0, 0, 0, .9);
}
.onode__ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--frost); background: rgba(142, 197, 240, .1); border: 1px solid rgba(142, 197, 240, .18); }
.onode__ico .fmark { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.onode__ico .fmark__dot { fill: currentColor; stroke: none; }
.onode__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.onode__txt b { font: 600 .95rem/1.15 var(--text); color: #eef3fa; overflow-wrap: anywhere; }
.onode__txt span { font-size: .78rem; line-height: 1.3; color: var(--fog); }
.onode--root { padding: 12px 20px 12px 12px; border-color: rgba(142, 197, 240, .36); box-shadow: 0 0 44px -14px rgba(142, 197, 240, .45); }
.onode--root .onode__ico { width: 42px; height: 42px; }
.onode--root .onode__txt span { font-family: var(--mono); }
.otree__toggle {
  position: relative; z-index: 1; width: 24px; height: 24px; margin-top: -12px; padding: 0; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer; color: #cfe4ff; background: #0c1525; border: 1px solid rgba(142, 197, 240, .42);
  transition: border-color .2s, background-color .2s;
}
.otree__toggle:hover { border-color: var(--frost); background: #12223a; }
.otree__toggle:focus-visible { outline: 2px solid var(--frost); outline-offset: 3px; }
.otree__toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.otree__toggle[aria-expanded="true"] .otree__plus { display: none; }
.otree__fams {
  position: relative; width: 100%; margin: 0; padding: 30px 0 0; list-style: none;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-x); align-items: start;
}
/* Yatay çizgi ilk ailenin ortasından son ailenin ortasına uzanır */
.otree__fams::before { content: ""; position: absolute; top: 0; left: calc((100% - 5 * var(--gap-x)) / 12); right: calc((100% - 5 * var(--gap-x)) / 12); height: 1px; background: var(--line); }
.otree__fams[hidden] { display: none; }
.otree__fam { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.otree__fam::before { content: ""; position: absolute; left: 50%; top: -30px; width: 1px; height: 30px; background: var(--line); }
.otree__fam > .onode { width: 100%; }
.otree__leaves { position: relative; width: 100%; margin: 10px 0 0; padding: 0 0 0 16px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.otree__leaves[hidden] { display: none; }
.otree__leaves::before { content: ""; position: absolute; left: 6px; top: -10px; bottom: 22px; width: 1px; background: var(--line); }
.otree__leaves li { position: relative; }
.otree__leaves li::before { content: ""; position: absolute; left: -10px; top: 22px; width: 10px; height: 1px; background: var(--line); }
.onode--leaf { padding: 9px 12px; border-radius: 10px; background: rgba(10, 18, 32, .82); border-color: rgba(142, 197, 240, .12); box-shadow: none; }
.onode--leaf .onode__ico { display: none; }
.onode--leaf .onode__txt b { font: 500 .84rem/1.2 var(--text); }
.onode--leaf .onode__txt span { font-size: .74rem; }
@media (max-width: 1100px) {
  .otree__fams { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .otree__fams::before, .otree__fam::before { display: none; }
  .otree__top::after { display: none; }
  .otree__top { padding-bottom: 22px; }
  .otree__fams { padding-top: 0; }
}

/* ---------- 01 Nasıl çalışır: dört aşamalı akış ----------
   Tek renk ailesi (buz mavisi). Ray bölümün tam genişliğinde: ışık aşamadan aşamaya geçer, dördüncüden sonra
   sağ uca kadar dolar ve uçtaki işaret yanar (rapor hazır). Etkin kart yükselir, üstünden ışık süzülür,
   altındaki çizgi aşama süresince dolar, günlük satırı yazılır. --i: etkin aşama (JS), --dur: aşama süresi. */
.flow {
  --gap: 18px; --dur: 3600ms; --node: 42px; --ease: cubic-bezier(.65, 0, .35, 1);
  list-style: none; margin: 3.2rem 0 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap);
}
.flow__rail {
  --x: calc(var(--i, 0) * (100% + var(--gap)) / 4 + var(--node) / 2);
  position: absolute; left: 0; right: 0; top: calc(var(--node) / 2 - 1px); height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(142, 197, 240, .24), rgba(142, 197, 240, .1) 85%, rgba(142, 197, 240, .2));
}
.flow.is-complete .flow__rail { --x: calc(100% - var(--node) / 2); }
/* Dolan kısım ve üstünde akan ışık parçacıkları */
.flow__rail::before, .flow__rail::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  clip-path: inset(-6px calc(100% - var(--x)) -6px 0); transition: clip-path 1.1s var(--ease);
}
.flow__rail::before {
  background: linear-gradient(90deg, rgba(142, 197, 240, .35), #8ec5f0 60%, #dff0ff);
  box-shadow: 0 0 14px rgba(142, 197, 240, .55);
}
.flow__rail::after {
  inset: -1px 0;
  background: repeating-linear-gradient(90deg, transparent 0 70px, rgba(255, 255, 255, .85) 70px 76px, transparent 76px 150px);
  background-size: 150px 100%; mix-blend-mode: screen; opacity: .7; animation: flowStream 1.8s linear infinite;
}
@keyframes flowStream { to { background-position: 150px 0; } }
/* Kuyruklu ışık: dolan kısmın ucunda */
.flow__comet {
  position: absolute; top: 50%; left: var(--x); width: 110px; height: 2px; translate: -100% -50%;
  background: linear-gradient(90deg, transparent, rgba(223, 240, 255, .95)); border-radius: 2px;
  transition: left 1.1s var(--ease);
}
.flow__comet::after {
  content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; translate: 0 -50%; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 2px rgba(223, 240, 255, .9), 0 0 26px 8px rgba(142, 197, 240, .55);
}
/* Rayın sağ ucundaki son düğüm: diğer düğümlerle aynı boyda. 4. aşama bitip onay işaretini alınca ışık buraya gelir,
   düğüm 04'teki gibi parlayarak yanar ve yanık kalır (rapor simgesi). Akış burada biter, başa dönmez. */
.flow__end {
  position: absolute; right: 0; top: 50%; width: var(--node); height: var(--node); translate: 0 -50%; border-radius: 50%;
  display: grid; place-items: center; color: rgba(142, 197, 240, .5);
  border: 1.5px solid rgba(142, 197, 240, .3); background: var(--ink);
  transition: background-color .5s, border-color .5s, box-shadow .5s, color .5s;
}
.flow__doc { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.flow.is-complete .flow__end {
  background: radial-gradient(circle at 35% 30%, #f2f9ff, #8ec5f0 70%); border-color: #dff0ff; color: var(--ink);
  box-shadow: 0 0 0 6px var(--ink), 0 0 30px 6px rgba(142, 197, 240, .5);
  transition: background-color .5s .9s, border-color .5s .9s, box-shadow .5s .9s, color .5s .9s;
}
.flow.is-complete .flow__end::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid rgba(142, 197, 240, .7);
  animation: flowRing 1.8s ease-out 1.2s infinite; opacity: 0;
}
@media (prefers-reduced-motion: reduce) { .flow.is-complete .flow__end::after { animation: none; } }
/* Işık son düğüme varınca kuyruklu ışık söner; yalnızca yanan düğüm kalır */
.flow__comet { transition: left 1.1s var(--ease), opacity .4s; }
.flow.is-complete .flow__comet { opacity: 0; transition: left 1.1s var(--ease), opacity .4s 1s; }

.flow__step { position: relative; display: flex; flex-direction: column; cursor: pointer; outline: none; }
.flow__node {
  position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%;
  background: var(--ink); border: 1.5px solid rgba(142, 197, 240, .3); color: var(--fog);
  font: 600 .98rem/1 var(--display); letter-spacing: .06em;
  transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s;
}
.flow__node > * { grid-area: 1 / 1; transition: opacity .3s; }
.flow__tick { width: 18px; height: 18px; fill: none; stroke: #dff0ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 16; stroke-dashoffset: 16; opacity: 0; transition: stroke-dashoffset .5s .15s, opacity .2s; }
.flow__step.is-done .flow__node { background: #12233a; border-color: rgba(142, 197, 240, .75); }
.flow__step.is-done .flow__num { opacity: 0; }
.flow__step.is-done .flow__tick { opacity: 1; stroke-dashoffset: 0; }
.flow__step.is-active .flow__node {
  background: radial-gradient(circle at 35% 30%, #f2f9ff, #8ec5f0 70%); border-color: #dff0ff; color: var(--ink);
  box-shadow: 0 0 0 6px var(--ink), 0 0 30px 6px rgba(142, 197, 240, .5);
}
.flow__step.is-active .flow__node::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid rgba(142, 197, 240, .7);
  animation: flowRing 1.8s ease-out infinite;
}
@keyframes flowRing { from { scale: 1; opacity: .9; } to { scale: 1.9; opacity: 0; } }
.flow__step:focus-visible .flow__node { outline: 2px solid var(--frost); outline-offset: 4px; }

.flow__card {
  position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden;
  margin-top: 1.3rem; padding: 1.35rem 1.35rem 1.4rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 29, 48, .86), rgba(10, 18, 32, .82));
  border: 1px solid var(--panel-line); box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .95);
  opacity: .58; transition: opacity .6s, transform .6s var(--ease), border-color .6s, box-shadow .6s;
}
.flow__step.is-done .flow__card { opacity: .86; }
.flow__step.is-active .flow__card {
  opacity: 1; transform: translateY(-6px); border-color: rgba(142, 197, 240, .42);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(142, 197, 240, .08), 0 0 60px -20px rgba(142, 197, 240, .35), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.flow__step:hover .flow__card { border-color: rgba(142, 197, 240, .3); }
/* Üst kenarda yanan ince çizgi ve kartın üstünden süzülen ışık */
.flow__card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #cfe8ff 50%, transparent); transform: scaleX(0); transition: transform .8s var(--ease);
}
.flow__step.is-active .flow__card::before { transform: scaleX(1); }
.flow__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-110%);
  background: linear-gradient(105deg, transparent 35%, rgba(142, 197, 240, .13) 50%, transparent 65%);
}
.flow__step.is-active .flow__card::after { animation: flowSheen 1.5s .25s var(--ease) both; }
@keyframes flowSheen { from { transform: translateX(-110%); } to { transform: translateX(110%); } }

.flow__tag { margin: 0 0 .7rem; font: 600 .72rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--fog); transition: color .5s; }
.flow__step.is-active .flow__tag { color: var(--frost); }
.flow__card h3 { margin: 0 0 .6rem; font: 600 1.9rem/1.05 var(--display); color: #d7e2f0; transition: color .5s, text-shadow .5s; }
.flow__step.is-active .flow__card h3 { color: #fff; text-shadow: 0 0 22px rgba(142, 197, 240, .45); }
.flow__text { margin: 0 0 1.2rem; color: var(--fog); font-size: .95rem; line-height: 1.55; }
.flow__facts { list-style: none; margin: auto 0 0; padding: .95rem 0 0; display: grid; gap: .45rem; border-top: 1px solid rgba(142, 197, 240, .12); }
.flow__facts li { display: flex; align-items: baseline; gap: .55rem; min-width: 0; }
.flow__facts b { flex-shrink: 0; font: 600 1.28rem/1.1 var(--display); color: #e6f1fc; letter-spacing: .01em; }
.flow__facts span { font-size: .84rem; color: var(--fog); }
.flow__log {
  display: block; min-height: calc(3em + .9rem + 2px); margin-top: 1rem; padding: .45rem .65rem; border-radius: 8px;
  font: .74rem/1.5 var(--mono); color: var(--frost); overflow-wrap: anywhere;
  background: rgba(142, 197, 240, .06); border: 1px solid rgba(142, 197, 240, .1); opacity: .5; transition: opacity .5s;
}
.flow__log::before { content: "› "; color: var(--fog); }
.flow__step.is-active .flow__log, .flow__step.is-done .flow__log { opacity: 1; }
.flow__log.is-typing::after { content: ""; display: inline-block; width: .5em; height: 1em; margin-left: 2px; vertical-align: -.15em; background: var(--frost); animation: caret 1s steps(1) infinite; }
/* Aşama süresi boyunca dolan alt çizgi */
.flow__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, rgba(142, 197, 240, .2), #8ec5f0); transform: scaleX(0); transform-origin: left; }
.flow__step.is-active .flow__bar { animation: flowBar var(--dur) linear both; }
.flow__step.is-done .flow__bar { transform: scaleX(1); opacity: .3; }
.flow.is-paused .flow__step.is-active .flow__bar { animation: none; transform: scaleX(1); opacity: .6; }
@keyframes flowBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem var(--gap); }
  .flow__rail { display: none; }
}
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } }
@media (max-width: 760px), (hover: none) { .flow__step.is-active .flow__node::after, .flow__rail::after { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .flow__rail::after, .flow__comet { display: none; }
  .flow__card, .flow__step.is-active .flow__card { transform: none; }
}
