/* Gökbörü Stream site — shared design system (landing + portal)
   Voice: gece (koyu OLED zemin) · geniş (Unbounded display) · sinyal (yayın mavisi)
   Strategy: Committed — #3B82F6 tek kararlı marka rengi. */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/archivo-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #090A0F; --surface: #12141C; --surface2: #1E212E; --border: #282C3D;
  --ink: #F8FAFC; --ink2: #A6B3C9; --ink3: #7C8BA5;
  --brand: #3B82F6; --brand-deep: #2563EB; --brand-soft: rgba(59, 130, 246, .14);
  --ok: #10B981; --err: #EF4444; --warn: #F59E0B;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
body {
  background: var(--bg); color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
main { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; flex: 1; }
a { color: var(--brand); text-decoration: none; }
::selection { background: var(--brand); color: #fff; }

h1, h2 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 4.25rem); line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 17px; font-weight: 700; font-family: var(--font-body); }
h4 { font-family: var(--font-body); }
section { padding: clamp(56px, 9vw, 104px) 0; }
section + section { border-top: 1px solid var(--border); }
section p { max-width: 62ch; }

/* Header */
.site-head { border-bottom: 1px solid var(--border); background: rgba(9, 10, 15, .92); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.site-head .inner { max-width: 1040px; margin: 0 auto; padding: 0 24px; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-size: 13.5px; color: var(--ink); }
.mark i { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); font-style: normal; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.site-nav > a { color: var(--ink2); }
.site-nav > a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 12px 22px; font-weight: 700; font-size: 15px; min-height: 46px; cursor: pointer; border: 0; transition: background .18s ease-out, border-color .18s ease-out, color .18s ease-out; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-deep); }
.btn.ghost { border: 1px solid var(--border); color: var(--ink2); background: transparent; }
.btn.ghost:hover { color: var(--ink); border-color: var(--ink3); }
.btn.demo { border: 1px solid var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn.demo:hover { color: #fff; background: var(--brand); }
details.menu { position: relative; }
details.menu summary { list-style: none; cursor: pointer; color: var(--ink2); font-size: 14px; font-weight: 700; padding: 8px; border: 1px solid var(--border); border-radius: 8px; }
details.menu summary::-webkit-details-marker { display: none; }
details.menu[open] summary, details.menu summary:hover { color: var(--ink); }
details.menu .menu-body { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: grid; gap: 4px; min-width: 190px; z-index: 60; }
details.menu .menu-body a { color: var(--ink2); padding: 9px 12px; border-radius: 8px; font-size: 14.5px; }
details.menu .menu-body a:hover { background: var(--surface2); color: var(--ink); }
@media (min-width: 800px) { details.menu { display: none; } }
@media (max-width: 799px) { .site-nav { display: none; } }

/* Reveal: içerik HİÇbir koşulda gizli kalmaz. Giriş animasyonu yalnızca
   transform kullanır (opacity 0 pre-state yok); desteklemeyen tarayıcı ve
   headless render'da içerik statik ve tamamen görünürdür. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: lift .8s cubic-bezier(.22,1,.36,1) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@keyframes lift { from { transform: translateY(26px); } to { transform: none; } }

/* Hero yükleme koreografisi: CSS animasyonu, JS’siz de oynar */
.hero-load { animation: rise .7s cubic-bezier(.22,1,.36,1) both; }
.hero-load.d1 { animation-delay: .1s; } .hero-load.d2 { animation-delay: .2s; } .hero-load.d3 { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-load { animation: none; } }

/* Hero */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); border-top: none !important; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; margin-bottom: 22px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--brand); }
.hero .lede { color: var(--ink2); font-size: clamp(16.5px, 1.6vw, 19px); max-width: 36em; margin: 20px 0 30px; }
.hero .lede b { color: var(--ink); font-weight: 600; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust { color: var(--ink3); font-size: 13.5px; margin-top: 20px; max-width: 46em; }
.hero-media { margin-top: clamp(32px, 5vw, 56px); position: relative; }
.hero-media figcaption { color: var(--ink3); font-size: 12.5px; margin-top: 10px; }

/* TV mockup: gerçek uygulama ekranı, ince çerçeve + kaideli stand */
.tv { max-width: 980px; margin: 0 auto; }
.tv .screen {
  border: clamp(8px, 1vw, 14px) solid #0b0d13;
  border-radius: 18px;
  overflow: hidden;
  background: #05060a;
  box-shadow: 0 0 0 1px #2a3040, 0 34px 90px rgba(0, 0, 0, .55), 0 0 70px rgba(76, 141, 255, .14);
}
.tv .screen img { display: block; width: 100%; border-radius: 0; border: 0; }
.tv .stand {
  width: min(180px, 24%); height: clamp(18px, 2.4vw, 26px);
  margin: 0 auto;
  background: linear-gradient(180deg, #13161e, #05060a);
  border-radius: 0 0 14px 14px;
  border-left: 1px solid #232836; border-right: 1px solid #232836;
}
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); gap: 20px; justify-content: center; margin-top: 26px; }
.shot img { width: 100%; border-radius: 14px; border: 1px solid var(--border); display: block; }
.shot figcaption { color: var(--ink3); font-size: 13px; margin-top: 8px; text-align: center; }

