/* Healife web funnel — mobil öncelikli.
   Görsel dil uygulamadaki onboarding'den: OnboardingColors (lib/config/colors.dart),
   radius 12/16/24, seçili kartta lime degrade + koyu metin, 60px düğme.
   Renk değişkenleri ../styles/tokens.css'ten. */

@font-face {
  font-family: "AppIcons";
  src: url("/start/fonts/AppIcons.ttf?v=20261013i") format("truetype");
  font-display: block;
}

:root {
  --border: #2c2c2e;
  --border-2: #3a3a3c;
  --grad: linear-gradient(135deg, #8fb81c, #bbe448 55%, #d4f07e);
  --r-card: 16px;
  --r-btn: 16px;
  --glow: 0 6px 22px -6px rgba(187, 228, 72, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
a {
  color: var(--lime);
}
img {
  max-width: 100%;
  display: block;
}
.ai {
  font-family: "AppIcons";
  font-style: normal;
  font-weight: normal;
  font-size: 1.25em;
  line-height: 1;
  display: inline-block;
  flex: none;
  speak: never;
  -webkit-font-smoothing: antialiased;
}
.brand {
  width: 22px;
  height: 22px;
  flex: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
noscript p {
  padding: 2rem;
  text-align: center;
}

/* ============================================================ iskelet */

.funnel {
  --col: 480px;
  min-height: 100dvh;
}
.funnel--wide {
  --col: 760px;
}
.main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(40rem 26rem at 50% -8rem, rgba(187, 228, 72, 0.07), transparent 70%),
    var(--bg);
}
.aside {
  display: none;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: calc(0.4rem + env(safe-area-inset-top)) 0.75rem 0.7rem;
  background: rgba(18, 18, 20, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}
.top__row,
.segs {
  max-width: calc(var(--col) + 0.5rem);
  margin-inline: auto;
}
.top__row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}
.top__back {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}
.top__back:hover {
  background: var(--surface);
  color: var(--text);
}
.top__logo {
  justify-self: center;
  height: 21px;
  width: auto;
}
.top__count {
  justify-self: end;
  padding-right: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}
.segs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 0.3rem;
  padding: 0 0.25rem;
}
.seg__label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-3);
}
.seg__label .ai {
  font-size: 0.8rem;
  color: var(--lime);
}
.seg.is-cur .seg__label,
.seg.is-done .seg__label {
  color: var(--text);
}
.seg__bar {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}
.seg__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  transition: width 0.5s var(--ease);
}

.stage {
  overflow-x: clip;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: calc(var(--col) + 2.5rem);
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0;
}
.stage__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.stage__inner.enter {
  animation: enter 0.42s var(--ease) both;
}
.stage__inner.enter-back {
  animation: enterBack 0.38s var(--ease) both;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}
@keyframes enterBack {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
}
.grow {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ============================================================ yazı */

.qhead {
  text-align: center;
  margin: 0.75rem 0 1.5rem;
}
.q {
  margin: 0;
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 1.85rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hint {
  margin: 0.5rem auto 0;
  max-width: 34em;
  color: var(--text-2);
  font-size: 0.95rem;
  text-wrap: pretty;
}
.eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.display {
  margin: 0.6rem 0 0.9rem;
  font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  color: var(--lime);
}
.display--sm {
  font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.6rem);
}
.lead {
  margin: 0 0 1.6rem;
  color: var(--text-2);
  font-size: 1.05rem;
  text-wrap: pretty;
}
.fine {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-3);
}
.fine .ai {
  font-size: 0.85rem;
  vertical-align: -2px;
}
.center {
  text-align: center;
}
.err {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #ff6b6b;
}
.sub {
  margin: 2.25rem 0 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.credit {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.66rem;
  color: var(--text-3);
  opacity: 0.7;
}

/* ============================================================ düğmeler */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 60px;
  padding: 0 1.6rem;
  border-radius: var(--r-btn);
  font-weight: 700;
  font-size: 1.02rem;
  transition: transform 0.15s var(--ease), background 0.2s, opacity 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn .ai {
  font-size: 1.15rem;
}
.btn:active:not(:disabled) {
  transform: scale(0.98);
}
.btn:disabled {
  background: var(--border) !important;
  color: #636366 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}
.btn--primary {
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: var(--glow);
}
.btn--primary:hover:not(:disabled) {
  filter: brightness(1.06);
}
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--block {
  width: 100%;
}
.btn--xl {
  min-height: 62px;
  padding: 0 2.2rem;
  font-size: 1.08rem;
}
.btn--apple {
  background: #fff;
  color: #000;
}
.btn--google {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn.is-busy {
  opacity: 0.6;
}
.link {
  align-self: center;
  margin-top: auto;
  padding: 1rem;
  color: var(--text-3);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.link.is-on {
  color: var(--lime);
  font-weight: 600;
}

/* Alt sabit düğme: telefonda başparmağın altında */
.dock {
  position: sticky;
  bottom: 0;
  margin: auto -1.25rem 0;
  padding: 1.5rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(18, 18, 20, 0), var(--bg) 38%);
}
.stage__inner > :not(.dock):last-of-type {
  margin-bottom: 0.5rem;
}
.dock--2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.75rem;
}

/* ============================================================ seçenek kartı (TextChoiceWidget) */

.opts {
  display: grid;
  gap: 0.7rem;
  padding-bottom: 0.5rem;
}
.opts--grid {
  grid-template-columns: 1fr 1fr;
}
.opts--grid .opt:first-child {
  grid-column: 1 / -1;
}
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 62px;
  padding: 1rem;
  text-align: left;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s var(--ease);
}
.opt:hover {
  border-color: var(--border-2);
  background: #26262b;
}
.opt:active {
  transform: scale(0.985);
}
.opt.is-on {
  background: var(--grad);
  border-color: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 4px 14px rgba(187, 228, 72, 0.25);
  animation: popIn 0.28s var(--ease);
}
@keyframes popIn {
  50% {
    transform: scale(0.98);
  }
}
.opt__ic {
  font-size: 1.4rem;
  width: 1.4rem;
  text-align: center;
  color: var(--lime);
}
.opt.is-on .opt__ic,
.opt.is-on .opt__end {
  color: var(--on-lime);
}
.opt__txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}
.opt__txt b {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}
.opt__txt small {
  color: var(--text-2);
  font-size: 0.84rem;
  line-height: 1.35;
}
.opt.is-on small {
  color: rgba(10, 10, 10, 0.72);
}
.opt__badge {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.22);
  font-size: 0.68rem;
  font-weight: 700;
}
.opt__end {
  font-size: 1.35rem;
}
.opt__mark {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--text-3);
}
.opt__mark.is-box {
  border-radius: 6px;
}
.opts--grid .opt {
  min-height: 58px;
  padding: 0.85rem;
  gap: 0.6rem;
}
.opts--grid .opt__txt b {
  font-size: 0.93rem;
}

