/* ==========================================================================
   DiaLog — kurumsal tanıtım sitesi
   Tüm token'lar uygulamanın kendi tasarım sisteminden birebir alındı:
   lib/core/theme/app_colors.dart, app_gradients.dart, app_typography.dart,
   app_theme.dart ve lib/core/motion/motion_tokens.dart
   ========================================================================== */

/* --------------------------------------------------------------- token'lar */
:root {
  /* zeminler — app_colors.dart */
  --bg: #070d0b;
  --surface: #121a17;
  --surface-2: #1a241f;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.11);
  --pressed: rgba(255, 255, 255, 0.08);

  /* marka */
  --primary: #27ae60;
  --primary-deep: #208d4e;
  --primary-text: #50d78a;
  --primary-glow: rgba(39, 174, 96, 0.2);

  /* aksanlar */
  --blue: #4a6cf7;
  --blue-deep: #2e52e0;
  --blue-text: #5b7cff;
  --gold: #ffd84a;
  --gold-deep: #f2a90d;
  --star: #ffc53d;
  --countdown-red: #e23d4c;
  --banner-pink: #f0577c;
  --banner-orange: #ff8a3d;
  --banner-purple: #7c4dff;
  --chat-in: #1b2621;
  --chat-out: #14512f;
  --chat-chip: #16211c;
  --chat-tick: #53bdeb;
  --green-ring: #0e3a24;

  /* metin */
  --text: #ffffff;
  --text-2: #9aa8a2;
  --text-3: #6b7a74;

  /* gradyanlar — app_gradients.dart */
  --grad-primary: linear-gradient(90deg, #27ae60, #208d4e);
  --grad-green: linear-gradient(90deg, #40d47e, #27ae60);
  --grad-blue: linear-gradient(90deg, #4a6cf7, #2e52e0);
  --grad-gold: linear-gradient(135deg, #ffd84a, #f2a90d);
  --grad-wrapped: linear-gradient(90deg, #f0577c 0%, #ff8a3d 45%, #7c4dff 100%);
  --grad-offer: linear-gradient(135deg, #23a868, #178a52);
  --grad-pro: linear-gradient(90deg, #10281e, #0c1c16);
  --grad-nav: linear-gradient(180deg, rgba(23, 34, 29, 0.8), rgba(12, 20, 17, 0.9));
  --grad-placeholder: linear-gradient(135deg, #1b2a24, #10201a);

  /* yarıçaplar — AppRadius */
  --r-pill: 999px;
  --r-card: 18px;
  --r-plan: 16px;
  --r-chip: 20px;
  --r-sheet: 28px;

  /* boşluklar — AppSpacing */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 20px;
  --s-xxl: 28px;

  /* motion — motion_tokens.dart */
  --d-fast: 150ms;
  --d-base: 260ms;
  --d-slow: 450ms;
  --d-entry: 520ms;
  --e-standard: cubic-bezier(0.215, 0.61, 0.355, 1); /* easeOutCubic */
  --e-emphasized: cubic-bezier(0.165, 0.84, 0.44, 1); /* easeOutQuart */
  --e-back: cubic-bezier(0.34, 1.56, 0.64, 1); /* easeOutBack */
  --e-ambient: cubic-bezier(0.4, 0, 0.2, 1);

  /* düzen */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 68px;

  /* tipografi — platform varsayılanı, uygulamada da SF Pro kullanılıyor */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-num: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  color-scheme: dark;
}

/* ------------------------------------------------------------------- reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: var(--primary-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/* klavye odağı her yerde görünür kalır */
:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--primary);
  color: var(--bg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  z-index: 200;
  top: 10px;
  left: 50%;
  translate: -50% -200%;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--bg);
  font-weight: 700;
  transition: translate var(--d-base) var(--e-standard);
}

.skip-link:focus {
  translate: -50% 0;
  text-decoration: none;
}

/* ------------------------------------------------------ zemin ışıması
   app_gradients.topGlow: merkez (0, -0.85), yarıçap 0.9, #2E27AE60 → şeffaf
   ve GlowBackground'ın 8 saniyelik nefes alması. */
.glow-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% -8%,
      rgba(39, 174, 96, 0.18) 0%,
      rgba(39, 174, 96, 0) 62%
    ),
    radial-gradient(
      circle at 92% 8%,
      rgba(74, 108, 247, 0.07) 0%,
      rgba(74, 108, 247, 0) 45%
    );
  animation: breathe 8s var(--e-ambient) infinite;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

/* ince tarama dokusu — uygulamanın cam yüzeylerine karşılık gelen doku */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.012) 0px,
    rgba(255, 255, 255, 0.012) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* ------------------------------------------------------------------ düzen */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
  z-index: 1;
}

.section {
  padding-block: clamp(64px, 7.5vw, 108px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-strong) 20%,
    var(--border-strong) 80%,
    transparent
  );
}

/* -------------------------------------------------------------- tipografi
   app_typography.dart ölçeği; web için clamp ile büyütüldü. */
.display {
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

.h3 {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--text-2);
  line-height: 1.55;
}

.body {
  color: var(--text-2);
  line-height: 1.6;
}

.caption {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.35;
}

.footnote {
  font-size: 0.6875rem;
  color: var(--text-3);
  line-height: 1.4;
}

/* HighlightedTitle: başlıktaki vurgulu kelime primaryText rengiyle */
.accent {
  color: var(--primary-text);
}

.balance {
  text-wrap: balance;
}

.pretty {
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ çipler */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: rgba(18, 26, 23, 0.7);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
}

.eyebrow__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-text);
  flex: none;
}

