/* ==========================================================================
   NC Life Medikal — site stilleri
   Renkler ve yazı karakterleri logo kullanım kılavuzundan gelir.
   ========================================================================== */

:root {
  /* Marka */
  --red: #D7263D;          /* Nabız Kırmızısı: yalnızca vurgu, buton ve grafik */
  --red-press: #B91E33;
  --navy: #0B1F3A;         /* Güven Laciverti */
  --navy-deep: #06142A;    /* 3D sahnenin derinliği */
  --white: #FFFFFF;
  /* Yardımcı */
  --steel: #AFBACB;        /* stent metali; koyu zeminde ikincil metin */
  --mist: #F1F4F8;         /* klinik açık zemin */
  --ink-2: #4A5568;        /* açık zeminde ikincil metin (kılavuzdaki gri) */
  --line: rgba(11, 31, 58, .14);
  --line-dark: rgba(255, 255, 255, .16);

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--white);
  font: 400 1rem/1.6 var(--font-body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.h2 {
  font: 600 clamp(2rem, 1.2rem + 3vw, 3.6rem)/1.05 var(--font-head);
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* ---------- Düğmeler ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 .95rem/1 var(--font-body); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-press); }
.btn--ghost { border-color: var(--line-dark); color: var(--white); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); }
.btn--line { border-color: var(--line); color: var(--navy); background: transparent; }
.btn--line:hover { border-color: var(--navy); }

/* ---------- Üst bar ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding-inline: var(--gutter);
  transition: background-color .35s, color .35s, box-shadow .35s, transform .45s var(--ease);
}
.header__logo { display: block; position: relative; width: 176px; flex: none; }
.header__logo .logo { width: 100%; height: auto; transition: opacity .35s; }
.header__logo .logo--light { position: absolute; inset: 0; opacity: 0; }
.header__nav { display: flex; gap: 28px; margin-left: auto; }
.header__nav a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .82; transition: opacity .2s; }
.header__nav a:hover { opacity: 1; }
.btn--quote { --h: 42px; padding: 0 20px; background: rgba(255,255,255,.08); border-color: var(--line-dark); color: var(--white); backdrop-filter: blur(8px); }
.btn--quote:hover { border-color: rgba(255,255,255,.5); }
.header.is-light { background: rgba(255,255,255,.86); color: var(--navy); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.is-light .logo--dark { opacity: 0; }
.header.is-light .logo--light { opacity: 1; }
.header.is-light .btn--quote { background: var(--navy); color: var(--white); border-color: var(--navy); }
.header.is-hidden { transform: translateY(-100%); }

/* ---------- Hikâye (3D) ---------- */
.story { position: relative; height: 760vh; background: var(--navy-deep); }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__fallback {
  position: absolute; inset: 0; display: none;
  background:
    radial-gradient(60% 50% at 70% 55%, rgba(215,38,61,.35), transparent 70%),
    radial-gradient(80% 70% at 20% 30%, rgba(30,70,130,.45), transparent 70%),
    var(--navy-deep);
}
.no-webgl .story__fallback { display: block; }
.story__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,20,42,.84) 0%, rgba(6,20,42,.5) 36%, rgba(6,20,42,0) 62%);
}

.story__intro, .step {
  position: absolute; left: var(--gutter); max-width: min(620px, 92vw);
}
.story__intro { top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.story__title {
  font: 600 clamp(2.9rem, 1.4rem + 5.6vw, 6.4rem)/.98 var(--font-head);
  letter-spacing: -.035em;
}
.story__lead { margin-top: 26px; max-width: 34em; font-size: clamp(1rem, .9rem + .35vw, 1.2rem); line-height: 1.6; color: rgba(255,255,255,.82); }
.story__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.story__hint { display: flex; align-items: center; gap: 14px; margin-top: 64px; font-size: .88rem; color: var(--steel); }
.story__hint-line { width: 44px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.story__hint-line::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: translateX(-100%); animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { 60%, 100% { transform: translateX(100%); } }

.step { bottom: 14vh; opacity: 0; visibility: hidden; }
.step__no { display: block; font: 500 .9rem/1 var(--font-body); color: var(--steel); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.step__title { font: 600 clamp(2.4rem, 1.4rem + 4vw, 5rem)/1 var(--font-head); letter-spacing: -.03em; }
.step__text { margin-top: 20px; max-width: 30em; font-size: clamp(1rem, .92rem + .3vw, 1.15rem); color: rgba(255,255,255,.84); }
.step__link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-weight: 500; text-decoration: none; padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .2s;
}
.step__link::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.step__link:hover { border-color: var(--white); }

.story__labels { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute; left: 0; top: 0;
  padding: 8px 12px 8px 26px; border-radius: 6px;
  font: 500 .82rem/1.2 var(--font-body); white-space: nowrap;
  color: var(--white); background: rgba(6,20,42,.62); border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
  opacity: 0; will-change: transform, opacity;
}
.tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(215,38,61,.25); }

.story__rail {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transition: opacity .4s;
}
.story__rail.is-on { opacity: 1; }
.story__rail button {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  background: none; border: 0; padding: 6px 0; color: var(--steel);
  font: 500 .82rem/1 var(--font-body); transition: color .25s;
}
.story__rail button::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: width .35s var(--ease), background-color .25s; }
.story__rail button span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; }
.story__rail:hover button span, .story__rail button.is-active span { opacity: 1; transform: none; }
.story__rail button.is-active { color: var(--white); }
.story__rail button.is-active::after { width: 36px; background: var(--red); }
.story__rail button.is-done::after { background: var(--white); }