.shake {
  animation: shake 0.35s;
}
@keyframes shake {
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* ============================================================ cinsiyet (GenderSelectWidget) */

.gender {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}
.gcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.gcard__img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.66;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(80% 60% at 50% 100%, rgba(255, 255, 255, 0.06), transparent 70%), var(--surface);
  border: 1.5px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.gcard__img img {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transform-origin: bottom center;
  transition: transform 0.35s var(--ease), filter 0.35s;
  filter: grayscale(0.15) brightness(0.92);
}
.gcard__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 40%);
  transition: background 0.35s;
}
.gcard:hover .gcard__img {
  border-color: var(--border-2);
}
.gcard.is-on .gcard__img {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(187, 228, 72, 0.14), 0 10px 30px -10px rgba(187, 228, 72, 0.45);
}
.gcard.is-on .gcard__img img {
  transform: scale(1.06);
  filter: none;
}
.gcard.is-on .gcard__img::after {
  background: linear-gradient(to top, rgba(187, 228, 72, 0.45), transparent 45%);
}
.gcard__label {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.gcard.is-on .gcard__label {
  font-weight: 800;
  color: var(--text);
}

/* ============================================================ gün sayısı */

.days {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  aspect-ratio: 1.35;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}
.day b {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.day span {
  color: var(--text-2);
  font-size: 0.85rem;
}
.day:hover {
  border-color: var(--border-2);
}
.day.is-on {
  background: var(--grad);
  border-color: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 4px 14px rgba(187, 228, 72, 0.25);
}
.day.is-on span {
  color: rgba(10, 10, 10, 0.7);
}

/* ============================================================ kas haritası (BodyFocusWidget) */

.atlas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  height: var(--fit, min(46vh, 380px));
  margin-bottom: 1.1rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.atlas.is-ready {
  opacity: 1;
}
.atlas__fig {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 0;
  padding: 0.6rem 0.4rem 1.6rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(187, 228, 72, 0.11), transparent 72%),
    linear-gradient(180deg, #1f1f24, #18181b);
}
.atlas__fig svg {
  height: 100%;
  width: auto;
  max-width: 100%;
  overflow: visible;
}
.atlas__tag {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
/* Yalnız dolgusu tanımlı parçalar boyanır; dolgusuz yollar kontur çizgisi
   (kök <svg fill="none">) — onları doldurmak figürün etrafında "kanat" çiziyor.
   Seçilemeyen parçalar koyu silüet, seçilebilir kaslar açık: neye dokunulacağı belli. */
@media (max-width: 719px) {
  .chips {
    gap: 0.4rem;
  }
  .chip {
    min-height: 36px;
    padding: 0 0.8rem;
    font-size: 0.85rem;
  }
  .atlas {
    margin-bottom: 0.8rem;
  }
}
.hint--tap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.hint--tap .ai {
  color: var(--lime);
  animation: tapHint 1.6s var(--ease) infinite;
}
@keyframes tapHint {
  50% {
    transform: translateY(-3px);
  }
}
.atlas path[fill] {
  fill: #2c2c33;
}
.atlas path:not([fill]) {
  stroke: #141417;
}
/* underlayer: figürün tamamını kaplayan dokunma alanı, görünmemeli */
.atlas path#underlayer {
  fill: transparent;
}
.atlas path.m {
  fill: #9a9aa6;
  cursor: pointer;
  transition:
    fill 0.2s,
    filter 0.2s;
}
.atlas:not(.has-sel) path.m {
  animation: muscleHint 1.6s ease-in-out 0.5s 2;
}
@keyframes muscleHint {
  50% {
    fill: #c7c9b8;
  }
}
.atlas path.m.hov {
  fill: #d6ec96;
}
.atlas path.m.on {
  fill: var(--lime);
  filter: drop-shadow(0 0 5px rgba(187, 228, 72, 0.55));
}
.atlas path.m.on.hov {
  fill: var(--lime-bright);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
}
.chip {
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.chip:hover {
  border-color: var(--border-2);
}
.chip.is-on {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 2px 8px rgba(187, 228, 72, 0.25);
}

/* ============================================================ motivasyon ara ekranı */

.moti {
  text-align: center;
  padding-top: 0.5rem;
}
.moti__art {
  position: relative;
  width: min(100%, 300px, var(--fit, 300px));
  aspect-ratio: 1;
  margin: 0 auto 1.25rem;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(187, 228, 72, 0.35);
}
.moti__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.moti__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 18, 20, 0.55), transparent 45%);
}
.moti__art.is-alpha {
  background: radial-gradient(60% 55% at 50% 60%, rgba(187, 228, 72, 0.22), transparent 70%), var(--surface);
}
.moti__art.is-alpha img {
  object-fit: contain;
  padding: 1.25rem 0.5rem 0;
}
.moti__phase {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(187, 228, 72, 0.12);
  border: 1px solid rgba(187, 228, 72, 0.3);
  color: var(--lime-bright);
  font-size: 0.78rem;
  font-weight: 700;
}
.recap {
  list-style: none;
  margin: 1.25rem auto 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 360px;
  text-align: left;
}
.recap li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}
.recap .ai {
  color: var(--lime);
}