.eyebrow__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  animation: ping 2s var(--e-ambient) infinite;
}

@keyframes ping {
  0% {
    opacity: 0.9;
    scale: 0.6;
  }
  70%,
  100% {
    opacity: 0;
    scale: 1.5;
  }
}

/* ----------------------------------------------------------------- butonlar
   PrimaryButton: pill, primary gradyan, üzerinden geçen shine.
   Uygulamada yazı beyaz; webde PLAN.md §12'deki kontrast uyarısı gereği
   yeşil üstüne koyu metin kullanıldı (≈6.5:1, WCAG AA). */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  min-height: 54px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition:
    scale var(--d-base) var(--e-back),
    box-shadow var(--d-base) var(--e-standard),
    background-color var(--d-fast) var(--e-standard),
    border-color var(--d-fast) var(--e-standard);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  scale: 0.96;
  transition-duration: 90ms;
  transition-timing-function: ease-out;
}

.btn--primary {
  background-image: var(--grad-primary);
  color: #04120a;
  box-shadow:
    0 8px 22px -10px rgba(39, 174, 96, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--primary:hover {
  box-shadow:
    0 14px 34px -10px rgba(39, 174, 96, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* ShineOverlay: 1100ms süpürme + 1300ms bekleme = 2400ms döngü */
.btn--primary::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  width: 42px;
  left: -80px;
  z-index: -1;
  rotate: 18deg;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.32),
    transparent
  );
  animation: shine 2400ms var(--e-ambient) infinite;
}

@keyframes shine {
  0% {
    left: -80px;
  }
  45.8% {
    left: calc(100% + 80px);
  }
  100% {
    left: calc(100% + 80px);
  }
}

.btn--ghost {
  background: rgba(18, 26, 23, 0.7);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

/* mağaza butonları */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  transition:
    scale var(--d-base) var(--e-back),
    background-color var(--d-fast) var(--e-standard),
    border-color var(--d-fast) var(--e-standard);
}

.store-btn:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.store-btn:active {
  scale: 0.96;
}

.store-btn svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-btn__text small {
  font-size: 0.625rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-btn__text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------- logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
}

.logo__tile {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--grad-primary);
  color: #fff;
  box-shadow:
    0 4px 14px -6px rgba(39, 174, 96, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.logo__tile svg {
  width: 26px;
  height: 26px;
}

.logo__text {
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ----------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--d-base) var(--e-standard),
    border-color var(--d-base) var(--e-standard),
    backdrop-filter var(--d-base) var(--e-standard);
}

/* uygulamanın cam alt barına karşılık gelen blur + gradyan yüzey */
.header.is-scrolled {
  background: rgba(7, 13, 11, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-xl);
  height: var(--header-h);
  /* Dil seçici her koşulda sağ üstte sabit kalsın: sayfa dili RTL olsa da
     üst çubuğun mantıksal akışı LTR'de tutulur (metin şekillenmesini
     etkilemez, sadece öğe sırasını). */
  direction: ltr;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* dil seçici ve hamburger düğmesini bir arada tutan, her zaman sağa
   yaslanan küme (nav menüsü olmayan sayfalarda da doğru konumlanır). */
.header__controls {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  margin-left: auto;
}

/* `:not(.btn)` şart: aksi hâlde bu kural menüdeki birincil butonun
   rengini ve ölçüsünü de eziyor, buton soluk gri metinle çiziliyordu. */
.header__nav a:not(.btn) {
  position: relative;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 600;
  transition:
    color var(--d-fast) var(--e-standard),
    background-color var(--d-fast) var(--e-standard);
}

.header__nav a:not(.btn):hover,
.header__nav a:not(.btn)[aria-current="page"] {
  color: var(--text);
  background: var(--pressed);
  text-decoration: none;
}

.header__cta {
  margin-left: var(--s-md);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: translate var(--d-base) var(--e-standard),
    rotate var(--d-base) var(--e-standard), opacity var(--d-fast) linear;
}

.nav-toggle span + span {
  margin-top: 4.5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  translate: 0 6px;
  rotate: 45deg;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  translate: 0 -6px;
  rotate: -45deg;
}

/* ------------------------------------------------------------ dil seçici
   Sağ üstte sabit; cihaz diline göre otomatik seçilir, elle değiştirilebilir.
   header__inner'ın direction:ltr olması sayesinde RTL dillerde de konumu
   değişmez. */
.lang-switch {
  position: relative;
  flex: none;
  direction: ltr;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    background-color var(--d-fast) var(--e-standard),
    border-color var(--d-fast) var(--e-standard);
}

.lang-switch__btn:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-switch.is-open .lang-switch__btn {
  background: var(--surface-2);
  border-color: var(--primary);
}

.lang-switch__globe {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: var(--primary-text);
  stroke-width: 1.7;
}

.lang-switch__code {
  min-width: 1.6em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lang-switch__chev {
  width: 13px;
  height: 13px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: rotate var(--d-base) var(--e-standard);
}

.lang-switch.is-open .lang-switch__chev {
  rotate: 180deg;
}

.lang-switch__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 200;
  width: 260px;
  padding: var(--s-sm);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-plan);
  background: var(--surface);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
}

.lang-switch__search {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  margin-bottom: var(--s-sm);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.875rem;
}

.lang-switch__search:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: 1px;
}