/* Canlı ölçüm göstergesi: darlık, balon basıncı ve akış adımlarla birlikte değişir */
.story__hud {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 28px);
  display: flex; gap: 28px; opacity: 0; transition: opacity .4s;
  text-shadow: 0 1px 14px rgba(6,20,42,.7);
}
.story__hud.is-on { opacity: 1; }
.story__hud > div { display: grid; gap: 6px; min-width: 92px; }
.story__hud-label { font-size: .8rem; color: var(--steel); }
.story__hud-value { font: 600 1.7rem/1 var(--font-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.story__hud-value small { font: 500 .85rem/1 var(--font-body); margin-left: 5px; color: var(--steel); letter-spacing: 0; }
.story__hud-bar { display: block; align-self: center; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--line-dark); overflow: hidden; }
.story__hud-bar span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(.3); }

/* ---------- Hikâye sonu: beyaza geçiş ---------- */
.story__flash { position: absolute; inset: 0; background: var(--white); opacity: 0; pointer-events: none; }
.story__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.story__title .line > span { display: block; }

/* ---------- Atış çizgisi (sayfadaki tek atış) ---------- */
.beatline { height: 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.beatline__svg { width: 100%; height: 100%; overflow: visible; }
.beatline__path { fill: none; stroke: var(--red); stroke-width: 2; stroke-linejoin: round; }

/* ---------- Ürünler: 3D vitrin ---------- */
.products { background: var(--white); color: var(--navy); }
.products__intro { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(24px, 3vw, 40px); }
.products__intro .h2 { max-width: 14em; }
.products__lead { margin-top: 22px; max-width: 36em; color: var(--ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); }

.showcase { position: relative; height: calc(8 * 100vh); }
.showcase__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(70% 75% at 66% 52%, #ffffff 0%, #f3f6fa 52%, #e4eaf2 100%);
}
.showcase__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Ürünün arkasında kayan dev, içi boş yazı */
.showcase__words { position: absolute; inset: 0 0 0 calc(var(--gutter) + min(440px, 40vw) + 32px); overflow: hidden; pointer-events: none; }
.showcase__words span {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  font: 600 clamp(7rem, 3rem + 13vw, 19rem)/1 var(--font-head); letter-spacing: -.045em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(11,31,58,.12);
  opacity: 0; will-change: transform, opacity;
}
/* Beyaz fonlu ürün videoları zemine "multiply" ile kaynaşır */
.showcase__video { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; pointer-events: none; }
.showcase__panels { position: absolute; inset: 0; pointer-events: none; }
.product {
  position: absolute; left: var(--gutter); top: 50%; width: min(440px, 40vw);
  transform: translateY(-50%); opacity: 0; visibility: hidden;
}
.product__name { font: 600 clamp(2.1rem, 1.3rem + 2.8vw, 4rem)/1.02 var(--font-head); letter-spacing: -.03em; text-wrap: balance; }
.product__text { margin-top: 20px; color: var(--ink-2); font-size: clamp(1rem, .95rem + .2vw, 1.1rem); }
.product__facts { margin-top: 28px; border-top: 1px solid var(--line); }
.product__facts li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; font-size: .95rem; }
.product__facts li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 2px solid var(--red); }
.product__quote {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding-bottom: 4px;
  font-weight: 500; text-decoration: none; pointer-events: auto;
  border-bottom: 1px solid var(--line); transition: border-color .2s;
}
.product__quote::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.product__quote:hover { border-color: var(--navy); }

