/* ============================================================
   Linga Chat — Tanıtım Sitesi Tasarım Sistemi
   Token tabanlı tema (açık/koyu) — marka kaynağı:
   _brand/linga-chat/07-design-system/tokens.json
   ============================================================ */

/* ---------- 1. TASARIM TOKEN'LARI ---------- */
:root {
  /* Marka ölçeği */
  --brand-50:  #ECF9F8;
  --brand-100: #D4F2EF;
  --brand-200: #ADE6E1;
  --brand-300: #7DD7CF;
  --brand-400: #49C7BB;
  --brand-500: #27BCAF;
  --brand-600: #0FB5A6;
  --brand-700: #0C9488;
  --brand-800: #0A776E;
  --brand-900: #085A53;
  /* RGB kanalları — alfa/scrim TEK KAYNAK: rgba(var(--brand-rgb), .05) gibi.
     Marka rengi değişirse tüm yarı-saydam teal tonları da otomatik güncellenir. */
  --brand-rgb: 15, 181, 166;   /* = --brand-600 */
  --ink-rgb: 0, 0, 0;          /* siyah gölge/scrim */
  --paper-rgb: 255, 255, 255;  /* beyaz overlay */

  /* Nötrler */
  --neutral-0:   #FFFFFF;
  --neutral-50:  #F7F8FA;
  --neutral-100: #EEF0F3;
  --neutral-200: #E1E4E9;
  --neutral-300: #CBD0D8;
  --neutral-400: #9AA1AB;
  --neutral-500: #6B7280;
  --neutral-600: #4B5563;
  --neutral-800: #1F242C;
  --neutral-950: #0E1116;
  --neutral-950-rgb: 14, 17, 22; /* --neutral-950 alfa kanalı */
  --black: #000;                 /* saf siyah (fullscreen backdrop) */

  /* Vurgular */
  --coral:  #FF6F61;
  --gold:   #D4AF37;
  --amber:  #F59E0B;
  --violet: #7C3AED;
  --blue:   #2563EB;
  --heart:  #EE3A55;
  --green:  #22C55E;          /* çevrimiçi/canlı/başarı durumu */
  --green-rgb: 34, 197, 94;   /* --green alfa kanalı (nabız/tint) */
  --muted-rgb: 107, 114, 128; /* --neutral-500 alfa kanalı (tint) */
  /* Resmi sosyal-marka renkleri (dış marka kimliği; hex SABİT — marka rehberi) */
  --social-whatsapp: #25D366; --social-facebook: #1877F2; --social-linkedin: #0A66C2;
  --social-mail: #E53E3E; --social-copy: #9333EA; --social-native: #EA580C;
  --social-whatsapp-bg: #E8F8F0; --social-blue-bg: #E8F4FF; --social-mail-bg: #FFE8E8;
  --social-copy-bg: #F3E8FF; --social-native-bg: #FFF2E8;
  /* Stats panosu paleti (izole analitik ekranı; sabit koyu kart dili) */
  --stats-frame-dark: #10141B; --stats-card: #1E293B; --stats-card-text: #F1F5F9;
  --stats-danger: #A31D1D; --stats-amber: #FBBF24;
  --rank-1: #3B82F6; --rank-2: #60A5FA; --rank-3: #93C5FD;

  /* Tipografi */
  --font-brand: 'Poppins', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;

  /* Yuvarlama */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 999px;

  /* Anlamsal — AÇIK TEMA */
  --canvas: #F7F8FA;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --inset: #F1F3F6;
  --hover: #EEF0F3;
  --text: #141820;
  --text-2: #4B5563;
  --text-3: #6B7280;
  --text-inverse: #FFFFFF;
  --link: #0C9488;
  --on-primary: #FFFFFF;
  /* Renkli/gradyan yüzeyler üzerindeki metin (tema-bağımsız beyaz) */
  --on-accent: #FFFFFF;
  --border: #E1E4E9;
  --border-strong: #CBD0D8;
  --border-subtle: #EEF0F3;
  --focus: rgba(var(--brand-rgb), 0.35);
  --primary: #0FB5A6;
  --primary-hover: #0C9488;
  --primary-active: #0A776E;
  --primary-subtle: #ECF9F8;
  --primary-subtle-text: #0C9488;

  --nav-bg: rgba(247, 248, 250, 0.78);
  --hero-glow-1: rgba(var(--brand-rgb), 0.16);
  --hero-glow-2: rgba(255, 111, 97, 0.12);
  --hero-glow-3: rgba(124, 58, 237, 0.08);
  --card-shadow: 0 1px 2px rgba(16,20,30,.05), 0 8px 28px rgba(16,20,30,.07);
  --card-shadow-lg: 0 2px 6px rgba(16,20,30,.06), 0 24px 60px rgba(16,20,30,.12);
  --phone-shadow: 0 40px 90px rgba(8,90,83,.28);
  --chip-bg: rgba(var(--paper-rgb),.82);
  --grad-brand: linear-gradient(135deg, #27BCAF 0%, #0C9488 100%);
  --grad-warm: linear-gradient(135deg, #FF9A3D 0%, #FF6F61 100%);
  --grad-gold: linear-gradient(135deg, #F0BA00 0%, #D4AF37 100%);
  /* Marka paletine uygun violet (palet dışı MOR #8B5CF6 kaldırıldı → --violet #7C3AED) */
  --grad-violet: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  /* Sosyal-kanıt avatar dolguları (inline gradyanlardan token'a taşındı) */
  --avatar-warm: linear-gradient(135deg, #FF9A3D, #FF6F61);
  --avatar-violet: linear-gradient(135deg, #7C3AED, #6D28D9);
  --avatar-teal: linear-gradient(135deg, #27BCAF, #0C9488);

  /* Buton/rozet gölge tintleri (kullanım yerlerinden token'a taşındı) */
  --shadow-primary: 0 6px 18px rgba(12,148,136,.35);
  --shadow-primary-hover: 0 10px 26px rgba(12,148,136,.45);
  --shadow-store-hover: 0 10px 26px rgba(var(--ink-rgb),.25);
  --shadow-soon-tag: 0 3px 10px rgba(255,111,97,.4);
  --on-gold: #3A2E08;

  /* Eyebrow varyant tintleri */
  --eyebrow-warm-text: #C2410C; --eyebrow-warm-bg: #FFF3EC; --eyebrow-warm-border: #FFD9C4;
  --eyebrow-gold-text: #92700C; --eyebrow-gold-bg: #FDF7E3; --eyebrow-gold-border: #F0DFA8;
  --eyebrow-violet-text: #6D28D9; --eyebrow-violet-bg: #F3EEFE; --eyebrow-violet-border: #DFD2FA;
  --eyebrow-teal-border: #1E4A47;

  /* Telefon mockup gövdesi */
  --phone-body: linear-gradient(160deg, #2A313C, #10141A);
  --phone-inner-stroke: rgba(var(--paper-rgb),.09);
  --phone-screen-bg: #0E1116;
  --phone-notch-bg: #0A0D11;

  /* Alt bölüm ve footer arka planı */
  --section-alt-bg: #F7F8FA;
  --footer-bg: #0E1116;

  /* Kart ikon varyant tintleri */
  --ico-warm-bg: #FFF0EC; --ico-warm-text: #E85D4A;
  --ico-gold-bg: #FDF7E3; --ico-gold-text: #B8912A;
  --ico-violet-bg: #F3EEFE; --ico-violet-text: #7C3AED;
  --ico-blue-bg: #EFF6FF;  --ico-blue-text: #2563EB;
  --ico-heart-bg: #FEEDF0; --ico-heart-text: #EE3A55;

  /* Galeri arka plan tintleri */
  --gallery-1: #FFF1E8; --gallery-2: #EAF3FF; --gallery-3: #F1ECFE;
  --gallery-4: #FFECEF; --gallery-5: #EBFAF0; --gallery-6: #FFF8E1;

  /* CTA bandı üzeri beyaz kaplama katmanları */
  --cta-orb-1: rgba(var(--paper-rgb),.10);
  --cta-orb-2: rgba(var(--paper-rgb),.07);
  --cta-slogan: rgba(var(--paper-rgb),.92);
  --cta-text: rgba(var(--paper-rgb),.85);
  --cta-web-bg: rgba(var(--paper-rgb),.16);
  --cta-web-border: rgba(var(--paper-rgb),.4);
  --cta-web-hover: rgba(var(--paper-rgb),.24);
  --cta-mascot-shadow: drop-shadow(0 18px 40px rgba(var(--ink-rgb),.25));
}

[data-theme="dark"] {
  --canvas: #0B0E13;
  --surface: #141820;
  --surface-2: #1A1F26;
  --inset: #1A1F26;
  --hover: #1F242C;
  --text: #F4F6F8;
  --text-2: #AEB6C1;
  --text-3: #7C8694;
  --text-inverse: #0E1116;
  --link: #49C7BB;
  --border: #262D37;
  --border-strong: #323A45;
  --border-subtle: #1E242C;
  --focus: rgba(73, 199, 187, 0.4);
  --primary: #27BCAF;
  --primary-hover: #0FB5A6;
  --primary-active: #0C9488;
  --primary-subtle: #102D2F;
  --primary-subtle-text: #7DD7CF;

  --nav-bg: rgba(11, 14, 19, 0.72);
  --hero-glow-1: rgba(39, 188, 175, 0.14);
  --hero-glow-2: rgba(255, 111, 97, 0.08);
  --hero-glow-3: rgba(124, 58, 237, 0.10);
  --card-shadow: 0 1px 2px rgba(var(--ink-rgb),.35), 0 10px 32px rgba(var(--ink-rgb),.35);
  --card-shadow-lg: 0 2px 8px rgba(var(--ink-rgb),.4), 0 28px 70px rgba(var(--ink-rgb),.5);
  --phone-shadow: 0 40px 90px rgba(var(--ink-rgb),.6);
  --chip-bg: rgba(20, 24, 32, .85);

  /* Koyu tema override'ları — varyant tintleri */
  --eyebrow-warm-text: #FFA07A; --eyebrow-warm-bg: #2A1712; --eyebrow-warm-border: #4A2418;
  --eyebrow-gold-text: #E8C866; --eyebrow-gold-bg: #26200E; --eyebrow-gold-border: #4A3D18;
  --eyebrow-violet-text: #B79BF5; --eyebrow-violet-bg: #1D1430; --eyebrow-violet-border: #3A2A5E;

  --section-alt-bg: #0E1218;
  --footer-bg: #0D1015;

  --ico-warm-bg: #2A1712; --ico-warm-text: #FF9A85;
  --ico-gold-bg: #26200E; --ico-gold-text: #E8C866;
  --ico-violet-bg: #1D1430; --ico-violet-text: #B79BF5;
  --ico-blue-bg: #0F1B33;  --ico-blue-text: #7AABF7;
  --ico-heart-bg: #2E1218; --ico-heart-text: #F87E92;

  --gallery-1: #2A1D12; --gallery-2: #10203A; --gallery-3: #1E1533;
  --gallery-4: #2E1218; --gallery-5: #0F241A; --gallery-6: #292112;
}

/* ---------- 2. TABAN ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--canvas);
  color-scheme: light dark;
  transition: background .35s ease;
  height: 100%;
  overflow: hidden;
}
[data-theme="light"] html,
[data-theme="light"] body,
[data-theme="light"] main {
  color-scheme: light;
}
[data-theme="dark"] html,
[data-theme="dark"] body,
[data-theme="dark"] main {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
  transition: background .35s ease, color .35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
a { color: var(--link); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-brand); line-height: 1.18; margin: 0; color: var(--text); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand-300); color: var(--neutral-950); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container.narrow { max-width: 860px; }
@media (max-width: 640px) { .container { width: min(1180px, 100% - 36px); } }
.spacer-26 { height: 26px; }
.mt-14 { margin-top: 14px; }
.text-center { text-align: center; }
.plans-note { text-align: center; margin-top: 26px; font-size: 12.5px; color: var(--text-3); }

/* ---------- 3. BUTONLAR & ROZETLER ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 15px; line-height: 1; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--grad-brand); color: var(--on-accent);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { box-shadow: var(--shadow-primary-hover); transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-subtle-text); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-store { gap: 12px; padding: 13px 22px; background: var(--neutral-950); color: var(--on-accent); border-radius: var(--radius-lg); }
[data-theme="dark"] .btn-store { background: var(--on-accent); color: var(--neutral-950); }
.btn-store:hover { transform: translateY(-1px); box-shadow: var(--shadow-store-hover); }
.btn-store .store-ico { width: 26px; height: 26px; flex: none; }
.btn-store small { display: block; font-size: 10.5px; font-weight: 500; opacity: .75; text-align: left; line-height: 1.1; }
.btn-store b { display: block; font-size: 15.5px; font-weight: 700; text-align: left; line-height: 1.2; }
.btn-store.soon { opacity: .72; pointer-events: none; position: relative; overflow: visible; }
.btn-store .soon-tag {
  position: absolute; top: -9px; right: -8px;
  font-size: 9.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  background: var(--grad-warm); color: var(--on-accent);
  padding: 3px 9px; border-radius: var(--radius-full);
  box-shadow: var(--shadow-soon-tag);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-subtle-text);
  background: var(--primary-subtle); border: 1px solid var(--brand-200);
  padding: 7px 14px; border-radius: var(--radius-full);
}
[data-theme="dark"] .eyebrow { border-color: var(--eyebrow-teal-border); }
.eyebrow.warm { color: var(--eyebrow-warm-text); background: var(--eyebrow-warm-bg); border-color: var(--eyebrow-warm-border); }
.eyebrow.gold { color: var(--eyebrow-gold-text); background: var(--eyebrow-gold-bg); border-color: var(--eyebrow-gold-border); }
.eyebrow.violet { color: var(--eyebrow-violet-text); background: var(--eyebrow-violet-bg); border-color: var(--eyebrow-violet-border); }

/* ---------- 4. NAV ---------- */
.nav {
  position: relative;
  width: 100%;
  flex: none;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border-subtle); }
/* Header: logo + menü + aksiyonlar TEK BLOK halinde bitişik durur ve blok
   sayfada ORTALANIR; iki yanda eşit boşluk kalır. Blok, içeriği kadar yer
   kaplar (fit-content) -> uzun dilde (fr/de) büyür, kısa dilde küçülür, ama
   daima ortada. Üst sınır 100%-40px: taşma yerine sıkışır. */
.nav .container {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
  width: fit-content;
  max-width: calc(100% - 40px);
}
.nav .brand { display: flex; align-items: center; flex: none; }
.nav .brand img { height: 41px; width: auto; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

/* margin-inline:auto YOK: blok bitişik dursun (container fit-content + ortalı).
   Eskiden auto, menüyü iki uca yayıp ortada boşluk bırakıyordu.
   nowrap: "Communauté" gibi uzun etiketler iki satıra kırılmasın. */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 9px; border-radius: var(--radius-full);
  color: var(--text-2); font-size: 14px; font-weight: 550;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--hover); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
  transition: border-color .15s, color .15s, transform .15s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary-subtle-text); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.lang-switch {
  display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-full);
  background: var(--surface); padding: 3px; gap: 2px;
}
.lang-switch button {
  border: 0; background: transparent; color: var(--text-3);
  font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: var(--radius-full);
  transition: background .15s, color .15s;
}
.lang-switch button.active { background: var(--grad-brand); color: var(--on-accent); }

/* Header dil seçici (27 dil) — lang-switch hap görünümünün select karşılığı */
.lang-select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--border); border-radius: var(--radius-full);
  background: var(--surface) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808a97' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 13px;
  color: var(--text-2); font: 700 12.5px/1 var(--font-ui);
  /* max-width sıkı: "Bahasa Indonesia"/"中文（简体）" gibi uzun adlar header'ı
     şişirip menüyü taşırıyordu. Metin gerekirse kısalır, ok ikonu korunur. */
  padding: 9px 26px 9px 11px; max-width: 112px; cursor: pointer;
  text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.lang-select:hover, .lang-select:focus-visible { border-color: var(--primary); color: var(--text); outline: none; }

.nav-toggle { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--canvas);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 80px 24px 40px;
  box-sizing: border-box;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 22px; font-weight: 600; color: var(--text); padding: 10px 18px; font-family: var(--font-brand); }
.mobile-menu .btn { margin-top: 14px; }
.mobile-close { position: absolute; top: 18px; right: 22px; }

@media (max-width: 960px) {
  .nav-links, .nav-desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Menü gizlendiğinde (mobil) ortalamayı taşıyan .nav-links de gider;
   aksiyonlar logonun dibine düşmesin -> sağ kenara yaslan. */
@media (max-width: 960px) {
  .nav-actions { margin-left: auto; }
}

/* ---------- 5. HERO ---------- */
.hero {
  position: relative; padding: 80px 0 60px; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 720px; height: 720px; top: -260px; right: -180px;
  background: radial-gradient(circle, var(--hero-glow-1), transparent 65%);
}
.hero::after {
  width: 560px; height: 560px; bottom: -220px; left: -160px;
  background: radial-gradient(circle, var(--hero-glow-2), transparent 65%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero-copy { max-width: 590px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.plat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: var(--radius-full);
}
.plat-chip svg { width: 14px; height: 14px; }
.plat-chip.soon { opacity: .6; }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.02em;
  margin: 0 0 14px;
}
.hero h1 .grad {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .slogan {
  font-family: var(--font-brand); font-weight: 600; font-size: clamp(17px, 2vw, 21px);
  color: var(--primary-subtle-text); margin-bottom: 16px; letter-spacing: .01em;
}
.hero .lead { font-size: clamp(15.5px, 1.6vw, 18px); color: var(--text-2); margin-bottom: 30px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 36px; }
.hero-note { font-size: 13px; color: var(--text-3); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(18px, 3.5vw, 46px);
  padding: 20px 0 0; border-top: 1px solid var(--border-subtle); width: fit-content;
}
.stat b {
  display: block; font-family: var(--font-brand); font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700; color: var(--text); letter-spacing: -.01em;
}
.stat span { font-size: 12.5px; color: var(--text-3); font-weight: 550; }

/* Hero telefon */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(320px, 78vw); border-radius: 46px; padding: 10px;
  background: var(--phone-body);
  box-shadow: var(--phone-shadow), inset 0 0 0 1.5px var(--phone-inner-stroke);
}
.phone .screen { border-radius: 37px; overflow: hidden; background: var(--phone-screen-bg); }
.phone .screen img, .phone .screen svg { width: 100%; display: block; }
/* Gerçek ekran görüntüsü kendi status bar/adasını içerir → sahte çentik gizlenir */
.phone:has(img[data-shot]) .notch { display: none; }
.phone .notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: 14px; background: var(--phone-notch-bg); z-index: 5;
}
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: var(--chip-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 10px 14px; box-shadow: var(--card-shadow); z-index: 6;
  font-size: 13px; font-weight: 600; color: var(--text);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-chip .fc-ico {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  background: var(--primary-subtle);
}
.float-chip small { display: block; font-size: 11px; font-weight: 500; color: var(--text-3); }
.fc-1 { top: 12%; left: -9%; animation-delay: 0s; }
.fc-2 { top: 42%; right: -1%; animation-delay: 1.6s; }
.fc-3 { bottom: 10%; left: -6%; animation-delay: 3.1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

@media (max-width: 960px) {
  .hero { padding-top: 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 100%; }
  .hero-stats { width: 100%; grid-template-columns: repeat(4, 1fr); }
  .fc-1 { left: 0; } .fc-3 { left: 2%; } .fc-2 { right: 0; }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .float-chip { display: none; }
}

/* Dil şeridi (marquee) */
.lang-marquee { position: relative; padding: 26px 0 10px; overflow: hidden; }
.lang-marquee::before, .lang-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.lang-marquee::before { left: 0; background: linear-gradient(90deg, var(--canvas), transparent); }
.lang-marquee::after { right: 0; background: linear-gradient(-90deg, var(--canvas), transparent); }
.marquee-track {
  display: flex; gap: 12px; width: max-content;
  animation: marquee 42s linear infinite;
  animation-play-state: running;
  /* Safari/Firefox: kompozit katmana al, yoksa animasyon başlamıyor/donuyor. */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
/* WCAG 2.2.2 (Pause, Stop, Hide) — sürekli kayan şeridi DURDURMA mekanizması.
   reduced-motion'da animasyonu tümüyle KAPATMAK yerine kullanıcıya durdurma kontrolü
   verilir; şerit varsayılan olarak her tarayıcıda kayar. */
.lang-marquee:hover .marquee-track,
.lang-marquee:focus-within .marquee-track { animation-play-state: paused; }
.lang-pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 8px 16px;
}
/* from ZORUNLU: implicit başlangıç değeri Safari/Firefox'ta translate3d başlangıcıyla
   çakışıp animasyonu hiç başlatmıyordu. Uçlar translate3d ile aynı tipte olmalı. */
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
/* KATİ — DİL ŞERİDİNİ reduced-motion'da DONDURMA. Kullanıcı talebi (defalarca):
   şerit HER tarayıcıda kayacak. `.marquee-track { animation: none }` OS "hareketi azalt"
   ayarında şeridi donduruyordu — "50 defadır" regresyonun kök nedeni; 2026-07-19 canlı
   ölçümle doğrulandı (reducedMotion=true → movedPx=0). Durdurma WCAG şartı yukarıda
   hover/focus ile karşılanır. `.marquee-track`'i bu bloğa TEKRAR EKLEME. */
@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
}

/* ---------- 6. BÖLÜM İSKELETİ ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section.alt { background: var(--surface); border-block: 1px solid var(--border-subtle); }
.section > *:last-child,
.container > *:last-child {
  margin-bottom: 0 !important;
}

/* Sabit 68px navbar altına ilk bölüm/içerik GİRMESİN — hero olmayan sayfalar (.section /
   .legal-main ile başlar) için üst boşluk garantile. index .hero kendi 150px'iyle aşar. */
/* Alt Sayfa Hero Bölümü Tasarımı */
main > .section:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(320px, 40vh, 500px);
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
  background: radial-gradient(circle at 80% 20%, rgba(var(--brand-rgb), 0.06) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(var(--brand-rgb), 0.03) 0%, transparent 50%);
}
[data-theme="dark"] main > .section:first-child {
  background: radial-gradient(circle at 80% 20%, rgba(var(--brand-rgb), 0.12) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(var(--brand-rgb), 0.06) 0%, transparent 60%);
}
main > .section:first-child .sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vw, 20px);
  margin-inline: auto;
  margin-bottom: 0;
  text-align: center;
}
main > .section:first-child .sec-head h1,
main > .section:first-child .sec-head h2,
main > .section:first-child .sec-head p,
main > .section:first-child .sec-head .hero-cta,
main > .section:first-child .sec-head .tier-price {
  margin: 0;
}
main > .section:first-child .sec-head .hero-cta {
  justify-content: center;
}
.legal-main { padding-top: clamp(22px, 4vw, 44px); }
/* Ankor hedefleri (nav içi #tanis vb.) de sabit navbar altında kalmasın */
#top, .section[id] { scroll-margin-top: 16px; }
[data-theme="dark"] .section.alt { background: var(--section-alt-bg); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { margin-inline: auto; }
.sec-head h2 {
  font-size: clamp(27px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.02em;
  margin: 18px 0 14px;
}
.sec-head h1 { margin-top: 18px; }
.sec-head p { font-size: clamp(15px, 1.6vw, 17.5px); color: var(--text-2); }

/* Bento ızgara */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento .card { grid-column: span 4; }
.bento .card.wide { grid-column: span 8; }
.bento .card.half { grid-column: span 6; }
@media (max-width: 960px) {
  .bento .card, .bento .card.wide, .bento .card.half { grid-column: span 12; }
}

.card {
  background: var(--surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl); padding: 28px;
  box-shadow: var(--card-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lg); border-color: var(--border); }
.card h3 { font-size: 19px; font-weight: 650; margin: 16px 0 8px; }
.card > p { font-size: 14.5px; color: var(--text-2); }
.card .ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-subtle); color: var(--primary-subtle-text);
}
.card .ico svg { width: 24px; height: 24px; }
.card .ico.warm { background: var(--ico-warm-bg); color: var(--ico-warm-text); }
.card .ico.gold { background: var(--ico-gold-bg); color: var(--ico-gold-text); }
.card .ico.violet { background: var(--ico-violet-bg); color: var(--ico-violet-text); }
.card .ico.blue { background: var(--ico-blue-bg); color: var(--ico-blue-text); }
.card .ico.heart { background: var(--ico-heart-bg); color: var(--ico-heart-text); }

.mini-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-full);
  background: var(--grad-gold); color: var(--on-gold);
}
.mini-badge.teal { background: var(--grad-brand); color: var(--on-accent); }
.mini-badge.violet { background: var(--grad-violet); color: var(--on-accent); }

