/* ═══════════════════════════════════════════════════════════════
   RyZex Ultra Optimizer — Marketing Site
   Global design system. Referans (HeroFinancial) premium dilinin RyZex
   marka renklerine uyarlaması: yüzen hap header, duyuru rozeti, ortalı
   hero + ürün önizleme çerçevesi, yuvarlatılmış kartlar, ince border,
   kontrollü gölgeler, cömert section ritmi. Neon/glow yok.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Design tokens ─────────────────────────────────────────── */
:root {
  /* Marka (mevcut RyZex paletinden — rastgele renk yok) */
  --color-primary:        #ff4747;
  --color-primary-hover:  #ff6363;
  --color-secondary:      #c01230;
  --color-background:     #050506;
  --color-surface:        #101014;
  --color-surface-elevated: #16171d;
  --color-border:         rgba(255, 255, 255, 0.08);
  --color-border-strong:  rgba(255, 255, 255, 0.16);
  --color-text-primary:   #f5f5f7;
  --color-text-secondary: #9999a3;
  --color-muted:          rgba(255, 255, 255, 0.46);
  --color-success:        #34d399;
  --color-warning:        #fbbf24;
  --color-danger:         #ff4747;
  --color-focus-ring:     #ff4747;

  /* Ölçü / tipografi */
  --font: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 20px;
  --container: 1180px;
  --container-wide: 1280px;

  /* Kontrollü gölgeler (renkli glow yok) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 32px 80px -28px rgba(0, 0, 0, 0.65);

  /* Geriye uyumluluk takma adları (404.html + eski içerik) */
  --bg: var(--color-background);
  --bg-alt: #0a0b0d;
  --panel: var(--color-surface);
  --card: #15151b;
  --card-h: var(--color-surface-elevated);
  --border: var(--color-border);
  --border-h: var(--color-border-strong);
  --cyan: var(--color-primary);
  --cyan-rgb: 255, 71, 71;
  --purple: var(--color-secondary);
  --purple-rgb: 192, 18, 48;
  --grad: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --dot-grid: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  --t1: var(--color-text-primary);
  --t2: var(--color-text-secondary);
  --t3: var(--color-muted);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(255, 71, 71, 0.35); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* Sabit header altında anchor başlıklar gizlenmesin */
section[id] { scroll-margin-top: 104px; }

/* Arka plan ambiyansı (ölçülü, tek katman) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 480px at 50% -8%, rgba(192, 18, 48, 0.14), transparent 62%),
    radial-gradient(ellipse 700px 420px at 88% 12%, rgba(255, 71, 71, 0.08), transparent 60%);
}

/* ── 2. Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-primary {
  background: var(--grad);
  color: #05060a;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-secondary));
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-border);
  color: var(--color-text-primary);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-border-strong);
}

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ── 3. Header / Navigation (premium glass hap) ─────────────────
   Cam: rgba(12,12,16,.68) + blur(24px) saturate(145%) + ince cam border +
   iç ışık. Dış çevrede ambient glow: yeşil %12 + kırmızı %16 (keskin
   neon yok, yumuşak geçiş). Arka plan hafifçe belli olur. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px 0;
  pointer-events: none;
}
.nav .container {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 12px 0 20px;
  background: rgba(12, 12, 16, 0.68);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-md);
}
/* Ambient glow — hapın dış çevresinde, blur'lu, statik (animasyon yok) */
.nav .container::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 30px;
  z-index: -1;
  background:
    radial-gradient(230px 90px at 12% 50%, rgba(52, 211, 153, 0.12), transparent 70%),
    radial-gradient(270px 100px at 88% 50%, rgba(255, 71, 71, 0.16), transparent 70%);
  filter: blur(14px);
  opacity: .8;
  transition: opacity .25s ease;
  pointer-events: none;
}
.nav .container:has(a:hover)::before,
.nav .container:has(a:focus-visible)::before { opacity: 1; }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: .01em;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--color-text-primary); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--color-text-primary); background: rgba(255, 255, 255, 0.07); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--color-text-primary);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ── 4. Section basics ────────────────────────────────────────── */
section { position: relative; }
.section-pad { padding: 112px 0; }
/* Almaşık zeminli bölümler (eski inline style'ların sınıf karşılığı) */
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255, 71, 71, 0.08);
  border: 1px solid rgba(255, 71, 71, 0.22);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.section-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-head p {
  color: var(--color-text-secondary);
  font-size: 16.5px;
  line-height: 1.6;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── 5. Hero ──────────────────────────────────────────────────── */
.hero { padding: 172px 0 96px; }
.hero .container { display: block; }
.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-copy .hero-cta { justify-content: center; margin-bottom: 0; }

/* Duyuru rozeti (referans announcement-badge: hap + mini etiket) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.hero-badge:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.07);
}
.hero-badge .ic { width: 14px; height: 14px; }
.hero-badge-dot {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--grad);
  color: #05060a;
}
.hero-badge-dot::before {
  content: '';
  width: 0;
  height: 0;
}

/* Ürün önizleme çerçevesi (referans dashboard-frame: yuvarlatılmış çerçeve) */
.hero-preview { margin: 60px auto 0; max-width: 1020px; }
.hero-frame {
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
}
.hero-frame img { width: 100%; height: auto; }
.hero-preview-cap {
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
}

/* ── Halftone trail zemini (hero) ───────────────────────────────
   Referans HalftoneTrail'in vanilla uyarlaması (halftone.js). Canvas fareyi
   kırmızı halftone noktalarıyla izler; içerik üstte kalır, tıklama geçmez. */
.halftone-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.halftone-wrap canvas { display: block; width: 100%; height: 100%; }
.hero .container { position: relative; z-index: 1; }

/* Real product screenshot used inside a feature spotlight */
.gfx-shot {
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}
.gfx-shot img { width: 100%; height: auto; display: block; }

/* İki kolon vitrin ızgarası (eski inline style'ın sınıf karşılığı) */
.gfx-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.gfx-title {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 16px;
}
.gfx-lead { margin-bottom: 24px; }
.gfx-list { margin-bottom: 28px; }

/* ── 6. Feature cards ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--color-border);
  border-radius: var(--r-l);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  background: var(--card-h);
  box-shadow: var(--shadow-md);
}
.feature-card .icn {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 71, 71, 0.09);
  border: 1px solid rgba(255, 71, 71, 0.22);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 17.5px; margin-bottom: 10px; font-weight: 700; letter-spacing: -.01em; }
.feature-card p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; }
.feature-card.tag { position: relative; }
.feature-card .badge {
  position: absolute; top: 24px; right: 24px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(192, 18, 48, 0.14);
  border: 1px solid rgba(192, 18, 48, 0.35);
  color: #ffb4b4;
  text-transform: uppercase;
}

/* Ölçülü spotlight (glow yok, blur yok — fare konumunda hafif aydınlanma) */
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 71, 71, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }

/* ── 7. Engineering highlights ────────────────────────────────── */
.eng-list { display: flex; flex-direction: column; }
.eng-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--color-border);
  align-items: start;
}
.eng-item:last-child { border-bottom: 1px solid var(--color-border); }
.eng-grid.eng-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
}
.eng-grid .eng-item {
  grid-template-columns: 64px 1fr;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-l);
  background: var(--card);
  gap: 20px;
  transition: border-color .2s ease, background .2s ease;
}
.eng-grid .eng-item:hover { border-color: var(--color-border-strong); background: var(--card-h); }
.eng-grid .eng-item:last-child { border: 1px solid var(--color-border); }
.eng-num {
  font-size: 56px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.09);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.eng-body h3 { font-size: 18.5px; margin-bottom: 8px; font-weight: 700; letter-spacing: -.01em; }
.eng-body p { color: var(--color-text-secondary); font-size: 14.5px; line-height: 1.6; max-width: 640px; }

/* ── 8. Dot-grid ambient background ───────────────────────────── */
.dot-grid {
  background-image: var(--dot-grid);
  background-size: 22px 22px;
}

/* ── 9. Marquee ticker ────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--bg-alt);
  padding: 18px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-muted);
  padding: 0 28px;
  text-transform: uppercase;
}
.marquee-track span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); margin-left: 28px; flex-shrink: 0; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ── 10. Stats band ───────────────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.stat-item {
  text-align: center;
  padding: 30px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-l);
  background: var(--card);
}
.stat-item .icn {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  display: flex; align-items: center; justify-content: center;
}
.stat-item b {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.stat-item span { font-size: 12px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

/* ── 11. Steps process ────────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 26px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border) 15%, var(--color-border) 85%, transparent);
  z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-item .icn {
  width: 54px; height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-background);
  border: 1px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
}
.step-item h3 { font-size: 15.5px; margin-bottom: 8px; font-weight: 700; }
.step-item p { font-size: 13px; color: var(--color-muted); line-height: 1.6; max-width: 230px; margin: 0 auto; }

/* ── 12. Benchmark ────────────────────────────────────────────── */
.bench-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.bench-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.bench-tab img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; flex: none; }
.bench-tab:hover { border-color: var(--color-border-strong); color: var(--color-text-primary); }
.bench-tab.on { background: var(--grad); border-color: transparent; color: #05060a; }

.bench-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--r-l);
  background: var(--card);
  box-shadow: var(--shadow-md);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.bench-col { text-align: center; }