/* ============================================================ çark seçici (WheelPickerWidget) */

.wheelbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
}
.wheelbox__badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(187, 228, 72, 0.12);
  color: var(--lime);
  font-size: 1.5rem;
}
.wheel {
  --h: min(56px, calc(var(--fit, 280px) / 5));
  position: relative;
  width: min(100%, 300px);
  height: calc(var(--h) * 5);
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
}
.wheel__band {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--h) * 2);
  height: var(--h);
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--lime);
  box-shadow: 0 0 0 4px rgba(187, 228, 72, 0.08);
  pointer-events: none;
}
.wheel__unit {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-3);
}
.wheel__list {
  position: relative;
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  outline: none;
}
.wheel__list::-webkit-scrollbar {
  display: none;
}
.wheel__pad {
  height: calc(var(--h) * 2);
}
.wheel__item {
  --d: 3;
  height: var(--h);
  display: grid;
  place-items: center;
  scroll-snap-align: center;
  font-size: calc(2.1rem - var(--d) * 0.32rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--text-2);
  opacity: calc(1 - var(--d) * 0.28);
  cursor: pointer;
  user-select: none;
}
.wheel__item.is-on {
  color: var(--text);
}
.wheel__list:focus-visible + .wheel__band,
.wheel:focus-within .wheel__band {
  box-shadow: 0 0 0 4px rgba(187, 228, 72, 0.18);
}
.num__note {
  min-height: 2.6em;
  margin: 1.1rem 0 0;
  max-width: 340px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-2);
}
.num__note.is-warn {
  color: var(--warning);
}

/* ============================================================ kartlar */

.card {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.card__t {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
}
.card__t .ai {
  color: var(--lime);
  font-size: 1.05rem;
}
.big {
  margin-top: 0.2rem;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.big small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-3);
}
.tip {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(187, 228, 72, 0.07);
  border: 1px solid rgba(187, 228, 72, 0.18);
}
.tip .ai {
  color: var(--lime);
  margin-top: 0.1rem;
}
.tip p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-2);
}

/* VKİ */
.bmi__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.bmi__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--lime);
  font-size: 1.5rem;
}
.bmi__main {
  flex: 1;
}
.bmi__main small {
  font-size: 0.75rem;
  color: var(--text-3);
}
.bmi__val {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.bmi__cat {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  color: var(--c);
  font-size: 0.8rem;
  font-weight: 700;
}
.gauge {
  position: relative;
  margin-top: 1.4rem;
}
.gauge__bar {
  height: 10px;
  border-radius: 10px;
  /* 15–40 ölçeği: 18,5 / 25 / 30 sınırları */
  background: linear-gradient(90deg, #0a84ff 0 14%, #bbe448 14% 40%, #ffd60a 40% 60%, #ff7a1a 60% 100%);
}
.gauge__pin {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  border: 4px solid var(--surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  animation: pinIn 0.9s var(--ease) both;
}
@keyframes pinIn {
  from {
    left: 0;
  }
}
.gauge__lbl {
  display: grid;
  grid-template-columns: 14fr 26fr 20fr 40fr;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-3);
}
.bmi__range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-2);
}
.bmi__range .ai {
  color: var(--lime);
}
.bmi__range b {
  margin-left: auto;
  color: var(--text);
}

/* hedef hızı */
.pace__date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--glow);
}
.ticks {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.ticks li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.92rem;
}
.ticks .ai {
  margin-top: 0.1rem;
  color: var(--lime);
}
.ticks b {
  color: var(--text);
}

