/* ==========================================================================
   BIO: BioBand tanıtım sayfası.

   Bu dosya ../styles.css'ten SONRA yükleniyor ve iki iş yapıyor:
   (1) Projeler sitesinin uzay/lacivert temasını BioBand'in kendi temasıyla
       değiştiriyor — uygulama zorunlu koyu tema: siyah zemin, mor-lacivert
       yüzeyler, tek vurgu rengi #6C5CE7.
   (2) Yalnızca bu sayfaya ait bölümleri (hero, mağaza butonları, enstrüman
       ızgarası, özellikler, ekranlar, teknoloji) tanımlıyor.

   Renkler uygulamanın src/theme/colors.ts dosyasından ölçüldü; gradyan ise
   assets/logo.png'nin piksel örneklemesinden (pembe → mor → indigo).
   Uygulamanın kendi arayüzünde gradyan YOK — burada yalnızca logonun etrafında
   ve başlıkta kullanılıyor, kartlarda ve butonlarda düz renk kalıyor.
   ========================================================================== */

/* ── 1. Palet: ortak token'ları ez ──────────────────────────────────────────
   Ortak CSS'in neredeyse tamamı bu değişkenlere bağlı (araç çubuğu, köşe
   süsleri, geri tuşu, yukarı çık, alt bilgi). Değişkenleri değiştirince o
   parçalar kendiliğinden BioBand rengine dönüyor — tek tek ezmeye gerek yok. */
:root {
  --bg:        #0D0D0D;   /* colors.ts background */
  --bg-deep:   #000000;   /* app.json splash — açılış ekranı saf siyah */
  --bg-lift:   #1A1A2E;   /* colors.ts surface */
  --surface:   #1A1A2E;
  --surface-2: #252542;   /* colors.ts surfaceLight */
  --line:      #2A2A4A;   /* colors.ts border */
  --line-hot:  #3D3D66;

  /* BIO: Ortak CSS "cyan" ve "pink" isimleriyle vurgu istiyor; isimleri
     koruyup değerleri BioBand'inkiyle dolduruyoruz. --cyan = uygulamanın
     etkileşim moru, --pink = logonun pembe ucu. */
  --cyan:      #6C5CE7;   /* colors.ts accent */
  --pink:      #E28DF6;   /* logo üst gradyan durağı */

  --accent:      #6C5CE7;
  --accent-soft: #5A4BD1; /* colors.ts accentMuted */
  --logo-pink:   #E28DF6;
  --logo-violet: #C07AF8;
  --logo-indigo: #6845F4;

  --text:      #FFFFFF;
  --text-soft: #C4C4D0;
  --text-dim:  #9A9AA8;   /* colors.ts textSecondary (#A0A0A0) civarı */

  --card-bg:   rgba(26, 26, 46, 0.72);

  /* BIO: Uygulamada ölçülen yarıçap frekansı: 12 kart, 16 panel, 14 buton. */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-btn: 14px;

  --maxw: 1180px;
}

/* ── 2. Zemin: uzay arka planını kaldır, uygulamanın siyahını koy ─────────── */
body {
  /* BIO: Uygulamada iki kademe var — açılış saf siyah, içerisi #0D0D0D.
     Sayfa da öyle: tepesi siyah, aşağı indikçe kömür siyahı. */
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #000000 0%, #08080C 42%, var(--bg) 100%);
  /* BIO: fixed iOS'ta zaten çalışmıyordu ve her karede yeniden boyama
     maliyeti çıkarıyordu — bu sayfada normal akışa bırakıldı. */
  background-attachment: scroll;
}

/* BIO: Projeler sitesinin nebula bulutları ve gezegen kavisi kapalı —
   yerine aşağıdaki kendi katmanlarımız var. */
body::before,
body::after {
  display: none !important;
  content: none !important;
}

/* ── Kaydırma çubuğu ───────────────────────────────────────────────────────
   Varsayılan Windows çubuğu (gri gövde + ok düğmeleri) koyu mor zeminin
   yanında sırıtıyordu. İki ayrı standart gerekiyor: scrollbar-color Firefox
   ve yeni Chrome'da, ::-webkit-scrollbar ise Safari ve eski Chrome'da geçerli.
   İkisini birden yazmak, hangisini desteklerse onu kullanmasını sağlıyor. */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

/* BIO: Kenarlık, gövdeyi rayın içinden kesiyor — çubuk raya yapışık değil,
   içinde yüzüyor gibi duruyor. */
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--accent-soft);
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
  background-clip: content-box;
}