.bench-col span { font-size: 12px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.bench-col b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0; font-variant-numeric: tabular-nums; }
.bench-col.before b { color: var(--color-muted); }
.bench-col.after b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bench-badge {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--color-success);
}
.bench-arrow { color: var(--color-muted); display: inline-flex; }
.bench-note { text-align: center; font-size: 12px; color: var(--color-muted); margin-top: 20px; }

/* ── 13. Manifesto ────────────────────────────────────────────── */
.manifesto {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.manifesto h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.015em; margin-bottom: 22px; text-wrap: balance; }
.manifesto p { color: var(--color-text-secondary); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }

/* ── 14. Screenshot gallery ────────────────────────────────────── */
.shot-gallery {
  max-width: 980px;
  margin: 0 auto;
}
.shot-viewport {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1920 / 1080;
}
.shot-viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity .35s ease;
}
.shot-viewport img.on { opacity: 1; }

.shot-nav {
  position: absolute;
  top: 0; bottom: 0;
  width: 15%;
  min-width: 56px;
  max-width: 92px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  opacity: 0;
  transition: opacity .2s ease, color .2s ease;
  z-index: 2;
}
.shot-viewport:hover .shot-nav, .shot-viewport:focus-within .shot-nav { opacity: 1; }
.shot-nav:hover { color: #fff; }
.shot-nav span {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.shot-prev {
  left: 0;
  justify-content: flex-start;
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent);
}
.shot-next {
  right: 0;
  justify-content: flex-end;
  padding-right: 14px;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.35), transparent);
}
.shot-nav:hover span { background: var(--grad); border-color: transparent; color: #05060a; }

.shot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
}
.shot-caption span:first-child { font-weight: 700; }
.shot-counter { color: var(--color-muted); font-variant-numeric: tabular-nums; }

.shot-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.shot-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, width .2s ease;
}
.shot-dot.on { background: var(--grad); width: 22px; }

/* ── 15. Game marquee ─────────────────────────────────────────── */
.game-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.game-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: game-scroll 48s linear infinite;
}
.game-marquee:hover .game-marquee-track { animation-play-state: paused; }
@keyframes game-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .game-marquee-track { animation: none; }
}
.game-tile {
  flex-shrink: 0;
  width: 156px;
  height: 234px;
  border-radius: var(--r-m);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, var(--gc), var(--ga));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-bottom: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.game-tile:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.24); }
.game-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.game-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 55%);
  z-index: 1;
}
.gt-icon { position: relative; z-index: 1; }
.gt-icon .ic { width: 40px; height: 40px; opacity: .9; }
.game-tile:has(img) .gt-icon { display: none; }
.gt-name {
  font-size: 13px; font-weight: 700; color: #fff;
  text-align: center; padding: 0 12px; line-height: 1.3;
  position: relative; z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.game-note { text-align: center; color: var(--color-muted); font-size: 13px; margin-top: 22px; }

/* ── 16. Focus / performance callouts ─────────────────────────── */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.focus-card {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-l);
  background: var(--card);
}
.focus-card .icn {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(192, 18, 48, 0.1);
  border: 1px solid rgba(192, 18, 48, 0.25);
}
.focus-card h4 { font-size: 15px; margin-bottom: 8px; font-weight: 700; }
.focus-card p { font-size: 13px; color: var(--color-muted); line-height: 1.55; }
.focus-disclaimer {
  text-align: center;
  font-size: 12.5px;
  color: var(--color-muted);
  margin-top: 28px;
}