.lang-switch__search::placeholder {
  color: var(--text-3);
}

.lang-switch__menu {
  list-style: none;
  max-height: min(52vh, 340px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lang-switch__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-sm);
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 0.875rem;
  text-align: left;
  transition: background-color var(--d-fast) var(--e-standard);
}

.lang-switch__option:hover,
.lang-switch__option:focus-visible {
  background: var(--pressed);
  color: var(--text);
}

.lang-switch__option.is-active {
  color: var(--primary-text);
  background: rgba(39, 174, 96, 0.12);
  font-weight: 700;
}

.lang-switch__optname {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switch__optcode {
  flex: none;
  font-size: 0.6875rem;
  color: var(--text-3);
  text-transform: uppercase;
}

.lang-switch__option.is-active .lang-switch__optcode {
  color: var(--primary-text);
}

@media (max-width: 560px) {
  .lang-switch__panel {
    width: min(280px, calc(100vw - 2 * var(--gutter)));
  }
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding-top: clamp(40px, 5.5vw, 76px);
  padding-bottom: clamp(48px, 6.5vw, 88px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__copy > * + * {
  margin-top: var(--s-xl);
}

.hero__title {
  margin-top: var(--s-lg) !important;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-top: var(--s-xxl) !important;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-lg) var(--s-xxl);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  color: var(--text-2);
}

.hero__trust svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--primary-text);
  stroke-width: 1.9;
}

/* ---------------------------------------------------- telefon maketi
   Uygulamanın "Analizler" sekmesi CSS ile yeniden kuruldu; ekran görüntüsü
   asset'i olmadığı için (assets/images/ boş) arayüz birebir çizildi. */
.phone {
  position: relative;
  width: min(100%, 324px);
  margin-inline: auto;
  aspect-ratio: 340 / 690;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(160deg, #2b332f, #101613 42%, #262e2a);
  box-shadow:
    0 44px 90px -28px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 90px -30px var(--primary-glow);
  animation: float 9s var(--e-ambient) infinite;
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

.phone::after {
  /* cam parlaması */
  content: "";
  position: absolute;
  inset: 11px;
  z-index: 3;
  border-radius: 42px;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(255, 255, 255, 0) 32%,
    rgba(255, 255, 255, 0) 76%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background:
    radial-gradient(
      circle at 50% -6%,
      rgba(39, 174, 96, 0.2),
      rgba(39, 174, 96, 0) 60%
    ),
    var(--bg);
  display: flex;
  flex-direction: column;
  font-size: 11px;
}

.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
  width: 86px;
  height: 24px;
  border-radius: var(--r-pill);
  background: #050907;
}

.ui-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.ui-status__icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.ui-status__icons i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: #fff;
}

.ui-status__icons i:nth-child(1) {
  height: 4px;
}
.ui-status__icons i:nth-child(2) {
  height: 6px;
}
.ui-status__icons i:nth-child(3) {
  height: 8px;
}
.ui-status__icons b {
  width: 16px;
  height: 8px;
  margin-left: 3px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  position: relative;
}
.ui-status__icons b::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  right: 5px;
  border-radius: 1px;
  background: var(--primary-text);
}

.ui-body {
  flex: 1;
  min-height: 0;
  padding: 8px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ui-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* takip kartı */
.ui-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 12px;
}

