/* Screemote tanıtım sayfası ("B · Ferah"). Renk, boşluk, köşe ve yazı tipi değerleri tokens.css'ten
   gelir (design/tokens.json → tools/gen_tokens.py). Burada düzen ve sayfaya özgü türetilmiş renkler var;
   her rengin karanlık karşılığı aşağıda tanımlı. */

:root {
  --wrap: 1200px;
  --gutter: var(--space-xxl);
  --hair: #EDEDF0;
  --text-3: #636366;
  --header-bg: color-mix(in srgb, var(--background) 88%, transparent);
  --card: var(--surface-muted);
  --stage-bg: var(--surface-muted);
  --how-bg: var(--surface-muted);
  --step-bg: var(--surface);
  --step-n: var(--surface-muted);
  --store-bg: #000000;
  --store-fg: #FFFFFF;
  --store-sub: #C7C7CC;
  --dg-ink: var(--text-primary);
  --dg-ring: #D1D1D6;
  --dg-ring-2: #C7C7CC;
  --dg-tile: #FFFFFF;
  --plan-on-bg: #F5F8FF;
  --band-bg: #1C1C1E;
  --band-card: #2C2C2E;
  --band-edge: transparent;
  --band-text: #F5F5F7;
  --band-sub: #C7C7CC;
  --band-tag: #98989D;
  --art-bezel: #1A1A1C;
  --art-edge: transparent;
  --art-shadow: #1C1C1E;
  --art-stand-a: #CFD0D4;
  --art-stand-b: #E2E3E7;
  --art-base: #C9CACE;
  --art-mini-a: #ECEDF0;
  --art-mini-b: #D9DADE;
  --art-mini-edge: #CDCED3;
  --title-size: clamp(30px, 3.6vw, 44px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hair: #2C2C2E;
    --text-3: #8E8E93;
    --stage-bg: #252527;
    --how-bg: #252527;
    --step-bg: #2C2C2E;
    --step-n: #3A3A3C;
    --store-bg: #F5F5F7;
    --store-fg: #1C1C1E;
    --store-sub: #636366;
    --dg-ring: #48484A;
    --dg-ring-2: #545458;
    --dg-tile: #3A3A3C;
    --plan-on-bg: color-mix(in srgb, var(--accent) 16%, #2C2C2E);
    --band-bg: #0B0B0C;
    --band-card: #1C1C1E;
    --band-edge: #2C2C2E;
    --band-tag: #8E8E93;
    --art-bezel: #0E0E10;
    --art-edge: #3A3A3C;
    --art-shadow: #000000;
    --art-stand-a: #A9AAAE;
    --art-stand-b: #C3C4C8;
    --art-base: #9FA0A5;
    --art-mini-a: #C9CACE;
    --art-mini-b: #AFB0B5;
    --art-mini-edge: #8E8F94;
  }
}
:root[data-theme="dark"] {
  --hair: #2C2C2E;
  --text-3: #8E8E93;
  --stage-bg: #252527;
  --how-bg: #252527;
  --step-bg: #2C2C2E;
  --step-n: #3A3A3C;
  --store-bg: #F5F5F7;
  --store-fg: #1C1C1E;
  --store-sub: #636366;
  --dg-ring: #48484A;
  --dg-ring-2: #545458;
  --dg-tile: #3A3A3C;
  --plan-on-bg: color-mix(in srgb, var(--accent) 16%, #2C2C2E);
  --band-bg: #0B0B0C;
  --band-card: #1C1C1E;
  --band-edge: #2C2C2E;
  --band-tag: #8E8E93;
  --art-bezel: #0E0E10;
  --art-edge: #3A3A3C;
  --art-shadow: #000000;
  --art-stand-a: #A9AAAE;
  --art-stand-b: #C3C4C8;
  --art-base: #9FA0A5;
  --art-mini-a: #C9CACE;
  --art-mini-b: #AFB0B5;
  --art-mini-edge: #8E8F94;
}

/* ---------- Temel ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
html.i18n-wait body { visibility: hidden; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--font-mono); }
::selection { background: var(--accent-soft); color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.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: absolute; left: var(--space-lg); top: -100px; z-index: 100; padding: var(--space-sm) var(--space-lg); background: var(--accent); color: var(--on-accent); border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { top: var(--space-lg); }
.i { width: 20px; height: 20px; display: block; flex-shrink: 0; }

.sec-title { font-size: var(--title-size); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; max-width: 680px; text-wrap: balance; }
.sec-sub { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--text-secondary); max-width: 620px; }
.section { padding-block: 56px; }

/* ---------- Üst çubuk ---------- */

.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hair);
}
.top-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; border-radius: var(--radius-sm); }
.brand-mark { display: block; width: 32px; height: 32px; border-radius: 9px; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--text-primary); }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--text-nav); border-radius: var(--radius-xs); transition: color .15s ease; }
.nav a:hover { color: var(--text-primary); }
.nav .nav-cta { display: none; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tool {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 8px; border-radius: 20px;
  color: var(--text-secondary); font-size: 14px; font-weight: 700;
  transition: background-color .15s ease, color .15s ease;
}
.tool:hover { background: var(--surface-muted); color: var(--text-primary); }
.cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; margin-left: 4px;
  border-radius: 20px; background: var(--accent); color: var(--on-accent);
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: background-color .15s ease;
}
.cta:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.lang { position: relative; }
.lang-btn { grid-auto-flow: column; gap: 6px; padding: 0 12px 0 10px; }
.lang-btn .i { width: 18px; height: 18px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  min-width: 184px; max-height: calc(100vh - 96px); overflow-y: auto; padding: 6px;
  border-radius: var(--radius-lg); background: var(--background); border: 1px solid var(--hair);
  box-shadow: 0 18px 40px -16px var(--scrim);
}
.lang-menu[hidden] { display: none; }
.lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; color: var(--text-primary); text-align: left;
}
.lang-item:hover, .lang-item:focus-visible { background: var(--surface-muted); }
.lang-item[aria-checked="true"] { color: var(--accent-text); }
.lang-item[aria-checked="true"]::after {
  content: ""; width: 12px; height: 7px; margin-top: -3px; flex-shrink: 0;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
.menu-btn { display: none; }
.menu-btn .when-open { display: none; }
.menu-btn[aria-expanded="true"] .when-open { display: block; }
.menu-btn[aria-expanded="true"] .when-closed { display: none; }

/* ---------- Giriş ---------- */

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 40px; }
.hero-copy { flex: 1 1 420px; min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px;
  border-radius: 15px; background: var(--surface-muted);
  font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--text-nav);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.hero-title { margin-top: 20px; font-size: clamp(30px, 4.4vw + 14px, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.hero-sub { margin-top: 20px; font-size: 19px; line-height: 1.5; color: var(--text-secondary); max-width: 520px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.store {
  display: flex; flex-direction: column; justify-content: center;
  height: 52px; padding: 0 22px; border-radius: 26px;
  background: var(--store-bg); color: var(--store-fg); cursor: default; user-select: none;
}
.store small { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--store-sub); }
.store b { font-size: 16px; font-weight: 700; line-height: 1.25; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--text-3); }

.stage { flex: 1 1 480px; min-width: 0; aspect-ratio: 560 / 440; border-radius: 36px; background: var(--stage-bg); overflow: hidden; }
.art { display: block; width: 100%; height: 100%; }
.art-bezel, .art-phone { fill: var(--art-bezel); stroke: var(--art-edge); stroke-width: 1; }
.art-shadow { flood-color: var(--art-shadow); }
.art-stand { fill: url(#g-stand); }
.stop-stand-a { stop-color: var(--art-stand-a); }
.stop-stand-b { stop-color: var(--art-stand-b); }
.art-base { fill: var(--art-base); }
.art-mini { fill: url(#g-mini); stroke: var(--art-mini-edge); stroke-width: 1; }
.stop-mini-a { stop-color: var(--art-mini-a); }
.stop-mini-b { stop-color: var(--art-mini-b); }
.art-label { font-size: 9.5px; font-weight: 700; fill: #F5F5F7; }

/* ---------- Cihaz şeridi ---------- */

.platforms { padding-top: 8px; padding-bottom: 56px; }
.strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px;
  padding: 22px 24px; border-radius: 24px; border: 1px solid var(--hair);
}
.strip-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; min-width: 0; }
.strip-label { font-size: 13px; font-weight: 700; color: var(--text-3); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li {
  display: flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 18px;
  background: var(--surface-muted); font-size: 14.5px; font-weight: 700; white-space: nowrap;
}
.chips-to li { background: var(--accent-soft); color: var(--accent-text); }
.strip-arrow { width: 28px; height: 14px; color: var(--text-3); flex-shrink: 0; }

/* ---------- Özellik kartları ---------- */

.features { padding-block: 40px; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { border-radius: 28px; background: var(--card); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.fcard h3 { font-size: 21px; line-height: 1.25; font-weight: 800; }
.fcard p { font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.dg { display: block; width: 100%; height: 120px; }

/* Şema çizgileri: ince mürekkep, açık karo, vurgu. Her biri temaya uyar. */
.dg-ring { fill: none; stroke: var(--dg-ring); stroke-width: 1.5; }
.dg-ring-2 { stroke: var(--dg-ring-2); }
.dg-fill { fill: var(--dg-ink); }
.dg-tile { fill: var(--dg-tile); }
.dg-stroke { stroke: var(--dg-ink); stroke-width: 1.5; }
.dg-line { fill: none; stroke: var(--dg-ink); stroke-width: 1.6; }
.dg-thick { stroke-width: 2; }
.dg-dash { stroke-dasharray: 6 5; }
.dg-round { stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.dg-faint { stroke-width: 1.5; opacity: .35; }
.dg-ok { fill: var(--success); }
.dg-acc { fill: var(--accent); }
.dg-acc-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.dg-on-acc { fill: none; stroke: #FFFFFF; stroke-width: 1.6; }

/* ---------- Hareketler ---------- */

.ggrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.gcard { border-radius: 24px; border: 1px solid var(--hair); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.gico { width: 56px; height: 56px; border-radius: 18px; background: var(--card); display: grid; place-items: center; }
.gico svg { width: 30px; height: 30px; display: block; }
.gcard h3 { margin-top: 4px; font-size: 18px; line-height: 1.3; font-weight: 800; }
.gcard p { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }

/* ---------- Nasıl çalışır ---------- */

.how { border-radius: 36px; background: var(--how-bg); padding: clamp(22px, 5vw, 56px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.step { border-radius: 24px; background: var(--step-bg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-n {
  width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center;
  background: var(--step-n); color: var(--text-primary); font-size: 16px; font-weight: 800;
}
.step-n-acc { background: var(--accent); color: var(--on-accent); }
.step h3 { margin-top: 6px; font-size: 19px; line-height: 1.3; font-weight: 800; }
.step p { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.how-note { margin-top: 22px; font-size: 14.5px; color: var(--text-secondary); }

/* ---------- Güvenlik bandı (her iki temada koyu) ---------- */

.band { margin-top: 40px; background: var(--band-bg); color: var(--band-text); border-block: 1px solid var(--band-edge); }
.band-in { padding-block: 88px; }
.band .sec-sub { color: var(--band-sub); max-width: 640px; }
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.scard { border-radius: 24px; background: var(--band-card); border: 1px solid var(--band-edge); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.scard h3 { font-size: 18px; line-height: 1.3; font-weight: 800; }
.scard p { font-size: 15px; line-height: 1.5; color: var(--band-sub); }
.scard code { margin-top: auto; padding-top: 4px; font-size: 12px; color: var(--band-tag); overflow-wrap: anywhere; }
.band ::selection { background: #3A3A3C; color: #FFFFFF; }

/* ---------- Fiyatlar ---------- */

.pricing { text-align: center; padding-top: 96px; }
.pricing .sec-title, .pricing .sec-sub { margin-inline: auto; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 40px auto 0; text-align: left; }
.plan { position: relative; border-radius: 28px; background: var(--card); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.plan-on { background: var(--plan-on-bg); box-shadow: inset 0 0 0 2px var(--accent); }
.plan-badge {
  position: absolute; left: 28px; top: -12px;
  padding: 4px 11px; border-radius: 11px; background: var(--accent); color: var(--on-accent);
  font-size: 12px; font-weight: 800; line-height: 1.3;
}
.plan-name { font-size: 16px; font-weight: 800; }
.plan-price { font-size: clamp(30px, 2.4vw + 12px, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--text-3); white-space: pre; }
.plan-note { font-size: 14px; color: var(--text-secondary); }
.fine { margin: 24px auto 0; font-size: 13.5px; line-height: 1.5; color: var(--text-3); max-width: 720px; }

/* ---------- SSS ---------- */

.faq { max-width: 820px; padding-bottom: 96px; }
.faq .sec-title { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--border); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 1.35; font-weight: 800; border-radius: var(--radius-xs);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex-grow: 1; min-width: 0; }
.plus { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; transition: transform .2s ease; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }

/* ---------- Alt bilgi ---------- */

.foot { border-top: 1px solid var(--hair); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 32px; padding-bottom: 16px; font-size: 14px; color: var(--text-3); }
.brand-small { gap: 10px; }
.brand-small .brand-mark { width: 26px; height: 26px; border-radius: 7px; }
.brand-small .brand-name { font-size: 15px; }
.foot-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { color: var(--text-secondary); border-radius: var(--radius-xs); }
.foot-nav a:hover { color: var(--text-primary); text-decoration: underline; }
.tm { padding-bottom: 40px; font-size: 12px; line-height: 1.5; color: var(--text-3); max-width: 760px; }

/* ---------- Duyarlı düzen ---------- */

@media (max-width: 1100px) {
  .strip { flex-direction: column; }
  .strip-arrow { transform: rotate(90deg); }
  .ggrid, .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .fgrid, .plans { grid-template-columns: minmax(0, 1fr); }
  .plans { max-width: 420px; }
}

@media (max-width: 560px) {
  .ggrid, .sgrid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--background); border-bottom: 1px solid var(--hair);
    box-shadow: 0 16px 32px -20px var(--scrim);
  }
  .nav.open { display: flex; }
  .nav a { display: flex; align-items: center; min-height: 48px; font-size: 17px; border-bottom: 1px solid var(--hair); }
  .nav a:last-child { border-bottom: 0; }
  .hero { padding-top: 48px; gap: 36px; }
  .platforms { padding-bottom: 28px; }
  .features { padding-top: 28px; }
  .section { padding-block: 44px; }
  .pricing { padding-top: 72px; }
  .band-in { padding-block: 64px; }
  .faq { padding-bottom: 72px; }
  .sec-sub { font-size: 17px; }
  .hero-sub { font-size: 18px; }
}

@media (max-width: 480px) {
  :root { --gutter: var(--space-lg); }
  .top-in { gap: 12px; }
  .tools { gap: 2px; }
  .tools .cta { display: none; }
  .nav .nav-cta {
    display: flex; justify-content: center; margin-top: 12px; min-height: 48px; border-radius: 24px;
    background: var(--accent); color: var(--on-accent); font-weight: 700; border-bottom: 0;
  }
  .nav .nav-cta:hover { color: var(--on-accent); }
  .stage { border-radius: 24px; }
  .card, .plan { padding: 24px; border-radius: 24px; }
  .plan-badge { left: 24px; }
  .gcard, .step, .scard { padding: 20px; }
  .how { border-radius: 28px; }
  .strip { padding: 20px 16px; }
  .chips { gap: 8px; }
  .faq summary { font-size: 17px; }
  .foot-nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