/* ── 17. Pricing ──────────────────────────────────────────────── */
.price-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 48px;
}
.price-toggle span { font-size: 14px; color: var(--color-muted); font-weight: 600; }
.price-toggle span.active { color: var(--color-text-primary); }
.switch {
  position: relative;
  width: 52px; height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  cursor: pointer;
}
.switch i {
  position: absolute; top: 2px; left: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
  transition: transform .2s ease;
}
.switch.on { background: var(--color-primary); border-color: transparent; }
.switch.on:hover { background: var(--color-primary-hover); }
.switch.on i { transform: translateX(24px); background: #fff; }
.save-tag {
  font-size: 11px; font-weight: 700;
  color: var(--color-success);
  background: rgba(52, 211, 153, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 3px 9px; border-radius: 999px;
  transition: opacity .25s ease, visibility .25s ease;
}
.save-tag.off { opacity: 0; visibility: hidden; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-l);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease;
}
.price-card:hover { border-color: var(--color-border-strong); }
.price-card.highlight {
  border-color: rgba(255, 71, 71, 0.35);
  background: linear-gradient(180deg, rgba(192, 18, 48, 0.07), var(--color-surface-elevated) 42%);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-card .plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad);
  color: #05060a;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 5px 16px; border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-card .plan-badge.alt {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}
.price-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.price-card .desc { font-size: 13px; color: var(--color-muted); margin-bottom: 22px; }
.price-amt { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amt b { font-size: clamp(46px, 5vw, 58px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
/* Not: direkt çocuk seçici — odometer kolonlarına (derin span'lar) işlemez */
.price-amt > span { font-size: 14px; color: var(--color-muted); }

/* Matrix/odometer digit roll — her rakam ayrı kolon, dikey kayar.
   Token uyumu: beyaz rakam, kırmızı vurgu, success yalnızca rozette. */
#premiumPrice {
  display: inline-flex;
  align-items: baseline;
  color: var(--color-text-primary);
  font-family: var(--font);
}
#premiumPrice .price-digit-window,
#premiumPrice .price-digit-track,
#premiumPrice .price-digit-track > span,
#premiumPrice .price-digit-static { font-size: inherit; }
.price-digit-window {
  display: inline-block;
  overflow: hidden;
  height: 1em;
  line-height: 1em;
  vertical-align: bottom;
}
.price-digit-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition: filter .2s ease, opacity .2s ease;
}
.price-digit-track > span,
.price-digit-static {
  display: block;
  height: 1em;
  line-height: 1em;
  font-variant-numeric: tabular-nums;
}
#premiumPrice.od-rolling .price-digit-track { filter: blur(1.5px); opacity: .8; }
#premiumPrice.od-settled { animation: od-flash .2s ease-out; }
@keyframes od-flash {
  from { text-shadow: 0 0 18px rgba(255, 71, 71, 0.16); }
  to { text-shadow: none; }
}
/* 2. animasyon: suffix + not yumuşak takası, karta hafif iniş vurgusu */
#premiumSuffix, #premiumNote { transition: opacity .2s ease, transform .2s ease; }
#premiumSuffix.swap-out, #premiumNote.swap-out { opacity: 0; transform: translateY(6px); }
.price-card.price-landed { animation: card-land .55s ease-out; }
@keyframes card-land {
  0% { box-shadow: 0 0 20px rgba(192, 18, 48, 0.12), var(--shadow-md); }
  100% { box-shadow: var(--shadow-md); }
}
.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;
}
.price-period-note { font-size: 12px; color: var(--color-muted); margin-bottom: 26px; min-height: 16px; }
.price-feats { flex: 1; margin-bottom: 26px; }
.price-feats li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--color-text-secondary);
  padding: 7px 0;
}
.price-feats li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  background-color: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-note-block { text-align: center; color: var(--color-muted); font-size: 12px; margin-top: 24px; }

/* ── 18. FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--r-m);
  margin-bottom: 12px;
  background: var(--card);
  overflow: hidden;
  transition: border-color .18s ease;
}
.faq-item:hover { border-color: var(--color-border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] { border-color: var(--color-border-strong); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 24px 20px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

/* ── 19. Final CTA band ───────────────────────────────────────── */
.cta-band {
  max-width: calc(var(--container) + 48px);
  margin: 0 auto 112px;
  border-radius: 28px;
  padding: 72px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 560px 280px at 50% 0%, rgba(255, 71, 71, 0.1), transparent 62%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.015em; margin-bottom: 14px; }
.cta-band p { color: var(--color-text-secondary); margin: 0 auto 32px; max-width: 560px; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* ── 20. Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--color-border);
  padding: 64px 0 30px;
  background: rgba(0, 0, 0, 0.25);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot-about { color: var(--color-muted); font-size: 13.5px; max-width: 300px; line-height: 1.65; }