/* İkiye bölünmüş özellik satırı (görsel + metin) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.rev .split-visual { order: 2; }
.split h2 { font-size: clamp(25px, 3vw, 37px); font-weight: 700; letter-spacing: -.02em; margin: 16px 0 12px; }
.split > div > p { font-size: 16px; color: var(--text-2); margin-bottom: 24px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .fl-ico {
  flex: none; width: 34px; height: 34px; border-radius: 10px; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-subtle); color: var(--primary-subtle-text);
}
.feature-list .fl-ico svg { width: 18px; height: 18px; }
.feature-list b { display: block; font-size: 15px; font-weight: 650; color: var(--text); }
.feature-list span { font-size: 13.5px; color: var(--text-3); line-height: 1.5; }
.split-visual { position: relative; display: flex; justify-content: center; }
.split-visual .phone { width: min(290px, 74vw); }
.visual-halo { position: absolute; inset: -8% -12%; z-index: -1; border-radius: 40px; }
.halo-teal { background: radial-gradient(circle at 40% 35%, var(--hero-glow-1), transparent 70%); }
.halo-warm { background: radial-gradient(circle at 60% 40%, var(--hero-glow-2), transparent 70%); }
.halo-violet { background: radial-gradient(circle at 50% 45%, var(--hero-glow-3), transparent 70%); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .split-visual { order: 0; }
}

/* Çip bulutu */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.f-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  background: var(--inset); border: 1px solid var(--border-subtle);
  padding: 8px 14px; border-radius: var(--radius-full);
  transition: border-color .15s, color .15s, transform .15s;
}
.f-chip:hover { border-color: var(--brand-300); color: var(--primary-subtle-text); transform: translateY(-1px); }
.f-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; }