/* grafik */
.chart {
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart__grid {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-dasharray: 3 5;
}
.chart__v {
  fill: var(--text-2);
  font: 700 12px var(--font);
}
.chart__v--end {
  fill: var(--lime);
}
.chart__d {
  fill: var(--text-3);
  font: 11px var(--font);
}
.chart__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.4s var(--ease) 0.15s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.chart__end {
  animation: pop 0.5s var(--ease) 1.3s both;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes pop {
  from {
    transform: scale(0.3);
    opacity: 0;
  }
}

/* ============================================================ performans / alanlar */

.perf {
  display: grid;
  gap: 0.75rem;
}
.pfield {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--border);
}
.pfield__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--lime);
  font-size: 1.35rem;
}
.pfield__txt b {
  display: block;
}
.pfield__txt small {
  color: var(--text-3);
  font-size: 0.82rem;
}
.pfield__in {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pfield__in input,
.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-2);
  background: var(--bg);
  font-size: 1.05rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pfield__in input:focus,
.field input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(187, 228, 72, 0.15);
}
.pfield__in em {
  font-style: normal;
  color: var(--text-3);
  font-size: 0.88rem;
}
.field {
  position: relative;
  display: block;
}
.field__ic {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}
.field input {
  min-height: 60px;
  padding-left: 2.9rem;
  border-radius: 16px;
  background: var(--surface);
  border-color: var(--border);
  font-size: 1.05rem;
}
.field:focus-within .field__ic {
  color: var(--lime);
}
.optin {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-2);
  cursor: pointer;
}
.optin input {
  width: 20px;
  height: 20px;
  margin: 0.1rem 0 0;
  flex: none;
  accent-color: var(--lime);
}
.optin small {
  color: var(--text-3);
}
.suggest {
  align-self: flex-start;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-2);
}
.suggest b {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================ giriş */

.funnel--intro .stage {
  padding-top: 0;
}
.intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 0 calc(1.5rem + env(safe-area-inset-bottom));
}
.intro__logo {
  height: 25px;
  width: auto;
  margin: 0 auto;
}
.intro__grid {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.intro__art {
  position: relative;
  height: var(--fit, 36vh);
  margin: 0.5rem 0 0;
  display: flex;
  justify-content: center;
}
.intro__glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 78%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 228, 72, 0.32), rgba(187, 228, 72, 0.06) 55%, transparent 70%);
  filter: blur(8px);
}
.intro__fig {
  position: relative;
  height: 100%;
  width: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem 0.5rem 0.55rem;
  border-radius: 14px;
  background: rgba(32, 32, 36, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  animation: floaty 6s ease-in-out infinite;
  text-align: left;
}
.float .ai {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--on-lime);
  font-size: 1rem;
}
.float b {
  display: block;
  font-size: 0.82rem;
  line-height: 1.2;
}
.float span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-3);
}
.float--a {
  left: 0;
  top: 18%;
}
.float--b {
  right: 0;
  top: 46%;
  animation-delay: -2s;
}
.float--c {
  display: none;
}
@keyframes floaty {
  50% {
    transform: translateY(-7px);
  }
}
.intro__copy {
  text-align: center;
  margin-top: 0.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(187, 228, 72, 0.12);
  border: 1px solid rgba(187, 228, 72, 0.28);
  color: var(--lime-bright);
  font-size: 0.8rem;
  font-weight: 600;
}
.intro__copy .btn {
  width: 100%;
}
.intro__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.intro__facts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.25rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.intro__facts .ai {
  color: var(--lime);
}
.intro__facts b {
  display: block;
  font-size: 1.1rem;
  line-height: 1.1;
}
.intro__facts span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-3);
}

/* ============================================================ yükleme */

.loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}
.ring {
  --p: 0;
  position: relative;
  width: 172px;
  height: 172px;
  display: grid;
  place-items: center;
}
.ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 8;
}
.ring__bg {
  stroke: var(--surface-2);
}
.ring__fg {
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: calc(326.7 * (1 - var(--p)));
  filter: drop-shadow(0 0 10px rgba(187, 228, 72, 0.45));
}
.ring b {
  font-size: 2.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.loading .q {
  margin-top: 1.75rem;
}
.checks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  width: min(100%, 360px);
  text-align: left;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-3);
  transition: color 0.3s, border-color 0.3s;
}
.checks li span {
  flex: 1;
  font-size: 0.92rem;
}
.checks__ic {
  color: var(--text-3);
  transition: color 0.3s;
}
.checks__ok {
  color: var(--lime);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s var(--ease);
}
.checks li.is-active {
  color: var(--text);
}
.checks li.is-active .checks__ic {
  color: var(--lime);
}
.checks li.is-done {
  border-color: rgba(187, 228, 72, 0.3);
}
.checks li.is-done .checks__ok {
  opacity: 1;
  transform: none;
}

/* ============================================================ e-posta / hesap */

