/* ===========================================================================
   Giriş ekranı v2 — iki sütun: metin + CTA solda, canlı gösterge sağda.
   Mevcut kimlikler (boot-start, boot-modes, boot-packs...) JS ile bağlı;
   burada yalnızca yerleşim ve görünüm yeniden tanımlanır.
   =========================================================================== */

#boot-screen {
  background:
    radial-gradient(900px 520px at 85% 8%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
    radial-gradient(700px 480px at 5% 95%, rgba(46, 230, 255, .08), transparent 60%),
    linear-gradient(#07070b, #000);
  padding: 18px clamp(14px, 4vw, 40px) calc(24px + env(safe-area-inset-bottom));
}
#boot-screen::before {            /* ince ızgara — hareket hissi, çok düşük kontrast */
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.boot-inner { position: relative; width: min(1280px, 100%); margin: 0 auto; text-align: left; }

/* ---- üst çubuk ---- */
.boot-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(18px, 4vh, 44px); }
.boot-brand { font: 800 14px/1 var(--font); letter-spacing: .2em; }
.boot-brand b { color: var(--accent); font-weight: 800; }
.boot-top .boot-langs { margin: 0; }

/* ---- kahraman ---- */
.boot-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 5vw, 64px); align-items: center; }
.boot-eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text); font: 700 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase;
}
.boot-title { margin: 16px 0 12px; font: 800 clamp(30px, 5.4vw, 60px)/1.04 var(--font); letter-spacing: -.01em; }
.boot-hero .boot-sub { margin: 0 0 20px; max-width: 46ch; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.55; letter-spacing: 0; }

/* mod seçici: üç yan yana kart */
.boot-hero .boot-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 18px; max-width: none; }
.boot-hero .boot-mode { max-width: none; flex: none; min-height: 84px; }

.boot-hero .boot-cta { position: static; padding: 0; text-align: left; background: none; }
.boot-hero .boot-btn { width: 100%; min-height: 68px; font-size: 17px; }
.boot-hero .boot-note { text-align: left; margin-top: 10px; }

.boot-trust { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; margin: 16px 0 0; }
.boot-trust li { font: 600 12.5px/1 var(--font); color: var(--text-dim); }
.boot-trust li::before { content: "✓"; color: var(--good); margin-right: 6px; font-weight: 800; }

.boot-hero .boot-links { justify-content: flex-start; margin-top: 18px; }