/* Oyun ızgarası */
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.game-tile {
  background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  padding: 22px 18px; text-align: center; box-shadow: var(--card-shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.game-tile:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--card-shadow-lg); }
.game-tile .g-emoji {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.game-tile b { display: block; font-size: 14.5px; font-weight: 650; color: var(--text); font-family: var(--font-brand); }
.game-tile span { font-size: 12px; color: var(--text-3); }
.g-1 { background: var(--gallery-1); } .g-2 { background: var(--gallery-2); } .g-3 { background: var(--gallery-3); }
.g-4 { background: var(--gallery-4); } .g-5 { background: var(--gallery-5); } .g-6 { background: var(--gallery-6); }
@media (max-width: 900px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }

/* Platform kartları */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; } /* 7 kart: 4+3 */
.platform-grid .card { text-align: center; padding: 34px 24px; }
.platform-grid .ico { margin-inline: auto; }
@media (max-width: 1060px) { .platform-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .platform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .platform-grid { grid-template-columns: 1fr; } }

/* ---------- 7. ÜYELİK ---------- */
.period-toggle {
  display: inline-flex; background: var(--inset); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 4px; gap: 3px; margin: 0 auto 40px;
}
.period-toggle button {
  border: 0; background: transparent; color: var(--text-3);
  font-size: 13.5px; font-weight: 650; padding: 9px 18px; border-radius: var(--radius-full);
  transition: background .18s, color .18s; position: relative;
}
.period-toggle button.active { background: var(--surface); color: var(--text); box-shadow: var(--card-shadow); }
.period-toggle .save-tag {
  font-size: 10px; font-weight: 800; color: var(--on-accent); background: var(--coral);
  border-radius: var(--radius-full); padding: 1.5px 7px; margin-left: 5px; vertical-align: 1px;
}

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl);
  padding: 30px 26px; display: flex; flex-direction: column;
  box-shadow: var(--card-shadow); position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-lg); }