.ui-track {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ui-track__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: var(--green-ring);
  color: var(--primary-text);
}

.ui-track__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ui-track strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.ui-track span {
  font-size: 10px;
  color: var(--text-3);
}

.ui-track__plus {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #04120a;
  animation: pulse-ring 2s var(--e-ambient) infinite;
}

.ui-track__plus svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 3.2;
  stroke-linecap: round;
}

@keyframes pulse-ring {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.5);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(39, 174, 96, 0);
  }
}

/* kişi çipleri */
.ui-people {
  display: flex;
  gap: 7px;
}

.ui-person {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.ui-avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--primary-text);
  font-size: 9px;
  font-weight: 800;
}

.ui-person--on .ui-avatar {
  position: relative;
  background: var(--green-ring);
}

.ui-person--on .ui-avatar::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--surface);
  border-radius: 50%;
  background: var(--primary);
  animation: blink 2s var(--e-ambient) infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* özet döşemeleri */
.ui-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.ui-tile {
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}

.ui-tile__label {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-3);
}

.ui-tile__value {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.ui-tile__value em {
  font-size: 10px;
  font-weight: 600;
  font-style: normal;
  color: var(--text-3);
}

/* aktivite başlığı */
.ui-sec-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}

.ui-sec-head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.ui-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: var(--r-pill);
  background: rgba(39, 174, 96, 0.1);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-text);
}

.ui-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  animation: blink 2s var(--e-ambient) infinite;
}

/* aktivite akışı — kilit yok, tüm geçmiş açık */
.ui-feed {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  /* Son satır alt kenarda kesiliyor: liste kaydırılabilir görünsün. */
  overflow: hidden;
}

.ui-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.ui-dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #2c3831;
}

.ui-dot--on {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.16);
}

.ui-row__text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
  overflow: hidden;
}

.ui-row__text strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.ui-row__text > span {
  font-size: 9.5px;
  color: var(--text-2);
  white-space: nowrap;
}

.ui-row__time {
  flex: none;
  font-size: 9px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* cam alt navigasyon — dialog_bottom_nav.dart */
.ui-nav {
  position: relative;
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 6px 14px;
  border-top: 1px solid var(--border);
  background-image: var(--grad-nav);
  backdrop-filter: blur(14px);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.4);
}

.ui-nav::before {
  /* aktif sekmenin altına düşen radyal ışık */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(39, 174, 96, 0.18),
    rgba(39, 174, 96, 0) 70%
  );
  translate: calc(var(--nav-i, 0) * 100%) 0;
  transition: translate var(--d-base) var(--e-standard);
}

.ui-nav::after {
  /* 26×3 px kayan aksan çizgisi */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 3px;
  border-radius: 3px;
  background: var(--primary-text);
  box-shadow: 0 0 10px 1px var(--primary-glow);
  scale: 0.28 1;
  translate: calc(var(--nav-i, 0) * 100%) 0;
  transition: translate var(--d-base) var(--e-standard);
}

.ui-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-3);
  transition:
    color var(--d-base) var(--e-standard),
    scale var(--d-base) var(--e-standard);
}

.ui-tab svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-tab.is-active {
  color: var(--primary-text);
  scale: 1.06;
}

/* ------------------------------------------------------------ istatistikler */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--border);
  overflow: hidden;
}

.stat {
  padding: clamp(18px, 2.4vw, 26px);
  background: rgba(18, 26, 23, 0.65);
  text-align: center;
}

.stat__num {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--text-2);
}

/* ---------------------------------------------------------- bölüm başlıkları */
.sec-head {
  max-width: 660px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.sec-head > * + * {
  margin-top: var(--s-lg);
}

/* ------------------------------------------------------------ özellik kartları
   SurfaceCard: bgElevated, 18px yarıçap, white@6% kenarlık */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: var(--s-lg);
}

.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
  transition:
    translate var(--d-base) var(--e-standard),
    border-color var(--d-base) var(--e-standard),
    background-color var(--d-base) var(--e-standard);
}

.card::before {
  /* imleç konumunu izleyen yumuşak ışıma */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(39, 174, 96, 0.13),
    transparent 65%
  );
  transition: opacity var(--d-base) var(--e-standard);
}

.card:hover {
  translate: 0 -3px;
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--s-lg);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--primary-text);
}

.card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__icon--gold {
  color: var(--gold);
}
.card__icon--blue {
  color: var(--blue-text);
}
.card__icon--pink {
  color: var(--banner-pink);
}
.card__icon--purple {
  color: var(--banner-purple);
}