.email,
.account {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.badge-ok {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 1rem auto 0;
  border-radius: 22px;
  background: rgba(187, 228, 72, 0.12);
  color: var(--lime);
  font-size: 2rem;
}
.auth {
  display: grid;
  gap: 0.75rem;
}

/* ============================================================ sonuç */

.grid {
  display: grid;
  gap: 0.85rem;
}
.card--hero {
  background: linear-gradient(160deg, rgba(187, 228, 72, 0.12), var(--surface) 55%);
}
.card--hero .chart {
  margin-top: 0.5rem;
}
.macro-bar {
  display: flex;
  gap: 3px;
  height: 10px;
  margin: 0.9rem 0 0.75rem;
}
.macro-bar i {
  border-radius: 5px;
}
.macros,
.kv,
.meals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--text-2);
}
.macros li,
.kv li,
.meals li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.macros span {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--c);
}
.macros b,
.kv b,
.meals b {
  margin-left: auto;
  color: var(--text);
  text-align: right;
}
.meals {
  margin-top: 0.6rem;
}
.meals li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}
.meals li:last-child {
  border-bottom: 0;
}
.meals .ai {
  color: var(--lime);
}
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin: 0.9rem 0;
}
.week span {
  padding: 0.5rem 0;
  border-radius: 10px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-3);
}
.week span.on {
  background: var(--lime);
  color: var(--on-lime);
}
.shots {
  display: flex;
  gap: 0.85rem;
  margin: 0 -1.25rem;
  padding: 0 1.25rem 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar {
  display: none;
}
.shot {
  flex: 0 0 62%;
  margin: 0;
  scroll-snap-align: center;
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 1000;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
  border: 1px solid var(--border-2);
  background: var(--surface);
}
.shot figcaption {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-2);
}

/* ============================================================ paywall */

.paywall {
  display: flex;
  flex-direction: column;
}
.pw-hero {
  position: relative;
  overflow: hidden;
  height: var(--fit, 210px);
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}
.pw-hero__glow {
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 260px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 228, 72, 0.35), transparent 65%);
}
.pw-hero__img {
  position: relative;
  height: 100%;
  width: auto;
  object-fit: contain;
}
.paywall .qhead {
  margin: 0 0 1rem;
}
.plans {
  display: grid;
  gap: 0.7rem;
}
.plan {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 74px;
  padding: 0.9rem 1rem;
  text-align: left;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.plan:hover {
  border-color: var(--border-2);
}
.plan.is-on {
  border-color: var(--lime);
  background: linear-gradient(135deg, rgba(187, 228, 72, 0.14), var(--surface) 70%);
  box-shadow: 0 6px 20px -8px rgba(187, 228, 72, 0.4);
}
.plan__badge {
  position: absolute;
  top: -0.65rem;
  left: 1rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.plan__radio {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--text-3);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.plan.is-on .plan__radio {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--on-lime);
}
.plan__main,
.plan__per {
  display: flex;
  flex-direction: column;
}
.plan__main {
  flex: 1;
}
.plan__main b {
  font-size: 1.02rem;
}
.plan__main small,
.plan__per small {
  font-size: 0.76rem;
  color: var(--text-3);
}
.plan__per {
  align-items: flex-end;
  text-align: right;
}
.plan__per b {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.plan__per em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--lime);
}
.trust {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.76rem;
  color: var(--text-2);
}
.trust li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.trust .ai {
  color: var(--lime);
  font-size: 0.95rem;
}
.feats {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.feats li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.feats li:last-child {
  border-bottom: 0;
}
.feats .ai {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(187, 228, 72, 0.12);
  color: var(--lime);
  font-size: 1.05rem;
}
.faq {
  display: grid;
  gap: 0.5rem;
}
.faq details {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ai {
  color: var(--text-3);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary .ai {
  transform: rotate(180deg);
}
.faq p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--text-2);
  font-size: 0.88rem;
}
.legal {
  margin-top: 1.5rem;
}
.dock--pw {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.free-link {
  padding: 0.6rem 1rem 0.1rem;
  font-size: 0.85rem;
  color: var(--text-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.free-link:hover {
  color: var(--text-2);
}

/* ============================================================ ödeme */

.pay {
  margin-top: 1rem;
}
.pay__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 200px;
  color: var(--text-3);
}
.pay__frame {
  width: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}
/* Direkt API kart formu (16.10.2026) */
.cf {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.2rem;
}
.cf .co__lbl {
  margin-bottom: 0;
}
.field--plain input {
  padding-left: 1rem;
  min-height: 56px;
  font-variant-numeric: tabular-nums;
}
.cf__num input {
  padding-right: 4.2rem;
  letter-spacing: 0.04em;
}
.cf__brand {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  min-width: 40px;
  padding: 0 0.45rem;
  border-radius: 6px;
  background: #fff;
  font-style: normal;
  font-weight: 800;
  font-size: 0.7rem;
  line-height: 24px;
  text-align: center;
  display: none;
}
.cf__brand[data-brand="visa"] { display: block; color: #1a1f71; font-style: italic; }
.cf__brand[data-brand="visa"]::after { content: "VISA"; }
.cf__brand[data-brand="mastercard"] { display: block; color: #eb001b; }
.cf__brand[data-brand="mastercard"]::after { content: "MC"; }
.cf__brand[data-brand="troy"] { display: block; color: #00a19b; }
.cf__brand[data-brand="troy"]::after { content: "troy"; }
.cf__brand[data-brand="amex"] { display: block; color: #2e77bc; }
.cf__brand[data-brand="amex"]::after { content: "AMEX"; }
.cf__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.cf .err {
  margin-top: -0.2rem;
}
.optin--renew {
  margin-top: 0.4rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  font-size: 0.86rem;
  line-height: 1.45;
}
.optin--renew b {
  color: var(--text);
}
.optin--renew a {
  color: var(--lime);
}
.optin--renew:has(input:checked) {
  border-color: rgba(187, 228, 72, 0.5);
}
.pay__note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--paper);
  color: var(--paper-ink);
  font-size: 0.9rem;
}
.cardform {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--paper);
  color: var(--paper-ink);
}
.cf-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.cf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--paper-line);
}
.cf-row span {
  white-space: nowrap;
  font-size: 0.72rem;
  color: var(--paper-muted);
}
.cf-row i {
  font-style: normal;
  letter-spacing: 0.06em;
  color: #9a9c92;
}
.btn.is-dim {
  opacity: 0.45;
  box-shadow: none;
}
.dock--pay .err {
  margin: 0 0 0.5rem;
  text-align: center;
}
.dock--pay .soon {
  margin-top: 0;
  background: var(--surface);
}
.optin--legal {
  margin: 0.75rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.5;
}
.soon {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(187, 228, 72, 0.07);
  border: 1px solid rgba(187, 228, 72, 0.35);
}
.soon > .ai {
  color: var(--lime);
  margin-top: 0.15rem;
}
.soon b {
  display: block;
  margin-bottom: 0.25rem;
}
.soon p {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: var(--text-2);
}
.demo-note {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.9rem 0 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 214, 10, 0.08);
  border: 1px dashed rgba(255, 214, 10, 0.35);
  color: var(--warning);
  font-size: 0.8rem;
}
.secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem;
  font-size: 0.78rem;
  color: var(--text-3);
  text-align: center;
}
.spin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================ başarı */