.foot-col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin-bottom: 16px; font-weight: 700; }
.foot-col a, .foot-col span { display: block; font-size: 14px; color: var(--color-text-secondary); margin-bottom: 12px; }
.foot-col a:hover { color: var(--color-text-primary); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--color-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-social { display: flex; gap: 12px; }
.foot-social a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .18s ease, background .18s ease;
}
.foot-social a:hover { border-color: var(--color-border-strong); background: rgba(255, 255, 255, 0.04); }

/* ── 21. SVG icon system ────────────────────────────────────────
   Tek tutarlı set: sprite <symbol> + <use>. currentColor ile temaya uyar.
   Tutarlı boyutlar, hover/focus geçişleri, emoji yok, kütüphane yok. */
.ic {
  width: 22px;
  height: 22px;
  flex: none;
  transition: color .18s ease, transform .18s ease;
}
.feature-card .icn .ic { width: 26px; height: 26px; }
.stat-item .icn .ic { width: 22px; height: 22px; }
.step-item .icn .ic { width: 22px; height: 22px; }
.btn .ic { width: 18px; height: 18px; }
.shot-nav .ic { width: 22px; height: 22px; }
.bench-arrow .ic { width: 24px; height: 24px; }
.foot-social .ic { width: 16px; height: 16px; }
.feature-card:hover .icn .ic { color: var(--color-primary); }
.shot-prev:hover .ic { transform: translateX(-2px); }
.shot-next:hover .ic { transform: translateX(2px); }
.foot-social a:hover .ic { color: var(--color-primary); }

/* ── 22. A11y ─────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  background: var(--color-text-primary);
  color: #05060a;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* <picture> sarmalayıcı galeri akışını bozmasın (JS img'leri seçer) */
.shot-viewport picture { display: contents; }
.gfx-shot picture { display: contents; }
.hero-frame picture { display: contents; }
code {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: .88em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1px 6px;
}

/* ── 23. Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { padding-top: 150px; }
  .hero h1 { font-size: clamp(34px, 6vw, 52px); }
  .gfx-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps-row::before { display: none; }
  .bench-panel { grid-template-columns: 1fr; padding: 36px 28px; }
  .bench-arrow { transform: rotate(90deg); justify-self: center; }
  .eng-grid.eng-list { gap: 20px; }
}
@media (max-width: 720px) {
  .nav { padding: 14px 12px 0; }
  .nav .container { height: 60px; border-radius: 16px; }
  .nav .container::before { inset: -8px; border-radius: 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section-pad { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding-top: 132px; }
  .hero .lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-preview { margin-top: 44px; }
  .feature-grid { grid-template-columns: 1fr; }
  .eng-grid.eng-list { grid-template-columns: 1fr; }
  .eng-grid .eng-item { grid-template-columns: 52px 1fr; padding: 22px; }
  .eng-num { font-size: 40px; }
  .focus-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .focus-card { padding: 22px 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item { padding: 22px 12px; }
  .stat-item b { font-size: 26px; }
  .steps-row { grid-template-columns: 1fr; }
  .cta-band { padding: 52px 24px; border-radius: 22px; margin-bottom: 80px; }
  .bench-panel { padding: 32px 20px; }
  .game-tile { width: 132px; height: 198px; }

  /* Yüzen cam çekmece (mobil menüde glass devam eder) */
  .nav-mobile {
    position: fixed;
    top: 88px; right: 12px; bottom: 12px;
    width: min(320px, calc(100vw - 24px));
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    background: rgba(12, 12, 16, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-lg);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    padding: 14px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 99;
    transform: translateX(calc(100% + 24px));
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
    pointer-events: auto;
  }
  .nav-mobile.open { transform: none; visibility: visible; }
  .nav-mobile a {
    padding: 15px 4px;
    font-size: 16.5px;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-mobile a.active { color: var(--color-primary); }
  .nav-mobile .hero-cta { margin-top: 18px; flex-direction: column; }
}
@media (min-width: 721px) {
  .nav-mobile { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .game-marquee-track { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .feature-card::before { display: none; }
  .ic { transition: none; }
  .btn, .feature-card, .price-card, .faq-item,
  .nav .container, .nav .container::before,
  .nav-links a, .nav-mobile { transition: none; }
  #premiumPrice.od-settled { animation: none; }
  #premiumPrice .price-digit-track { transition: none; }
  #premiumSuffix, #premiumNote { transition: none; }
  .price-card.price-landed { animation: none; }
  .halftone-wrap { display: none; }
}