.plan.featured { border: 2px solid transparent; background:
  linear-gradient(var(--surface), var(--surface)) padding-box,
  var(--grad-gold) border-box;
}
.plan .plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--grad-gold); color: var(--on-gold); padding: 5px 14px; border-radius: var(--radius-full);
  white-space: nowrap;
}
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .plan-sub { font-size: 13px; color: var(--text-3); margin: 4px 0 18px; }
.plan .price { font-family: var(--font-brand); margin-bottom: 2px; }
.plan .price b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.plan .price span { font-size: 14px; color: var(--text-3); font-weight: 500; }
.plan .price-note { font-size: 12px; color: var(--text-3); min-height: 18px; margin-bottom: 18px; }
.plan .price-note .save { color: var(--coral); font-weight: 700; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid var(--border-subtle); display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 13.8px; color: var(--text-2); align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 2.5px; color: var(--primary); }
.plan li.inherit { color: var(--text-3); font-weight: 600; font-size: 12.5px; }
.plan .btn { margin-top: auto; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* ---------- 8. GÖRÜŞLER ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { display: flex; flex-direction: column; gap: 16px; }
.quote .stars { color: var(--amber); font-size: 15px; letter-spacing: 2px; }
.quote p { font-size: 15px; color: var(--text-2); font-style: italic; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: var(--on-accent);
}
img.avatar { object-fit: cover; }
.quote .avatar.fill-warm { background: var(--avatar-warm); }
.quote .avatar.fill-violet { background: var(--avatar-violet); }
.quote .avatar.fill-teal { background: var(--avatar-teal); }
.quote .who b { display: block; font-size: 14px; color: var(--text); }
.quote .who span { font-size: 12.5px; color: var(--text-3); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- 9. SSS ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  overflow: hidden; transition: border-color .2s;
}
.faq-item[open] { border-color: var(--brand-300); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 24px; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 15.5px; color: var(--text); font-family: var(--font-brand);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fq-x {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-subtle); color: var(--primary-subtle-text);
  transition: transform .25s ease; font-size: 16px; font-weight: 600;
}
.faq-item[open] summary .fq-x { transform: rotate(45deg); }
.faq-item .fq-body { padding: 0 24px 20px; font-size: 14.5px; color: var(--text-2); }
/* Ana sayfa SSS -> AEO cevap merkezi köprüsü ("Tüm cevaplar") */
.faq-more { max-width: 780px; margin: 28px auto 0; text-align: center; }
.faq-more-lead { color: var(--text-2); margin: 0 0 16px; font-size: 15px; }

/* ---------- 10. İNDİR CTA ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-2xl); overflow: hidden;
  background: var(--grad-brand); padding: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: var(--cta-orb-1); top: -240px; right: -120px;
}
.cta-band::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: var(--cta-orb-2); bottom: -170px; left: 8%;
}
.cta-band h2 { color: var(--on-accent); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.cta-band .cta-slogan { color: var(--cta-slogan); font-family: var(--font-brand); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.cta-band p { color: var(--cta-text); font-size: 15.5px; margin-bottom: 28px; max-width: 480px; }
.cta-band .hero-cta { margin-bottom: 0; position: relative; z-index: 1; }
.cta-band .btn-store { background: var(--on-accent); color: var(--neutral-950); }
.cta-band .btn-web { background: var(--cta-web-bg); color: var(--on-accent); border: 1px solid var(--cta-web-border); }
.cta-band .btn-web:hover { background: var(--cta-web-hover); }
.cta-mascot { position: relative; z-index: 1; display: flex; justify-content: center; }
.cta-mascot img { width: min(230px, 55vw); filter: var(--cta-mascot-shadow); }
@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .hero-cta { justify-content: center; }
  .cta-band p { margin-inline: auto; }
}

/* ---------- 11. FOOTER ---------- */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--border-subtle); background: var(--surface); }
[data-theme="dark"] .footer { background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer .brand img { height: 41px; width: auto; }
.footer .f-slogan { font-family: var(--font-brand); font-weight: 600; color: var(--primary-subtle-text); margin: 14px 0 8px; font-size: 15px; }
.footer .f-contact { margin-top: 10px; }
.f-contact a { font-size: 13.5px; font-weight: 600; color: var(--primary); }
.f-contact a:hover { text-decoration: underline; }
.f-about { font-size: 13.5px; color: var(--text-3); max-width: 300px; }
/* h4 -> h2 (heading sırası) ama görünüm AYNI kalmalı: ikisi de aynı stili alır. */
.footer h4,
.footer h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); font-size: 14px; transition: color .15s; }
.footer ul a:hover { color: var(--primary-subtle-text); }
.f-plat-sub { font-size: 11px; color: var(--text-3); font-weight: 400; opacity: 0.8; margin-inline-start: 5px; display: inline-block; }
.footer-bottom {
  display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 26px; border-top: 1px solid var(--border-subtle);
  font-size: 12px; color: var(--text-3);
  white-space: nowrap;
}
.footer-bottom > span {
  white-space: nowrap;
}
.footer-bottom-right {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: nowrap;
  white-space: nowrap;
}
.footer-bottom a { color: inherit; text-decoration: none; font-weight: 600; transition: color .15s; }
.footer-bottom a:hover { color: var(--primary); text-decoration: underline; }
@media (max-width: 1200px) {
  .footer-bottom { flex-wrap: wrap; justify-content: center; text-align: center; gap: 12px; }
  .footer-bottom-right { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 12. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }

/* İlk ekrandaki reveal'ları JS'e BAĞLAMA.
   .reveal opacity:0 ile başlar ve .visible'ı main.js ekler — main.js defer'li
   olduğu için ilk ekran içeriği (LCP elemanı: hero h1) JS inip çalışana kadar
   görünmez kalıyordu. Ölçüldü (Lighthouse mobil, 4x CPU): LCP'nin %86'sı
   "render delay" = 2778 ms, ağ değil.
   İlk bölüm zaten görünür alanda; IntersectionObserver'a gerek yok. Aynı
   animasyon (süre/easing/gecikme birebir) CSS ile, HTML ayrıştırılır ayrıştırılmaz
   oynar. Alt bölümler kaydırınca-belirme davranışını aynen korur.
   `both` dolgusu: gecikme boyunca `from`, bitince `to` kalır -> main.js sonradan
   .visible eklese de sonuç aynı. */
main > section:first-of-type .reveal { animation: reveal-in .7s ease both; }
main > section:first-of-type .reveal-d1 { animation-delay: .08s; }
main > section:first-of-type .reveal-d2 { animation-delay: .16s; }
main > section:first-of-type .reveal-d3 { animation-delay: .24s; }
main > section:first-of-type .reveal-d4 { animation-delay: .32s; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  main > section:first-of-type .reveal { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 13. HERO CANLI SOHBET DEMOSU ---------- */
/* JS hareketi onaylarsa (prefers-reduced-motion değilse) body.anim-ok ekler:
   statik SVG gizlenir, canlı demo oynar. */
/* Gerçek ekran görüntüsü HER ZAMAN zemin; animasyon balonları üstüne biner.
   (Eski tasarımda sahte header/input çiziliyordu — artık ekran görüntüsünden.) */
.chat-demo { display: none; }
body.anim-ok .hero-visual .chat-demo {
  display: flex; position: absolute; inset: 11% 3% 13.5%;
  background: transparent; pointer-events: none; z-index: 3;
}
body.anim-ok .hero-visual .phone .screen { position: relative; }

/* Sohbet-demo illüstrasyonu paleti — TEMA-BAĞIMSIZ. Bu, uygulamanın SABİT
   aydınlık sohbet arayüzünü gösteren dekoratif bir mockup; site teması (light/dark)
   değişse de görsel aynı kalmalı. Bu yüzden tema token'ları DEĞİL, kendi sabit
   token seti kullanılır (çıplak renk yasağı + tek kaynak korunur). */
:root {
  --demo-surface: #FFFFFF;
  --demo-ink: #141820;
  --demo-avatar-1: #FF9A3D;
  --demo-avatar-2: #FF6F61;
  --demo-online: #3FE28F;
  --demo-online-ring: #0C9488;
  --demo-header-sub: #C9F0EC;
  --demo-trans-bg: #ECF9F8;
  --demo-trans-border: #ADE6E1;
  --demo-trans-text: #0A776E;
  --demo-dot: #9AA1AB;
  --demo-voice-sub: #D4F2EF;
  --demo-gift-bg: #FFF6E8;
  --demo-gift-border: #F5DFAF;
  --demo-gift-text: #8A6D1E;
  --demo-input-bg: #F1F3F6;
  --demo-overlay: rgba(var(--paper-rgb), .24);
}
.chat-demo {
  flex-direction: column; font-family: var(--font-ui); overflow: hidden;
}
.cd-header {
  background: var(--grad-brand); color: var(--demo-surface);
  padding: 44px 18px 14px; display: flex; align-items: center; gap: 11px; flex: none;
}
.cd-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; position: relative;
  background: linear-gradient(135deg, var(--demo-avatar-1), var(--demo-avatar-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: var(--demo-surface); font-family: var(--font-brand);
}
.cd-avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--demo-online); border: 2.5px solid var(--demo-online-ring);
}
.cd-header b { display: block; font-size: 15px; font-family: var(--font-brand); font-weight: 650; line-height: 1.2; }
.cd-header small { font-size: 10.5px; color: var(--demo-header-sub); }
.cd-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }

.cd-item { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.9,.3,1.25); }
.cd-item.show { opacity: 1; transform: none; }
.cd-item.hide { opacity: 0; transform: scale(.9); position: absolute; pointer-events: none; }