/* BIO: Windows'taki yukarı/aşağı ok düğmeleri — tasarım diline aykırı. */
::-webkit-scrollbar-button { display: none; }
::-webkit-scrollbar-corner { background: transparent; }

/* ── Arka plan: mor galaksi ────────────────────────────────────────────────
   Dört katman: nebula, iki kademe yıldız, notalar, üstüne kenar karartması.
   Hepsi fixed + pointer-events:none ve SADECE transform/opacity ile hareket
   ediyor; hiçbiri yerleşim tetiklemiyor. İçerik #main z-index:1 ile üstte. */
#bg-galaxy,
#bg-stars,
#bg-stars2,
#bg-notes,
#bg-vignette {
  position: fixed;
  z-index: 0;
  pointer-events: none;
}

/* BIO: Uygulamanın moru (#6C5CE7) ve logonun pembe/indigo uçları — renkler
   sayfanın geri kalanıyla aynı aileden, yeni bir renk girmiyor. */
#bg-galaxy {
  inset: -18%;
  background:
    radial-gradient(38% 30% at 20% 22%, rgba(108, 92, 231, 0.34), transparent 68%),
    radial-gradient(30% 26% at 80% 16%, rgba(226, 141, 246, 0.16), transparent 70%),
    radial-gradient(46% 34% at 64% 58%, rgba(104, 69, 244, 0.26), transparent 72%),
    radial-gradient(30% 26% at 16% 74%, rgba(192, 122, 248, 0.15), transparent 72%),
    radial-gradient(34% 28% at 88% 84%, rgba(108, 92, 231, 0.18), transparent 72%);
  animation: bb-nebula 96s ease-in-out infinite alternate;
}

@keyframes bb-nebula {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2.6%, 2.2%, 0) scale(1.09); }
}

/* BIO: Yıldızlar tek bir data-URI SVG döşemesi — ek istek yok, CSP'nin
   img-src 'self' data: kuralına uyuyor. İki katman farklı ölçek ve hızda,
   böylece derinlik hissi çıkıyor (uzaktaki daha yavaş). */
#bg-stars,
#bg-stars2 {
  inset: -12%;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='18' cy='34' r='1.1' opacity='.75'/%3E%3Ccircle cx='96' cy='12' r='.7' opacity='.5'/%3E%3Ccircle cx='158' cy='58' r='1.3' opacity='.8'/%3E%3Ccircle cx='232' cy='28' r='.8' opacity='.55'/%3E%3Ccircle cx='52' cy='104' r='.9' opacity='.6'/%3E%3Ccircle cx='128' cy='138' r='1.2' opacity='.7'/%3E%3Ccircle cx='208' cy='118' r='.7' opacity='.45'/%3E%3Ccircle cx='24' cy='176' r='1'  opacity='.65'/%3E%3Ccircle cx='88' cy='214' r='.8' opacity='.5'/%3E%3Ccircle cx='166' cy='196' r='1.1' opacity='.7'/%3E%3Ccircle cx='244' cy='232' r='.9' opacity='.6'/%3E%3Ccircle cx='114' cy='72' r='.6' opacity='.4'/%3E%3Ccircle cx='196' cy='158' r='.6' opacity='.4'/%3E%3Ccircle cx='60' cy='250' r='.7' opacity='.45'/%3E%3C/g%3E%3C/svg%3E");
}

#bg-stars {
  opacity: 0.55;
  animation: bb-stars-a 150s linear infinite;
}

#bg-stars2 {
  background-size: 170px 170px;
  opacity: 0.3;
  animation: bb-stars-b 240s linear infinite;
}

@keyframes bb-stars-a {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-260px, -130px, 0); }
}

@keyframes bb-stars-b {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(170px, -170px, 0); }
}

/* BIO: Süzülen notalar. Metin glifi (♪ ♫ ♩ ♬) kullanılıyor — görsel dosyası
   yok, her ölçekte net. Her biri farklı süre/gecikme ile yukarı süzülüp
   sönüyor; konumlar elle dağıtıldı ki düzenli bir ızgara gibi durmasın. */
#bg-notes {
  inset: 0;
  overflow: hidden;
}

.nt {
  position: absolute;
  bottom: -8%;
  color: var(--logo-violet);
  opacity: 0;
  text-shadow: 0 0 16px rgba(192, 122, 248, 0.55);
  animation-name: bb-float;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}