.showcase__index {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  display: flex; flex-wrap: wrap; gap: 6px 22px;
}
.showcase__index button {
  position: relative; background: none; border: 0; padding: 8px 0; color: var(--ink-2);
  font: 500 .88rem/1 var(--font-body); transition: color .25s;
}
.showcase__index button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.showcase__index button:hover { color: var(--navy); }
.showcase__index button.is-active { color: var(--navy); }
.showcase__index button.is-active::after { transform: scaleX(1); }

.products__more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 130px);
}
.products__more p { max-width: 34em; font: 500 clamp(1.15rem, 1rem + .6vw, 1.6rem)/1.35 var(--font-head); letter-spacing: -.01em; }

/* ---------- Yakından: kaydırmayla oynayan video ---------- */
.film { position: relative; height: 460vh; background: var(--navy-deep); color: var(--white); }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6,20,42,.78) 0%, rgba(6,20,42,.3) 38%, rgba(6,20,42,0) 60%); }
.film__panel { position: absolute; left: var(--gutter); bottom: 16vh; max-width: min(520px, 90vw); opacity: 0; visibility: hidden; }
.film__title { font: 600 clamp(2.2rem, 1.3rem + 3.4vw, 4.4rem)/1 var(--font-head); letter-spacing: -.03em; }
.film__text { margin-top: 18px; max-width: 30em; color: rgba(255,255,255,.84); font-size: clamp(1rem, .92rem + .3vw, 1.15rem); }
.film__meter { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 24px); display: grid; justify-items: end; gap: 4px; text-shadow: 0 1px 14px rgba(6,20,42,.7); }
.film__meter-label { font-size: .85rem; color: var(--steel); }
.film__meter-value { font: 600 clamp(2.4rem, 1.6rem + 3vw, 4.6rem)/1 var(--font-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.film__meter-value small { font: 500 1rem/1 var(--font-body); margin-left: 8px; color: var(--steel); letter-spacing: 0; }
.film__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 40px); height: 2px; background: var(--line-dark); }
.film__bar span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- Anjiyografi: önce ve sonra ---------- */
.angio { position: relative; height: 420vh; background: var(--mist); color: var(--navy); }
.angio__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.angio__panel { position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%; width: min(440px, 38vw); opacity: 0; visibility: hidden; }
.angio__title { font: 600 clamp(2.1rem, 1.3rem + 2.8vw, 4rem)/1.02 var(--font-head); letter-spacing: -.03em; text-wrap: balance; }
.angio__text { margin-top: 20px; max-width: 30em; color: var(--ink-2); font-size: clamp(1rem, .95rem + .2vw, 1.1rem); }
.angio__monitor {
  position: absolute; right: var(--gutter); top: calc(50% + var(--header-h) / 2); translate: 0 -50%;
  width: min(calc(100vh - var(--header-h) - 120px), 50vw); aspect-ratio: 1;
  border-radius: 20px; overflow: hidden; background: #0d1116;
  box-shadow: 0 0 0 10px #0d1420, 0 50px 90px -40px rgba(11,31,58,.6);
  will-change: transform;
}
.angio__canvas { width: 100%; height: 100%; }
.angio__hud > span { position: absolute; font: 500 .76rem/1.4 var(--font-body); color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; }
.angio__hud-tl { left: 16px; top: 14px; }
.angio__hud-bl { left: 16px; bottom: 14px; }
.angio__hud-br { right: 16px; bottom: 14px; }
.angio__qca {
  position: absolute; left: 0; top: 0; translate: 22px -50%;
  padding: 6px 10px; border-radius: 6px; white-space: nowrap;
  font: 500 .82rem/1.2 var(--font-body); color: var(--white); background: rgba(6,20,42,.74);
  opacity: 0; pointer-events: none;
}
.angio__wipe {
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: var(--white); box-shadow: 0 0 14px rgba(255,255,255,.85); opacity: 0;
}
.angio__wipe::after {
  content: ""; position: absolute; left: 50%; top: 84%; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(215,38,61,.28);
}
.angio__wipe span {
  position: absolute; top: calc(84% - 11px); padding: 5px 9px; border-radius: 6px; white-space: nowrap;
  font: 500 .78rem/1 var(--font-body); color: var(--white); background: rgba(6,20,42,.7);
}
.angio__wipe-after { right: 24px; }
.angio__wipe-before { left: 24px; }

/* ---------- Hakkımızda ---------- */
.about { background: var(--navy); color: var(--white); padding: clamp(88px, 11vw, 170px) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; }
.about__title { max-width: 11em; }
.about__text { display: grid; gap: 20px; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); color: rgba(255,255,255,.84); max-width: 34em; }