.cd-msg { max-width: 82%; padding: 9px 13px; border-radius: 15px; font-size: 12.5px; line-height: 1.45; }
.cd-msg.in { align-self: flex-start; background: var(--demo-surface); color: var(--demo-ink); border-bottom-left-radius: 5px; }
.cd-msg.out { align-self: flex-end; background: var(--grad-brand); color: var(--demo-surface); border-bottom-right-radius: 5px; }
.cd-trans {
  align-self: flex-start; max-width: 82%; margin-top: -3px;
  background: var(--demo-trans-bg); border: 1px solid var(--demo-trans-border); color: var(--demo-trans-text);
  border-radius: 11px; padding: 7px 11px; font-size: 11.5px; line-height: 1.4;
  display: flex; gap: 7px; align-items: flex-start;
}
.cd-trans .tr-ico { flex: none; font-size: 11px; margin-top: 1px; }
.cd-typing {
  align-self: flex-start; background: var(--demo-surface); border-radius: 15px; border-bottom-left-radius: 5px;
  padding: 11px 14px; display: inline-flex; gap: 5px;
}
.cd-typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--demo-dot); display: block;
  animation: cdDot 1.1s infinite ease-in-out;
}
.cd-typing i:nth-child(2) { animation-delay: .18s; }
.cd-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes cdDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.cd-voice {
  align-self: flex-end; background: var(--grad-brand); color: var(--demo-surface);
  border-radius: 15px; border-bottom-right-radius: 5px;
  padding: 9px 13px; display: flex; align-items: center; gap: 9px; max-width: 82%;
}
.cd-voice .v-play {
  width: 26px; height: 26px; border-radius: 50%; background: var(--demo-overlay);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.cd-voice .v-play::after { content: ""; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--demo-surface); margin-left: 2px; }
.cd-eq { display: flex; align-items: center; gap: 2.5px; height: 20px; }
.cd-eq i { width: 2.5px; border-radius: 2px; background: var(--demo-surface); opacity: .9; height: 30%; }
.show .cd-eq i { animation: cdEq 1s infinite ease-in-out; }
.cd-eq i:nth-child(2n) { animation-delay: .15s; } .cd-eq i:nth-child(3n) { animation-delay: .3s; }
.cd-eq i:nth-child(4n) { animation-delay: .45s; } .cd-eq i:nth-child(5n) { animation-delay: .08s; }
@keyframes cdEq { 0%,100% { height: 25%; } 50% { height: 95%; } }
.cd-voice small { font-size: 10px; color: var(--demo-voice-sub); }

.cd-gift {
  align-self: stretch; background: var(--demo-gift-bg); border: 1px solid var(--demo-gift-border);
  border-radius: 12px; padding: 9px 12px; font-size: 11.5px; font-weight: 600; color: var(--demo-gift-text);
  display: flex; align-items: center; gap: 8px;
}
.cd-gift .g-rose { font-size: 16px; }
.cd-item.pop.show { animation: cdPop .5s cubic-bezier(.2,.9,.3,1.4); }
@keyframes cdPop { 0% { transform: scale(.7); } 70% { transform: scale(1.04); } 100% { transform: scale(1); } }

.cd-input {
  flex: none; background: var(--demo-surface); padding: 10px 12px 26px; display: flex; gap: 9px; align-items: center;
}
.cd-input .in-box {
  flex: 1; background: var(--demo-input-bg); border-radius: 999px; padding: 10px 15px;
  font-size: 11.5px; color: var(--demo-dot);
}
.cd-input .in-send {
  width: 36px; height: 36px; border-radius: 50%; background: var(--grad-brand); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.cd-input .in-send svg { width: 16px; height: 16px; }

/* ---------- Scroll To Top Button ---------- */
.btn-scroll-top {
  position: fixed;
  bottom: 29px;
  right: 96px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.btn-scroll-top:hover {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.btn-scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* ============================================================
   Linga Store (shop.html) styles
   ============================================================ */
.shop-hero {
  padding: 40px 0 40px;
  background: radial-gradient(circle at 80% 20%, rgba(var(--brand-rgb), 0.1) 0%, transparent 50%);
}
[data-theme="dark"] .shop-hero {
  background: radial-gradient(circle at 80% 20%, rgba(var(--brand-rgb), 0.15) 0%, transparent 60%);
}
.shop-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 30px 0 50px;
  flex-wrap: wrap;
}
.shop-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.shop-tab {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--text-2);
  font: 600 14px/1 var(--font-ui);
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}
.shop-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.shop-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-accent);
  box-shadow: 0 4px 14px rgba(var(--brand-rgb), 0.3);
}
/* Kategori sekmesindeki ürün sayısı — kategori kümesi API'den gelir, sayı da. */
.shop-tab-count {
  margin-inline-start: 7px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.62;
}

/* En çok satanlar / Trend rafları — GERÇEK sipariş verisi yoksa gizli kalır. */
.shop-rail {
  margin: 0 0 44px;
}
.shop-rail-title {
  font: 700 20px/1.3 var(--font-display);
  color: var(--text-1);
  margin: 0 0 18px;
}
.shop-rail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.shop-rail-grid .product-card {
  position: relative;
}
.prod-rank {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--on-accent);
  font: 700 12px/1 var(--font-ui);
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.32);
}

/* Shop Search Box */
.shop-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
}
.shop-search-input {
  width: 100%;
  padding: 10px 40px 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--text-1);
  font: 500 14px/1 var(--font-ui);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.shop-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.15);
}
.shop-search-wrapper .search-icon {
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  color: var(--text-3);
  pointer-events: none;
  transition: color 0.25s ease;
}
.shop-search-input:focus + .search-icon {
  color: var(--primary);
}