.card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.card p {
  margin-top: var(--s-sm);
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* ------------------------------------------------------------ nasıl çalışır */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 56px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(39, 174, 96, 0.35);
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary-text);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.step::after {
  /* adımları birleştiren, göründükçe uzayan çizgi */
  content: "";
  position: absolute;
  top: 21px;
  left: 54px;
  right: -18px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(39, 174, 96, 0.5),
    rgba(39, 174, 96, 0.05)
  );
  transform-origin: left;
  scale: 0 1;
  transition: scale 700ms var(--e-standard) 200ms;
}

.step:last-child::after {
  display: none;
}

.is-in .step::after {
  scale: 1 1;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.step p {
  margin-top: var(--s-sm);
  color: var(--text-2);
  line-height: 1.6;
}

/* --------------------------------------------------------- gizlilik bölümü */
.privacy-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-lg);
}

.panel {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}

.panel--deny {
  background: linear-gradient(180deg, rgba(226, 61, 76, 0.05), transparent 55%),
    var(--surface);
}

.panel--allow {
  background: linear-gradient(180deg, rgba(39, 174, 96, 0.07), transparent 55%),
    var(--surface);
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: var(--s-xl);
}

.panel__head h3 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.panel__badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
}

.panel--deny .panel__badge {
  background: rgba(226, 61, 76, 0.14);
  color: #ff6b78;
}

.panel--allow .panel__badge {
  background: rgba(39, 174, 96, 0.16);
  color: var(--primary-text);
}

.panel__badge svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
}

.tick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.5;
}

.tick-list li strong {
  color: var(--text);
  font-weight: 600;
}

.tick-list li svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel--deny .tick-list li svg {
  stroke: #ff6b78;
}

.panel--allow .tick-list li svg {
  stroke: var(--primary-text);
}

/* ------------------------------------------------------------- ekran turu */
.tour {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 32px);
}

.tour__item {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  text-align: center;
}

.screen {
  position: relative;
  aspect-ratio: 260 / 480;
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(160deg, #262e2a, #0e1411 45%, #232b27);
  box-shadow:
    0 26px 60px -26px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: translate var(--d-slow) var(--e-standard);
}

.tour__item:hover .screen {
  translate: 0 -8px;
}

.screen__inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
  background:
    radial-gradient(
      circle at 50% -8%,
      rgba(39, 174, 96, 0.2),
      rgba(39, 174, 96, 0) 58%
    ),
    var(--bg);
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  font-size: 10px;
  text-align: left;
}

.tour__caption {
  margin-top: var(--s-lg);
}

.tour__caption strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
}

.tour__caption span {
  display: block;
  margin-top: 3px;
  font-size: 0.8125rem;
  color: var(--text-2);
}

/* tur 1 — onboarding */
.ob {
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.ob__art {
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
}

.ob__art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(39, 174, 96, 0.28),
    rgba(39, 174, 96, 0) 68%
  );
}

.ob__ring {
  position: absolute;
  inset: 12px;
  border: 1.5px solid rgba(39, 174, 96, 0.4);
  border-radius: 50%;
  animation: breathe-ring 2.6s var(--e-ambient) infinite;
}

.ob__ring:nth-of-type(2) {
  inset: 0;
  animation-delay: 0.6s;
  border-color: rgba(39, 174, 96, 0.2);
}

@keyframes breathe-ring {
  0%,
  100% {
    scale: 0.9;
    opacity: 0.45;
  }
  50% {
    scale: 1.02;
    opacity: 1;
  }
}

.ob__art svg {
  position: relative;
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--primary-text);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ob h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ob p {
  font-size: 9.5px;
  color: var(--text-2);
  line-height: 1.45;
}

.ob__dots {
  display: flex;
  gap: 5px;
  margin-top: 2px;
}

.ob__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2a352f;
}

.ob__dots i.is-on {
  width: 16px;
  border-radius: 3px;
  background: var(--primary);
}

/* Uygulamadaki gibi CTA ekranın altına sabit, içerik ortada kalır. */
.ob__cta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  padding: 9px 0;
  border-radius: var(--r-pill);
  background-image: var(--grad-primary);
  color: #04120a;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

/* tur 2 — tarama */
.scan {
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.scan__ring {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
}

.scan__ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -90deg;
}

.scan__ring circle {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}

.scan__track {
  stroke: var(--green-ring);
}

.scan__arc {
  stroke: var(--primary);
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  animation: arc 3.2s var(--e-standard) infinite;
}

@keyframes arc {
  0% {
    stroke-dashoffset: 289;
  }
  70%,
  100% {
    stroke-dashoffset: 26;
  }
}

.scan__pct {
  position: relative;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.scan__pct sup {
  font-size: 13px;
  top: -0.6em;
}

.scan h5 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
}

.scan__steps {
  width: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.scan__steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 9.5px;
  color: var(--text-2);
}

