/* ==========================================================================
   PikePlan — landing
   Marka: #141414 zemin, #eeff00 vurgu, Helvetica Neue.
   Helvetica Neue olmayan cihazlarda (Windows, Android) Inter yüklenir;
   Apple cihazlarda Inter hiç indirilmez.
   ========================================================================== */

@font-face {
  font-family: "Inter PP";
  src: url("../fonts/inter/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter PP";
  src: url("../fonts/inter/inter-tr.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+011E-011F, U+0130, U+015E-015F, U+20BA;
}

:root {
  --ink: #141414;
  --panel: #181818;
  --panel-2: #2b2b2b;
  --topbar: #2a2a2a;
  --line: #2b2b2b;
  --text: #e6e8e2;
  --muted: #b8b8b8;
  --faint: #8b8b8b;
  --accent: #eeff00;
  --on-accent: #141414;
  --danger: #c0392b;

  --font: "Helvetica Neue", "Inter PP", Helvetica, Arial, sans-serif;
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.muted { color: var(--muted); }

.h2 {
  font-size: clamp(2rem, 4.3vw, 3.875rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.035em;
  text-wrap: balance;
}

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px;
  border-radius: 10px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; border-radius: 9px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: #f5ff66; }
.btn-ghost { border-color: #3a3a3a; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-ink { background: var(--ink); color: var(--accent); }
.btn-ink:hover { background: #000; }
.btn-ink:focus-visible { outline-color: var(--ink); }

/* ---------- logo ---------- */
.logo { --h: 32px; display: inline-flex; align-items: center; gap: calc(var(--h) * .295); text-decoration: none; }
.logo-mark { height: var(--h); width: calc(var(--h) * 1.7964); fill: var(--accent); }
.logo-word { height: calc(var(--h) * .296); width: calc(var(--h) * .296 * 11.8143); fill: var(--text); }

/* ---------- üst menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(20, 20, 20, .72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a, .link-quiet { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .link-quiet:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 22px; }

/* yıldızlı arka plan (canvas) */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(64px, 8vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: 0; right: -10%; top: 10%; width: 70%; height: 80%;
  background: radial-gradient(closest-side, rgba(238, 255, 0, .09), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5.6fr) minmax(0, 6.4fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-title { font-size: clamp(2.125rem, 4.2vw, 3.85rem); line-height: .95; font-weight: 700; letter-spacing: -.048em; }
.hero-side { margin-top: clamp(24px, 2.4vw, 36px); }
.hero-lede { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--faint); }

.hero-visual { position: relative; perspective: 2400px; }
.hero-stage { position: relative; padding: 2% 7% 28% 0; transform: rotateY(-12deg) rotateX(4deg) rotateZ(-1.2deg); transform-origin: 35% 45%; }
.hero-stage > .win { width: 100%; }
.hero .win-body { container: hwin / inline-size; }
.hero-phone { position: absolute; z-index: 2; right: 0; bottom: 0; width: 27%; }

.streak { position: absolute; right: 27.5%; top: 55%; width: 15%; height: 40px; pointer-events: none; }
.streak i { position: absolute; right: 0; height: 4px; border-radius: 2px; background: var(--accent); opacity: 0; transform-origin: right center; }
.streak i:nth-child(1) { top: 0; width: 100%; }
.streak i:nth-child(2) { top: 11px; width: 72%; }
.streak i:nth-child(3) { top: 22px; width: 86%; }
.streak i:nth-child(4) { top: 33px; width: 54%; }
.streak.go i { animation: streak .9s var(--ease) both; }
.streak.go i:nth-child(2) { animation-delay: .06s; }
.streak.go i:nth-child(3) { animation-delay: .12s; }
.streak.go i:nth-child(4) { animation-delay: .18s; }
@keyframes streak { 0% { opacity: 0; transform: translateX(-120%) scaleX(.2); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateX(0) scaleX(1); } }

/* ==========================================================================
   PENCERE + TELEFON
   ========================================================================== */
.win {
  position: relative; isolation: isolate; border-radius: 14px; overflow: hidden; background: var(--ink);
  border: 1px solid #2f2f2f;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(0, 0, 0, .4);
}
.win-bar { height: 34px; display: flex; align-items: center; justify-content: center; background: var(--topbar); border-bottom: 1px solid #333; }
.win-url { font-size: 12px; color: var(--faint); background: #1f1f1f; padding: 3px 14px; border-radius: 6px; letter-spacing: .01em; }
.win-body { container: win / inline-size; }

.phone { container: phone / inline-size; margin: 0; }
.phone-screen {
  position: relative; overflow: hidden; background: var(--ink); border-radius: 9cqw; margin: 2.95cqw;
  box-shadow: 0 0 0 2.6cqw #1d1d1d, 0 0 0 2.95cqw #3b3b3b, 0 40px 70px -24px rgba(0, 0, 0, .8);
}
.phone-status { position: absolute; inset: 0 0 auto; height: 5.34cqw; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 0 7cqw; font-size: 3.4cqw; font-weight: 600; color: #fff; background: var(--ink); }
.phone-batt { width: 6.4cqw; height: 3cqw; border: .35cqw solid #fff; border-radius: .9cqw; position: relative; }
.phone-batt::before { content: ""; position: absolute; inset: .35cqw; background: #fff; border-radius: .3cqw; }
.phone-screen img { width: 100%; margin-top: 5.34cqw; -webkit-user-drag: none; }

.ps-view { position: absolute; z-index: 1; left: 0; right: 0; top: 5.34cqw; bottom: 0; overflow: hidden; background: var(--ink); transition: transform .55s var(--ease); }
.phone-screen .ps-view img { margin-top: 0; }
.ps-train { transform: translateX(100%); }
.ps-detail { z-index: 2; transform: translateY(102%); box-shadow: 0 -2cqw 6cqw rgba(0, 0, 0, .5); }
.ps-view.show { transform: none; }
.phone-screen .ps-gif { position: absolute; left: 17.47%; width: 65.07%; top: 18.93cqw; height: 65.07cqw; object-fit: contain; background: #fff; }
.tap { position: absolute; z-index: 4; width: 13cqw; height: 13cqw; margin: -6.5cqw 0 0 -6.5cqw; border-radius: 50%; background: rgba(238, 255, 0, .3); border: .5cqw solid rgba(255, 255, 255, .75); opacity: 0; pointer-events: none; }
.tap.go { animation: tap .75s var(--ease); }
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
.push {
  position: absolute; z-index: 5; left: 3cqw; right: 3cqw; top: 6.5cqw;
  display: flex; align-items: center; gap: 3cqw; padding: 3cqw 3.5cqw; border-radius: 4.5cqw;
  background: rgba(46, 46, 46, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, .5); font-size: 3.5cqw; line-height: 1.3; color: #fff;
  transform: translateY(-160%); transition: transform .55s var(--ease);
}
.push.show { transform: none; }
.push-ic { flex: none; width: 9cqw; height: 9cqw; padding: 1.6cqw; border-radius: 2.2cqw; background: var(--ink); fill: var(--accent); }
.push b { display: block; font-weight: 600; }
.push span { color: #d6d6d6; }

/* ==========================================================================
   PANEL KOPYALARI (.ui) — birimler em; 1em = pencere genişliği / 75
   ========================================================================== */
.ui {
  --u-card: #1a1a1a; --u-field: #232323; --u-edge: #262626;
  position: relative; font-size: calc(100cqw / 75); line-height: 1.3; height: 44em;
  color: var(--text); background: var(--ink);
  display: grid; gap: 1em; padding: 1.15em 1.15em 1.15em 0;
  overflow: hidden; user-select: none; -webkit-user-select: none;
}
.ui svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ui small { font-size: .66em; letter-spacing: .16em; color: var(--faint); font-weight: 600; }
.ui-card { background: var(--u-card); border: 1px solid var(--u-edge); border-radius: .9em; min-width: 0; }

.ui-side { display: flex; flex-direction: column; align-items: center; gap: 1.05em; margin: -1.15em 0; padding: 1.2em 0 1.4em; border-right: 1px solid #1e1e1e; }
.ui-side i { position: relative; display: grid; place-items: center; width: 100%; color: var(--text); }
.ui-side i svg { width: 1.3em; height: 1.3em; stroke-width: 1.6; }
.ui-side i.on, .ui-side i.acc { color: var(--accent); }
.ui-side i.on::before { content: ""; position: absolute; left: 0; top: -.25em; bottom: -.25em; width: .16em; background: var(--accent); border-radius: 0 .2em .2em 0; }
.ui-side b { height: .55em; }
.ui .ui-side-logo { width: 2.1em; height: 1.2em; fill: var(--accent); stroke: none; margin-bottom: 1em; }
.side-ava { width: 1.75em; height: 1.75em; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3d6b2a, #13210e 70%); border: 1px solid #2f2f2f; }

.tabs { display: flex; align-items: center; gap: .4em; }
.tab { display: inline-flex; align-items: center; gap: .4em; font-size: .82em; padding: .38em .95em; border-radius: .45em; border: 1px solid var(--line); color: var(--muted); }
.tab.on { background: #f2f2f2; border-color: #f2f2f2; color: var(--ink); font-weight: 600; }
.tab-grip { width: .9em !important; height: .9em !important; fill: currentColor !important; stroke: none !important; opacity: .55; }
.tab-plus { display: grid; place-items: center; width: 1.6em; color: var(--text); }
.sel { display: inline-flex; align-items: center; gap: .45em; font-size: .78em; padding: .45em .75em; border-radius: .45em; background: var(--u-field); border: 1px solid #303030; white-space: nowrap; }
.sel.lt { background: #f2f2f2; color: var(--ink); border-color: #f2f2f2; font-weight: 600; }
.sel svg { width: 1.05em; height: 1.05em; }
.pill { display: inline-flex; align-items: center; gap: .45em; font-size: .8em; padding: .55em 1em; border-radius: 99em; border: 1px solid #2f2f2f; color: var(--text); white-space: nowrap; }
.pill svg { width: 1.05em; height: 1.05em; color: var(--muted); }
.b-acc, .b-soft, .b-wht, .b-out {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-size: .82em; font-weight: 600; padding: .7em 1.35em; border-radius: .5em; white-space: nowrap;
  transition: transform .15s, filter .15s;
}
.b-acc { background: var(--accent); color: var(--on-accent); }
.b-soft { background: #d9d9d9; color: var(--ink); }
.b-wht { background: #f2f2f2; color: var(--ink); }
.b-out { border: 1px solid #333; color: var(--text); background: #181818; }
.press { transform: scale(.94); filter: brightness(.9); }
.fld { display: flex; align-items: center; justify-content: center; height: 2.55em; padding: 0 .7em; border-radius: .45em; background: var(--u-field); font-size: .86em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fld.nm { justify-content: flex-start; }
.fld.ph, .note.ph, .ph { color: #6a6a6a; }
.ava { flex: none; display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: #2b2b2b; color: var(--text); font-size: .82em; font-weight: 600; }
.lib-search { display: flex; align-items: center; gap: .6em; height: 2.6em; padding: 0 .85em; border-radius: .55em; background: var(--u-field); color: var(--faint); font-size: .82em; }
.fab { position: absolute; right: 1.1em; bottom: 1.1em; z-index: 3; display: grid; place-items: center; width: 3.1em; height: 3.1em; border-radius: 50%; background: #1f1f1f; border: 1px solid #555; color: var(--text); box-shadow: 0 .4em 1em rgba(0, 0, 0, .5); }
.fab svg { width: 1.2em; height: 1.2em; }
.note { display: block; min-height: 2.55em; padding: .75em .85em; border-radius: .45em; background: var(--u-field); font-size: .84em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.typing::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; background: var(--text); vertical-align: -.15em; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.cursor {
  position: absolute; left: 0; top: 0; z-index: 9;
  width: 1.55em !important; height: 1.55em !important;
  fill: #fff !important; stroke: var(--ink) !important; stroke-width: 1.4 !important;
  filter: drop-shadow(0 .15em .3em rgba(0, 0, 0, .5));
  opacity: 0; pointer-events: none; transition: transform .75s var(--ease), opacity .3s;
}
.cursor.on { opacity: 1; }
.cursor.click { animation: click .3s ease; }
.cursor.drag { transition: transform .76s var(--ease), opacity .3s; }
@keyframes click { 50% { scale: .8; } }
.toast {
  position: absolute; left: 50%; bottom: 5.2em; z-index: 6; display: flex; align-items: center; gap: .5em;
  font-size: .86em; padding: .75em 1.2em; border-radius: .6em; background: #f2f2f2; color: var(--ink); font-weight: 600;
  box-shadow: 0 .6em 1.6em rgba(0, 0, 0, .45); opacity: 0; transform: translate(-50%, .8em);
  transition: opacity .3s, transform .4s var(--ease); white-space: nowrap; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.ui [data-anim].is-in, .ui .is-in { animation: rowIn .45s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-.6em); } to { opacity: 1; transform: none; } }
.ui .is-hidden { display: none !important; }
.fill { animation: fill 1s ease-out; }
@keyframes fill { 0% { background: rgba(238, 255, 0, .32); color: var(--accent); } 100% { background: var(--u-field); } }

/* ---------- Antrenman planı (hero) ---------- */
.ui-builder { grid-template-columns: 4.25em minmax(0, 1fr) 15.5em 15.5em; gap: .8em; }
.bd { position: relative; display: flex; flex-direction: column; padding: 1em 1em 1em; }
.bd-top { display: flex; align-items: center; justify-content: space-between; }
.bd-tools { display: flex; gap: .9em; color: var(--muted); }
.bd-tools svg { width: 1.15em; height: 1.15em; }
.bd-meta { display: flex; align-items: center; gap: 1.2em; margin: .95em 0 .9em 1.55em; }
.bd-meta .sel { margin-right: auto; }
.bd-count { display: inline-flex; align-items: center; gap: .45em; font-size: .8em; color: var(--muted); }
.bd-count em { font-style: normal; color: var(--text); }
.bd-head, .bd-row { display: grid; grid-template-columns: 1.1em minmax(0, 1fr) 3.3em 3.3em 4.3em 4.3em 4.9em; gap: .4em; align-items: center; }
.bd-head { margin-bottom: .45em; }
.bd-head span { font-size: .68em; color: var(--faint); }
.bd-head span:nth-child(n+3) { text-align: center; }
.bd-rows { flex: 1; display: flex; flex-direction: column; gap: .42em; min-height: 0; }
.grip { color: #555; fill: currentColor !important; stroke: none !important; width: 1.1em; height: 1.1em; }
.bd-row .tp { color: #707070; }
.act { display: flex; gap: .4em; }
.act i { display: grid; place-items: center; width: 2.25em; height: 2.25em; border-radius: .45em; font-style: normal; }
.act i svg { width: 1.1em; height: 1.1em; }
.b-play, .b-copy { background: #ececec; color: var(--ink); }
.b-del { background: var(--danger); color: #fff; }
.bd-row.ghost .fld { color: #575757; background: #1d1d1d; }
.act .b-add { width: auto; padding: 0 1em; background: #f2f2f2; color: var(--ink); font-size: .8em; font-weight: 600; height: 2.8em; }
.bd-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .55em; align-items: end; padding-top: .9em; }
.bd-note small, .nb-field small { display: block; letter-spacing: .02em; font-weight: 500; margin: 0 0 .45em; }

.ex { display: flex; flex-direction: column; overflow: hidden; }
.ex-img { position: relative; background: #fff; height: 9.5em; overflow: hidden; }
.ex-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.ex-body { display: flex; flex-direction: column; gap: .6em; padding: .75em .7em .8em; flex: 1; }
.ex-body b { font-size: .86em; }
.ex-tags { display: flex; flex-wrap: wrap; gap: .3em; }
.ex-tags span { font-size: .64em; padding: .3em .7em; border-radius: .35em; background: #2b2b2b; color: var(--muted); }
.ex-steps { list-style: decimal; padding-left: 1.2em; font-size: .66em; line-height: 1.55; color: #a9a9a9; display: flex; flex-direction: column; gap: .35em; }
.ex-add { margin-top: auto; width: 100%; }
.ex.swap .ex-img img, .ex.swap .ex-body > *:not(.ex-add) { opacity: 0; }
.ex-body > * { transition: opacity .25s; }

.lib { display: flex; flex-direction: column; gap: .65em; }
.lib-filters { display: flex; gap: .45em; }
.lib-filters .sel { flex: 1; justify-content: space-between; }
.lib-list { display: flex; flex-direction: column; overflow: hidden; }
.lib-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .5em; align-items: center; padding: .62em .4em; border-bottom: 1px solid #222; border-radius: .35em; transition: background-color .25s; }
.lib-list b { font-size: .8em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-list small { grid-column: 1; letter-spacing: 0; font-weight: 400; font-size: .66em; margin-top: .25em; }
.lib-list i { grid-row: 1 / 3; grid-column: 2; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: .35em; border: 1px solid #333; color: var(--muted); transition: background-color .2s, color .2s; }
.lib-list i svg { width: .9em; height: .9em; }
.lib-list li.hl { background: #232323; }
.lib-list i.done { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ---------- Beslenme planı (kütüphaneden seçerek) ---------- */
.nutri-win .ui { font-size: calc(100cqw / 74); height: 47em; }
.ui-nb { grid-template-columns: 4.25em minmax(0, 1fr); }
.nb { position: relative; display: flex; flex-direction: column; min-width: 0; padding-left: .9em; padding-right: 3.6em; }
.nb-tot { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 3em; background: #222; border: 1px solid #2a2a2a; border-bottom: 0; border-radius: .7em .7em 0 0; }
.nb-tot > div { padding: .7em 1.8em .7em; border-left: 1px solid #333; }
.nb-tot > div:first-child { border-left: 0; }
.nb-tot small { display: block; letter-spacing: .1em; color: #cfcfcf; }
.nb-tot b { display: block; text-align: center; font-size: 1.3em; font-weight: 600; margin-top: .1em; font-variant-numeric: tabular-nums; }
.c-kcal { color: #ff8b3d; }
.c-p { color: var(--accent); }
.c-k { color: #5aa9ff; }
.c-y { color: #8fd16a; }
.nb-card { flex: 1; display: flex; flex-direction: column; padding: .9em 1.2em 1em; min-height: 0; }
.nb-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6em; }
.nb-meals { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.meal2 { padding: .5em 0 1em; border-bottom: 1px solid #262626; }
.meal2 + .meal2 { padding-top: 1em; }
.meal2:last-child { border-bottom: 0; }
.mh { display: flex; align-items: center; gap: .55em; margin-bottom: .55em; }
.mh .bd-tools { margin-left: auto; }
.mt { display: grid; grid-template-columns: minmax(0, 1fr) 13em; gap: 1.1em; }
.nh, .nr { display: grid; grid-template-columns: 1.1em minmax(0, 1fr) 4em 5.2em 4.4em 4.4em 4.4em 4.4em 4.9em; gap: .4em; align-items: center; }
.nh span { font-size: .68em; color: #cfcfcf; font-weight: 600; padding-left: .3em; white-space: nowrap; }
.nh i { font-style: normal; }
.nh { margin-bottom: .4em; }
.nrows { display: flex; flex-direction: column; gap: .42em; }
.nrows:not(:empty) { margin-bottom: .42em; }
.nr { position: relative; transition: transform .76s var(--ease), box-shadow .3s; border-radius: .5em; }
.nr .fld.u { justify-content: space-between; font-weight: 600; }
.nr .fld.u svg { width: .95em; height: .95em; }
.nr .fld { font-weight: 600; }
.nr .fld.nm { padding-left: .8em; }
.nr .fld.q { color: #8f8f8f; font-weight: 400; }
.nr .fld.x { color: #6a6a6a; font-weight: 400; }
.nr .fld.nm.ph { color: #747474; font-weight: 400; }
.ui .fld.on { box-shadow: inset 0 0 0 1px #5a5a5a; color: var(--text); }
.mh .tab { font-weight: 600; }
.mh .sel { min-width: 9.5em; justify-content: space-between; font-weight: 600; }
.nr.lift { z-index: 3; background: #1a1a1a; box-shadow: 0 .8em 2em rgba(0, 0, 0, .6), 0 0 0 1px #3a3a3a; }
.nr.newrow .fld.nm.typing, .nr.newrow .fld.nm.on { color: var(--text); outline: 1px solid #4a4a4a; }
.ac { position: absolute; z-index: 7; left: 1.5em; top: calc(100% + .3em); width: calc(100% - 1.5em - 33.3em); min-width: 16em; background: #1c1c1c; border: 1px solid #333; border-radius: .55em; box-shadow: 0 1em 2em rgba(0, 0, 0, .55); overflow: hidden; }
.ac div { padding: .55em .8em; border-bottom: 1px solid #262626; transition: background-color .2s; }
.ac div:last-child { border-bottom: 0; }
.ac b { display: block; font-size: .8em; }
.ac span { display: block; font-size: .66em; color: var(--faint); margin-top: .15em; }
.ac .hl { background: #2a2a2a; }
.msum { align-self: start; padding: .85em 1em 1em; border-radius: .7em; background: #262626; text-align: center; }
.msum small { display: block; text-align: left; letter-spacing: 0; font-weight: 600; font-size: .66em; color: #cfcfcf; }
.msum > b { display: block; font-size: 2em; margin-top: .3em; font-variant-numeric: tabular-nums; }
.msum > span { font-size: .7em; color: var(--muted); }
.msum ul { margin-top: .8em; text-align: left; }
.msum li { display: flex; align-items: center; gap: .5em; font-size: .72em; padding: .22em 0; }
.msum li em { margin-left: auto; font-style: normal; color: var(--text); font-variant-numeric: tabular-nums; }
.msum li i { width: .5em; height: .5em; border-radius: 50%; }
.d-p { background: var(--accent); }
.d-k { background: #5aa9ff; }
.d-y { background: #8fd16a; }
.meal2.is-in { animation: rowIn .5s var(--ease) both; }
.nb-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-top: .9em; }
.nb-foot .ui-card { display: flex; align-items: flex-end; gap: .9em; padding: .9em 1em; }
.nb-field { flex: 1; min-width: 0; }
.nb-foot .b-wht, .nb-foot .b-acc { margin-bottom: .2em; }
.nb .toast { bottom: 6.5em; }

/* ---------- Ana ekran (birebir) ---------- */
.ui-dash { grid-template-columns: 4.25em minmax(0, 1fr); }
.dash { position: relative; display: flex; flex-direction: column; gap: 1em; padding: .2em .4em 0 1em; min-width: 0; }
.dash::before { content: ""; position: absolute; left: -2em; top: -3em; width: 30em; height: 16em; background: radial-gradient(closest-side, rgba(200, 210, 0, .13), transparent 75%); pointer-events: none; }
.dash-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; }
.dash-hello { display: flex; align-items: center; gap: 1.1em; padding-top: 2.6em; }
.ava.ring { width: 4.3em; height: 4.3em; font-size: .95em; border: .15em solid var(--accent); background: radial-gradient(circle at 40% 35%, #34541f, #101a0b 70%); color: var(--accent); }
.dash-hello small { display: block; letter-spacing: .26em; }
.dash-hello b { display: block; font-size: 1.85em; letter-spacing: -.02em; color: var(--accent); line-height: 1.2; }
.dash-hello span { font-size: .8em; color: var(--faint); }
.dash-sub { width: 21.5em; padding: 1.1em 1.4em 1.2em; }
.dash-sub > b { font-size: 1.05em; }
.dash-sub dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; margin: .9em 0 1em; }
.dash-sub dl .r { text-align: right; }
.dash-sub dt { font-size: .64em; color: var(--faint); margin-bottom: .3em; }
.dash-sub dd { font-size: .86em; font-weight: 700; }
.dash-sub dd.acc { color: var(--accent); }
.dash-sub .b-acc { display: flex; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; }
.dash-stats .ui-card { padding: 1.4em 1.5em 1.4em; }
.dash-stats b { display: block; font-size: 2.5em; line-height: 1; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.dash-stats span { display: block; margin-top: .75em; font-size: .7em; color: var(--muted); letter-spacing: .03em; }
.dash-rule { border: 0; border-top: 1px solid #262626; margin: .3em 0 0; }
.dash-quick { display: flex; align-items: center; flex-wrap: wrap; gap: .55em; }
.dash-quick small { width: 100%; margin-bottom: .35em; }
.dash-quick .b-acc { border-radius: 99em; }
.dash-quick .b-acc svg { width: 1.1em; height: 1.1em; }
.dash-plans, .dash-inv, .dash-notif { padding: 1.1em 1.4em; }
.dash .ui-card > small { display: block; margin-bottom: .9em; }
.dash-plans > div { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.dash-plans span { display: flex; flex-direction: column; align-items: center; gap: .35em; }
.dash-plans i { display: grid; place-items: center; width: 2.7em; height: 2.7em; border-radius: 50%; background: #ecebe4; color: var(--ink); }
.dash-plans i svg { width: 1.3em; height: 1.3em; stroke-width: 2; }
.dash-plans u { font-size: .74em; color: var(--muted); text-underline-offset: .2em; }
.dash-plans b { font-size: 1.15em; font-variant-numeric: tabular-nums; }
.dash-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.dash-inv li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 1.2em; gap: .8em; align-items: center; padding: .6em 0; border-bottom: 1px solid #262626; }
.dash-inv li:last-child { border-bottom: 0; }
.dash-inv b { font-size: .82em; font-weight: 500; }
.dash-inv span, .dash-inv em { font-size: .72em; color: var(--muted); font-style: normal; }
.st-x { display: grid; place-items: center; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--danger); color: #fff; }
.st-x svg { width: .7em !important; height: .7em !important; stroke-width: 3 !important; }
.dash-notif li { display: flex; align-items: center; gap: .7em; padding: .6em 0; border-bottom: 1px solid #262626; font-size: .8em; color: var(--muted); }
.dash-notif li:last-child { border-bottom: 0; }
.dash-notif li b { color: var(--text); font-weight: 500; }
.dash-notif li em { margin-left: auto; font-style: normal; font-size: .9em; color: var(--faint); }
.dash-notif li svg { color: var(--accent); }

/* ---------- Besin kütüphanesi (birebir) ---------- */
.ui-flib { grid-template-columns: 4.25em minmax(0, 1fr); }
.fl { display: flex; flex-direction: column; padding: .3em .4em 0 1em; min-width: 0; }
.fl-top { display: flex; align-items: center; gap: .7em; }
.fl-top b { font-size: 1.05em; margin-right: auto; }
.fl-tabs { display: flex; gap: 2em; margin-top: 1.4em; border-bottom: 1px solid #262626; }
.fl-tabs span { display: inline-flex; align-items: center; gap: .55em; padding: .6em .3em .8em; font-size: .86em; color: var(--muted); }
.fl-tabs span.on { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.fl-tabs em { font-style: normal; font-size: .78em; padding: .1em .55em; border-radius: 99em; background: #2b2b2b; color: var(--muted); font-variant-numeric: tabular-nums; }
.fl-tabs .on em { background: var(--accent); color: var(--ink); font-weight: 600; }
.fl-search { width: 22em; margin: 1.2em 0 1em; border: 1px solid #2b2b2b; }
.fl-search .ph { color: var(--faint); }
.fl-table { border: 1px solid #262626; border-radius: .6em; overflow: hidden; }
.fl-head, .fl-row { display: grid; grid-template-columns: minmax(0, 1fr) 6em 5em 5em 5em 5em 5em 5.5em; align-items: center; gap: .5em; padding: 0 1em; }
.fl-head { background: #1f1f1f; height: 3.4em; font-size: .82em; }
.fl-head span { font-size: .92em; color: #cfcfcf; }
.fl-head span:nth-child(n+3), .fl-row > span:nth-child(n+3) { text-align: right; }
.fl-row { height: 2.75em; border-top: 1px solid #222; font-size: .82em; }
.fl-row > span:nth-child(2) { font-size: .9em; color: var(--muted); }
.fl-name { display: flex; align-items: center; gap: .6em; min-width: 0; white-space: nowrap; }
.badge { font-size: .8em; padding: .15em .5em; border-radius: .3em; color: var(--accent); background: rgba(238, 255, 0, .1); border: 1px solid rgba(238, 255, 0, .35); }
.badge.own { color: var(--muted); background: #222; border-color: #3a3a3a; }
.fl-ops { display: flex; justify-content: flex-end; gap: .35em; }
.fl-ops i { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: .35em; border: 1px solid #333; color: var(--muted); }
.fl-ops svg { width: .85em; height: .85em; }

/* ---------- Öğrenciler + ölçüm (birebir) ---------- */
.ui-olcum { grid-template-columns: 4.25em minmax(0, 1fr) 23em; }
.ol-list { padding: .8em 0; }
.ol-tools { display: flex; gap: .6em; padding: 0 .8em .9em; }
.ol-tools .lib-search { width: 15em; }
.ol-tools .pill { border-radius: .45em; color: var(--muted); }
.ol-head, .ol-row { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) 3em 9.6em 6.6em 6.6em 5.6em; align-items: center; text-align: center; padding: 0 .9em; gap: .3em; }
.ol-head { font-size: .8em; }
.ol-head span { font-size: .92em; color: #cfcfcf; padding: .7em 0; }
.ol-row { font-size: .8em; padding-block: .55em; border-bottom: 1px solid #202020; transition: background-color .3s; }
.ol-row.on { background: #1f2010; }
.ol-row .b-wht { justify-self: center; padding: .35em 1.2em; border-radius: 99em; font-size: .95em; }
.ops { display: flex; justify-content: center; align-items: center; gap: .9em; color: var(--muted); }
.ops svg { width: 1.2em; height: 1.2em; }
.ops i { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: #6e2018; color: #f5b7b1; }
.ops i svg { width: .8em; height: .8em; }
.days { justify-self: center; display: grid; place-items: center; min-width: 2.2em; height: 1.65em; padding: 0 .55em; border-radius: 99em; background: var(--accent); color: var(--ink); font-weight: 600; font-size: .95em; }
.ol-drawer { display: flex; flex-direction: column; gap: .85em; padding: 1em 1.1em; min-height: 0; transition: transform .6s var(--ease), opacity .4s; }
.ol-drawer.out { transform: translateX(105%); opacity: 0; }
.ol-who { display: flex; align-items: center; gap: .8em; }
.ol-who .days { width: 2.6em; height: 2.6em; font-size: .95em; }
.ol-who b { display: block; font-size: .95em; }
.ol-who small { letter-spacing: 0; font-weight: 400; font-size: .74em; }
.ol-who svg { margin-left: auto; color: var(--muted); }
.ol-info { display: flex; flex-direction: column; gap: .6em; padding-bottom: .9em; border-bottom: 1px solid #2a2a2a; }
.ol-info dt { font-size: .72em; color: var(--faint); }
.ol-info dd { font-size: .82em; margin-top: .15em; }
.ol-now-hd { display: flex; justify-content: space-between; font-size: .76em; color: var(--muted); margin-bottom: .55em; }
.ol-now-hd b { color: var(--text); }
.ol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em .8em; }
.ol-grid div { display: flex; justify-content: space-between; gap: .4em; font-size: .76em; }
.ol-grid dt { color: var(--faint); }
.ol-grid dd { font-variant-numeric: tabular-nums; transition: color .4s; }
.ol-grid dd.flash, .ol-now-hd b.flash { color: var(--accent); }
.ol-now-hd b { transition: color .4s; }
.ol-note { font-size: .72em; color: var(--muted); margin-top: .8em; }
.ol-photos { margin-top: .6em; border-radius: .4em; background: #262626; overflow: hidden; }
.ol-photos > span { display: block; padding: .6em .8em; font-size: .72em; }
.ol-photos > span::first-letter { color: var(--accent); }
.ol-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; padding: 0 .6em; max-height: 0; transition: max-height .5s var(--ease), padding .5s; }
.ol-photos.open .ol-ph { max-height: 8em; padding: 0 .6em .6em; }
.ol-ph i { aspect-ratio: 3 / 4; border-radius: .35em; background: linear-gradient(160deg, #3a3a3a, #232323); position: relative; }
.ol-ph i::after { content: ""; position: absolute; left: 30%; right: 30%; top: 18%; bottom: 0; border-radius: 40% 40% 0 0; background: #4a4a4a; }

/* ---------- Mesajlar (birebir) ---------- */
.ui-msg { grid-template-columns: 4.25em 21em minmax(0, 1fr); gap: 0; padding-right: 0; }
.ms-list { display: flex; flex-direction: column; gap: .5em; padding: .3em 1.2em 0 1.4em; border-right: 1px solid #232323; }
.ms-title { display: flex; align-items: center; gap: .7em; font-size: .95em; margin: .3em 0 .5em; }
.ms-title svg { width: 1.4em; height: 1.4em; }
.ms-search { border-radius: 99em; height: 2.8em; margin-bottom: .4em; }
.ms-item { display: flex; align-items: center; gap: .8em; padding: .55em .7em; border-radius: .8em; }
.ms-item.on { background: #262626; }
.ms-item .ava { width: 2.8em; height: 2.8em; background: #3a3a3a; }
.ms-item .ava.ph { background: transparent; color: #e8e8e8; }
.ms-item .ava.ph svg { width: 1.9em; height: 1.9em; fill: currentColor; stroke: none; }
.ms-item b { display: block; font-size: .86em; font-weight: 500; }
.ms-item small, .ms-hd small { letter-spacing: 0; font-weight: 400; font-size: .72em; }
.ms-conv { display: flex; flex-direction: column; min-width: 0; padding: 0 1.2em 0 1.8em; }
.ms-hd { display: flex; align-items: center; gap: .8em; padding: .1em 0 .8em; border-bottom: 1px solid #232323; }
.ms-hd .ava { width: 2.8em; height: 2.8em; background: #3a3a3a; }
.ms-hd b { display: block; font-size: .9em; font-weight: 500; }
.ms-flow { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .55em; padding: 1em 0; overflow: hidden; min-height: 0; }
.ms-msg { display: flex; flex-direction: column; max-width: 76%; }
.ms-msg small { letter-spacing: 0; font-weight: 400; font-size: .68em; margin: .2em 0 .35em; }
.ms-msg span { font-size: .84em; padding: .5em 1em; border-radius: 99em; }
.ms-msg.in { align-self: flex-start; }
.ms-msg.in span { background: #2b2b2b; }
.ms-msg.out { align-self: flex-end; flex-direction: row; align-items: center; background: var(--accent); color: var(--ink); border-radius: 99em; padding-right: .75em; margin-top: .4em; }
.ms-msg.out.tight { margin-top: -.15em; }
.ms-msg.out span { padding-right: .4em; }
.ms-msg.out svg { width: 1em; height: 1em; color: #1f7ae0; stroke-width: 2.2; }
.ms-msg.pop { animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(.6em) scale(.97); } to { opacity: 1; transform: none; } }
.ms-typing { align-self: flex-start; display: none; gap: .3em; padding: .8em 1em; border-radius: 99em; background: #2b2b2b; }
.ms-typing.show { display: flex; }
.ms-typing i { width: .42em; height: .42em; border-radius: 50%; background: var(--muted); animation: dots 1s infinite; }
.ms-typing i:nth-child(2) { animation-delay: .15s; }
.ms-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-.2em); } }
.ms-input { display: flex; align-items: center; gap: .6em; height: 3.3em; margin-bottom: .2em; padding: 0 .35em 0 1.6em; border-radius: 99em; background: #1f1f1f; font-size: .9em; color: var(--faint); }
.ms-input span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.ms-input span.filled { color: var(--text); }
.ms-input i { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--accent); color: var(--ink); }
.ms-input i svg { width: 1.1em; height: 1.1em; fill: currentColor; stroke: none; }

/* ---------- dar pencere: panel sadeleşir, yazı büyür ---------- */
@container win (max-width: 640px) {
  .ui, .nutri-win .ui, .tour-panel .ui { font-size: calc(100cqw / 36); height: auto; min-height: 30em; padding: .9em; gap: .9em; }
  .ui-side, .fab, .dash-sub, .dash-quick, .dash-plans, .dash-notif, .dash-rule, .ol-list, .ms-list, .msum, .fl-top .b-out, .fl-tabs span:nth-child(3),
  .nh span:nth-child(1), .nh span:nth-child(4), .nh span:nth-child(9), .nr > .grip, .nr .fld.u, .nr .act,
  .fl-head span:nth-child(2), .fl-head span:nth-child(3), .fl-head span:nth-child(8), .fl-row > span:nth-child(2), .fl-row > span:nth-child(3), .fl-row > span:nth-child(8) { display: none !important; }
  .ui-dash, .ui-nb, .ui-flib, .ui-olcum, .ui-msg { grid-template-columns: minmax(0, 1fr); }
  .dash, .fl, .nb { padding: 0; }
  .dash-hello { padding-top: .5em; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-row2 { grid-template-columns: minmax(0, 1fr); }
  .nb-tot { margin: 0; }
  .nb-tot > div { padding: .55em .6em; }
  .nb-tot b { font-size: 1em; }
  .mt { grid-template-columns: minmax(0, 1fr); }
  .nh, .nr { grid-template-columns: minmax(0, 1fr) 2.8em 2.9em 2.9em 2.9em 3.3em; }
  .ac { left: 0; width: 70%; }
  .nb-foot { grid-template-columns: minmax(0, 1fr); }
  .nb-foot .ui-card:first-child { display: none; }
  .fl-top b { font-size: .9em; }
  .fl-search { width: 100%; }
  .fl-head, .fl-row { grid-template-columns: minmax(0, 1fr) 3.4em 3em 3em 3em; padding: 0 .6em; }
  .ui-msg { padding: .9em; }
  .ms-conv { padding: 0; }
  .ms-msg { max-width: 90%; }
  .ol-drawer { min-height: 30em; }
  .nh i { display: none; }
  .nh span { padding-left: 0; }
  .nutri-win .ui { height: 50em; min-height: 0; }
  .tour-panel .ui, .tour-panel[data-panel="0"] .ui { height: 42em; min-height: 0; }
}

/* ==========================================================================
   KISA BİLGİLER
   ========================================================================== */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid > div { padding: clamp(28px, 3.2vw, 44px) 24px clamp(28px, 3.2vw, 44px) 28px; border-left: 1px solid var(--line); }
.facts-grid > div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-size: clamp(1.75rem, 2.9vw, 2.75rem); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.facts-grid > div:nth-child(2) b { color: var(--accent); }
.facts span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); max-width: 18em; }

/* ==========================================================================
   BESLENME BÖLÜMÜ
   ========================================================================== */
.nutri { position: relative; padding-block: clamp(80px, 10vw, 150px); overflow: hidden; }
.nutri::before { content: ""; position: absolute; left: 50%; top: 42%; width: 90%; height: 70%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(238, 255, 0, .07), transparent 72%); pointer-events: none; }
.nutri .wrap { position: relative; }
.nutri-hd { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.nutri-hd .h2 { max-width: 11em; }
.nutri-copy p { color: var(--muted); }
.nutri-points { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.nutri-points li { position: relative; padding-left: 30px; font-size: 15.5px; }
.nutri-points li::before { content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.nutri-win { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 80px -20px rgba(238, 255, 0, .08); }

/* telefon (sol) ve panel (sağ) birbirine dönük, aynı hizada */
.nutri-stage { display: grid; grid-template-columns: minmax(0, 26fr) minmax(0, 74fr); gap: 3.5%; align-items: center; }
.nutri-phone-wrap { transform: perspective(1600px) rotateY(15deg) rotateX(3deg) rotateZ(1deg); transform-origin: 0% 50%; }
.nutri-win-wrap { transform: perspective(2600px) rotateY(-10deg) rotateX(3deg) rotateZ(-.8deg); transform-origin: 100% 50%; }
.nutri-phone .phone-screen { box-shadow: 0 0 0 2.6cqw #1d1d1d, 0 0 0 2.95cqw #3b3b3b, 0 50px 80px -30px rgba(0, 0, 0, .85); }

/* sporcu uygulaması: beslenme planı (birebir) — birimler telefon genişliğine göre */
.anv { position: absolute; z-index: 1; left: 0; right: 0; top: 5.34cqw; bottom: 19.5cqw; overflow: hidden; padding: 3cqw 2.2cqw 0; background: var(--ink); color: #f2f2f2; font-size: 3.4cqw; line-height: 1.25; transform: translateX(100%); transition: transform .55s var(--ease); }
.anv.show { transform: none; }
.anv-top { display: flex; align-items: center; gap: 2.2cqw; margin-bottom: 3.2cqw; }
.anv-top span { display: grid; place-items: center; width: 19.5cqw; height: 9.6cqw; border-radius: 2.2cqw; background: #2b2b2b; color: #b8b8b8; font-weight: 600; font-size: 3.4cqw; }
.anv-top span.on { background: var(--accent); color: var(--ink); }
.anv-top i { display: grid; place-items: center; margin: 0 1cqw 0 auto; width: 11.5cqw; height: 11.5cqw; border-radius: 50%; background: #1e88e5; box-shadow: 0 0 0 .9cqw #0d4a86; color: #fff; }
.anv-top svg { width: 6.2cqw; height: 6.2cqw; fill: none; stroke: currentColor; stroke-width: 2.6; }
.anv-tot { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4.4cqw 0 4.2cqw; margin-bottom: 3cqw; background: #1a1a1a; text-align: center; }
.anv-tot div + div { border-left: .25cqw solid #2f2f2f; }
.anv-tot b { display: block; font-size: 3.9cqw; font-weight: 700; }
.anv-tot span { display: block; margin-top: 1.5cqw; font-size: 3.05cqw; color: #9a9a9a; }
.anv-note { padding: 4.2cqw 4cqw; margin-bottom: 3.2cqw; border-left: .8cqw solid var(--accent); background: #1a1a1a; color: #a9a9a9; font-size: 3.25cqw; }
.anv-meal { margin-bottom: 2.2cqw; background: #1a1a1a; }
.anv-mh { display: flex; align-items: center; padding: 4cqw 4.2cqw; }
.anv-mh b { display: block; font-size: 3.65cqw; font-weight: 700; }
.anv-mh span { display: block; margin-top: 1.3cqw; font-size: 3.1cqw; color: #bdbdbd; }
.anv-mh i { position: relative; margin-left: auto; width: 4.6cqw; height: 4.6cqw; }
.anv-mh i::before, .anv-mh i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .3cqw; margin-top: -.15cqw; background: #d6d6d6; transition: transform .35s var(--ease), opacity .35s; }
.anv-mh i::after { transform: rotate(90deg); }
.anv-meal.open .anv-mh i::after { transform: rotate(0); opacity: 0; }
.anv-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.anv-body > div { overflow: hidden; min-height: 0; }
.anv-meal.open .anv-body { grid-template-rows: 1fr; }
.anv-meal.open .anv-mh { box-shadow: inset 0 -.25cqw 0 #2f2f2f; }
.anv-it { margin: 0 4.2cqw; padding: 3.5cqw 0 3.3cqw; border-bottom: .22cqw solid #333; }
.anv-it p:first-child { font-size: 3.55cqw; }
.anv-it em { font-style: normal; color: #9a9a9a; }
.anv-it p + p { display: flex; gap: 3.4cqw; margin-top: 1.9cqw; font-size: 2.95cqw; color: #9a9a9a; white-space: nowrap; }
.anv-it strong { color: #f2f2f2; font-weight: 700; }
.anv-sum { display: flex; align-items: center; justify-content: space-between; margin: 0 4.2cqw; padding: 3.8cqw 0 4cqw; font-size: 3cqw; font-weight: 700; white-space: nowrap; }
.anv-sum b { font-size: 3.4cqw; color: var(--accent); }

/* ==========================================================================
   PLAN TÜRLERİ
   ========================================================================== */
.kinds { padding-block: clamp(72px, 9vw, 140px); border-top: 1px solid var(--line); }
.kinds .h2 { max-width: 15em; }
.kinds-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
.kinds-list li { padding-top: 24px; border-top: 1px solid var(--line); }
.kind-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.kind-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.kinds-list h3 { margin-top: 22px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.kinds-list p { margin-top: 8px; font-size: 15.5px; color: var(--muted); max-width: 26em; }

/* ==========================================================================
   TUR
   ========================================================================== */
.tour { padding-block: clamp(72px, 9vw, 140px) clamp(40px, 5vw, 80px); border-top: 1px solid var(--line); }
.tour-title { max-width: 14em; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); margin-top: clamp(24px, 3vw, 40px); }
.tour-step { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .45s; }
.tour-copy { padding-left: 26px; border-left: 2px solid var(--line); transition: border-color .45s; }
.tour-step.is-active { opacity: 1; }
.tour-step.is-active .tour-copy { border-left-color: var(--accent); }
.tour-step h3 { font-size: clamp(1.5rem, 2.3vw, 2.125rem); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }
.tour-step p { margin-top: 16px; color: var(--muted); max-width: 30em; }
.tour-stage { position: sticky; top: max(calc(var(--nav-h) + 24px), calc(50vh - 290px)); align-self: start; display: grid; margin-block: 12vh; }
.tour-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); visibility: hidden; transition: opacity .5s, transform .6s var(--ease), visibility 0s .5s; }
.tour-panel.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity .5s, transform .6s var(--ease), visibility 0s; }
.tour-panel .ui { font-size: calc(100cqw / 72); height: 44em; }
.tour-panel[data-panel="0"] .ui { height: 49em; }

/* ==========================================================================
   MOBİL — 360 GALERİ
   ========================================================================== */
.mobile { position: relative; padding-block: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line); overflow: hidden; }
.mobile-hd { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.mobile-hd .h2 { max-width: 10em; }
.mobile-hd p { color: var(--muted); }
.ring-wrap {
  --w: clamp(150px, 14vw, 206px); --rk: 2.95; --r: calc(var(--w) * var(--rk));
  position: relative; height: calc(var(--w) * 1.86 + 64px); margin-top: clamp(48px, 6vw, 88px);
  perspective: 1700px; perspective-origin: 50% 35%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.ring-wrap.drag { cursor: grabbing; }
.ring-wrap::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: min(900px, 90%); height: 70px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(238, 255, 0, .16), transparent 75%); filter: blur(6px); pointer-events: none; }
.ring { position: relative; width: var(--w); height: 100%; margin: 0 auto; transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateY(var(--rot, 0deg)); }
.ring-item { position: absolute; inset: 0 0 auto; transform: rotateY(calc(var(--i) * 22.5deg)) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ring-item .phone-screen { box-shadow: 0 0 0 2.6cqw #1d1d1d, 0 0 0 2.95cqw #3b3b3b, 0 30px 50px -20px rgba(0, 0, 0, .8); }
.ring-item figcaption { margin-top: 18px; text-align: center; font-size: 15px; font-weight: 500; }
.ring-item figcaption small { display: block; font-size: 12.5px; font-weight: 400; color: var(--faint); }
.ring-hint { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--faint); }
.mobile-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(48px, 6vw, 80px); }
.mobile-cols h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mobile-cols h3 em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--on-accent); background: var(--accent); padding: 3px 9px; border-radius: 99px; }
.mobile-cols ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mobile-cols li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16px; }
.mobile-cols li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: skewX(-20deg); }
.mobile-note { margin-top: 32px; font-size: 14px; color: var(--faint); }

/* ==========================================================================
   BAŞLANGIÇ
   ========================================================================== */
.start { padding-block: clamp(72px, 9vw, 140px); border-top: 1px solid var(--line); }
.start-list { counter-reset: adim; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
.start-list li { counter-increment: adim; padding-top: 22px; border-top: 1px solid var(--line); }
.start-list li::before { content: counter(adim); display: block; font-size: clamp(3rem, 5.5vw, 5rem); line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--accent); margin-bottom: 26px; }
.start-list h3 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.start-list p { margin-top: 8px; color: var(--muted); font-size: 16px; max-width: 24em; }

/* ==========================================================================
   FİYATLAR — yıldızlı gökyüzü + gradyan kartlar
   ========================================================================== */
.pricing { position: relative; overflow: hidden; padding-block: clamp(88px, 11vw, 160px); background: radial-gradient(120% 70% at 50% 0%, #1b1b1b 0%, #121212 55%, #0e0e0e 100%); border-top: 1px solid var(--line); }
.pricing::before { content: ""; position: absolute; left: 50%; top: 38%; width: 70%; height: 60%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(238, 255, 0, .08), transparent 70%); pointer-events: none; }
.pricing-in { position: relative; z-index: 1; }
.pricing-hd { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pricing-hd .h2 { max-width: 12em; }
.pricing-hd p { margin-top: 16px; max-width: 34em; color: var(--muted); }
.period { display: inline-flex; margin-top: 32px; padding: 5px; gap: 2px; border-radius: 99px; background: rgba(30, 30, 30, .85); border: 1px solid rgba(255, 255, 255, .09); }
.period button { border: 0; background: none; cursor: pointer; height: 42px; padding: 0 20px; border-radius: 99px; font-size: 14.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: background-color .25s, color .25s; }
.period button[aria-checked="true"] { background: var(--text); color: var(--ink); font-weight: 600; }
.period em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); }
.period button[aria-checked="true"] em { color: #5a6300; }
.period em:empty { display: none; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 4.5vw, 56px); min-height: 300px; align-items: stretch; }
.plans-loading, .plans-error { grid-column: 1 / -1; align-self: center; text-align: center; color: var(--faint); }
.plans-error a { color: var(--text); }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 20px 22px 20px; border-radius: 20px; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .065) 0%, rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .015) 100%), #151515;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 60px -30px rgba(0, 0, 0, .7);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.plan::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(90% 55% at 0% 0%, rgba(255, 255, 255, .06), transparent 60%); }
.plan:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .18); }
.plan.rec {
  background: radial-gradient(110% 60% at 50% 0%, rgba(238, 255, 0, .17), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 60%), #151515;
  border-color: rgba(238, 255, 0, .45);
  box-shadow: inset 0 1px 0 rgba(238, 255, 0, .25), 0 0 0 1px rgba(238, 255, 0, .08), 0 40px 90px -30px rgba(238, 255, 0, .28);
}
.plan.rec:hover { border-color: rgba(238, 255, 0, .7); }
.plan-name { display: flex; align-items: center; justify-content: space-between; min-height: 25px; font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.plan-name em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); padding: 2px 9px; border: 1px solid rgba(238, 255, 0, .5); border-radius: 99px; }
.plan-cap { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.plan-cap b { font-size: clamp(2.4rem, 3vw, 2.8rem); line-height: .9; font-weight: 700; letter-spacing: -.05em; }
.plan-cap span { font-size: 14.5px; color: var(--muted); }
.plan-bar { height: 4px; margin-top: 12px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.plan-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, rgba(238, 255, 0, .35), var(--accent)); }
.plan-price { margin-top: 13px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 24px; margin-top: 4px; }
.plan-total { font-size: 13px; color: var(--faint); }
.plan-save { display: inline-block; font-size: 12px; font-weight: 600; color: #cddc00; background: rgba(238, 255, 0, .09); border: 1px solid rgba(238, 255, 0, .25); padding: 2px 9px; border-radius: 99px; }
.plan ul { margin: 12px 0 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 6px; }
.plan li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: rgba(238, 255, 0, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eeff00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; height: 42px; min-height: 0; }
.plan:not(.rec) .btn { background: rgba(255, 255, 255, .06); color: var(--text); border-color: rgba(255, 255, 255, .14); }
.plan:not(.rec) .btn:hover { background: rgba(255, 255, 255, .12); }
.pricing-note { margin: 36px auto 0; text-align: center; font-size: 14px; color: var(--faint); max-width: 56em; }
.pricing-note a { color: var(--muted); }

/* ==========================================================================
   SSS
   ========================================================================== */
.faq { padding-block: clamp(72px, 9vw, 140px); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--text), var(--text)) center / 100% 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 40em; }
.faq details a { color: var(--text); }

/* ==========================================================================
   SON ÇAĞRI
   ========================================================================== */
.final { position: relative; overflow: hidden; background: var(--accent); color: var(--ink); padding-block: clamp(88px, 12vw, 180px); }
.final-mark { position: absolute; right: -6%; top: 50%; width: 62%; height: 120%; transform: translateY(-50%); fill: rgba(20, 20, 20, .07); }
.final-in { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.final h2 { font-size: clamp(2.5rem, 7.2vw, 6.75rem); line-height: .95; font-weight: 700; letter-spacing: -.045em; max-width: 9em; }

/* ==========================================================================
   ALT BİLGİ
   ========================================================================== */
.foot { padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand .logo { --h: 38px; }
.foot-brand p { margin-top: 18px; font-size: 15px; color: var(--faint); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h3 { font-size: 13.5px; font-weight: 500; color: var(--faint); margin-bottom: 6px; }
.foot-col a { font-size: 15px; color: var(--muted); text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }

/* ==========================================================================
   DUYARLI
   ========================================================================== */
@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-title { font-size: clamp(2.125rem, 8.4vw, 5.5rem); }
  .hero-side { max-width: 36em; }
  .hero-visual { max-width: 780px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nutri-hd, .mobile-hd { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .tour-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tour-steps, .tour-stage { display: contents; }
  .tour-step { min-height: 0; opacity: 1; margin-top: 56px; }
  .tour-copy { border-left-color: var(--accent); }
  .tour-step[data-step="0"] { order: 1; } .tour-panel[data-panel="0"] { order: 2; }
  .tour-step[data-step="1"] { order: 3; } .tour-panel[data-panel="1"] { order: 4; }
  .tour-step[data-step="2"] { order: 5; } .tour-panel[data-panel="2"] { order: 6; }
  .tour-step[data-step="3"] { order: 7; } .tour-panel[data-panel="3"] { order: 8; }
  .tour-panel, .tour-panel.is-active { grid-area: auto; opacity: 1; transform: none; visibility: visible; margin-top: 28px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .kinds-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nutri-stage { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .nutri-win-wrap { order: -1; transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); }
  .nutri-phone-wrap { width: 62%; margin: 0 auto; transform: perspective(1400px) rotateY(8deg) rotateX(2deg); transform-origin: 50% 50%; }
  body { font-size: 16px; }
  :root { --nav-h: 64px; }
  .nav .link-quiet { display: none; }
  .logo { --h: 28px; }
  .hero-stage { transform: rotateY(-6deg) rotateX(3deg); padding-right: 5%; padding-bottom: 34%; }
  .hero-phone { width: 32%; }
  .streak { display: none; }
  .facts-grid > div { padding: 24px 14px 24px 16px; }
  .facts-grid > div:nth-child(odd) { padding-left: 0; }
  .facts span { font-size: 14px; }
  .kinds-list, .start-list, .mobile-cols { grid-template-columns: minmax(0, 1fr); }
  .ring-wrap { --w: 132px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .period { width: 100%; }
  .period button { flex: 1; flex-direction: column; justify-content: center; gap: 0; height: 50px; padding: 0 6px; line-height: 1.2; }
  .period em { font-size: 11px; }
  .faq summary { font-size: 17px; }
  .final-in { align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   HAREKET AZALTMA
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .cursor, .streak { display: none; }
}

/* JS yüklenmeden önce hero'daki eklenecek satırlar görünmesin (titreme olmasın) */
.js [data-scene="builder"] [data-anim]:not(.is-in) { display: none; }