/* Shop Pagination */
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 80px;
}
.pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}
.pag-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.pag-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--brand-rgb), 0.05);
}
.pag-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.pag-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pag-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font: 600 14px/1 var(--font-ui);
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}
.pag-num:hover {
  color: var(--text-1);
  background: var(--inset);
}
.pag-num.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-accent);
}
/* 50+ sayfa penceresindeki atlama işareti (1 … 7 8 9 … 51). */
.pag-ellipsis {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 22px;
  height: 40px;
  padding-bottom: 8px;
  color: var(--text-3);
  font: 600 14px/1 var(--font-ui);
  user-select: none;
}

@media (max-width: 768px) {
  .shop-pagination {
    gap: 4px;
  }
  .pag-numbers {
    gap: 2px;
  }
  .pag-btn,
  .pag-num {
    width: 36px;
    height: 36px;
  }
  .pag-ellipsis {
    width: 16px;
    height: 36px;
  }
  .shop-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin: 20px 0 30px;
  }
  .shop-search-wrapper {
    max-width: none;
  }
}


.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(var(--ink-rgb), 0.08);
  border-color: var(--primary-subtle-text);
}
[data-theme="dark"] .product-card:hover {
  box-shadow: 0 12px 30px rgba(var(--ink-rgb), 0.4);
}
.prod-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  background: var(--inset);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.prod-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .prod-image {
  transform: scale(1.05);
}
.prod-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.prod-cat {
  font: 700 11px/1 var(--font-ui);
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.prod-name {
  font: 700 18px/1.2 var(--font-brand);
  color: var(--text);
  margin: 0 0 8px;
}
.prod-desc {
  font: 400 13.5px/1.5 var(--font-ui);
  color: var(--text-3);
  margin: 0 0 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-3);
  font-size: 15px;
}
.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 15px;
}
.prod-price {
  font: 700 20px/1 var(--font-brand);
  color: var(--text);
}
.prod-footer .btn {
  font-size: 13px;
  padding: 8px 16px;
}

/* Skeleton Loading Animation */
.skeleton-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.skeleton {
  background: linear-gradient(90deg, var(--inset) 25%, var(--border-subtle) 37%, var(--inset) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: var(--radius-md);
}
.sk-image { aspect-ratio: 1.2; border-radius: var(--radius-lg); }
.sk-cat { width: 30%; height: 12px; }
.sk-title { width: 70%; height: 20px; }
.sk-text { width: 100%; height: 40px; }
.sk-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.sk-price { width: 25%; height: 24px; }
.sk-btn { width: 35%; height: 36px; border-radius: var(--radius-full); }

@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* Product Detail Page Styles */
.product-detail-container {
  padding: 60px 0 80px;
  max-width: 1000px;
  margin: 0 auto;
}
.back-link-wrapper {
  margin-bottom: 30px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font: 600 15px var(--font-ui);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover {
  color: var(--primary);
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}
/* Izgara hücresi varsayılan `min-width:auto` ile içeriğin min-content genişliğine
   büyür; 12 küçük görselli açı şeridi sütunu kutunun DIŞINA taşırırdı. `min-width:0`
   hücreyi 1fr'de tutar, taşma şeridin kendi yatay kaydırmasında kalır. */
.detail-gallery,
.detail-info {
  min-width: 0;
}
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.main-image-box {
  width: 100%;
  background: var(--inset);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  /* Ham Printify mockup'ı 2000px+; kutu sayfa şemasında kalır, tam boy lightbox'ta. */
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
}
.main-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Açı şeridi — Printify her ürün için ön/arka/yakın çekim/ortam görselleri üretir. */
.main-image-box {
  position: relative;
}
.detail-view-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font: 600 12px var(--font-ui);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px 12px;
}
.detail-zoom-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-image-box:hover .detail-zoom-badge {
  background: var(--primary);
  color: var(--on-accent);
  border-color: var(--primary);
}
.detail-thumbs-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.detail-thumbs-title {
  font: 700 12px var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-2);
}
/* Şerit yerine ızgara: yatay kaydırmada son küçük görsel yarım kesik kalıyordu,
   en çok 12 görsel sütuna sığdığı için hepsi tek bakışta görünür. */
.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
}
.detail-thumb {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.detail-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--inset);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
  transition: border-color 0.15s ease;
}
.detail-thumb:hover img {
  border-color: var(--primary);
}
.detail-thumb.active img {
  border-color: var(--primary);
}
.detail-thumb-label {
  font: 500 11px/1.2 var(--font-ui);
  color: var(--text-2);
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-thumb.active .detail-thumb-label {
  color: var(--primary);
  font-weight: 700;
}
.detail-info {
  display: flex;
  flex-direction: column;
}
.detail-cat {
  font: 700 12px var(--font-ui);
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.detail-title {
  font: 800 36px/1.1 var(--font-brand);
  color: var(--text);
  margin: 0 0 10px;
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.detail-rating .stars {
  color: var(--stats-amber);
  font-size: 18px;
}
.detail-rating .rating-text {
  font: 500 13px var(--font-ui);
  color: var(--text-3);
}
.detail-price {
  font: 800 32px var(--font-brand);
  color: var(--text);
  margin-bottom: 20px;
}
.detail-desc {
  font: 400 15px/1.6 var(--font-ui);
  color: var(--text-2);
  margin: 0 0 30px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
}
.variant-section {
  margin-bottom: 20px;
}
.variant-label {
  display: block;
  font: 700 13px var(--font-ui);
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.variant-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
/* 10'dan çok seçenek (ör. kanvas tabloda 60 beden) düğme yerine açılır listede. */
.variant-options-select {
  display: block;
}
.variant-select {
  width: 100%;
  max-width: 320px;
  padding: 11px 38px 11px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--surface);
  color: var(--text);
  font: 600 14px var(--font-ui);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.variant-select:focus,
.variant-select:hover {
  border-color: var(--primary);
  outline: none;
}
.variant-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: 600 13px var(--font-ui);
  cursor: pointer;
  transition: all 0.2s;
}
.variant-btn:hover {
  border-color: var(--primary);
}
.variant-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-subtle-text);
  box-shadow: 0 0 0 2px var(--primary);
}
.detail-actions {
  margin-top: 30px;
}
.btn-buy-now {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Tam boy görsel (lightbox) — detay kutusundaki büyüteç/tıklama ile açılır. */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.image-lightbox[hidden] {
  display: none;
}
body.lightbox-open {
  overflow: hidden;
}
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}
.lightbox-figure img {
  max-width: min(900px, 100%);
  max-height: calc(100dvh - 140px);
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: #fff;
  cursor: default;
}
.lightbox-caption {
  font: 600 14px var(--font-ui);
  color: #fff;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* Related Products Section */
.related-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
}
.related-title {
  font: 700 24px var(--font-brand);
  color: var(--text);
  margin-bottom: 30px;
}

@media (max-width: 800px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }
  .product-detail-container {
    padding: 45px 15px 40px;
  }
}





/* ==================== STYLES FROM STATS.HTML ==================== */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card, 18px);
  padding: 22px 14px;
  text-align: center;
  flex: 1 1 150px;
  max-width: 220px;
  position: relative;
}

/* TEK KPI STANDARDI — her kartta aynı ikon rozeti (bazıları ikonlu bazıları
   ikonsuz kalmasın). Rozet üstte ortalı, sayı ve etiketle aynı eksende. */