.scan__steps li::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  border-radius: 50%;
  background: rgba(39, 174, 96, 0.16) center / 8px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.6 5.2 3.7 7.3 8.4 2.6' fill='none' stroke='%2350D78A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.scan__steps li.is-pending {
  color: var(--text-3);
}

.scan__steps li.is-pending::before {
  background: #1c2620;
  border: 1.5px solid #2b352f;
}

.scan__safe {
  position: absolute;
  left: 50%;
  bottom: 16px;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  white-space: nowrap;
  color: var(--text-3);
}

.scan__safe svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: var(--primary-text);
  stroke-width: 1.9;
}

/* tur 3 — durum zaman çizelgesi */
.tl {
  gap: 9px;
}

.tl__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}

.tl__head .ui-avatar {
  width: 26px;
  height: 26px;
  font-size: 10px;
}

.tl__head strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
}

.tl__head > span > span {
  font-size: 9px;
  color: var(--primary-text);
}

.tl__day {
  align-self: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--chat-chip);
  font-size: 8.5px;
  color: var(--text-3);
}

/* `flex: 1` bilinçli olarak yok: liste içerik boyunda kalsın ki soldaki
   dikey çizgi son olayda bitsin, boşluğa doğru uzamasın. */
.tl__list {
  position: relative;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 2px 0 0;
  padding-left: 17px;
  overflow: hidden;
}

.tl__list::before {
  /* olayları birleştiren dikey çizgi */
  content: "";
  position: absolute;
  left: 3.5px;
  top: 5px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(39, 174, 96, 0.45),
    rgba(39, 174, 96, 0.05)
  );
}

.tl__item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: none;
}

.tl__item::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c3831;
  box-shadow: 0 0 0 2.5px var(--bg);
}

.tl__item--on::before {
  background: var(--primary);
}

.tl__time {
  flex: none;
  min-width: 28px;
  font-size: 9.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.tl__label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text);
}

.tl__label em {
  margin-left: 4px;
  font-style: normal;
  font-weight: 400;
  font-size: 9px;
  color: var(--text-3);
}

.tl__summary {
  display: flex;
  gap: 7px;
  margin-top: auto;
}

.tl__summary span {
  flex: 1;
  padding: 8px 9px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  font-size: 8.5px;
  color: var(--text-3);
}

.tl__summary strong {
  display: block;
  margin-bottom: 1px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* bölüm altındaki ortalanmış ince yazı */
.section-note {
  margin-top: var(--s-xl);
  text-align: center;
}

/* ------------------------------------------------------------------ yorumlar */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.marquee__track {
  display: flex;
  gap: var(--s-lg);
  width: max-content;
  animation: scroll 46s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee + .marquee {
  margin-top: var(--s-lg);
}

.marquee--rev .marquee__track {
  animation-direction: reverse;
  animation-duration: 54s;
}

@keyframes scroll {
  from {
    translate: 0 0;
  }
  to {
    translate: -50% 0;
  }
}

.quote {
  width: 320px;
  flex: none;
  padding: var(--s-xl);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}

.quote p {
  margin-top: var(--s-md);
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}

.quote__who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s-lg);
}

/* Örnek profil fotoğrafı. Yüklenmezse arkadaki gradyan görünür,
   boşluk oluşmaz. */
.quote__avatar {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background-image: var(--grad-placeholder);
  box-shadow: 0 0 0 1px var(--border-strong);
}

.quote__who strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.quote__who span {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-3);
}

/* ----------------------------------------------------------------- SSS */
.faq {
  max-width: 800px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
}

.faq__item + .faq__item {
  border-top: 1px solid var(--border);
}

.faq__q {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  width: 100%;
  padding: clamp(17px, 2.2vw, 22px) clamp(18px, 2.4vw, 26px);
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color var(--d-fast) var(--e-standard);
}

.faq__q:hover {
  background: var(--pressed);
}

.faq__q span {
  flex: 1;
}

.faq__sign {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--primary-text);
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: currentColor;
  border-radius: 2px;
  transition: rotate var(--d-base) var(--e-standard),
    opacity var(--d-base) var(--e-standard);
}

.faq__sign::before {
  width: 13px;
  height: 1.8px;
}

.faq__sign::after {
  width: 1.8px;
  height: 13px;
}

.faq__q[aria-expanded="true"] .faq__sign::after {
  rotate: 90deg;
  opacity: 0;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--d-slow) var(--e-standard);
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  padding: 0 clamp(18px, 2.4vw, 26px) clamp(19px, 2.4vw, 24px);
  padding-right: clamp(40px, 6vw, 62px);
  color: var(--text-2);
  line-height: 1.65;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