@keyframes bb-float {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
  12%  { opacity: 0.5; }
  80%  { opacity: 0.32; }
  100% { opacity: 0; transform: translate3d(38px, -118vh, 0) rotate(22deg); }
}

.n1  { left:  6%; font-size: 26px; animation-duration: 34s; animation-delay:  0s; }
.n2  { left: 17%; font-size: 18px; animation-duration: 44s; animation-delay:  7s; color: var(--logo-pink); }
.n3  { left: 28%; font-size: 32px; animation-duration: 38s; animation-delay: 15s; }
.n4  { left: 39%; font-size: 20px; animation-duration: 50s; animation-delay:  3s; }
.n5  { left: 51%; font-size: 24px; animation-duration: 41s; animation-delay: 22s; color: var(--logo-pink); }
.n6  { left: 62%; font-size: 30px; animation-duration: 36s; animation-delay: 11s; }
.n7  { left: 71%; font-size: 19px; animation-duration: 47s; animation-delay: 27s; }
.n8  { left: 80%; font-size: 27px; animation-duration: 39s; animation-delay:  5s; }
.n9  { left: 88%; font-size: 22px; animation-duration: 52s; animation-delay: 18s; color: var(--logo-pink); }
.n10 { left: 95%; font-size: 17px; animation-duration: 43s; animation-delay: 31s; }

/* BIO: Kenar karartması — galaksiyi kenarlarda söndürüp içeriği ortada
   toplar; metin arka planla yarışmıyor. */
#bg-vignette {
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
}

/* ── 3. Tipografi ──────────────────────────────────────────────────────────
   Uygulamada özel font YOK; iOS'ta San Francisco, Android'de Roboto
   kullanılıyor. Sayfa da sistem yığınını kullanıyor ki uygulamayla aynı
   dokuda olsun. Yan fayda: Google Fonts'a iki render-blocking istek gitmiyor. */
html,
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  /* BIO: Dokunulan her şey mavi/gri flash yapıyordu — koyu temada göze batıyor. */
  -webkit-tap-highlight-color: transparent;
}

/* ── 4. Ortak parçaların BioBand'a uyarlanması ─────────────────────────────
   Bunlar ../styles.css'te sabit rgba ile yazıldığı için değişken ezmesi
   yetmiyor; tek tek düzeltiliyor. */
#toolbar,
#main {
  max-width: var(--maxw);
}

.tb-home,
.tb-lang,
#hero-title,
.section-title,
#footer-brand,
#hero-kicker {
  font-family: inherit;
}

/* BIO: Dokunma hedefi — ortak CSS'te ikisi de 44px'in altında kalıyordu
   (mobilde ~29px yükseklik, TR/EN/DE için ~36px genişlik). Bu sayfada hap
   butonlar iki eksende de en az 44px. */
.tb-home,
.tb-lang {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tb-lang { min-width: 44px; }

.tb-home {
  border-radius: var(--r-btn);
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.tb-home:hover,
.tb-home:focus-visible {
  color: #fff;
  background: rgba(108, 92, 231, 0.18);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(108, 92, 231, 0.35);
}

.tb-home-arrow { color: var(--accent); }

.tb-langs {
  border-radius: var(--r-btn);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  /* BIO: TR/EN/DE bitişikti (gap 2px), yanlış dokunma çok oluyordu. */
  gap: 4px;
}

.tb-lang { border-radius: 10px; }
.tb-lang.active { color: #fff; background: var(--accent); }

.to-top {
  color: #fff;
  background: rgba(26, 26, 46, 0.9);
  border-color: var(--accent);
  /* BIO: Çentikli telefonlarda home indicator şeridinin üstünde kalsın. */
  bottom: max(28px, env(safe-area-inset-bottom));
  right: max(28px, env(safe-area-inset-right));
}

.cor { opacity: 0.35; }

#hero-rule {
  width: 64px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px rgba(108, 92, 231, 0.55);
}

#footer-brand { letter-spacing: 0.2em; opacity: 0.5; }

/* ── 5. Hero ───────────────────────────────────────────────────────────── */
#hero {
  padding: 34px 0 44px;
  text-align: center;
}

/* BIO: Logo saf siyah üzerinde ışıyacak şekilde çizilmiş; ışımayı arkasındaki
   mor hâle sürdürüyor. Uygulamanın kendi arayüzünde glow yok — bu efekt
   yalnızca logo ve hero için, kartlara taşınmıyor. */
#hero-logo {
  position: relative;
  width: 176px;
  height: 176px;
  margin: 0 auto 18px;
}