.kpi-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  border-radius: 11px;
  background: rgba(var(--ink-rgb), .05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .kpi-icon { background: rgba(var(--paper-rgb), .06); }
.kpi-icon svg { width: 19px; height: 19px; display: block; }
/* Rekor kartı dolu zeminde — rozet ve ikon beyaza döner */
.kpi-record .kpi-icon { background: rgba(var(--paper-rgb), .18); }
.kpi-record .kpi-icon svg { stroke: var(--on-accent); }

    .kpi-num {
      font: 800 34px/1 var(--font-ui, sans-serif);
      color: var(--text);
      font-variant-numeric: tabular-nums;
      letter-spacing: -.01em;
    }

    .kpi-lbl {
      margin-top: 8px;
      font: 600 13px/1.3 var(--font-ui);
      color: var(--text-3);
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .kpi.kpi-record {
      background: linear-gradient(135deg, var(--primary), var(--primary-subtle-text, var(--primary)));
      border-color: transparent;
    }

    .kpi-record .kpi-num,
    .kpi-record .kpi-lbl,
    .kpi-record .kpi-sub {
      color: var(--on-accent);
    }

    .kpi-sub {
      margin-top: 4px;
      font: 600 12px/1.3 var(--font-ui);
      color: var(--text-3);
    }

    .kpi-online .dot {
      display: inline-block;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--green);
      margin-right: 6px;
      vertical-align: middle;
      animation: pulse 1.6s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        box-shadow: 0 0 0 0 rgba(var(--green-rgb), .6);
      }

      50% {
        box-shadow: 0 0 0 7px rgba(var(--green-rgb), 0);
      }
    }

    .stats-panels {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    @media (max-width: 760px) {
      .stats-panels {
        grid-template-columns: 1fr;
      }
    }

    .panel {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-card, 18px);
      padding: 22px;
    }

    .panel h3 {
      font: 700 15px/1 var(--font-ui);
      color: var(--text);
      margin: 0 0 16px;
    }

    .panel-sub {
      font: 500 12.5px/1.3 var(--font-ui);
      color: var(--text-3);
      margin: -11px 0 16px;
    }

    #s-recg svg {
      display: block;
    }

    .panel.full {
      grid-column: 1 / -1;
    }

    /* trend bars */
    .trend {
      display: flex;
      align-items: flex-end;
      gap: 6px;
      height: 150px;
    }

    .trend .bar {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      height: 100%;
    }

    .trend .bar i {
      width: 100%;
      max-width: 34px;
      background: linear-gradient(180deg, var(--primary), var(--primary-subtle-text, var(--primary)));
      border-radius: 6px 6px 0 0;
      min-height: 3px;
      transition: height .6s ease;
    }

    .trend .bar span {
      font: 600 10px/1 var(--font-ui);
      color: var(--text-3);
      white-space: nowrap;
    }

    /* veri kaydı olmayan gün (tracking kesintisi): soluk, kesik konturlu bar */
    .trend .bar.trend-gap i {
      background: transparent;
      border: 1px dashed var(--border-subtle, #D1D5DB);
      border-bottom: none;
      min-height: 10px;
    }

    /* horizontal rows (devices/countries) */
    .rows {
      display: grid;
      gap: 12px;
    }

    .row-item {
      display: grid;
      grid-template-columns: 1.4fr 3fr auto;
      align-items: center;
      gap: 10px;
    }

    .row-item .rl {
      font: 600 13.5px/1.2 var(--font-ui);
      color: var(--text-2);
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .row-item .rb {
      height: 9px;
      border-radius: 999px;
      background: var(--border-subtle, #eee);
      overflow: hidden;
    }

    .row-item .rb i {
      display: block;
      height: 100%;
      background: linear-gradient(90deg, var(--primary), var(--primary-subtle-text, var(--primary)));
      border-radius: 999px;
      transition: width .6s ease;
    }

    .row-item .rv {
      font: 700 13px/1 var(--font-ui);
      color: var(--text-3);
      font-variant-numeric: tabular-nums;
    }

    .stats-since {
      margin: 12px 0 0;
      font: 600 12.5px/1.4 var(--font-ui);
      color: var(--text-3);
    }

    .stats-since b {
      color: var(--primary);
      font-weight: 700;
    }

    .stats-empty {
      text-align: center;
      color: var(--text-3);
      padding: 30px;
      font: 600 14px var(--font-ui);
    }

    @media (prefers-reduced-motion: reduce) {
      .kpi-online .dot {
        animation: none;
      }

      .trend .bar i,
      .row-item .rb i {
        transition: none;
      }
    }


/* ==================== STYLES FROM KEYWORDS.HTML ==================== */
/* DİNAMİK keyword/konu bulutu — büyük havuzdan her yüklemede rastgele alt küme
     (EGEROBOT /cloud deseni). Botlar sürekli değişen "canlı" sayfa görür. */

    .kw-actions {
      display: flex;
      justify-content: center;
      margin: 4px 0 30px;
    }

    .kw-refresh {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      cursor: pointer;
      border-radius: var(--radius-full, 999px);
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--text-2);
      font: 600 14px/1 var(--font-ui, sans-serif);
      transition: color .15s, border-color .15s;
    }

    .kw-refresh:hover {
      color: var(--primary);
      border-color: var(--primary);
    }

    .kw-refresh svg {
      width: 16px;
      height: 16px;
    }

    .kw-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      max-width: 940px;
      margin: 0 auto;
    }

    .kw-chip {
      display: inline-flex;
      align-items: center;
      padding: 9px 16px;
      border-radius: var(--radius-full, 999px);
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--text-2);
      font: 600 14px/1.2 var(--font-ui, sans-serif);
      transition: transform .15s, border-color .15s, color .15s;
    }

    .kw-chip:hover,
    .kw-chip:focus-visible {
      transform: translateY(-2px);
      color: var(--primary-subtle-text, var(--primary));
      border-color: var(--primary);
    }

    .kw-chip.kw-lg {
      font-size: 16px;
      padding: 11px 20px;
    }

    .kw-foot {
      text-align: center;
      margin-top: 34px;
      font: 500 12.5px/1.4 var(--font-ui);
      color: var(--text-3);
    }

    @media (prefers-reduced-motion: reduce) {
      .kw-chip {
        transition: none;
      }

      .kw-chip:hover {
        transform: none;
      }
    }
    .kw-hero .container {
      position: relative;
      z-index: 1;
    }
    .kw-hero h1 {
      font-size: clamp(27px, 3.4vw, 38px);
    }


/* ==================== STYLES FROM PIPPA.HTML ==================== */
.pip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.pip-card {
  border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  background: var(--inset); padding: 18px; text-align: center;
}
.pip-card img { width: 100%; max-width: 220px; margin: 0 auto; }
.pip-card b { display: block; font: 650 14px/1.3 var(--font-brand); color: var(--text); margin-top: 8px; }
.pip-card span { font: 500 12px/1.4 var(--font-ui); color: var(--text-3); }
@media (max-width: 760px) { .pip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pip-grid { grid-template-columns: 1fr; } }


/* ==================== STYLES FROM PRESS.HTML ==================== */
.press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 6px; }
.press-asset {
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background: var(--inset); padding: 18px; text-align: center;
}
.press-asset .pa-frame {
  display: flex; align-items: center; justify-content: center; height: 96px;
  background: var(--surface); border-radius: var(--radius-md); margin-bottom: 12px; padding: 12px;
}
.press-asset .pa-frame.dark { background: var(--stats-frame-dark); }
.press-asset img { max-height: 64px; width: auto; }
.press-asset b { display: block; font: 650 13.5px/1.3 var(--font-brand); color: var(--text); margin-bottom: 8px; }
.press-asset .pa-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.press-asset .pa-links a {
  font: 700 11px/1 var(--font-ui); letter-spacing: .05em;
  border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 6px 12px; color: var(--primary-subtle-text);
}
.press-asset .pa-links a:hover { border-color: var(--primary); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.swatch { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); }
.swatch .sw-color { height: 64px; }
.swatch .sw-meta { padding: 9px 12px; background: var(--surface); font: 600 11.5px/1.4 var(--font-ui); color: var(--text-2); }
.swatch .sw-meta code { display: block; color: var(--text-3); font-size: 11px; }
.fact-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
@media (max-width: 620px) { .press-grid, .swatches { grid-template-columns: 1fr 1fr; } }


/* ==================== STYLES FROM SUPPORT.HTML ==================== */
.sup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.sup-card {
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background: var(--inset); padding: 20px;
}
.sup-card .s-ico {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  background: var(--primary-subtle);
}
.sup-card b { display: block; font: 650 15px/1.3 var(--font-brand); color: var(--text); margin-bottom: 6px; }
.sup-card p { font-size: 13.5px !important; margin: 0 !important; }
.sup-card a { font-weight: 600; }
@media (max-width: 620px) { .sup-grid { grid-template-columns: 1fr; } }