/* ---------------------------------------------------------------- CTA bandı */
.cta-band {
  position: relative;
  padding: clamp(40px, 5.6vw, 68px) clamp(24px, 4vw, 60px);
  border: 1px solid rgba(39, 174, 96, 0.22);
  border-radius: var(--r-sheet);
  background:
    radial-gradient(
      ellipse 80% 120% at 50% -20%,
      rgba(39, 174, 96, 0.18),
      transparent 70%
    ),
    var(--grad-pro);
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.055) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse 70% 90% at 50% 0%,
    #000,
    transparent 75%
  );
}

.cta-band > * {
  position: relative;
}

.cta-band .lead {
  max-width: 560px;
  margin: var(--s-lg) auto 0;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-md);
  margin-top: var(--s-xxl);
}

.cta-band__note {
  margin-top: var(--s-xl);
}

/* ------------------------------------------------------------------- footer */
.footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--border);
  background: rgba(9, 15, 13, 0.6);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(44px, 5vw, 68px);
}

.footer__about p {
  margin-top: var(--s-lg);
  max-width: 320px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer__col ul {
  list-style: none;
  margin-top: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col a {
  color: var(--text-2);
  font-size: 0.9375rem;
  transition: color var(--d-fast) var(--e-standard);
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding-block: var(--s-xl) var(--s-xxl);
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-3);
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg);
}

.footer__bottom a {
  color: var(--text-3);
}

.footer__bottom a:hover {
  color: var(--text-2);
}

/* -------------------------------------------------------------- yasal sayfa */
.legal-hero {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

.legal-hero .display {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-top: var(--s-lg);
}

.legal-hero .lead {
  max-width: 680px;
  margin-top: var(--s-lg);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm) var(--s-xl);
  margin-top: var(--s-xl);
  font-size: 0.8125rem;
  color: var(--text-3);
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legal-meta b {
  color: var(--text-2);
  font-weight: 600;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  padding-bottom: clamp(56px, 7vw, 96px);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: var(--s-xl);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}

.toc h2 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}

.toc ol {
  list-style: none;
  counter-reset: toc;
  margin-top: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: min(58vh, 520px);
  overflow-y: auto;
}

.toc a {
  display: flex;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 0.8438rem;
  line-height: 1.4;
  transition:
    color var(--d-fast) var(--e-standard),
    background-color var(--d-fast) var(--e-standard);
}

.toc a::before {
  counter-increment: toc;
  content: counter(toc);
  flex: none;
  min-width: 15px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.toc a:hover,
.toc a.is-active {
  background: var(--pressed);
  color: var(--text);
  text-decoration: none;
}

.toc a.is-active::before {
  color: var(--primary-text);
}

.prose {
  max-width: 760px;
}

.prose > section {
  counter-increment: sec;
  padding-block: clamp(22px, 2.6vw, 30px);
}

.prose > section + section {
  border-top: 1px solid var(--border);
}

.prose h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h2::before {
  content: counter(sec);
  flex: none;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--primary-text);
  font-variant-numeric: tabular-nums;
}