.success {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0 calc(2rem + env(safe-area-inset-bottom));
  text-align: center;
}
.success__art {
  position: relative;
  height: 220px;
  display: flex;
  justify-content: center;
  margin: 1rem 0 0.5rem;
  -webkit-mask-image: linear-gradient(#000 75%, transparent);
  mask-image: linear-gradient(#000 75%, transparent);
}
.success__art img {
  position: relative;
  height: 100%;
  width: auto;
}
.burst {
  position: absolute;
  right: calc(50% - 110px);
  top: 18px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  font-size: 1.6rem;
  box-shadow: 0 0 0 10px rgba(187, 228, 72, 0.15);
  animation: pop 0.6s var(--ease) 0.2s both;
}
.steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  text-align: left;
}
.steps li {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 800;
}
.steps li > div {
  flex: 1;
}
.steps li > .ai {
  color: var(--text-3);
}
.steps b {
  display: block;
}
.steps small {
  color: var(--text-3);
}
.acct {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(187, 228, 72, 0.07);
  border: 1px solid rgba(187, 228, 72, 0.35);
  text-align: left;
}
.acct__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lime);
}
.acct__head b {
  color: var(--text);
  font-size: 0.95rem;
}
.acct__id {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.acct__logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  color: #000;
}
.acct__id > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.acct__id small {
  font-size: 0.72rem;
  color: var(--text-3);
}
.acct__id b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-2);
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.store {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 60px;
  padding: 0 1.25rem;
  border-radius: 16px;
  background: #fff;
  color: #000;
  text-decoration: none;
  transition: transform 0.15s var(--ease);
}
.store:active {
  transform: scale(0.98);
}
.store .brand {
  width: 26px;
  height: 26px;
}
.store em {
  font-style: normal;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store em span {
  font-size: 0.7rem;
}
.store em strong {
  font-size: 1.1rem;
}
.qr {
  margin: 1.5rem auto 0;
  font-size: 0.8rem;
  color: var(--text-3);
}
.qr img {
  margin: 0 auto 0.4rem;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
}

/* ============================================================ masaüstü: yan panel */

@media (min-width: 720px) {
  .stage {
    padding-top: clamp(1rem, 5vh, 3.5rem);
  }
  /* Düğme masaüstünde de yapışkan: içerik uzasa bile kaydırmadan basılır. */
  .dock {
    margin-top: auto;
    padding: 1.5rem 1.25rem clamp(1rem, 4vh, 2.5rem);
  }
  .funnel--wide .dock {
    display: flex;
    justify-content: center;
  }
  .funnel--wide .dock .btn {
    max-width: 420px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .result .card--hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    column-gap: 2rem;
    align-items: center;
  }
  .result .card--hero .chart {
    margin: 0;
  }
  .shots {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    overflow: visible;
  }
  .funnel--wide .sub {
    text-align: center;
  }
  .gender {
    margin-top: 0.5rem;
  }
  .link {
    margin-top: 0.5rem;
  }
  .opts--grid .opt:first-child {
    grid-column: auto;
  }
  .opts--grid {
    grid-template-columns: 1fr 1fr;
  }

  /* giriş: yan yana */
  .funnel--intro {
    --col: 1120px;
  }
  .intro {
    padding-top: 1.75rem;
  }
  .intro__logo {
    margin: 0;
  }
  .intro__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 3rem;
  }
  .intro__art {
    order: 2;
    height: var(--fit, min(74vh, 660px));
    margin: 0;
  }
  .intro__copy {
    order: 1;
    text-align: left;
    margin: 0;
  }
  .intro__copy .btn {
    width: auto;
  }
  .intro__facts {
    max-width: 440px;
  }
  .float--a {
    left: 2%;
    top: 20%;
  }
  .float--b {
    right: 0;
    top: 42%;
  }
  .float--c {
    display: flex;
    left: 8%;
    bottom: 14%;
    animation-delay: -4s;
  }
  .success {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .funnel.has-aside {
    display: grid;
    grid-template-columns: minmax(360px, 40%) 1fr;
  }
  .aside {
    position: sticky;
    top: 0;
    height: 100dvh;
    display: block;
    overflow: hidden;
    background: #0b0b0c;
  }
  .funnel:not(.has-aside) .aside {
    display: none;
  }
  /* Görsel değişince yenisi eskisinin üstünde belirir; eski katman yenisi
     tamamen görünene dek altta kalır (siyaha düşüp kararma yok). */
  .aside__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    opacity: 0;
    transform: scale(1.06);
    transition:
      opacity 0.9s var(--ease),
      transform 1.8s var(--ease);
  }
  .aside__img.is-in {
    opacity: 1;
    transform: none;
  }
  .aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to top, rgba(11, 11, 12, 0.96) 8%, rgba(11, 11, 12, 0.55) 45%, rgba(11, 11, 12, 0.15) 75%),
      linear-gradient(to right, transparent 70%, rgba(18, 18, 20, 0.9));
  }
  .aside__copy {
    transition:
      opacity 0.22s var(--ease),
      transform 0.22s var(--ease);
    position: absolute;
    left: clamp(2rem, 4vw, 3.5rem);
    right: clamp(2rem, 4vw, 3.5rem);
    bottom: clamp(2rem, 6vh, 3.5rem);
    z-index: 1;
  }
  .aside__copy.is-out h2,
  .aside__copy.is-out p {
    opacity: 0;
    transform: translateY(8px);
  }
  .aside__copy h2,
  .aside__copy p {
    transition:
      opacity 0.22s var(--ease),
      transform 0.22s var(--ease);
  }
  .aside__copy img {
    height: 24px;
    width: auto;
    margin-bottom: 1.5rem;
  }
  .aside__copy h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  .aside__copy p {
    margin: 0 0 1.4rem;
    max-width: 30em;
    color: var(--text-2);
  }
  .aside__copy ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .aside__copy li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(32, 32, 36, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 0.82rem;
  }
  .aside__copy li .ai {
    color: var(--lime);
  }
  .has-aside .main {
    background: var(--bg);
  }
  .has-aside .top__logo {
    visibility: hidden;
  }
  .has-aside .stage {
    justify-content: center;
  }
  .has-aside .stage__inner {
    flex: 0 1 auto;
  }
}