/* ---------- İletişim ---------- */
.contact { background: var(--white); color: var(--navy); padding: clamp(80px, 10vw, 150px) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.contact__intro { margin-top: 18px; color: var(--ink-2); max-width: 26em; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.quote { display: grid; gap: 18px; max-width: 580px; margin-top: 32px; }
.quote .contact__actions { margin-top: 6px; }
.quote__products { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.quote__products legend { padding: 0; margin-bottom: 12px; font-size: .92rem; color: var(--ink-2); }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .9rem;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .88rem; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--navy); font-size: 1rem; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8a94a6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,58,.08); }

.contact__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { color: var(--ink-2); font-size: .92rem; }
.contact__list dd { font-weight: 500; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

/* ---------- Alt bilgi ---------- */
.footer { background: var(--navy-deep); color: var(--white); padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 32px 56px; align-items: center; }
.footer__grid img { width: 176px; height: auto; }
.footer__note { font-size: .84rem; color: var(--steel); max-width: 60em; }
.footer__copy { font-size: .84rem; color: var(--steel); }

/* ---------- Dolaşım ağı ---------- */
.circ { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }
.circ--light { mix-blend-mode: multiply; }
.circ--dark { mix-blend-mode: screen; }

/* ---------- İmleç ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.55); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s, background-color .3s; }
.cursor.is-light .cursor__ring { border-color: rgba(11,31,58,.4); }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(215,38,61,.16); }

/* ---------- Duyarlı düzen ----------
   Sahne içi yazıların yerleşimi ekranın YÖNÜNE göre seçilir (3D sahneler de aynı kuralı kullanır):
   dikey ekranda 3D üstte ve yazı altta, yatay ekranda yazı solda ve 3D sağda. Yan çevrilmiş telefon ve
   açılmış katlanabilir telefon da böylece doğru düzeni alır. Izgaralar ve üst bar ise genişliğe göre değişir. */
@media (max-width: 1080px) {
  .header__nav { display: none; }
  .header { justify-content: space-between; }
}
@media (max-width: 900px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (orientation: portrait) {
  .story__rail, .story__labels { display: none; }
  .story__shade { background: linear-gradient(0deg, rgba(6,20,42,.92) 0%, rgba(6,20,42,.6) 42%, rgba(6,20,42,.1) 70%); }
  .story__intro { justify-content: flex-end; padding-bottom: 9vh; right: var(--gutter); }
  .story__hint { margin-top: 36px; }
  .step { bottom: 9vh; right: var(--gutter); }
  .story__hud { left: var(--gutter); right: auto; gap: 22px; }
  .showcase__stage { background: radial-gradient(90% 55% at 50% 34%, #ffffff 0%, #f3f6fa 55%, #e4eaf2 100%); }
  .product { top: auto; bottom: 86px; transform: none; width: auto; max-width: 640px; right: var(--gutter); }
  .product__text { margin-top: 12px; }
  .product__facts { display: none; }
  .product__quote { margin-top: 14px; }
  .showcase__words { inset: 0; }
  .showcase__words span { top: 33%; font-size: 30vw; }
  .film__shade { background: linear-gradient(0deg, rgba(6,20,42,.95) 0%, rgba(6,20,42,.7) 38%, rgba(6,20,42,0) 62%); }
  .film__panel { bottom: 9vh; right: var(--gutter); }
  .angio__monitor {
    left: 50%; right: auto; top: calc(var(--header-h) + 14px); translate: -50% 0;
    width: min(calc(100vw - 2 * var(--gutter) - 16px), 52vh); border-radius: 14px;
    box-shadow: 0 0 0 8px #0d1420, 0 40px 70px -40px rgba(11,31,58,.6);
  }
  .angio__panel { top: auto; bottom: 8vh; right: var(--gutter); width: auto; max-width: 640px; translate: none; }
  .angio__hud > span { font-size: .68rem; }
}
/* Ürün dizini dar ekranda ve alçak yatay ekranda tek satırda kayar */
@media (orientation: portrait), (max-width: 900px), (max-height: 620px) {
  .showcase__index { flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; pointer-events: auto; }
  .showcase__index::-webkit-scrollbar { display: none; }
  .showcase__index button { flex: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header__logo { width: 164px; }
  .btn--quote { --h: 40px; padding: 0 14px; font-size: .88rem; }
  .contact__list > div { grid-template-columns: 1fr; gap: 4px; }
  .quote__row { grid-template-columns: 1fr; }
}
@media (orientation: portrait) and (max-width: 640px) {
  .story__hud { top: calc(var(--header-h) + 12px); gap: 18px; }
  .story__hud > div { min-width: 0; }
  .story__hud-value { font-size: 1.35rem; }
  .story__hud-bar { width: 64px; }
  .product__name { font-size: 2rem; }
  .product__text { font-size: .95rem; }
}
/* Katlanabilir telefonların kapak ekranı gibi çok dar ekranlar */
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .header__logo { width: 128px; }
  .btn--quote { --h: 36px; padding: 0 12px; font-size: .82rem; }
  .story__title { font-size: 2.4rem; }
  .story__actions .btn { --h: 44px; padding: 0 16px; font-size: .9rem; }
  .step__title { font-size: 2.1rem; }
  .story__hud { gap: 12px; }
  .story__hud-value { font-size: 1.15rem; }
  .story__hud-bar { width: 48px; }
  .product__name { font-size: 1.7rem; }
  .film__title { font-size: 1.9rem; }
  .film__meter-value { font-size: 2.1rem; }
  .angio__title { font-size: 1.8rem; }
}
/* Yan çevrilmiş telefon: alçak yatay ekran. Yazılar ekran yüksekliğine göre küçülür, ikincil öğeler gizlenir. */
@media (orientation: landscape) and (max-height: 620px) {
  :root { --header-h: 54px; }
  .header__logo { width: 136px; }
  .btn--quote { --h: 34px; padding: 0 14px; font-size: .84rem; }
  .btn { --h: 40px; padding: 0 18px; font-size: .88rem; }

  .story__intro { max-width: min(560px, 56vw); }
  .story__title { font-size: clamp(1.8rem, 12.5vh, 3.8rem); }
  .story__lead { margin-top: 2.6vh; font-size: clamp(.84rem, 3.6vh, 1rem); line-height: 1.5; }
  .story__actions { margin-top: 4vh; }
  .story__hint, .story__rail, .story__labels { display: none; }
  .step { bottom: 8vh; max-width: min(480px, 48vw); }
  .step__no { margin-bottom: 1.8vh; font-size: .8rem; }
  .step__title { font-size: clamp(1.6rem, 11vh, 3.4rem); }
  .step__text { margin-top: 1.8vh; font-size: clamp(.84rem, 3.6vh, 1rem); line-height: 1.5; }
  .step__link { margin-top: 2.4vh; font-size: .88rem; }
  .story__hud { top: calc(var(--header-h) + 10px); gap: 18px; }
  .story__hud > div { min-width: 0; gap: 4px; }
  .story__hud-label { font-size: .72rem; }
  .story__hud-value { font-size: 1.2rem; }
  .story__hud-bar { width: 60px; margin-top: 6px; }

  .product { width: min(400px, 42vw); top: calc(50% - 10px); }
  .product__name { font-size: clamp(1.5rem, 9vh, 2.8rem); }
  .product__text {
    margin-top: 1.8vh; font-size: clamp(.82rem, 3.4vh, 1rem); line-height: 1.5;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
  .product__facts { display: none; }
  .product__quote { margin-top: 2.4vh; font-size: .88rem; }
  .showcase__index { bottom: 10px; }
  .showcase__index button { font-size: .8rem; }

  .film__panel { bottom: 12vh; max-width: min(460px, 48vw); }
  .film__title { font-size: clamp(1.6rem, 10vh, 3.2rem); }
  .film__text { margin-top: 1.8vh; font-size: clamp(.84rem, 3.6vh, 1rem); line-height: 1.5; }
  .film__meter { top: calc(var(--header-h) + 10px); }
  .film__meter-label { font-size: .75rem; }
  .film__meter-value { font-size: clamp(1.8rem, 12vh, 3.4rem); }
  .film__bar { bottom: 12px; }

  .angio__panel { width: min(400px, 40vw); top: calc(50% + var(--header-h) / 2); }
  .angio__title { font-size: clamp(1.5rem, 9vh, 2.8rem); }
  .angio__text { margin-top: 1.8vh; font-size: clamp(.84rem, 3.6vh, 1rem); line-height: 1.5; }
  .angio__monitor { width: min(calc(100vh - var(--header-h) - 36px), 46vw); width: min(calc(100svh - var(--header-h) - 36px), 46vw); border-radius: 14px; box-shadow: 0 0 0 6px #0d1420, 0 30px 60px -30px rgba(11,31,58,.6); }
  .angio__hud > span { font-size: .64rem; }
  .angio__hud-tl, .angio__hud-bl { left: 10px; }
  .angio__hud-br { right: 10px; }
  .angio__hud-tl { top: 8px; }
  .angio__hud-bl, .angio__hud-br { bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