.prose h3 {
  margin-top: var(--s-xl);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.prose p,
.prose li {
  color: var(--text-2);
  line-height: 1.72;
}

.prose p {
  margin-top: var(--s-md);
}

.prose ul,
.prose ol {
  margin-top: var(--s-md);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.prose ul {
  list-style: none;
  padding-left: 0;
}

.prose ul > li {
  position: relative;
  padding-left: 20px;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose code {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--font-num);
  font-size: 0.85em;
  color: var(--primary-text);
}

.prose__body {
  counter-reset: sec;
}

.callout {
  display: flex;
  gap: var(--s-md);
  margin-top: var(--s-lg);
  padding: var(--s-lg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-plan);
  background: rgba(39, 174, 96, 0.055);
}

.callout--warn {
  border-left-color: var(--gold);
  background: rgba(255, 216, 74, 0.05);
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: var(--s-sm);
}

.callout__icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--primary-text);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.callout--warn .callout__icon {
  stroke: var(--gold);
}

/* --------------------------------------------------------------- 404 sayfası */
.notfound {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: clamp(420px, 62vh, 640px);
}

.notfound__code {
  font-size: clamp(4.5rem, 15vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #50d78a, rgba(39, 174, 96, 0.15));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------- giriş animasyonları
   EntryAnimation: 520ms fade + 16px kayma, StaggeredColumn: 70ms adım. */
.reveal {
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity var(--d-entry) var(--e-standard),
    translate var(--d-entry) var(--e-standard);
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

.reveal[data-delay="1"] {
  transition-delay: 70ms;
}
.reveal[data-delay="2"] {
  transition-delay: 140ms;
}
.reveal[data-delay="3"] {
  transition-delay: 210ms;
}
.reveal[data-delay="4"] {
  transition-delay: 280ms;
}
.reveal[data-delay="5"] {
  transition-delay: 350ms;
}
.reveal[data-delay="6"] {
  transition-delay: 420ms;
}

/* ilk boyanın hemen ardından gelen açılış zinciri */
.intro > * {
  animation: intro-in var(--d-entry) var(--e-standard) both;
}

.intro > *:nth-child(1) {
  animation-delay: 60ms;
}
.intro > *:nth-child(2) {
  animation-delay: 130ms;
}
.intro > *:nth-child(3) {
  animation-delay: 200ms;
}
.intro > *:nth-child(4) {
  animation-delay: 270ms;
}
.intro > *:nth-child(5) {
  animation-delay: 340ms;
}
.intro > *:nth-child(6) {
  animation-delay: 410ms;
}

@keyframes intro-in {
  from {
    opacity: 0;
    translate: 0 16px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.intro-phone {
  animation: phone-in 900ms var(--e-emphasized) 220ms both;
}

@keyframes phone-in {
  from {
    opacity: 0;
    translate: 0 40px;
    scale: 0.94;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__copy {
    max-width: 640px;
    margin-inline: auto;
  }

  .hero__actions,
  .hero__meta {
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .toc ol {
    max-height: none;
  }
}

@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: var(--s-lg) var(--gutter) var(--s-xxl);
    background: rgba(7, 13, 11, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
    translate: 0 -12px;
    opacity: 0;
    visibility: hidden;
    transition:
      translate var(--d-base) var(--e-standard),
      opacity var(--d-base) var(--e-standard),
      visibility var(--d-base) linear;
  }

  .header__nav.is-open {
    translate: 0 0;
    opacity: 1;
    visibility: visible;
  }

  .header__nav a:not(.btn) {
    padding: 13px 14px;
    font-size: 1rem;
  }

  .header__cta {
    margin: var(--s-sm) 0 0;
  }

  .nav-toggle {
    display: grid;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .tour,
  .privacy-split {
    grid-template-columns: 1fr;
  }

  .step {
    padding-top: 0;
    padding-left: 60px;
  }

  .step::after {
    top: 50px;
    bottom: -22px;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(39, 174, 96, 0.5),
      rgba(39, 174, 96, 0.05)
    );
    transform-origin: top;
    scale: 1 0;
  }

  .is-in .step::after {
    scale: 1 1;
  }

  .tour {
    max-width: 300px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 62px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .hero__actions {
    flex-direction: column;
  }

  .quote {
    width: 268px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------- hareketi azalt
   MotionConfig.reduceMotion karşılığı: shine/pulse/ambient hiç çalışmaz. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    translate: none;
  }

  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  /* Kayma durduğunda kopya kartlar gereksiz kalır. */
  .quote[data-dupe] {
    display: none;
  }

  .step::after,
  .is-in .step::after {
    scale: 1 1;
  }
}

/* ------------------------------------------------------------------ RTL
   Arapça (ar-SA) ve İbranice (he) için ayna düzen. Üst çubuk her zaman
   direction:ltr kaldığından dil seçici sağ üstte sabit kalır; burada
   yalnızca okunabilir gerçek içerik (yasal metinler, SSS, içindekiler)
   ayna çevrilir. Telefon/ekran maketleri kasıtlı olarak değiştirilmez. */
[dir="rtl"] body {
  text-align: right;
}

[dir="rtl"] .prose ul {
  padding-right: 0;
}

[dir="rtl"] .prose ul > li {
  padding-left: 0;
  padding-right: 20px;
}

[dir="rtl"] .prose ul > li::before {
  left: auto;
  right: 3px;
}

[dir="rtl"] .prose ol {
  padding-left: 0;
  padding-right: 20px;
}

[dir="rtl"] .toc ol {
  padding-left: 0;
}

[dir="rtl"] .toc a::before {
  margin-right: 0;
  margin-left: 9px;
}

[dir="rtl"] .faq__q {
  text-align: right;
}

[dir="rtl"] .faq__a p {
  padding-right: clamp(18px, 2.4vw, 26px);
  padding-left: clamp(40px, 6vw, 62px);
}

[dir="rtl"] .tick-list li {
  text-align: right;
}

[dir="rtl"] .callout {
  border-left: 0;
  border-right: 3px solid var(--primary);
}

[dir="rtl"] .callout--warn {
  border-right-color: var(--gold);
}

[dir="rtl"] .legal-meta,
[dir="rtl"] .hero__meta,
[dir="rtl"] .hero__actions,
[dir="rtl"] .cta-band__actions {
  text-align: right;
}

@media print {
  .glow-bg,
  .grain,
  .header,
  .footer,
  .toc,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .prose p,
  .prose li,
  .lead {
    color: #222;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }
}