/* ============================================================ ödeme (sipariş özeti + form) */

.funnel--checkout {
  --col: 1000px;
}
.co {
  display: grid;
  gap: 1rem;
}
.co__sum {
  padding: 1.1rem 1.15rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.co__sum .eyebrow {
  display: block;
  margin-bottom: 0.8rem;
}
.co__prod {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.co__prod div {
  display: flex;
  flex-direction: column;
}
.co__prod small {
  color: var(--text-3);
  font-size: 0.8rem;
}
.co__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--on-lime);
}
.co__price {
  display: none;
}
.co__lines {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
}
.co__lines div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.co__lines dt {
  color: var(--text-2);
}
.co__lines dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.co__lines .is-total {
  margin-top: 0.3rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
}
.co__lines .is-total dt {
  color: var(--text);
}
.co__renew {
  display: flex;
  gap: 0.5rem;
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-3);
}
.co__renew .ai {
  margin-top: 0.1rem;
  font-size: 1rem;
  color: var(--lime);
}
.co__renew b {
  font-weight: 600;
  color: var(--text-2);
}
.co__incl {
  display: none;
}
.co__change {
  margin-top: 0.6rem;
  padding: 0;
  font-size: 0.8rem;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.co__change:hover {
  color: var(--text);
}
.co__title {
  margin: 0.5rem 0 0.9rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.co__acct {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.co__acct div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.co__acct small {
  font-size: 0.72rem;
  color: var(--text-3);
}
.co__acct b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}
.co__acct-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: #000;
}
.co__acct-ic--mail {
  background: rgba(187, 228, 72, 0.14);
  color: var(--lime);
}
.co__acct-ok {
  color: var(--lime);
}
.co__secure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0.9rem 0 0.25rem;
  font-size: 0.74rem;
  color: var(--text-3);
}
.co__secure > span:first-child {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.co__secure .ai {
  font-size: 0.95rem;
  color: var(--text-2);
}
.cards {
  display: flex;
  gap: 0.35rem;
}
.card-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  min-width: 38px;
  padding: 0 0.4rem;
  border-radius: 5px;
  background: #fff;
  font-style: normal;
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}
.card-mark--visa {
  color: #1a1f71;
  font-style: italic;
  font-size: 0.72rem;
}
.card-mark--mc b {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #eb001b;
}
.card-mark--mc b + b {
  margin-left: -5px;
  background: #f79e1b;
  mix-blend-mode: multiply;
}
.card-mark--troy {
  color: #00a19b;
  font-size: 0.74rem;
}
.co__form .dock {
  margin-inline: 0;
  padding-inline: 0;
}

