/* logytv.com shared look. Rules that hide content start with html.js (the page must read without JavaScript). */

@font-face { font-family: "Sora"; src: url("fonts/sora-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- tokens (dark is the base, as in the app) ---------- */
:root {
  color-scheme: dark;
  --bg: #0B1220;
  --card: #131C2E;
  --surface: #1B2740;
  --border: #2A3650;
  --text: #E6EDF7;
  --muted: #94A3B8;
  --blue: #3B82F6;
  --teal: #2DD4BF;
  --link: #60A5FA;
  --accent-ink: #2DD4BF;
  --focus: #2DD4BF;
  --glass: rgba(19, 28, 46, 0.66);
  --glass-strong: rgba(19, 28, 46, 0.86);
  --glass-line: rgba(148, 163, 184, 0.16);
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  --glow-1: rgba(45, 212, 191, 0.20);
  --glow-2: rgba(59, 130, 246, 0.24);
  --grad: linear-gradient(135deg, #2DD4BF 0%, #3B82F6 100%);
  --grad-ink: linear-gradient(90deg, #2DD4BF 0%, #60A5FA 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1120px;
  --gutter: 20px;
  --head-h: 64px;
  --anchor-gap: calc(var(--head-h) + 24px);
  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #F5F7FB;
    --card: #FFFFFF;
    --surface: #EEF2F8;
    --border: #D9DFEA;
    --text: #0B1220;
    --muted: #55607A;
    --link: #1D5FD1;
    --accent-ink: #0F766E;
    --focus: #0F766E;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-strong: rgba(255, 255, 255, 0.9);
    --glass-line: rgba(11, 18, 32, 0.09);
    --shadow: 0 20px 50px -28px rgba(11, 18, 32, 0.35);
    --glow-1: rgba(45, 212, 191, 0.22);
    --glow-2: rgba(59, 130, 246, 0.18);
    --grad-ink: linear-gradient(90deg, #0F766E 0%, #1D4ED8 100%);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font: 500 16px/1.65 var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
p, ul, ol { margin: 0 0 0.75em; }
li { margin: 0.35em 0; }
strong { font-weight: 700; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(45, 212, 191, 0.35); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* bilingual inline labels: "Gizlilik / Privacy" without JavaScript */
html.no-js .bi > [data-l="en"]::before { content: " / "; }

/* language switching (JavaScript only) */
html.js[data-lang="tr"] [data-l="en"],
html.js[data-lang="en"] [data-l="tr"] { display: none !important; }
html.js .nojs-only { display: none !important; }
html.no-js .lang-switch { display: none; }

/* ---------- background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg::before, .bg::after {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform;
}
.bg::before { top: -38vmax; left: -22vmax; background: radial-gradient(circle, var(--glow-1), transparent 62%); animation: drift-a 34s ease-in-out infinite alternate; }
.bg::after { bottom: -40vmax; right: -24vmax; background: radial-gradient(circle, var(--glow-2), transparent 62%); animation: drift-b 40s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(14vmax, 10vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-12vmax, -8vmax) scale(1.12); } }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--glass-strong);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--glass-line);
}
.topbar-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px var(--gutter);
  min-height: var(--head-h);
  display: flex;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 0.3em; color: var(--text); text-decoration: none; font: 700 1.2rem/1 var(--font-head); letter-spacing: 0.01em; }
.brand-mark { width: 1em; height: 1em; flex: none; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a, .foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}
.links a:hover, .foot-links a:hover { color: var(--text); background: var(--surface); }
.links a[aria-current="page"] { color: var(--text); background: var(--surface); }
.lang-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.lang-switch button {
  appearance: none;
  border: 0;
  margin: 0;
  font: 700 0.8rem/1 var(--font-text);
  letter-spacing: 0.06em;
  color: var(--muted);
  background: transparent;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { color: #0B1220; background: var(--grad); }

@media (max-width: 720px) {
  :root { --anchor-gap: 120px; }
  .topbar-in { padding-top: 8px; padding-bottom: 8px; gap: 6px 12px; }
  .brand { order: 1; }
  .lang-switch { order: 2; margin-left: auto; }
  .links { order: 3; width: 100%; margin: 0 -10px; justify-content: flex-start; flex-wrap: wrap; }
  .links a { font-size: 0.9rem; padding: 4px 10px; }
}

/* ---------- footer ---------- */
.foot { margin-top: auto; border-top: 1px solid var(--glass-line); background: var(--glass); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 40px; display: grid; gap: 16px; }
.foot .brand { font-size: 1.05rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 -10px; }
.foot-links a { font-size: 0.9rem; }
.foot-meta { color: var(--muted); font-size: 0.9rem; margin: 0; }
.foot-meta a { color: var(--link); }

/* ---------- cards and tiles ---------- */
.card {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tile {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(59, 130, 246, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex: none;
}
.tile svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- reveal on scroll (site.js adds .reveal-on only when it runs) ---------- */
html.js.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }
[data-reveal] { transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }

/* ---------- home ---------- */
.home main { flex: 1 0 auto; }
.hero { display: grid; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 40px; grid-template-columns: minmax(0, 1fr); }
.hero-title { font-size: clamp(2.6rem, 1.6rem + 5vw, 4.6rem); letter-spacing: -0.02em; margin-bottom: 8px; }
.tagline {
  font: 700 clamp(1.25rem, 1rem + 1.4vw, 1.75rem)/1.25 var(--font-head);
  margin-bottom: 18px;
  background: var(--grad-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text { font-size: 1.1rem; max-width: 34em; color: var(--text); }
.stores { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pill-store { font-weight: 700; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(45, 212, 191, 0.05); } }

.devices { position: relative; aspect-ratio: 16 / 11; width: 100%; max-width: 640px; justify-self: center; }
.device { position: absolute; margin: 0; background: #05080F; border: 1px solid rgba(148, 163, 184, 0.22); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; overflow: hidden; }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-tv { top: 0; right: 0; width: 86%; aspect-ratio: 16 / 9; padding: 7px; border-radius: 16px; animation: float 9s ease-in-out infinite; }
.device-tv img { border-radius: 10px; }
.device-phone { left: 0; bottom: 0; width: 28%; aspect-ratio: 480 / 984; padding: 6px; border-radius: 28px; animation: float 7s ease-in-out -2.5s infinite; }
.device-phone img { border-radius: 22px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); margin: 0 0 24px; }
.features { padding-top: 40px; padding-bottom: 40px; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.feature { margin: 0; padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.25s, border-color 0.25s, opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.feature:hover { border-color: rgba(45, 212, 191, 0.4); }
.feature p { margin: 0; font-weight: 600; line-height: 1.5; }

.gallery { padding-top: 40px; padding-bottom: 32px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); max-width: 100%; }
.tabs button {
  appearance: none;
  border: 0;
  margin: 0;
  font: 700 0.95rem/1 var(--font-text);
  color: var(--muted);
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: #0B1220; background: var(--grad); }
.panel h3 { font-size: 1.1rem; margin: 24px 0 12px; }
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 4px 4px 18px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.shots img { flex: none; scroll-snap-align: start; border-radius: 18px; border: 1px solid var(--glass-line); box-shadow: var(--shadow); background: var(--card); }
.panel-iphone .shots img { width: 210px; }
.panel-ipad .shots img { width: 300px; }
.panel-tv .shots img { width: min(560px, 82vw); border-radius: 14px; }
.shots img { -webkit-user-drag: none; user-select: none; }

/* slider (site.js adds the arrow buttons and .slider-on) */
.slider { position: relative; }
html.js .slider-on .shots {
  scrollbar-width: none;
  padding-bottom: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
html.js .slider-on.at-start .shots {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
}
html.js .slider-on.at-end .shots {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 100%);
}
html.js .slider-on.at-start.at-end .shots { -webkit-mask-image: none; mask-image: none; }
html.js .slider-on .shots::-webkit-scrollbar { display: none; }
.slider-on .shots.dragging { scroll-snap-type: none; cursor: grabbing; }
.slider-on .shots { cursor: grab; }
.slide-btn {
  position: absolute;
  top: calc(50% - 36px);
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background-color 0.2s;
}
.slide-btn:hover { background: var(--surface); transform: scale(1.06); }
.slide-btn:disabled { opacity: 0; pointer-events: none; }
.slide-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slide-prev { left: -10px; }
.slide-next { right: -10px; }
.slide-bar { position: absolute; left: 0; right: 0; bottom: 6px; height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.slide-bar span { display: block; height: 100%; width: 20%; border-radius: 4px; background: var(--grad); transform-origin: left; }
@media (max-width: 600px) {
  .slide-btn { width: 40px; height: 40px; }
  .slide-prev { left: 4px; }
  .slide-next { right: 4px; }
}

.slider-on:has(.shots:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 18px; }
html.js .slider-on .shots:focus-visible { outline: none; -webkit-mask-image: none; mask-image: none; }

html.js .panel { animation: fade-in 0.4s ease; }
@keyframes fade-in { from { opacity: 0.4; } to { opacity: 1; } }

.note { padding-top: 24px; padding-bottom: 72px; }
.note-card { padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.note-card p { margin: 0; font-weight: 600; }
.note-link { font-weight: 700; }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding-top: 80px; padding-bottom: 64px; }
}

/* ---------- info pages ---------- */
.page { flex: 1 0 auto; padding: 40px 0 72px; }
.doc { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.doc-body { min-width: 0; max-width: 780px; }
.doc-head { margin-bottom: 24px; }
.doc-head h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem); margin-bottom: 10px; }
.kicker { display: inline-block; margin-bottom: 12px; font: 700 0.78rem/1 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.meta { color: var(--muted); font-size: 0.92rem; }
.lead { font-size: 1.08rem; }
.sec { padding: 22px 24px 10px; margin: 0 0 16px; }
.sec h2 { font-size: 1.22rem; margin: 0 0 12px; scroll-margin-top: var(--anchor-gap); }
.sec ul { padding-left: 1.2em; }
.sec li::marker { color: var(--teal); }
.lang-sep { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

/* tv-pair: the code of the TV sign-in link and the "open in the app" link */
.tv-code { display: grid; gap: 4px; justify-items: center; margin: 0 0 16px; padding: 18px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--glass-line); text-align: center; }
.tv-code-label { color: var(--muted); font-size: 0.92rem; }
.tv-code strong { font: 700 clamp(1.8rem, 1.2rem + 3vw, 2.6rem)/1.2 var(--font-head); letter-spacing: 0.2em; margin-right: -0.2em; color: var(--accent-ink); }
.sec .stores { margin: 0 0 12px; padding: 0; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.btn-ghost:hover { background: var(--surface); }

.sec ol.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 10px; }
.sec ol.steps > li { counter-increment: step; position: relative; margin: 0; padding: 14px 16px 14px 60px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--glass-line); }
.sec ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #0B1220;
  font: 700 0.95rem/1 var(--font-head);
}
.faq { display: grid; gap: 12px; margin: 0 0 16px; }
.faq details { padding: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-weight: 700;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 16px; }
.faq .answer p:last-child { margin-bottom: 0; }

.toc-title { margin: 0 0 10px; font: 700 0.78rem/1 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin: 0; }
.toc-list a { display: block; padding: 6px 12px; border-left: 2px solid var(--border); color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 600; line-height: 1.4; }
.toc-list a:hover { color: var(--text); }
.toc-list a { outline-offset: -3px; }
.toc-list a[aria-current="true"] { color: var(--text); border-left-color: var(--teal); }
html.js .toc-side { display: none; }
.toc-drop summary { cursor: pointer; padding: 14px 18px; font-weight: 700; }
.toc-drop nav { padding: 0 18px 14px; }

@media (min-width: 1024px) {
  html.js .doc.toc-on { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
  .toc { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; max-height: calc(100vh - var(--head-h) - 64px); overflow-y: auto; }
  html.js .toc-side { display: block; }
  html.js .toc-drop { display: none; }
}

/* ---------- motion off ---------- */
html.reduce *, html.reduce *::before, html.reduce *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.reduce [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.faq-title { font-size: 1.3rem; margin: 8px 0 14px; scroll-margin-top: var(--anchor-gap); }

/* ---------- print: everything visible, no screen chrome ---------- */
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .bg, .slide-btn, .slide-bar { display: none !important; }
  .topbar { position: static; }
  .tagline { background: none; color: var(--accent-ink); }
  .shots { overflow: visible; flex-wrap: wrap; -webkit-mask-image: none !important; mask-image: none !important; }
}