/* Feature satırları: alternatif yön + ürün gerçeği görsel */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(30px, 4vw, 48px) 0; }
.feat + .feat { border-top: 1px solid var(--border); }
.feat.flip > .feat-text { order: 2; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; gap: 18px; } .feat.flip > .feat-text { order: 0; } }
.feat-text h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.feat-text p { color: var(--ink2); margin-top: 12px; }
.feat .shot { border: 0; }
.feat .shot img { border-radius: 14px; }
.feat-visual { display: grid; gap: 16px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 26px; margin-top: 22px; }
.checks div { display: flex; gap: 10px; color: var(--ink2); font-size: 15px; align-items: baseline; }
.checks b { color: var(--ok); font-weight: 700; }
.keyrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.keyrow span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 700; color: var(--ink2); background: var(--surface); }
.keyrow i { font-style: normal; font-size: 14px; }

/* Karşılaştırma */
.compare-wrap { overflow-x: auto; margin-top: 26px; }
table.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; min-width: 640px; }
table.compare th, table.compare td { border-bottom: 1px solid var(--border); padding: 13px 14px; text-align: left; vertical-align: top; }
table.compare tr > *:nth-child(2) { background: var(--brand-soft); border-top: 1px solid var(--brand); }
table.compare tr:last-child > *:nth-child(2) { border-bottom: 1px solid var(--brand); }
table.compare th { font-weight: 800; color: var(--ink); }
table.compare th:nth-child(2) { color: var(--brand); }
table.compare td:first-child { color: var(--ink2); }
table.compare td.yes { color: var(--brand); font-weight: 700; }
.foot-note { color: var(--ink3); font-size: 13.5px; margin-top: 14px; }

/* Kurulum adımları (gerçek sıra: numara bilgi taşır) */
ol.steps { list-style: none; display: grid; gap: 14px; margin-top: 26px; counter-reset: adim; max-width: 760px; }
ol.steps li { counter-increment: adim; display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
ol.steps li::before { content: counter(adim); width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); font-size: 15px; }
ol.steps b { display: block; margin-bottom: 3px; }
ol.steps span { color: var(--ink2); font-size: 14.5px; }

/* Cihazlar */
table.devices { width: 100%; border-collapse: collapse; margin-top: 22px; }
table.devices td { padding: 14px 8px; border-bottom: 1px solid var(--border); color: var(--ink2); font-size: 15px; }
table.devices td:first-child { color: var(--ink); font-weight: 700; width: 220px; }

/* Fiyat */
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: clamp(24px, 4vw, 36px); max-width: 560px; margin-top: 24px; }
.price-card .num { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; margin-top: 12px; }
.price-card .num small { font-family: var(--font-body); font-size: 15px; color: var(--ink3); font-weight: 600; }
.price-card p { color: var(--ink2); margin-top: 10px; font-size: 14.5px; }
.price-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.price-fine { color: var(--ink3); font-size: 12.5px; margin-top: 12px; }

/* Utility: CSP style-src 'self' inline style attribute'ları bloklar —
   bunun için sınıflar kullanılır. */
.mt-20 { margin-top: 20px; }
.mt-26 { margin-top: 26px; }
.mt-0 { margin-top: 0 !important; }
.page-title { font-size: 30px; margin-bottom: 18px; }

