/* ==========================================================================
   MusclePull — Landing Page
   1. Tokens · 2. Reset · 3. Layout · 4. Buttons · 5. Nav · 6. Hero
   7. Phone · 8. Soon · 9. Stats · 10. Features · 11. Steps · 12. Showcase
   13. FAQ · 14. Waitlist · 15. Footer · 16. Motion · 17. Responsive
   ========================================================================== */

/* ── 1. TOKENS ───────────────────────────────────────────────────────── */
/* ══════════════════════════════════════════════════════════════════════
   TASARIM TOKEN'LARI

   Marka renkleri iki temada da aynıdır. Zemin/yüzey/metin/kenarlık
   token'ları temaya göre değişir; bileşenler sabit renk KULLANMAZ, hep
   bu token'lara bakar. Böylece tema eklemek tek yerden yapılır.

   GRADYAN SİSTEMİ — hepsi 135° ve aynı iki durakta (mavi → amber):
     --grad        : dolu yüzeyler (buton, logo, rozet)
     --grad-soft   : metin ve ince vurgular (bir ton açık)
     --grad-line   : 90° çizgi/ayraç
   Ad hoc gradyan yazma; bu üçünü kullan.
   ══════════════════════════════════════════════════════════════════════ */
:root {
  color-scheme: dark;

  /* — Marka (tema bağımsız) — */
  --primary: #6079F6;
  --primary-2: #8094FF;
  --accent: #BE8B3F;
  --accent-2: #D7AB5A;

  --grad: linear-gradient(135deg, #6079F6, #C99647);
  --grad-soft: linear-gradient(135deg, #8A9BFF, #E0B866);
  --grad-line: linear-gradient(90deg, #6079F6, #C99647);

  /* — Zeminler — */
  --bg: #111113;
  --bg-2: #19191C;

  /* — Cam yüzeyler (üst üste binen katmanlar) — */
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(255, 255, 255, 0.10);
  --surface-sunken: rgba(0, 0, 0, 0.26);

  /* — Metin — */
  --text: #F0F0F2;
  --text-muted: #AAAAB3;
  --text-dim: #898991;
  --brand-text: #9BAAFF;

  /* — Kenarlıklar — */
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  /* — Gölge & ışıma — */
  --shadow: 0 20px 44px rgba(0, 0, 0, .32);
  --shadow-lg: 0 30px 76px rgba(0, 0, 0, .48);
  --glow-primary: 0 12px 28px rgba(96, 121, 246, .24);

  /* — Arka plan ışıma topları — */
  --orb-blue: rgba(96, 121, 246, .18);
  --orb-amber: rgba(190, 139, 63, .12);
  --orb-cta: rgba(96, 121, 246, .10);
  --texture: rgba(255, 255, 255, .045);
  --grid-line: rgba(255, 255, 255, .038);
  --grid-dot: rgba(255, 255, 255, .09);

  /* — Gezinme çubuğu — */
  --nav-bg: rgba(17, 17, 19, .76);
  --nav-mobile-bg: rgba(17, 17, 19, .97);
}

/* ── AÇIK TEMA ────────────────────────────────────────────────────────
   Sadece anlamsal token'lar değişir; tek bir bileşen kuralı yeniden
   yazılmaz. Marka renkleri aynı kalır, açık zeminde okunabilirlik için
   --brand-text koyulaştırılır (#3B82F6 beyaz üstünde 3.68:1 ile AA'nın
   altında kalıyordu; #1D4ED8 ile 6.3:1 oluyor).                        */
[data-theme="light"] {
  color-scheme: light;

  --bg: #F7F6F2;
  --bg-2: #EFEEE9;

  --surface: rgba(23, 23, 26, 0.035);
  --surface-2: rgba(23, 23, 26, 0.065);
  --surface-3: rgba(23, 23, 26, 0.10);
  --surface-sunken: rgba(255, 255, 255, 0.60);

  --text: #1B1B1E;
  --text-muted: #5E5E66;
  --text-dim: #74747C;
  --brand-text: #465ED0;

  --border: rgba(23, 23, 26, 0.11);
  --border-2: rgba(23, 23, 26, 0.18);

  --shadow: 0 16px 38px rgba(27, 27, 30, .09);
  --shadow-lg: 0 28px 64px rgba(27, 27, 30, .13);
  --glow-primary: 0 12px 28px rgba(96, 121, 246, .20);

  --orb-blue: rgba(96, 121, 246, .10);
  --orb-amber: rgba(190, 139, 63, .09);
  --orb-cta: rgba(96, 121, 246, .07);
  --texture: rgba(23, 23, 26, .05);
  --grid-line: rgba(23, 23, 26, .055);
  --grid-dot: rgba(23, 23, 26, .10);

  --nav-bg: rgba(247, 246, 242, .80);
  --nav-mobile-bg: rgba(247, 246, 242, .97);

  /* Gradyan METİN açık zeminde koyulaşır: #FBBF24 beyaz üstünde 1.7:1
     ile okunmaz. Dolu yüzeylerdeki --grad aynı kalır, orada metin beyaz. */
  --grad-soft: linear-gradient(135deg, #465ED0, #93651F);
}

/* ── Ölçü & hareket (tema bağımsız) ─────────────────────────────────── */
:root {
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 550ms;

  --maxw: 1200px;
  --pad: 24px;
  --nav-h: 68px;
}

/* ── 2. RESET & BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Zeminde çok hafif derinlik */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(900px 600px at 12% -5%, var(--orb-cta), transparent 60%),
    radial-gradient(700px 500px at 92% 8%, var(--orb-amber), transparent 60%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  pointer-events: none;
}

/* Tema geçişi yumuşak olsun ama sayfa açılışında tetiklenmesin */
body, .card, .nav, .footer, .faq-item, .stat, .feature {
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input { font: inherit; }

:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(37, 99, 235, .35); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 999; padding: 10px 18px; border-radius: 0 0 12px 12px;
  background: var(--primary); color: #fff; font-weight: 600;
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* Feature icons + inline ikonlar: ortak stroke ayarı */
svg[viewBox="0 0 24 24"] path,
svg[viewBox="0 0 24 24"] circle,
svg[viewBox="0 0 24 24"] rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── 3. LAYOUT ───────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container-narrow { max-width: 820px; }

.section { position: relative; padding-block: clamp(72px, 11vw, 128px); }

/* NOT: Burada `content-visibility: auto` denendi ve kaldırıldı. Bölüm
   yükseklikleri 371–1647px arasında değiştiği için tek bir
   contain-intrinsic-size tahmini tutmuyor; çapa linkleri yanlış yere
   atlıyor ve kaydırma çubuğu zıplıyordu. Görselsiz ve gzip'te ~24KB olan
   bu sayfada kazancı riskini karşılamıyor. Asıl hız kazancı .htaccess
   içindeki sıkıştırma + önbellek başlıklarından geliyor. */
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto clamp(40px, 6vw, 64px); }

.eyebrow {
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-text); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 700; }
.section-sub { margin-top: 16px; color: var(--text-muted); font-size: 1.0625rem; }

.grad {
  background: var(--grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

/* Gradyan glow topları */
.orb {
  position: absolute;
  width: min(520px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.orb-blue { background: var(--orb-blue); top: -8%; left: -12%; }
.orb-amber { background: var(--orb-amber); bottom: -18%; right: -14%; }
.orb-cta { background: var(--orb-cta); top: 10%; left: 50%; transform: translateX(-50%); }

.grid-texture {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 1.1px),
    linear-gradient(var(--texture) 1px, transparent 1px),
    linear-gradient(90deg, var(--texture) 1px, transparent 1px);
  background-size: 24px 24px, 72px 72px, 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
}

/* ── 4. BUTTONS ──────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }

.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .875rem; }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: var(--glow-primary);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .5s var(--ease);
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35), transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 16px 40px rgba(37, 99, 235, .45); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-2); }

/* ── 5. NAV ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark rect, .brand-mark path { stroke-width: 1.5; }
.brand-name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.02em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a:not(.btn) {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-links > a:not(.btn):hover { color: var(--text); background: var(--surface); }
.nav-cta { margin-left: 8px; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ── Dil seçici (TR / EN) ─────────────────────────────────────────────
   Sunucu tarafı bağlantılar — JS kapalıyken de çalışır. */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.lang-opt {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  color: var(--text-muted);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.lang-opt:hover { color: var(--text); }
.lang-opt.is-active {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}

.theme-toggle {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.theme-toggle:hover { color: var(--text); background: var(--surface-2); border-color: var(--border-2); }
.theme-toggle svg { width: 18px; height: 18px; }
/* Koyu temada ay, açık temada güneş göster */
.theme-toggle .ico-sun { display: none; }
[data-theme="light"] .theme-toggle .ico-sun { display: block; }
[data-theme="light"] .theme-toggle .ico-moon { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. HERO ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(64px, 9vw, 110px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
/* Grid öğelerinin min-content genişliği izi şişirmesin */
.hero-copy, .phone-stage { min-width: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .875rem; font-weight: 500; color: var(--text);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, .16);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

.hero-title {
  margin-top: 24px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
}
.hero-sub {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--text-muted);
}

.launch-link {
  display: inline-flex; align-items: center; gap: 9px;
  width: fit-content; margin-top: 18px;
  padding: 8px 13px 8px 10px;
  border: 1px solid rgba(245, 158, 11, .28);
  border-radius: 999px;
  color: var(--accent-2); background: rgba(245, 158, 11, .08);
  font-size: .8125rem; font-weight: 700;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.launch-link:hover { transform: translateY(-2px); border-color: rgba(245, 158, 11, .5); background: rgba(245, 158, 11, .13); }
.launch-link svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(245, 158, 11, .14); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .btn-ghost svg { transition: transform .3s var(--ease); }
.hero-cta .btn-ghost:hover svg { transform: translateY(3px); }
.hero-cta .btn-primary svg { transition: transform .3s var(--ease); }
.hero-cta .btn-primary:hover svg { transform: translateX(3px); }

.hero-trust {
  margin-top: 22px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .875rem; color: var(--text-muted);
}
.hero-trust svg { width: 16px; height: 16px; color: #34D399; flex: none; }
/* Dekoratif ayraç (aria-hidden): metinden sönük ama seçilebilir kalsın */
.hero-trust i { color: var(--text-dim); opacity: .5; font-style: normal; }

/* ── 7. TELEFON MOCKUP ───────────────────────────────────────────────── */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}
.phone {
  --rx: 6deg;
  --ry: -18deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  /* will-change kalıcı değil: parallax sürerken script.js açıp kapatıyor */
}
.phone-float { animation: float 5s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes float {
  0%, 100% { transform: translateY(-12px); }
  50% { transform: translateY(12px); }
}

.phone-shell {
  position: relative;
  width: clamp(258px, 68vw, 292px);
  aspect-ratio: 9 / 19.2;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(160deg, #1E293B, #0B1120 42%, #131B2E);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    -22px 34px 70px rgba(0, 0, 0, .65),
    inset 0 1px 1px rgba(255, 255, 255, .18);
}
/* Yan tuşlar */
.phone-btn {
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #334155, #1E293B);
  box-shadow: -1px 0 2px rgba(0, 0, 0, .6);
}
.phone-btn-1 { left: -3px; top: 108px; height: 30px; }
.phone-btn-2 { left: -3px; top: 148px; height: 52px; }
.phone-btn-3 { right: -3px; top: 130px; height: 68px; background: linear-gradient(180deg, #3B4A63, #1E293B); }

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  /* Ekran içeriği için ölçü kabı — aşağıda 1em, telefon genişliğinin
     sabit bir oranı olur. Telefon büyüyüp küçülse de düzen birebir aynı. */
  container-type: inline-size;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(37, 99, 235, .22), transparent 60%),
    linear-gradient(180deg, #0D1526, #0B1120);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; border-radius: 999px; background: #05080F;
  z-index: 3; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 9px;
}
.phone-notch i {
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #334155, #05080F 70%);
  box-shadow: inset 0 0 2px rgba(96, 165, 250, .6);
}

/* — Ekran içeriği —
   Telefon genişliği 258–292px arasında değiştiği için ekran yüksekliği de değişir.
   Kartlar sabit; artan boşluğu grafik kartı esneyerek yutar, böylece hiçbir
   boyutta ne alt tarafta ölü boşluk ne de taşma oluşur. */
/* Ekran içeriğinin tamamı `em` cinsinden ölçülür ve 1em, ekran genişliğinin
   sabit bir yüzdesidir (3.7cqw â‰ˆ 270px genişlikte 10px). Telefon 258–292px
   arasında değişirken yazı, boşluk ve kart yükseklikleri hep aynı oranda
   büyüyüp küçülür — hiçbir genişlikte taşma ya da ölü boşluk oluşmaz. */
.app, .app-tabbar { font-size: 3.7cqw; }

.app {
  height: 100%;
  padding: 3.8em 1.3em 6.2em;   /* alt: tab bar payı + nefes */
  display: flex;
  flex-direction: column;
  gap: .8em;
}

/* <b> içiçe kalınlaşıp 900'e sıçramasın (fazladan font ağırlığı indirtir) */
.app b { font-weight: inherit; }

/* Ekrandaki tüm ikonlar aynı ince çizgi diliyle */
.app svg { width: 100%; height: 100%; }
.app svg path, .app svg rect, .app svg circle { stroke-width: 1.9; }

/* — Üst çubuk — */
.ap-bar { display: flex; align-items: center; gap: .7em; padding-bottom: .2em; }
.ap-menu { display: flex; flex-direction: column; gap: .25em; flex: none; padding: .2em; }
.ap-menu i { display: block; width: 1.1em; height: .15em; border-radius: .2em; background: var(--text-muted); }
.ap-brand { display: flex; align-items: center; gap: .5em; font-size: 1.05em; font-weight: 700; letter-spacing: -0.01em; }
.ap-logo {
  width: 1.7em; height: 1.7em; padding: .33em; flex: none;
  border-radius: .57em; color: #fff; background: var(--primary);
}
.ap-actions { display: flex; align-items: center; gap: .5em; margin-left: auto; }
.ap-ic { width: 1.3em; height: 1.3em; color: var(--text-muted); }
.ap-avatar {
  width: 1.9em; height: 1.9em; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: .75em; font-weight: 800; color: #fff; background: var(--primary);
}

/* — Karşılama — */
.ap-greet { padding-left: .7em; border-left: .25em solid var(--primary-2); }
.ap-hello { font-size: 1.25em; font-weight: 800; letter-spacing: -0.02em; }
.ap-sub {
  font-size: .75em; color: var(--text-muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* — Kart tabanı — */
.ap-card {
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--border);
  border-radius: 1.2em;
  padding: .9em;
}

/* — Seri kartı — */
.ap-streak { display: flex; align-items: center; gap: 1em; }
.st-badge {
  flex: none; width: 5em; padding: .7em .4em;
  display: flex; flex-direction: column; align-items: center; gap: .1em;
  border-radius: 1em; background: rgba(11, 17, 32, .55); border: 1px solid var(--border);
}
.st-badge svg { width: 1.3em; height: 1.3em; color: var(--accent-2); }
.st-badge strong { font-size: 1.5em; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.st-badge small { font-size: .65em; color: var(--text-muted); }
.st-body { min-width: 0; }
.st-body > strong { display: block; font-size: 1.05em; font-weight: 700; }
.st-body > p { font-size: .75em; color: var(--text-muted); line-height: 1.4; margin-top: .1em; }
.st-rec { display: flex; align-items: center; gap: .4em; margin-top: .4em; color: var(--accent-2) !important; font-weight: 600; }
.st-rec svg { width: .9em; height: .9em; flex: none; }

/* — Haftalık aktivite (artan/eksilen boşluğu bu kart yutar) — */
.ap-week { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.wk-head { display: flex; align-items: center; gap: .6em; margin-bottom: .8em; }
.wk-ic {
  width: 1.7em; height: 1.7em; padding: .33em; flex: none; border-radius: .57em;
  color: var(--primary-2); background: rgba(59, 130, 246, .16);
}
.wk-head strong { font-size: 1em; font-weight: 700; }
.wk-meta { margin-left: auto; font-size: .75em; color: var(--text-muted); white-space: nowrap; }
.wk-meta b { color: var(--text); font-weight: 700; }

.wk-bars { display: flex; align-items: flex-end; gap: .4em; flex: 1 1 auto; min-height: 3.4em; max-height: 9.6em; }
.wk-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .3em; height: 100%; min-width: 0; }
.wk-bar i {
  display: block; width: 100%; height: 100%; border-radius: .3em;
  background: linear-gradient(180deg, var(--primary-2), rgba(37, 99, 235, .3));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .8s var(--ease);
  transition-delay: calc(var(--i) * 70ms + .2s);
}
.wk-bar.today i { background: linear-gradient(180deg, var(--accent-2), rgba(245, 158, 11, .3)); }
.wk-bar.off i { background: rgba(255, 255, 255, .10); }
.wk-bars.on .wk-bar i { transform: scaleY(var(--h)); }
.wk-bar small { font-size: .65em; color: var(--text-muted); }

/* — 2x2 istatistik ızgarası — */
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; }
.ap-stat {
  padding: .8em .9em; border-radius: 1.2em; min-width: 0;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--border);
}
.ap-stat-top {
  display: flex; align-items: center; justify-content: space-between; gap: .5em;
  font-size: .75em; color: var(--text-muted); margin-bottom: .5em;
  white-space: nowrap;   /* "Toplam antrenman" alt satıra kaçmasın */
}
.ap-stat strong { display: flex; align-items: baseline; gap: .3em; }
.ap-stat b { font-size: 1.4em; font-weight: 800; letter-spacing: -0.03em; }
.ap-stat em { font-size: .7em; font-style: normal; color: var(--text-muted); }

.si { width: 1.5em; height: 1.5em; padding: .3em; flex: none; border-radius: .5em; }
.si-flame { color: var(--accent-2); background: rgba(245, 158, 11, .16); }
.si-blue  { color: var(--primary-2); background: rgba(59, 130, 246, .16); }
.si-pink  { color: #F472B6; background: rgba(244, 114, 182, .16); }
.si-cyan  { color: #22D3EE; background: rgba(34, 211, 238, .16); }
.si-amber { color: var(--accent-2); background: rgba(245, 158, 11, .16); }

/* — Bugünkü durum — */
.td-head { display: flex; align-items: center; justify-content: space-between; gap: .8em; margin-bottom: .8em; }
.td-head strong { font-size: 1.05em; font-weight: 700; }
.td-head span { font-size: .65em; color: var(--text-muted); white-space: nowrap; }
.td-inner { padding: .9em 1em; border-radius: 1em; background: rgba(11, 17, 32, .5); border: 1px solid var(--border); }
.td-row { display: flex; align-items: center; justify-content: space-between; }
.td-row span { font-size: .8em; color: var(--text-muted); }
.td-val { font-size: 1.7em; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.td-meta { font-size: .7em; color: var(--text-muted); }

/* Uygulama alt navigasyonu */
.app-tabbar {
  position: absolute;
  inset: auto 0 0;
  height: 5.2em;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 1em .6em;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0), rgba(11, 17, 32, .9) 45%);
  border-top: 1px solid var(--border);
}
.app-tabbar .tab {
  color: #5A6B85; flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.app-tabbar .tab svg { width: 1.5em; height: 1.5em; }
.app-tabbar .tab small { font-size: .6em; font-weight: 600; letter-spacing: -0.01em; }
.app-tabbar .tab.active { color: var(--primary-2); }

/* Yüzen bilgi baloncukları */
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .8125rem; font-weight: 600; white-space: nowrap;
  background: rgba(15, 23, 42, .82);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
}
.float-chip svg { width: 15px; height: 15px; }
.chip-ai {
  top: 12%; left: -14%;
  color: var(--accent-2);
  transform: translateZ(60px);
  animation: floatChip 6s ease-in-out infinite;
}
.chip-food {
  bottom: 16%; right: -12%;
  color: var(--primary-2);
  transform: translateZ(60px);
  animation: floatChip 6s ease-in-out infinite reverse .8s;
}
@keyframes floatChip {
  0%, 100% { transform: translateZ(60px) translateY(-7px); }
  50% { transform: translateZ(60px) translateY(7px); }
}

/* ── 8. YAKINDA MOBİL ────────────────────────────────────────────────── */
.soon { padding-block: clamp(16px, 4vw, 32px) clamp(48px, 7vw, 72px); }
.soon-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.soon-text { max-width: 620px; color: var(--text-muted); font-size: .9375rem; }

.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.store-badge {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  opacity: .5;
  filter: saturate(.75);
  cursor: not-allowed;
  user-select: none;
}
.store-icon { width: 24px; height: 24px; flex: none; color: var(--text); }
.store-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-text small { font-size: .625rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.store-text strong { font-size: .9375rem; font-weight: 700; letter-spacing: -0.01em; }
.soon-tag {
  position: absolute; top: -9px; right: -9px;
  font-size: .5625rem; font-weight: 800; letter-spacing: .1em;
  padding: 3px 8px; border-radius: 999px;
  color: #0B1120; background: var(--accent-2);
  box-shadow: 0 4px 12px rgba(245, 158, 11, .35);
}

/* ── 9. STATS ────────────────────────────────────────────────────────── */
.stats { padding-block: clamp(24px, 4vw, 40px); }
/* Esnek satır: 5 öğe hangi genişlikte kaç sütuna düşerse düşsün, son
   satırdaki öğeler kalan boşluğu paylaşır — hiçbir ekranda boş hücre
   kalmaz. (Sabit sütunlu grid'de 5 öğe 2/3 sütuna bölününce ortada
   boşluk kalıyordu.) */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat {
  flex: 1 1 200px;
  min-width: 0;
  background: var(--surface-2);
  padding: 26px 16px;
  text-align: center;
  transition: background-color .3s var(--ease);
}
.stat:hover { background: var(--surface-3); }
/* Sayı ve son ek (140 + "+") TEK satırda kalmalı.
   Daha önce burada `.stat span:last-child` vardı; o seçici sayaç
   <span>'ını da yakalayıp bloğa çeviriyordu, "+" alt satıra düşüyordu.
   Artık etiket kendi sınıfıyla hedefleniyor. */
.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  white-space: nowrap;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-count { display: inline; font-variant-numeric: tabular-nums; }
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: .8125rem;
  line-height: 1.35;
  color: var(--text-muted);
}

/* ── 10. FEATURES ────────────────────────────────────────────────────── */
/* Özellik kategorileri — 20 kartı okunur gruplara ayırır */
.feat-group + .feat-group { margin-top: clamp(40px, 5vw, 60px); }

.feat-cat {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
}
.feat-cat span { flex: none; }
/* Başlıktan sonra sağa uzanan ince gradyan çizgi */
.feat-cat::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--grad-line);
  opacity: .35;
}

/* Esnek satır + clamp'li taban genişlik:
     geniş ekran → 3 sütun, tablet → 2, telefon → 1.
   Kritik nokta: son satırda eksik kart kalırsa kalan yeri paylaşıp
   satırı doldururlar. Sabit sütunlu grid'de 5-6 kartlık gruplarda
   sağda boş hücreler kalıyordu. */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.feature-grid > .feature {
  flex: 1 1 clamp(260px, 30%, 400px);
  min-width: 0;
}
.feature {
  padding: 26px 24px 28px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.feature::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(420px 160px at 50% -10%, rgba(59, 130, 246, .16), transparent 70%);
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
}
.feature:hover::before { opacity: 1; }

.f-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--border-2);
  transition: transform .4s var(--ease);
}
.feature:hover .f-icon { transform: translateY(-2px) scale(1.04); }
.f-icon svg { width: 22px; height: 22px; }
.i-blue   { color: #60A5FA; background: rgba(59, 130, 246, .13); }
.i-amber  { color: #FBBF24; background: rgba(245, 158, 11, .13); }
.i-green  { color: #34D399; background: rgba(52, 211, 153, .13); }
.i-violet { color: #A78BFA; background: rgba(167, 139, 250, .13); }
.i-pink   { color: #F472B6; background: rgba(244, 114, 182, .13); }
.i-cyan   { color: #22D3EE; background: rgba(34, 211, 238, .13); }
.i-orange { color: #FB923C; background: rgba(251, 146, 60, .13); }
.i-gold   { color: #FCD34D; background: rgba(252, 211, 77, .13); }

.feature h4 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.feature p { font-size: .9375rem; color: var(--text-muted); line-height: 1.65; }

/* ── 10B. PRICING ───────────────────────────────────────────────────── */
.pricing-section { position: relative; overflow: hidden; }
.price-orb {
  width: 600px; height: 600px; right: -300px; top: 10%;
  background: radial-gradient(circle, rgba(245, 158, 11, .18), transparent 68%);
}
.pricing-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px; align-items: stretch;
  margin-inline: auto;
}
.price-card {
  display: flex; flex-direction: column;
  min-width: 0; padding: 28px 22px 24px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.price-card.is-featured {
  border-color: rgba(59, 130, 246, .48);
  background: linear-gradient(160deg, rgba(37, 99, 235, .14), rgba(245, 158, 11, .06) 70%, var(--surface));
  box-shadow: 0 22px 55px rgba(37, 99, 235, .16), var(--shadow);
}
.price-card.is-featured::before {
  content: ''; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit;
  padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .65;
}
.price-badge {
  position: absolute; top: -12px; right: 18px; z-index: 2;
  padding: 5px 11px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: .6875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-head h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.launch-pill {
  padding: 4px 8px; border-radius: 999px; white-space: nowrap;
  color: var(--accent-2); background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .24);
  font-size: .625rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.price-desc { min-height: 3.4em; margin-top: 10px; color: var(--text-muted); font-size: .875rem; line-height: 1.55; }
.price-amount { min-height: 58px; display: flex; align-items: baseline; gap: 5px; margin: 20px 0 18px; }
.price-amount strong { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -.045em; }
.price-amount strong small { font-size: .8rem; letter-spacing: 0; }
.price-amount > span { color: var(--text-muted); font-size: .8125rem; }
.price-cta { width: 100%; min-height: 48px; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.price-features li { display: flex; align-items: flex-start; gap: 9px; color: var(--text-muted); font-size: .8125rem; line-height: 1.4; }
.price-features li.is-on { color: var(--text); }
.price-features li.is-off { opacity: .55; }
.price-check {
  width: 18px; height: 18px; flex: none; display: grid; place-items: center;
  border-radius: 50%; margin-top: 0;
  color: #34D399; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .24);
  font-size: .7rem; font-weight: 800;
}
.is-off .price-check { color: var(--text-muted); background: var(--surface-2); border-color: var(--border); }
/* Fiyatın altındaki deneme açıklaması */
.price-trial {
  margin: -10px 0 16px;
  font-size: .8125rem; font-weight: 600; color: var(--accent-2);
}

/* ── 11. STEPS ───────────────────────────────────────────────────────── */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.steps::before {
  content: '';
  position: absolute;
  top: 27px; left: 16%; right: 16%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .5), rgba(245, 158, 11, .5));
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.step { position: relative; text-align: center; padding-inline: 8px; }
.step-num {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 18px;
  font-size: 1.25rem; font-weight: 800; color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .32), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.step-num::after {
  content: '';
  position: absolute; inset: -7px;
  border-radius: 24px;
  border: 1px solid var(--border-2);
  background: var(--bg);
  z-index: -1;
}
.step h3 { font-size: 1.125rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: .9375rem; max-width: 32ch; margin-inline: auto; }

/* ── 12. SHOWCASE (ZIG-ZAG) ──────────────────────────────────────────── */
.show-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.show-row + .show-row { margin-top: clamp(64px, 9vw, 110px); }
.show-row.reverse .show-visual { order: 2; }

.show-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 16px; }
.show-copy > p { color: var(--text-muted); font-size: 1.0625rem; }
.show-copy em { color: var(--text); font-style: italic; }

.tick-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.tick-list li {
  position: relative;
  padding-left: 34px;
  font-size: .9375rem;
  color: var(--text-muted);
}
.tick-list li::before {
  content: '';
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(37, 99, 235, .16);
  border: 1px solid rgba(59, 130, 246, .35);
}
.tick-list li::after {
  content: '';
  position: absolute; left: 7px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--primary-2);
  border-bottom: 2px solid var(--primary-2);
  transform: rotate(-45deg);
}

.mock {
  position: relative;
  background: linear-gradient(160deg, rgba(30, 41, 59, .7), rgba(15, 23, 42, .85));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.mock::before {
  content: '';
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

/* — Mock 1: tarama — */
.scan-photo {
  position: relative;
  height: 190px;
  border-radius: var(--r);
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, #334155, #111C30 70%);
}
.plate {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F1F5F9, #CBD5E1 60%, #94A3B8);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .45), inset 0 -6px 14px rgba(0, 0, 0, .12);
}
.food { position: absolute; border-radius: 40% 50% 45% 55%; }
.f1 { width: 62px; height: 44px; left: calc(50% - 52px); top: calc(52% - 30px); background: linear-gradient(140deg, #FCD34D, #D97706); transform: translate(0, 0) rotate(-8deg); }
.f2 { width: 54px; height: 42px; left: calc(50% + 2px); top: calc(52% - 34px); background: linear-gradient(140deg, #86EFAC, #16A34A); transform: rotate(12deg); }
.f3 { width: 74px; height: 34px; left: calc(50% - 34px); top: calc(52% + 12px); background: linear-gradient(140deg, #FDBA74, #C2410C); border-radius: 30px; }
.scan-line {
  position: absolute; left: 6%; right: 6%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #60A5FA, transparent);
  box-shadow: 0 0 18px 3px rgba(96, 165, 250, .55);
  animation: scan 3s var(--ease) infinite;
}
@keyframes scan {
  0% { transform: translateY(14px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(176px); opacity: 0; }
}
.scan-corner { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(96, 165, 250, .8); border-radius: 4px; }
.c1 { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.c2 { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.c3 { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.c4 { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.scan-result { margin-top: 16px; }
.scan-title { font-size: .9375rem; font-weight: 700; margin-bottom: 12px; }
.scan-title b { color: #34D399; font-size: .8125rem; margin-left: 4px; }
.scan-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.scan-rows span {
  display: flex; align-items: center; gap: 7px;
  font-size: .8125rem; color: var(--text-muted);
  padding: 9px 11px; border-radius: 10px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border);
}
.scan-rows b { color: var(--text); margin-left: auto; font-weight: 700; white-space: nowrap; }
.barcode { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: 14px; opacity: .55; }
.barcode i { flex: 1; background: var(--text); border-radius: 1px; }
.barcode i:nth-child(odd) { height: 100%; }
.barcode i:nth-child(3n) { height: 70%; opacity: .6; }
.barcode i:nth-child(4n) { height: 88%; }
.scan-alt { margin-top: 12px; font-size: .8125rem; color: var(--text-muted); }
.scan-alt .ok { color: #34D399; }

/* — Mock 2: program — */
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.plan-eyebrow { font-size: .75rem; color: var(--text-muted); margin-bottom: 4px; }
.plan-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.plan-pill {
  flex: none; font-size: .75rem; font-weight: 700; color: var(--primary-2);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(59, 130, 246, .14); border: 1px solid rgba(59, 130, 246, .28);
}
.plan-list { display: flex; flex-direction: column; gap: 8px; }
.plan-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border);
  font-size: .9375rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.plan-list li:hover { background: var(--surface-2); border-color: var(--border-2); }
.pl-i {
  width: 24px; height: 24px; flex: none; border-radius: 8px;
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 700; color: var(--accent-2);
  background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .25);
}
.plan-list small { margin-left: auto; font-size: .75rem; color: var(--text-muted); white-space: nowrap; }
.plan-why {
  display: flex; gap: 12px; margin-top: 16px; padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(245, 158, 11, .08));
  border: 1px solid rgba(59, 130, 246, .22);
}
.why-icon { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: var(--accent-2); background: rgba(251, 191, 36, .14); }
.why-icon svg { width: 15px; height: 15px; }
.plan-why p { font-size: .8125rem; color: var(--text-muted); line-height: 1.6; }
.plan-why b { color: var(--text); }

/* — Mock 3: takip — */
.track-top { display: flex; gap: 16px; align-items: stretch; }
.water-glass {
  position: relative; flex: none; width: 92px;
  border-radius: 10px 10px 18px 18px;
  border: 2px solid rgba(34, 211, 238, .35);
  background: rgba(34, 211, 238, .05);
  overflow: hidden;
  min-height: 168px;
}
.water-fill {
  position: absolute; inset: auto 0 0 0; height: 100%;
  background: linear-gradient(180deg, rgba(34, 211, 238, .55), rgba(37, 99, 235, .6));
  transform: scaleY(.62); transform-origin: bottom;
  animation: waterWave 4s ease-in-out infinite;
}
.water-fill::before {
  content: ''; position: absolute; top: -6px; left: -10%; width: 120%; height: 12px;
  border-radius: 50%; background: rgba(103, 232, 249, .5);
}
@keyframes waterWave {
  0%, 100% { transform: scaleY(.60); }
  50% { transform: scaleY(.66); }
}
.water-label {
  position: absolute; inset: auto 0 12px; text-align: center;
  font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.supp-list { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.supp-title { font-size: .75rem; color: var(--text-muted); margin-bottom: 2px; }
.supp {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border);
  font-size: .8125rem; color: var(--text-muted);
}
.check { width: 16px; height: 16px; flex: none; border-radius: 5px; border: 1.5px solid var(--border-2); position: relative; }
.check.on { background: var(--grad); border-color: transparent; }
.check.on::after {
  content: ''; position: absolute; left: 4px; top: 3px;
  width: 5px; height: 8px; border: 2px solid #fff; border-top: 0; border-left: 0;
  transform: rotate(42deg);
}
.track-chart { margin-top: 16px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.tc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tc-head strong { font-size: .875rem; }
.spark { width: 100%; height: 90px; }
.spark-line {
  fill: none; stroke: var(--primary-2); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  transition: stroke-dashoffset 1.6s var(--ease);
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, .5));
}
.spark-area { opacity: 0; transition: opacity .8s var(--ease) .5s; }
.reveal.in .spark-line { stroke-dashoffset: 0; }
.reveal.in .spark-area { opacity: 1; }

/* ── 13. FAQ ─────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.faq-item:hover { border-color: var(--border-2); }
.faq-item.open { background: var(--surface-2); border-color: rgba(59, 130, 246, .28); }
.faq-item h3 { font-size: inherit; font-weight: inherit; letter-spacing: normal; }

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  text-align: left;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em;
}
.faq-ico { position: relative; width: 20px; height: 20px; flex: none; }
.faq-ico::before, .faq-ico::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--text-muted); border-radius: 2px;
  transition: transform .35s var(--ease), background-color .3s var(--ease);
}
.faq-ico::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-ico::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-ico::before { background: var(--primary-2); }
.faq-item.open .faq-ico::after { background: var(--primary-2); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-a > p {
  overflow: hidden;
  padding-inline: 22px;
  color: var(--text-muted);
  font-size: .9375rem;
  opacity: 0;
  transition: opacity .35s var(--ease), padding-bottom .45s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { opacity: 1; padding-bottom: 22px; }

/* ── 14. WAITLIST ────────────────────────────────────────────────────── */
.waitlist-section { position: relative; overflow: hidden; }
.waitlist {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(32px, 5vw, 52px) clamp(22px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-lg);
}
.wl-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin: 0 auto 22px;
  border-radius: 16px; color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 30px rgba(37, 99, 235, .34);
}
.wl-icon svg { width: 24px; height: 24px; }
.waitlist .section-sub { max-width: 46ch; margin-inline: auto; }

.wl-form { margin-top: 30px; }
.wl-field {
  display: flex; gap: 10px;
  max-width: 520px; margin-inline: auto;
  padding: 7px;
  border-radius: 999px;
  background: var(--surface-sunken);
  border: 1px solid var(--border-2);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.wl-field:focus-within { border-color: rgba(59, 130, 246, .55); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.wl-input {
  flex: 1; min-width: 0;
  padding: 12px 18px;
  border: 0; background: none; color: var(--text);
  font-size: .9375rem;
}
.wl-input::placeholder { color: var(--text-dim); }
.wl-input:focus { outline: none; }
.wl-btn { flex: none; }

/* Honeypot — ekranda ve klavye sırasında yok */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.spinner {
  display: none;
  width: 16px; height: 16px; flex: none;
  border: 2px solid var(--border-2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.wl-btn.loading { pointer-events: none; opacity: .85; }
.wl-btn.loading .spinner { display: block; }

.wl-msg {
  min-height: 24px;
  margin-top: 16px;
  font-size: .875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wl-msg.show { opacity: 1; transform: translateY(0); }
.wl-msg.ok { color: #34D399; }
.wl-msg.err { color: #F87171; }
.wl-note { margin-top: 6px; font-size: .75rem; color: var(--text-dim); }

/* ── 15. FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: clamp(48px, 7vw, 72px) 0;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand .brand-mark { width: 38px; height: 38px; }
.footer-brand .brand-name { font-size: 1.125rem; }
.footer-slogan { margin-top: 14px; color: var(--text-muted); font-size: .9375rem; }

.footer-links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px;
  margin-top: 28px;
  font-size: .9375rem;
}
.footer-links a { color: var(--text-muted); transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-links span { color: var(--border-2); }

.footer-disclaimer {
  margin-top: 24px;
  max-width: 58ch;
  font-size: .8125rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-bottom {
  width: 100%;
  margin-top: 40px;
  padding-block: 22px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  font-size: .8125rem; color: var(--text-muted);
}
.copy, .credit { margin: 0; }
.credit a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.credit a:hover, .credit a:focus-visible { color: var(--primary); border-bottom-color: currentColor; }

/* ── 16. MOTION (reveal + giriş koreografisi) ────────────────────────── */
.js .reveal,
.js .hero-anim {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in,
.js .hero-anim.in {
  opacity: 1;
  transform: none;
}
/* Alt öğe kademelendirmesi (grid içindeki kartlar) */
.js .feature.reveal { transition-delay: var(--d, 0ms); }

/* ── 17. RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .phone-stage { margin-top: 16px; }
  .phone { --ry: -10deg; --rx: 4deg; }
  .price-desc { min-height: 3.2em; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--pad) 24px;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links > a:not(.btn) { padding: 14px 16px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before {
    top: 40px; bottom: 40px; left: 50%; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, rgba(37, 99, 235, .5), rgba(245, 158, 11, .5));
    mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  }

  .show-row { grid-template-columns: 1fr; }
  .show-row.reverse .show-visual { order: 0; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .hero-title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero-cta { width: 100%; flex-direction: column; }
  /* Tam genişlik butonda uzun etiket sarabilsin — aksi halde nowrap dar
     ekranlarda hero ızgarasını taşırıyor. */
  .hero-cta .btn { width: 100%; white-space: normal; text-align: center; }
  .launch-link { align-self: center; }
  .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
  .price-card { padding: 26px 20px 22px; }
  .price-desc { min-height: 0; }
  .float-chip { font-size: .6875rem; padding: 7px 11px; }
  .chip-ai { left: -6%; }
  .chip-food { right: -4%; }
  .scan-rows { grid-template-columns: 1fr; }
  .track-top { flex-direction: column; }
  .water-glass { width: 100%; min-height: 110px; }
  .wl-field { flex-direction: column; border-radius: var(--r-lg); padding: 10px; }
  .wl-input { text-align: center; }
  .wl-btn { width: 100%; }
  .faq-q { padding: 17px 18px; font-size: 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

@media (max-width: 380px) {
  /* Telefon maketinin yanındaki baloncuklar bu genişlikte sığmıyor */
  .float-chip { display: none; }
  /* Dil düğmesi dar ekranda biraz daralsın, nav tek satırda kalsın */
  .lang-opt { padding: 5px 9px; font-size: .7rem; }
}

/* Dar ekranda taban genişliği düşer → 5 istatistik 2 sütuna oturur,
   son satırdaki tek öğe genişleyip satırı doldurur. */
@media (max-width: 620px) {
  .stat { flex-basis: 120px; padding: 20px 12px; }
  .stat-label { font-size: .75rem; }
}

/* Dokunmatik cihazlarda hover efektlerini kapat */
@media (hover: none) {
  .btn:hover, .feature:hover { transform: none; }
}

/* ── YAZDIRMA ────────────────────────────────────────────────────────── */
@media print {
  .js .reveal, .js .hero-anim { opacity: 1 !important; transform: none !important; }
  .nav, .orb, .grid-texture, .float-chip { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── HAREKET AZALTMA ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .js .hero-anim { opacity: 1 !important; transform: none !important; }
  .wk-bar i { transform: scaleY(var(--h)); }
  .spark-line { stroke-dashoffset: 0; }
  .spark-area { opacity: 1; }
  .phone-float { animation: none; }
  .scan-line { display: none; }
}