#hero-logo::before {
  content: '';
  position: absolute;
  inset: -46%;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%,
              rgba(108, 92, 231, 0.42) 0%,
              rgba(108, 92, 231, 0.12) 46%,
              rgba(13, 13, 13, 0) 72%);
}

#hero-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

#hero-kicker {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--logo-pink);
  text-shadow: 0 0 18px rgba(226, 141, 246, 0.4);
}

/* BIO: Marka yazımı "BioBand" — büyük harf değil. Renk düz beyaz; gradyanı
   logo zaten taşıyor, ikisi bir arada fazlaydı. Siyah zeminde harflerin
   kenarı sertleşmesin diye arkada çok hafif bir mor hâle var. */
#hero-title {
  font-weight: 800;
  font-size: clamp(42px, 8.6vw, 76px);
  letter-spacing: -0.015em;
  text-indent: 0;
  line-height: 1.02;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 0 38px rgba(108, 92, 231, 0.34);
}

#hero-sub {
  max-width: 52ch;
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-soft);
}

/* ── 6. Mağaza butonları ───────────────────────────────────────────────── */
#hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 0;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  /* BIO: min-height dokunma hedefini punto düşse bile korur. */
  min-height: 56px;
  padding: 10px 20px;
  border-radius: var(--r-btn);
  text-decoration: none;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.3, 1),
              border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.store-ico {
  flex: none;
  width: 24px;
  height: 24px;
}

.store-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.store-top {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
}

.store-sub {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

/* BIO: Henüz yayında olmayan mağazalar — <span> olduğu için zaten
   tıklanamaz; görsel olarak da geri çekiliyor. */
.store-btn.is-soon {
  cursor: default;
  opacity: 0.62;
  background: rgba(26, 26, 46, 0.5);
  border-style: dashed;
}

.store-btn.is-soon .store-ico { color: var(--text-dim); }
.store-btn.is-soon .store-sub { color: var(--accent); }

/* BIO: Canlı bağlantı — GitHub, ve yayınlanınca mağazalar. */
.store-btn.is-live {
  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.32);
}

.store-btn.is-live .store-ico { color: #fff; }
.store-btn.is-live .store-sub { color: rgba(255, 255, 255, 0.82); }

.store-btn.is-live:hover,
.store-btn.is-live:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(108, 92, 231, 0.44);
}

/* BIO: İkincil buton — GitHub. İki mağaza dolu mor olduğu için üçüncüsü de
   öyle olsaydı hiyerarşi kaybolurdu: asıl istenen eylem uygulamayı indirmek,
   kaynağa bakmak yan yol. Aynı boyutta ama çerçeveli. */
.store-btn.is-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.store-btn.is-ghost .store-ico { color: var(--text-soft); }
.store-btn.is-ghost .store-sub { color: var(--text-dim); }

.store-btn.is-ghost:hover,
.store-btn.is-ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(108, 92, 231, 0.16);
  border-color: var(--accent);
}

.store-btn.is-ghost:hover .store-ico,
.store-btn.is-ghost:focus-visible .store-ico { color: #fff; }

#hero-note {
  margin: 16px auto 0;
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ── 7. Bölüm başlıkları ───────────────────────────────────────────────── */
.sec { padding-top: 68px; }
.sec:focus { outline: none; }

.section-title {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #fff;
}

.section-lead {
  margin: 0 0 26px;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

/* ── 8. Enstrümanlar ───────────────────────────────────────────────────── */
.ins-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* BIO: Sol kenardaki mor çubuk kartı listeden çıkarıp "tuş" hissi veriyor —
   uygulamanın enstrüman kartlarındaki seçili durum işaretiyle aynı fikir. */
.ins {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px 16px 22px;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, #1B1B31 0%, #16162A 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.24s ease, background 0.24s ease;
}

.ins::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  opacity: 0.5;
  transition: opacity 0.24s ease, top 0.24s ease, bottom 0.24s ease;
}

.ins:hover { border-color: rgba(108, 92, 231, 0.5); }
.ins:hover::before { opacity: 1; top: 6px; bottom: 6px; }

.ins-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.ins-meta {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

/* ── 9. Özellikler ─────────────────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* BIO: Üstteki ince gradyan şerit normalde gizli, hover'da beliriyor —
   kartın kendisi sakin kalıyor, marka rengi yalnızca temas anında çıkıyor. */
.feat {
  position: relative;
  padding: 24px 21px 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #1B1B31 0%, #16162A 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1),
              border-color 0.28s ease, box-shadow 0.28s ease;
}

.feat::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--logo-pink), var(--logo-violet), var(--logo-indigo));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.feat:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 92, 231, 0.5);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