/* Gömülü demo oynatıcı (#dene): uygulamadaki player kartının aynısı */
.demo-shell { margin-top: 26px; }
.demo-frame {
  position: relative; max-width: 880px; aspect-ratio: 16 / 9;
  background: #000; border-radius: 14px; overflow: hidden;
  border: 1px solid #2a3040;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 60px rgba(76, 141, 255, .12);
}
.demo-video { position: absolute; inset: 0; }
.demo-video-el { width: 100%; height: 100%; object-fit: contain; display: block; }
.demo-bigplay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; font-size: 22px; line-height: 1;
  display: grid; place-items: center; padding-left: 6px;
  box-shadow: 0 10px 34px rgba(59, 130, 246, .45);
  transition: transform .16s ease-out, background .16s ease-out;
}
.demo-bigplay:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--brand-deep); }
.demo-bigplay.is-hidden { display: none; }
.demo-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.78));
}
.demo-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(239, 68, 68, .9); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; border-radius: 6px; padding: 3px 8px; }
.demo-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: demoPulse 1.4s ease-in-out infinite; }
@keyframes demoPulse { 50% { opacity: .25; } }
.demo-name { color: #fff; font-size: 13.5px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-ctrls { display: inline-flex; gap: 8px; }
.demo-btn {
  background: rgba(255, 255, 255, .14); color: #fff; border: 0; cursor: pointer;
  border-radius: 8px; padding: 7px 12px; font-size: 12.5px; font-weight: 700;
  transition: background .16s ease-out;
}
.demo-btn:hover { background: rgba(255, 255, 255, .26); }
.demo-note { color: var(--ink3); font-size: 13px; margin-top: 12px; }
.badge { display: inline-block; border-radius: 6px; padding: 3px 9px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
.badge.ok { background: rgba(16, 185, 129, .14); color: var(--ok); }
.badge.brand { background: var(--brand-soft); color: var(--brand); }

/* SSS */
dl.faq { margin-top: 24px; display: grid; gap: 0; max-width: 46em; }
dl.faq dt { font-weight: 700; padding-top: 18px; }
dl.faq dd { color: var(--ink2); margin-top: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
dl.faq dt + dd { border-bottom: 1px solid var(--border); }

/* Sürüm notları */
.news { margin-top: 24px; display: grid; gap: 12px; }
.news article { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.news time { color: var(--ink3); font-size: 13px; }
.news h3 { margin-top: 4px; font-size: 16px; }
.news p { color: var(--ink2); font-size: 14.5px; margin-top: 8px; }

/* Formlar (portal sayfaları) */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-bottom: 14px; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--ink2); margin: 14px 0 6px; }
input[type=text], input[type=password], input[type=url], textarea {
  width: 100%; min-height: 46px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; font-size: 15px; font-family: inherit;
}
textarea { min-height: 110px; padding: 10px 12px; font-size: 13px; font-family: ui-monospace, monospace; }
input:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
#code { font-size: 30px; font-weight: 800; letter-spacing: .45em; text-align: center; text-transform: uppercase; }
button.primary { width: 100%; min-height: 48px; margin-top: 16px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
button.primary:disabled { opacity: .45; cursor: default; }
button.ghost { width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--ink2); font-size: 14px; font-weight: 600; cursor: pointer; }
.radios { display: grid; gap: 8px; margin-top: 4px; }
.radio { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 10px; padding: 12px; cursor: pointer; background: var(--bg); }
.radio:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio input { accent-color: var(--brand); }
.radio b { font-size: 14px; }
.radio span { display: block; color: var(--ink3); font-size: 12px; }
.hidden { display: none; }
.status { border-radius: 10px; padding: 12px; font-size: 14px; margin-top: 14px; }
.status.ok { background: rgba(16, 185, 129, .14); color: var(--ok); }
.status.err { background: rgba(239, 68, 68, .14); color: var(--err); }
.steps-hint { color: var(--ink3); font-size: 13px; margin: 18px 4px 0; line-height: 1.7; }
.steps-hint b { color: var(--ink2); }

/* Footer */
.site-foot { border-top: 1px solid var(--border); padding: 48px 24px 56px; margin-top: 24px; }
.site-foot .inner { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .site-foot .inner { grid-template-columns: 1fr 1fr; } }
.site-foot h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.site-foot ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.site-foot ul a { color: var(--ink2); }
.site-foot ul a:hover { color: var(--ink); }
.site-foot .tagline { color: var(--ink2); font-size: 13.5px; margin-top: 10px; max-width: 26em; }
.foot-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink3); font-size: 13px; }

/* Marka görselleri */
.mark img.mark-img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.mark span { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .16em; }