/* ---- canlı gösterge ---- */
.boot-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.gauge {
  position: relative; width: min(100%, 440px); padding: 26px 22px 18px;
  border: 1px solid var(--stroke); border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.08);
}
.gauge-svg { width: 100%; height: auto; display: block; overflow: visible; }
.gauge-track, .gauge-fill { fill: none; stroke-linecap: round; stroke-width: 10; }
.gauge-track { stroke: rgba(255,255,255,.09); }
.gauge-fill { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: 78; filter: drop-shadow(0 0 8px var(--accent)); animation: gFill 7s ease-in-out infinite; }
.gauge-ticks line { stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-linecap: round; }
.gauge-needle { transform-origin: 120px 130px; animation: gNeedle 7s ease-in-out infinite; }
.gauge-needle line { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.gauge-needle circle { fill: var(--accent); }
.gauge-read { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.gauge-read b { font: 800 22px/1 var(--mono); letter-spacing: .12em; }
.gauge-read span { font: 600 11px/1 var(--font); letter-spacing: .2em; color: var(--text-dim); }
@keyframes gNeedle { 0%,12% { transform: rotate(-78deg); } 45% { transform: rotate(62deg); } 58% { transform: rotate(48deg); } 88%,100% { transform: rotate(-78deg); } }
@keyframes gFill  { 0%,12% { stroke-dashoffset: 78; } 45% { stroke-dashoffset: 12; } 58% { stroke-dashoffset: 24; } 88%,100% { stroke-dashoffset: 78; } }

.wave { display: flex; align-items: center; gap: 5px; height: 40px; }
.wave i { width: 5px; height: 40%; border-radius: 3px; background: var(--accent); opacity: .85; animation: wv 1.4s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: .15s; } .wave i:nth-child(3n) { animation-delay: .3s; }
.wave i:nth-child(5n) { animation-delay: .45s; } .wave i:nth-child(7n) { animation-delay: .6s; }
@keyframes wv { 0%,100% { height: 25%; } 50% { height: 100%; } }

/* ---- nasıl çalışır + özellikler ---- */
.boot-how, .boot-feats { margin-top: clamp(32px, 6vh, 64px); }
.boot-how h2 { font: 800 clamp(18px, 2.4vw, 24px)/1.2 var(--font); margin-bottom: 14px; }
.boot-how ol { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.boot-how li { counter-increment: s; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px 58px; border: 1px solid var(--stroke); border-radius: 18px; background: rgba(255,255,255,.03); }
.boot-how li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #000; font: 800 14px/1 var(--font); }
.boot-how li b { font: 700 15px/1.25 var(--font); }
.boot-how li span { font: 500 13px/1.45 var(--font); color: var(--text-dim); }

.boot-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.boot-feats div { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--stroke); border-radius: 18px; background: rgba(255,255,255,.025); }
.boot-feats i { font-style: normal; font-size: 24px; line-height: 1; }
.boot-feats b { font: 700 14px/1.25 var(--font); }
.boot-feats span { font: 500 12.5px/1.45 var(--font); color: var(--text-dim); }

.boot-inner > .boot-promo { max-width: none; margin: clamp(24px, 4vh, 40px) 0 0; }
.boot-inner > .boot-blog { display: inline-block; margin: 18px 0 0; }
.boot-inner > .boot-warn { margin: 14px 0 0; max-width: 60ch; }
.boot-inner > .boot-credit { margin: 18px 0 0; }
#boot-advanced { margin-top: 22px; padding: 4px 0; text-align: left; }
#boot-advanced .boot-packs { justify-content: flex-start; }

/* ---- dar ekran: tek sütun, CTA her zaman erişilebilir ---- */
@media (max-width: 860px) and (min-height: 561px) {
  .boot-hero { grid-template-columns: 1fr; gap: 22px; }
  .boot-visual { order: -1; }
  .gauge { width: min(100%, 320px); padding: 18px 16px 14px; }
  .boot-how ol, .boot-feats { grid-template-columns: 1fr 1fr; }
  .boot-how ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .boot-hero .boot-modes { grid-template-columns: 1fr; }
  .boot-hero .boot-mode { min-height: 58px; flex-direction: row; align-items: center; gap: 10px; }
  .boot-hero .boot-mode small { display: none; }
  .boot-feats { grid-template-columns: 1fr; }
  .gauge { width: min(100%, 260px); }
  .wave { height: 28px; }
  .boot-hero .boot-cta { position: sticky; bottom: calc(-1 * env(safe-area-inset-bottom)); z-index: 3; padding: 12px 0 8px; background: linear-gradient(to top, rgba(0,0,0,.95) 60%, rgba(0,0,0,0)); }
}
/* alçak yatay ekran / araç ekranı: gösterge küçülür, her şey sığar */
@media (max-height: 620px) and (min-width: 700px) {
  .boot-top { margin-bottom: 10px; }
  .boot-title { margin: 10px 0 6px; font-size: clamp(24px, 4vw, 38px); }
  .boot-hero .boot-sub { margin-bottom: 12px; font-size: 13px; }
  .gauge { width: min(100%, 300px); padding: 14px 14px 10px; }
  .boot-hero .boot-mode small { display: none; }
  .boot-hero .boot-mode { min-height: 54px; }
  .boot-hero .boot-btn { min-height: 56px; }
  .boot-trust, .boot-hero .boot-links { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .gauge-needle, .gauge-fill, .wave i { animation: none; }
  .gauge-needle { transform: rotate(10deg); } .gauge-fill { stroke-dashoffset: 50; }
}

/* ---- telefon (dikey): önce başlık ve CTA, gösterge altta; mod kartları tek satır ---- */
@media (max-width: 560px) and (min-height: 561px) {
  .boot-visual { order: 0; }
  .boot-hero .boot-modes { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .boot-hero .boot-mode { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 64px; padding: 10px; }
  .boot-hero .boot-mode b { font-size: 12px; }
  .boot-hero .boot-mode small { display: none; }
  .boot-hero .boot-cta { position: static; padding: 0; background: none; }
  .boot-title { font-size: clamp(28px, 8.4vw, 38px); }
  .gauge { width: min(100%, 300px); }
}
/* ---- yatay / alçak ekran: iki sütun kalır, gösterge sağda küçülür ---- */
@media (max-height: 560px) {
  .boot-hero { grid-template-columns: 1.1fr .9fr; gap: 20px; }
  .boot-visual { order: 0; }
  .gauge { width: min(100%, 240px); padding: 12px 12px 8px; }
  .wave { height: 22px; }
  .boot-top { margin-bottom: 6px; }
  .boot-title { margin: 8px 0 4px; font-size: clamp(22px, 3.6vw, 32px); }
  .boot-hero .boot-sub { margin-bottom: 10px; font-size: 12.5px; }
  .boot-hero .boot-modes { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
  .boot-hero .boot-mode { min-height: 48px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 7px 10px; }
  .boot-hero .boot-mode small { display: none; }
  .boot-hero .boot-btn { min-height: 52px; font-size: 15px; }
  .boot-trust { display: none; }
  .boot-hero .boot-links { margin-top: 8px; }
  .boot-hero .boot-cta { position: static; padding: 0; }
}

/* ===========================================================================
   %50 / %50 bölünmüş giriş: sol Wind Asist Drive, sağ Şarjdaş
   =========================================================================== */
.boot-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.split-pane {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0;
  padding: clamp(18px, 2.6vw, 34px); border-radius: 28px; border: 1px solid var(--stroke);
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  overflow: hidden;
}
.pane-wad { box-shadow: 0 30px 90px -40px color-mix(in srgb, var(--accent) 60%, transparent); border-color: color-mix(in srgb, var(--accent) 35%, var(--stroke)); }
.pane-sarj {
  --g: #16a34a;
  border-color: color-mix(in srgb, var(--g) 45%, var(--stroke));
  background: radial-gradient(520px 320px at 100% 0%, rgba(22,163,74,.20), transparent 65%), linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  box-shadow: 0 30px 90px -40px rgba(22,163,74,.55);
}
.split-pane .boot-title { margin: 12px 0 8px; font-size: clamp(26px, 3.4vw, 44px); }
.split-pane .boot-sub { margin: 0 0 14px; max-width: 44ch; font-size: clamp(14px, 1.4vw, 16px); line-height: 1.5; letter-spacing: 0; }

/* sol: kompakt gösterge */
.pane-wad .boot-visual { flex-direction: row; justify-content: flex-start; align-items: center; gap: 18px; }
.pane-wad .gauge { width: 190px; padding: 12px 12px 8px; border-radius: 20px; flex: none; }
.pane-wad .gauge-read b { font-size: 15px; } .pane-wad .gauge-read { bottom: 8px; }
.pane-wad .wave { height: 34px; }
.pane-wad .boot-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 16px; max-width: none; }
.pane-wad .boot-mode { max-width: none; flex: none; min-height: 78px; }
.split-pane .boot-cta { position: static; padding: 0; text-align: left; background: none; }
.split-pane .boot-btn { width: 100%; min-height: 64px; font-size: 16px; text-decoration: none; }
.split-pane .boot-note { text-align: left; margin-top: 10px; }
.pane-wad .boot-links { justify-content: flex-start; margin-top: 14px; }

/* sağ: Şarjdaş */
.sarj-shot { border-radius: 18px; overflow: hidden; border: 1px solid rgba(22,163,74,.35); background: #05060a; max-height: 190px; }
.sarj-shot img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: top; opacity: .95; }
.sarj-eyebrow { border-color: rgba(22,163,74,.6); background: rgba(22,163,74,.14); }
.sarj-title { color: #fff; }
.sarj-list { list-style: none; display: grid; gap: 10px; margin: 0 0 18px; }
.sarj-list li { display: flex; align-items: flex-start; gap: 10px; font: 500 13.5px/1.4 var(--font); color: var(--text); }
.sarj-list i { font-style: normal; font-size: 18px; line-height: 1.2; }
.sarj-btn { background: linear-gradient(135deg, #16a34a, #0f7a37); box-shadow: 0 12px 44px -10px #16a34a; color: #fff; display: inline-flex; gap: 10px; }
.pane-sarj .sarj-copy { display: flex; flex-direction: column; flex: 1; }
.pane-sarj .boot-cta { margin-top: auto; }

@media (max-width: 860px) and (min-height: 561px) {
  .boot-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pane-wad .boot-visual { display: none; }
  .pane-wad .boot-modes { gap: 8px; }
  .pane-wad .boot-mode { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 64px; padding: 10px; }
  .pane-wad .boot-mode b { font-size: 12px; } .pane-wad .boot-mode small { display: none; }
  .sarj-shot, .sarj-shot img { max-height: 140px; height: 140px; }
}
@media (max-height: 560px) and (min-width: 700px) {
  .split-pane { padding: 14px 16px; gap: 8px; border-radius: 20px; }
  .pane-wad .boot-visual, .sarj-shot, .sarj-list, .boot-trust { display: none; }
  .split-pane .boot-title { font-size: clamp(22px, 3vw, 30px); margin: 6px 0 4px; }
  .split-pane .boot-sub { margin-bottom: 8px; font-size: 12.5px; }
  .pane-wad .boot-mode { min-height: 46px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 7px 10px; }
  .pane-wad .boot-mode small { display: none; }
  .split-pane .boot-btn { min-height: 50px; font-size: 14px; }
}
@media (max-height: 560px) and (min-width: 700px) { .pane-sarj .boot-cta { margin-top: 10px; } .pane-sarj .sarj-copy { flex: none; } }
.sarj-more { display: inline-block; margin-top: 10px; color: #4ade80; font: 700 13.5px/1.3 var(--font); text-decoration: none; border-bottom: 1px solid transparent; }
.sarj-more:hover { border-bottom-color: #4ade80; }