/* satın alma adımlarının yasal alt bilgisi */
.lfoot {
  margin: 1.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-3);
}
.lfoot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.9rem;
  margin-bottom: 0.5rem;
}
.lfoot a {
  color: var(--text-2);
}
.lfoot a:hover {
  color: var(--text);
}
.lfoot p {
  margin: 0;
  line-height: 1.5;
}
/* Tutar satırı dock'un saydam degradesine denk gelmesin: degrade kısa, zemin dolu. */
.dock--pw {
  padding-top: 1.1rem;
  background: linear-gradient(rgba(18, 18, 20, 0), var(--bg) 0.9rem);
}
/* Paywall üstü: kutusuz tek satır; fiyat kartlarıyla yarışmasın. */
.pw-incl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  font-size: 0.82rem;
  color: var(--text-2);
}
.pw-incl li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.pw-incl .ai {
  font-size: 1rem;
  color: var(--lime);
}
.pw-total {
  margin: 0 0 0.55rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-2);
}
.pw-total b {
  color: var(--text);
}

@media (min-width: 1024px) {
  .co {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
  }
  .co__sum {
    position: sticky;
    top: 5.5rem;
    padding: 1.75rem;
  }
  .co__price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 1.25rem 0 0.25rem;
  }
  .co__price b {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
  }
  .co__price span {
    color: var(--text-3);
  }
  .co__incl {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-2);
  }
  .co__incl li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .co__incl .ai {
    color: var(--lime);
  }
}

/* Çerez onay bandı (scripts/consent.js; styles/base.css kopyası — funnel base.css'i yüklemiyor).
   Funnel'ın kendi onay kutusu .optin; .consent yalnız bant.
   "Reddet" ve "Kabul et" bilerek aynı boyutta ve aynı sırada durur:
   ret seçeneği kabul kadar kolay olmalı. */
.consent {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  translate: -50% 0;
  width: min(44rem, calc(100% - 2rem));
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-lg);
  background: rgba(24, 24, 27, 0.94);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95);
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.55;
}
.consent p {
  margin: 0;
}
.consent__title {
  color: var(--text);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.2rem !important;
}
.consent a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.consent__opts {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.consent__opts[hidden] {
  display: none;
}
.consent__opt {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  cursor: pointer;
}
.consent__opt input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--lime);
}
.consent__opt b {
  display: block;
  color: var(--text);
}
.consent__more {
  margin-top: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent__more:hover {
  color: var(--text);
}
.consent__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.consent__btn {
  min-width: 7.25rem;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.consent__btn:hover {
  border-color: var(--text-2);
}
.consent__btn--yes {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--on-lime);
}
.consent__btn--yes:hover {
  background: var(--lime-bright);
  border-color: var(--lime-bright);
}
.consent__btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .consent {
    flex-direction: column;
    align-items: stretch;
  }
  .consent__btn {
    flex: 1;
  }
}


/* ============================================================ tek ekran */

.gender .gcard__img {
  max-height: calc(var(--fit, 100vh) - 2.4rem);
}
.pace__chart .chart {
  display: block;
  margin: 0 auto;
  max-height: calc(var(--fit, 100vh) - 2.5rem);
}

/* Kısa ekranlar (dizüstü, küçük telefon): boşlukları sıkılaştır ki esnek
   görsel gereğinden fazla küçülmesin. */
@media (max-height: 760px) {
  .qhead {
    margin: 0.25rem 0 1rem;
  }
  .q {
    font-size: clamp(1.35rem, 1.15rem + 1vw, 1.6rem);
  }
  .hint {
    margin-top: 0.3rem;
    font-size: 0.88rem;
  }
  .ticks {
    margin-top: 0.8rem;
    gap: 0.45rem;
  }
  .recap {
    margin-top: 0.9rem;
    gap: 0.4rem;
  }
  .recap li {
    padding: 0.5rem 0.8rem;
  }
  .moti__art {
    margin-bottom: 0.9rem;
  }
  .wheelbox__badge {
    width: 44px;
    height: 44px;
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
  }
  .plans {
    gap: 0.55rem;
  }
  .plan {
    min-height: 64px;
    padding-block: 0.65rem;
  }
}

/* Mobil ödeme: özet tek satıra yakın (ürün + tutar + yenileme), form hemen altında. */
@media (max-width: 1023px) {
  .co__sum {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 1rem;
    padding: 0.9rem 1rem;
  }
  .co__sum .eyebrow,
  .co__lines > div:not(.is-total),
  .co__lines .is-total dt {
    display: none;
  }
  .co__lines,
  .co__lines .is-total {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .co__lines .is-total dd {
    font-size: 1.1rem;
  }
  .co__renew,
  .co__change {
    grid-column: 1 / -1;
  }
  .co__renew {
    margin-top: 0.7rem;
  }
  .co__change {
    justify-self: start;
    margin-top: 0.4rem;
  }
  .co__title {
    margin: 0.4rem 0 0.7rem;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ödeme: ad soyad alanı (e-posta kutusunun altı) */
.co__lbl { margin: 0.9rem 0 0.35rem 0.2rem; font-size: 0.9rem; font-weight: 600; color: var(--text-2); }
.co__lbl small { font-weight: 400; color: var(--text-3); }
.co__name { margin: 0; }
.co__name.field--noic input { padding-left: 1rem; }
.co__name + .err { margin-top: 0.4rem; }