/* ==================== STYLES FROM SITE-MAP.HTML ==================== */
.sitemap-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  width: 100%;
  margin: 0 auto;
}
.sitemap-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sitemap-col:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-lg);
}
@media (max-width: 900px) {
  .sitemap-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .sitemap-grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sitemap-col {
    gap: 28px;
    padding: 24px;
  }
}
  .sm-group h2 { font: 700 14px/1 var(--font-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
  .sm-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
  .sm-group a { color: var(--text-2); font-size: 14.5px; font-weight: 550; }
  .sm-group a:hover { color: var(--primary); }
  .sitemap-section { padding-bottom: 24px !important; }
  .sm-xml { text-align: center; margin-top: 30px; padding: 12px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); font: 600 13.5px/1.7 var(--font-ui); color: var(--text-3); }
  .sm-xml a { color: var(--primary); }


/* ==================== STYLES FROM 404.HTML ==================== */
.error-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: radial-gradient(circle at 10% 20%, rgba(var(--brand-rgb), 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(var(--brand-rgb), 0.05) 0%, transparent 40%);
}
.error-card {
  max-width: 540px;
  width: 100%;
  padding: 50px 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(var(--ink-rgb), 0.03);
  backdrop-filter: blur(12px);
}
.error-code {
  font: 800 80px var(--font-brand);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.error-title {
  font: 700 28px/1.2 var(--font-brand);
  color: var(--text);
  margin: 20px 0 12px;
}
.error-desc {
  font: 400 15px/1.6 var(--font-ui);
  color: var(--text-2);
  margin: 0 0 35px;
}
.error-mascot {
  margin-bottom: 25px;
  display: inline-flex;
  justify-content: center;
}
.error-mascot-img {
  width: 280px;
  height: 280px;
  max-width: 100%;
  object-fit: contain;
}


/* ==================== STYLES FROM 500.HTML ==================== */
.error-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: radial-gradient(circle at 10% 20%, rgba(var(--brand-rgb), 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(var(--brand-rgb), 0.05) 0%, transparent 40%);
}
.error-card {
  max-width: 540px;
  width: 100%;
  padding: 50px 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(var(--ink-rgb), 0.03);
  backdrop-filter: blur(12px);
}
.error-code {
  font: 800 80px var(--font-brand);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.error-title {
  font: 700 28px/1.2 var(--font-brand);
  color: var(--text);
  margin: 20px 0 12px;
}
.error-desc {
  font: 400 15px/1.6 var(--font-ui);
  color: var(--text-2);
  margin: 0 0 35px;
}
.error-mascot {
  margin-bottom: 25px;
  display: inline-flex;
  justify-content: center;
}
.error-mascot-img {
  width: 280px;
  height: 280px;
  max-width: 100%;
  object-fit: contain;
}


/* ==================== STYLES FROM 403.HTML ==================== */
.error-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: radial-gradient(circle at 10% 20%, rgba(var(--brand-rgb), 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(var(--brand-rgb), 0.05) 0%, transparent 40%);
}
.error-card {
  max-width: 540px;
  width: 100%;
  padding: 50px 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(var(--ink-rgb), 0.03);
  backdrop-filter: blur(12px);
}
.error-code {
  font: 800 80px var(--font-brand);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.error-title {
  font: 700 28px/1.2 var(--font-brand);
  color: var(--text);
  margin: 20px 0 12px;
}
.error-desc {
  font: 400 15px/1.6 var(--font-ui);
  color: var(--text-2);
  margin: 0 0 35px;
}
.error-mascot {
  margin-bottom: 25px;
  display: inline-flex;
  justify-content: center;
}
.error-mascot-img {
  width: 280px;
  height: 280px;
  max-width: 100%;
  object-fit: contain;
}


/* ==================== STYLES FROM 503.HTML ==================== */
.error-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: radial-gradient(circle at 10% 20%, rgba(var(--brand-rgb), 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(var(--brand-rgb), 0.05) 0%, transparent 40%);
}
.error-card {
  max-width: 540px;
  width: 100%;
  padding: 50px 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(var(--ink-rgb), 0.03);
  backdrop-filter: blur(12px);
}
.error-code {
  font: 800 80px var(--font-brand);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.error-title {
  font: 700 28px/1.2 var(--font-brand);
  color: var(--text);
  margin: 20px 0 12px;
}
.error-desc {
  font: 400 15px/1.6 var(--font-ui);
  color: var(--text-2);
  margin: 0 0 35px;
}
.error-mascot {
  margin-bottom: 25px;
  display: inline-flex;
  justify-content: center;
}
.error-mascot-img {
  width: 280px;
  height: 280px;
  max-width: 100%;
  object-fit: contain;
}

/* Mobile Handoff QR Code Tooltip Styles */
.footer-qr-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.footer-qr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-3);
  font-size: 13.5px;
  font-weight: 600;
  transition: color .15s;
}
.footer-qr-trigger:hover {
  color: var(--primary);
  text-decoration: underline;
}
.footer-qr-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  margin-bottom: 14px;
  padding: 12px;
  background: var(--stats-card);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(var(--ink-rgb),0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 140px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 100;
  pointer-events: none;
}
.footer-qr-container:hover .footer-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.footer-qr-code-wrapper {
  padding: 6px;
  background: var(--neutral-0);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-qr-img {
  display: block;
}
.footer-qr-desc {
  font-size: 10.5px;
  color: var(--stats-card-text);
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
}
.footer-qr-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--stats-card);
}

.footer-share-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.footer-share-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-3) !important;
  font-size: 13.5px;
  font-weight: 600;
  transition: color .15s;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.footer-share-trigger:hover {
  color: var(--primary) !important;
  text-decoration: underline;
}
.footer-share-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  margin-bottom: 14px;
  padding: 20px;
  background: var(--surface) !important;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(var(--ink-rgb),0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 1000;
  pointer-events: none;
}
.footer-share-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.share-popup-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  text-align: left;
}
.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 10px;
}
.share-grid-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  text-align: center;
}
.share-grid-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, filter .15s ease;
}
.share-grid-opt:hover .share-grid-icon {
  transform: scale(1.08);
}
.share-grid-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.share-grid-icon.ws { background: var(--social-whatsapp-bg); color: var(--social-whatsapp); }
.share-grid-icon.x { background: var(--surface-2); color: var(--text-1); border: 1px solid var(--border); }
.share-grid-icon.fb { background: var(--social-blue-bg); color: var(--social-facebook); }
.share-grid-icon.ln { background: var(--social-blue-bg); color: var(--social-linkedin); }
.share-grid-icon.mail { background: var(--social-mail-bg); color: var(--social-mail); }
.share-grid-icon.copy { background: var(--social-copy-bg); color: var(--social-copy); }
.share-grid-icon.native { background: var(--social-native-bg); color: var(--social-native); }

.share-grid-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.2;
}
.footer-share-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--surface) !important;
}


/* ==================== STYLES FROM SOON.HTML ==================== */
.soon-container {
  padding-top: 60px !important;
}

/* ==================== STATS ENHANCEMENTS ==================== */
.kpi-prem {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1 1 200px;
  max-width: 260px;
  min-width: 180px;
  text-align: left;
}
.kpi-prem-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kpi-prem-lbl {
  font: 700 11.5px/1.2 var(--font-ui);
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.kpi-prem-num {
  font: 800 32px/1 var(--font-ui, sans-serif);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.kpi-prem-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--ink-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .kpi-prem-icon {
  background: rgba(var(--paper-rgb), 0.05);
}

/* Horizontal Countries Bar Chart */
.bar-chart-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}
.bar-chart-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bar-chart-label {
  font: 600 13px var(--font-ui);
  color: var(--text-2);
  width: 120px;
  flex-shrink: 0;
  text-align: left;
}
.bar-chart-bar-bg {
  flex-grow: 1;
  height: 24px;
  background: var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
}
.bar-chart-bar-fill {
  height: 100%;
  background: var(--stats-danger);
  border-radius: 6px;
  transition: width 0.8s ease-out;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}
.bar-chart-bar-val {
  font: 700 11px var(--font-ui);
  color: var(--on-accent);
}

/* Geographic Distribution Progress Bars */
.geo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}
@media (max-width: 600px) {
  .geo-grid {
    grid-template-columns: 1fr;
  }
}
.geo-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.geo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.geo-name {
  font: 600 13.5px var(--font-ui);
  color: var(--text-2);
}
.geo-val {
  font: 700 13.5px var(--font-ui);
  color: var(--text);
}
.geo-progress-bg {
  width: 100%;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}
.geo-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.8s ease-out;
}

/* Top Read Pages / Referrers */
.pages-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.page-row:last-child {
  border-bottom: none;
}
.page-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.page-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 11.5px var(--font-ui);
  flex-shrink: 0;
}
.page-rank.top-1 { background: var(--rank-1); color: var(--on-accent); }
.page-rank.top-2 { background: var(--rank-2); color: var(--on-accent); }
.page-rank.top-3 { background: var(--rank-3); color: var(--on-accent); }
.page-rank.top-other { background: var(--border-strong); color: var(--text-2); }
.page-path {
  font: 500 13.5px var(--font-ui);
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-badge {
  background: var(--border-strong);
  color: var(--text);
  font: 700 11px var(--font-ui);
  padding: 4px 8px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Live Data Stream */
.live-stream-container {
  overflow-x: auto;
  margin-top: 10px;
}
.live-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.live-table th {
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-strong);
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .05em;
}
.live-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-2);
  vertical-align: middle;
}
.live-table tbody tr {
  animation: fadeInRow 0.5s ease-out;
}
.live-table tbody tr:hover {
  background: rgba(var(--ink-rgb), 0.02);
}
[data-theme="dark"] .live-table tbody tr:hover {
  background: rgba(var(--paper-rgb), 0.02);
}
@keyframes fadeInRow {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 12px;
  font: 700 10.5px var(--font-ui);
  text-transform: uppercase;
}
.live-badge.human {
  background: rgba(var(--green-rgb), 0.12);
  color: var(--green);
}
.live-badge.bot {
  background: rgba(var(--muted-rgb), 0.12);
  color: var(--text-3);
}
.live-badge svg {
  flex-shrink: 0;
}