.feat:hover::before { opacity: 1; }

.feat-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

/* BIO: Başlığın önündeki mor nokta — ikon yerine, yükü olmayan bir işaret. */
.feat-title::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.8);
}

.feat-body {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.72;
  color: var(--text-soft);
}

/* ── 10. Ekran görüntüleri ─────────────────────────────────────────────────
   Dikey ve yatay çekimler bir arada. Izgara yerine sarmalı flex: dikeyler dar,
   yataylar geniş kutu alıyor, satırlar kendiliğinden dengeleniyor. */
.shots {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.shot {
  margin: 0;
  min-width: 0;
}

/* BIO: Dikeyler ikili bir satır paylaşıyor, yataylar kendi satırında tam
   genişlik alıyor. Yataylar dar kutuya sıkışınca arayüz detayı okunmuyordu. */
.shot.is-portrait  { flex: 0 1 244px; max-width: 244px; }
.shot.is-landscape { flex: 1 0 100%; max-width: 660px; }

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

.shot figcaption {
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  text-align: center;
}

/* ── 11. Teknoloji ─────────────────────────────────────────────────────── */
.tech-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.tech {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 17px;
  border-radius: var(--r-md);
  background: rgba(26, 26, 46, 0.55);
  border: 1px solid var(--line);
  transition: border-color 0.24s ease, background 0.24s ease;
}

.tech:hover {
  border-color: rgba(108, 92, 231, 0.45);
  background: rgba(30, 30, 54, 0.75);
}

.tech-k {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.tech-v {
  font-size: 13.5px;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.tech-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-btn);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  background: rgba(108, 92, 231, 0.14);
  border: 1px solid var(--accent);
  transition: background 0.24s ease, transform 0.24s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.tech-cta:hover,
.tech-cta:focus-visible {
  background: rgba(108, 92, 231, 0.28);
  transform: translateY(-2px);
}

.tech-cta-arrow { font-size: 15px; color: var(--logo-pink); }

/* ── 12. Açılış animasyonu ────────────────────────────────────────────────
   Ortak CSS yalnızca #toolbar / #hero-* / #footer'ı kapsıyor; bu sayfanın
   kendi parçaları burada kademeleniyor. Son gecikme script.js'teki
   ENTER_TOTAL_MS'ten (2000) küçük kalmalı. */
body.is-entering #hero-logo,
body.is-entering #hero-cta,
body.is-entering #hero-note,
body.is-entering .sec {
  animation: bgs-enter 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

body.is-entering #hero-logo { animation-delay: 0.06s; }
body.is-entering #hero-cta  { animation-delay: 0.42s; }
body.is-entering #hero-note { animation-delay: 0.5s; }
body.is-entering #instruments { animation-delay: 0.62s; }
body.is-entering #features    { animation-delay: 0.72s; }
body.is-entering #screens     { animation-delay: 0.82s; }
body.is-entering #tech        { animation-delay: 0.92s; }

/* ══ Duyarlı ═══════════════════════════════════════════════════════════════ */

@media (max-width: 980px) {
  .ins-grid,
  .feat-grid,
  .tech-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .sec { padding-top: 56px; }
  #hero { padding: 26px 0 38px; }
}

@media (max-width: 640px) {
  #hero-logo { width: 138px; height: 138px; margin-bottom: 14px; }
  #hero-kicker { font-size: 11.5px; letter-spacing: 0.22em; text-indent: 0.22em; }
  #hero-sub { font-size: 14.5px; max-width: 100%; }
  #hero-note { font-size: 12px; max-width: 100%; }

  /* BIO: Butonlar tek sütun — üç hap yan yana sıkışınca hem yazılar kırılıyor
     hem dokunma hedefleri daralıyordu. */
  #hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .store-btn { justify-content: flex-start; min-height: 60px; }

  .ins-grid,
  .feat-grid,
  .tech-list { grid-template-columns: minmax(0, 1fr); }

  .feat { padding: 18px 17px; }
  .feat-body { font-size: 13.5px; }
  .section-lead { font-size: 13.8px; }
  .sec { padding-top: 46px; }

  /* BIO: Tek sütunda dikey çekim de tam genişlik alsın ama telefon oranını
     koruyacak kadar dar kalsın. */
  .shots { gap: 26px; }
  .shot.is-portrait { flex: 1 1 100%; max-width: 262px; }
  .shot.is-landscape { flex: 1 1 100%; max-width: 100%; }

  .to-top {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }

  /* BIO: Telefonda on nota hem kalabalık duruyor hem boşuna kare harcıyor —
     yarısı kapatıldı, kalanlar biraz küçüldü. İkinci yıldız katmanı da
     kapalı: dar ekranda iki kademe derinlik zaten ayırt edilmiyor. */
  .n2, .n4, .n6, .n8, .n10 { display: none; }
  .nt { font-size: 20px; }
  .n3 { font-size: 26px; }
  #bg-stars2 { display: none; }
  #bg-galaxy { animation-duration: 120s; }
}

@media (max-width: 380px) {
  /* BIO: Ortak CSS #main'i 12px'e indiriyor ama #toolbar'ı 16px'te bırakıyor —
     araç çubuğu içerikle hizalanmıyordu. Burada eşitleniyor. */
  #toolbar { padding-left: 12px; padding-right: 12px; }
  .store-top { font-size: 14px; }
  .store-sub { font-size: 11px; }
  .section-title { letter-spacing: 0.1em; }
}

/* BIO: Yatayda çentik/yuvarlak köşe altına girmesin. */
@media (orientation: landscape) {
  #main,
  #toolbar {
    padding-left: max(26px, env(safe-area-inset-left));
    padding-right: max(26px, env(safe-area-inset-right));
  }
}

/* ── Dokunmatik ───────────────────────────────────────────────────────────
   Genişliğe değil yeteneğe bakılıyor: dokunmatik tablet ve dokunmatik dizüstü
   de buraya giriyor (ortak CSS'in genişlik tabanlı kuralı onları kaçırıyordu). */
@media (hover: none) {
  .store-btn.is-live:hover,
  .store-btn.is-ghost:hover,
  .tech-cta:hover,
  .feat:hover { transform: none; }

  .store-btn.is-live { box-shadow: 0 6px 18px rgba(108, 92, 231, 0.3); }

  /* BIO: Dokunmatikte hover diye bir durum yok — kartların vurgusu kalıcı
     olsun ki tasarım orada da eksik durmasın. */
  .feat::before { opacity: 0.55; }
  .ins::before { opacity: 0.85; }

  /* BIO: Ses düğmesi ortak CSS'te her genişlikte 38x38, sessize alma ise
     24-30px — parmakla ikisi de küçük. Genişliğe değil dokunmatik olmaya
     bakılıyor: dokunmatik dizüstü ve tablet de bu bloğa giriyor. */
  .sfx-wrap { height: 44px; }
  .sfx-toggle { width: 44px; height: 44px; }
  .sfx-mute { width: 40px; height: 40px; }
}

/* ── Hareket duyarlılığı ──────────────────────────────────────────────────
   Ortak CSS'teki blok bir beyaz liste — bu sayfada tanımlanan her geçiş
   burada ayrıca kapatılmalı, yoksa sessizce hareket etmeye devam eder. */
@media (prefers-reduced-motion: reduce) {
  .store-btn,
  .tech-cta,
  .tb-home,
  .tb-home-arrow,
  .tb-lang,
  .feat,
  .feat::before,
  .ins,
  .ins::before,
  .tech { transition: none; }

  .store-btn.is-live:hover,
  .store-btn.is-live:focus-visible,
  .store-btn.is-ghost:hover,
  .store-btn.is-ghost:focus-visible,
  .tech-cta:hover,
  .tech-cta:focus-visible,
  .feat:hover { transform: none; }

  body.is-entering #hero-logo,
  body.is-entering #hero-cta,
  body.is-entering #hero-note,
  body.is-entering .sec { animation: none; }

  /* BIO: Arka plan katmanları durur ama KAYBOLMAZ — galaksi ve yıldızlar
     sabit bir tablo olarak kalır, yalnızca hareket kesilir. Notalar ise
     hareket etmeden anlamsız kalacağı için tamamen gizleniyor. */
  #bg-galaxy,
  #bg-stars,
  #bg-stars2 { animation: none; }

  #bg-notes { display: none; }
}
