/*
 * Okul Günlüğü tanıtım sayfası.
 * Beyaz, sakin zemin (Apple'ın açık paletinden esinle) + markanın yıldız sarısı.
 * Hareketler yalnızca transform, opacity ve filter ile; hareket azaltma tercihinde durağan.
 * Hareket ilkeleri: unslop (Damir Sokolovsky, CC BY 4.0) ve Chrome modern-web-guidance.
 */

@font-face {
  font-family: 'Sora';
  src: url('/tanitim/fonts/sora-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('/tanitim/fonts/sora-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('/tanitim/fonts/sora-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Apple açık paleti */
  --white: #ffffff;
  --paper: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --gray: #6e6e73;
  --line: #d2d2d7;
  --link: #0066cc;
  /* Marka */
  --star: #ffc93c;
  --star-deep: #f2b91f;
  --on-star: #2a2100;
  --lilac: #5b4fd6;
  --lilac-soft: #ecebfd;

  /* Eski bileşenlerin kullandığı adlar */
  --bg: var(--white);
  --surface: var(--white);
  --surface-muted: var(--paper);
  --border: #e8e8ed;
  --border-strong: var(--line);
  --text: var(--ink);
  --text-2: var(--ink-2);
  --muted: var(--gray);
  --accent: var(--star);
  --accent-pressed: var(--star-deep);
  --on-accent: var(--on-star);
  --ok-fg: #1e7a44;
  --ok-bg: #e3f5ea;
  --warn-fg: #8a5a00;
  --warn-bg: #fff1c7;
  --off-fg: #b42323;
  --off-bg: #fde8e8;
  --neutral-fg: #424245;
  --neutral-bg: #ededf2;
  --shadow: 0 2px 6px rgb(0 0 0 / 0.04), 0 24px 48px -24px rgb(0 0 0 / 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --enter: 600ms;
  --radius: 14px;
  --radius-lg: 24px;
  --wrap: 1180px;
  --header-h: 52px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    'Sora',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* 3B projeksiyonlar yatay kaydırma üretmesin; clip, sticky'yi bozmaz */
main {
  overflow-x: clip;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 10px;
}
.wrap {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
}
.muted {
  color: var(--gray);
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 10px;
}
.skip:focus {
  top: 12px;
}
.text-link {
  color: var(--link);
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.kicker {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--lilac);
  letter-spacing: 0;
  margin-bottom: 18px;
}

/* ---------- Hap düğmeler ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--fast) var(--ease),
    background-color var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease);
}
.pill:active {
  transform: scale(0.97);
}
.pill-sm {
  min-height: 34px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.pill-dark {
  background: var(--ink);
  color: var(--white);
}
.pill-dark:hover {
  background: #000;
}
.pill-brand {
  background: var(--star);
  color: var(--on-star);
  box-shadow: 0 10px 30px -12px rgb(242 185 31 / 0.9);
}
.pill-brand:hover {
  background: var(--star-deep);
}
.pill-ghost {
  background: rgb(255 255 255 / 0.7);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(8px);
}
.pill-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--ink-2);
}

/* Mağaza düğmeleri (henüz bağlantı yok) */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store {
  display: inline-grid;
  grid-auto-flow: row;
  gap: 0;
  min-width: 132px;
  padding: 8px 18px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.65);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  line-height: 1.25;
  cursor: default;
}
.store span {
  font-weight: 600;
  font-size: 0.95rem;
}
.store small {
  font-size: 0.75rem;
  color: var(--gray);
}
.store-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}
.store-dark small {
  color: #a1a1a6;
}

/* ---------- Üst şerit ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  background: rgb(255 255 255 / 0.72);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 200ms var(--ease),
    background-color 300ms var(--ease),
    color 300ms var(--ease);
}
.nav.dark {
  background: rgb(22 22 23 / 0.8);
  color: #f5f5f7;
  border-bottom-color: rgb(255 255 255 / 0.08);
}
.nav.dark .nav-links a {
  color: #d2d2d7;
}
.nav.dark .pill-dark {
  background: #f5f5f7;
  color: var(--ink);
}
.nav[data-scrolled] {
  border-bottom-color: rgb(0 0 0 / 0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 6px 12px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--fast) var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}

/* ---------- Ortak girişler ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
    transition:
      opacity 700ms var(--ease),
      transform 900ms var(--ease),
      filter 700ms var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .js .blur-in {
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.97);
    transition:
      opacity 900ms var(--ease),
      filter 1100ms var(--ease),
      transform 1100ms var(--ease);
    transition-delay: calc(var(--d, 0) * 140ms);
  }
  .js .blur-in.in {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* =====================================================================
 * 1. Hikâye: hero + sabitlenen 3B telefon
 * ===================================================================== */
.story {
  position: relative;
  height: 560vh;
  background: var(--white);
}
.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  perspective: 1600px;
}

/* Yumuşak ışık lekeleri ve yıldız tozu */
.aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  filter: blur(70px);
  opacity: calc(1 - var(--p-out, 0) * 0.6);
}
.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
}
.orb-a {
  width: 46vmax;
  height: 46vmax;
  left: 8%;
  top: 18%;
  background: #ffe39a;
}
.orb-b {
  width: 40vmax;
  height: 40vmax;
  right: 6%;
  top: 6%;
  background: #dcd7ff;
}
.orb-c {
  width: 30vmax;
  height: 30vmax;
  left: 40%;
  bottom: 0;
  background: #ffd9c7;
  opacity: 0.4;
}
@media (prefers-reduced-motion: no-preference) {
  .orb-a {
    animation: drift-a 18s ease-in-out infinite alternate;
  }
  .orb-b {
    animation: drift-b 22s ease-in-out infinite alternate;
  }
  .orb-c {
    animation: drift-a 26s ease-in-out infinite alternate-reverse;
  }
}
@keyframes drift-a {
  to {
    transform: translate(8vmax, 6vmax) scale(1.1);
  }
}
@keyframes drift-b {
  to {
    transform: translate(-10vmax, 8vmax) scale(0.92);
  }
}
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stars i {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--star-deep);
  opacity: var(--o);
  transform: translate3d(
    calc(var(--mx, 0) * var(--k) * 1px),
    calc(var(--my, 0) * var(--k) * 1px + var(--sy, 0) * var(--k) * -6px),
    0
  );
}

.hero-copy {
  position: absolute;
  z-index: 3;
  top: calc(var(--header-h) + 7vh);
  left: 0;
  right: 0;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding-inline: 22px;
  will-change: transform, opacity, filter;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero-sub {
  max-width: 34rem;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}
.hero-copy .stores {
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gray);
  z-index: 4;
  opacity: calc(1 - var(--p-out, 0) * 4);
}
.scroll-hint i {
  width: 22px;
  height: 34px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  position: relative;
}
.scroll-hint i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gray);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint i::after {
    animation: wheel 1.8s var(--ease) infinite;
  }
}
@keyframes wheel {
  60% {
    transform: translateY(10px);
    opacity: 0;
  }
}

/* --- 3B cihaz --- */
.stage3d {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 2;
}
.d3 {
  --w: 300px;
  --h: 620px;
  --t: 16px;
  --r: 50px;
  position: relative;
  width: var(--w);
  height: var(--h);
  transform-style: preserve-3d;
}
.d3-front,
.d3-back,
.d3-slice {
  position: absolute;
  inset: 0;
  border-radius: var(--r);
}
.d3-front {
  transform: translateZ(calc(var(--t) / 2));
  background: #0c0c0e;
  padding: 11px;
  transform-style: preserve-3d;
}
.d3-back {
  transform: rotateY(180deg) translateZ(calc(var(--t) / 2));
  background: linear-gradient(160deg, #f4f2fb, #dedbea);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.6);
}
.d3.away .d3-front,
.d3:not(.away) .d3-back {
  visibility: hidden;
}
.d3-slice {
  background: linear-gradient(90deg, #a9a6b6, #e2e0ea 30%, #b9b6c6 70%, #8f8c9c);
}
.cam {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 104px;
  height: 104px;
  border-radius: 30px;
  background: rgb(255 255 255 / 0.45);
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 0.06),
    0 6px 16px -8px rgb(0 0 0 / 0.3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  padding: 12px;
}
.cam i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #4a4a58, #0f0f14 70%);
  box-shadow: 0 0 0 4px #c9c6d6;
}
.cam i:nth-child(3) {
  grid-column: 1;
}
.back-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: 0 8px 20px -10px rgb(0 0 0 / 0.35);
}
.island-cam {
  position: absolute;
  top: 22px;
  left: 50%;
  translate: -50% 0;
  width: 92px;
  height: 26px;
  border-radius: 999px;
  background: #0c0c0e;
  z-index: 3;
}
.screen {
  position: relative;
  height: 100%;
  border-radius: calc(var(--r) - 11px);
  background: #f3f2f8;
  padding: 60px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8rem;
  transform-style: preserve-3d;
}
.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.app-top small {
  display: block;
  color: var(--gray);
  font-size: 0.68rem;
}
.app-top strong {
  font-size: 1.05rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--star);
  color: var(--on-star);
  font-weight: 600;
  flex: none;
}
.avatar.sm {
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
}
.tile {
  --fill: 1;
  --ex: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid #e6e4ef;
  transform-style: preserve-3d;
  opacity: var(--fill);
  transform: translateZ(calc(var(--ex) * var(--z) * 1px + (1 - var(--fill)) * 120px))
    rotateX(calc((1 - var(--fill)) * -30deg));
  box-shadow: 0 calc(var(--ex) * 30px) calc(var(--ex) * 40px) calc(var(--ex) * -18px)
    rgb(0 0 0 / 0.35);
}
.tile-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  transform-style: preserve-3d;
}
.tile-label {
  color: var(--gray);
  font-size: 0.7rem;
}
.metric {
  color: var(--gray);
}
.metric b {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}
.foods {
  width: 100%;
  display: grid;
  gap: 6px;
}
.foods li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.layer-label {
  position: absolute;
  left: calc(100% + 26px);
  top: 50%;
  translate: 0 -50%;
  white-space: nowrap;
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: var(--ex);
}
.tile-row .tile:first-child .layer-label {
  left: auto;
  right: calc(100% + 26px);
}
.tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 6px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #e6e4ef;
  font-size: 0.64rem;
  color: var(--gray);
}
.tabbar .on {
  color: var(--ink);
  font-weight: 600;
}

/* Sahnedeki telefon: dönüşü JS değişkenleriyle */
.hero-phone {
  --ry: 0deg;
  --rx: 0deg;
  --ty: 0px;
  --tx: 0px;
  --sc: 1;
  transform: translate3d(var(--tx), var(--ty), 0) scale(var(--sc)) rotateX(var(--rx))
    rotateY(var(--ry));
  will-change: transform;
}

/* Süzülen bildirim kartları */
.floaters {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 3;
}
.floater {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  line-height: 1.3;
  opacity: var(--fo, 1);
  transform: translate3d(
    calc(var(--x) * var(--spread, 1) * var(--sx, 1) * 1px + var(--mx, 0) * var(--z) * 0.06px),
    calc(
      var(--y) * var(--spread, 1) * 1px + var(--my, 0) * var(--z) * 0.06px + var(--fy, 0) *
        var(--z) * -1px
    ),
    calc(var(--z) * 1px)
  );
}
.floater strong {
  display: block;
  font-weight: 600;
}
.floater small {
  color: var(--gray);
}
.dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  flex: none;
}
.dot.ok {
  background: #c9f0d8;
}
.dot.warn {
  background: #ffe7a6;
}
.dot.lilac {
  background: var(--lilac-soft);
}

/* Kaydırmayla değişen anlatım */
.captions {
  position: absolute;
  z-index: 4;
  left: max(22px, calc((100vw - var(--wrap)) / 2));
  top: 50%;
  translate: 0 -50%;
  /* Telefonun sol kenarında durur: ekran ortası − telefonun yarısı (150px, dönme/ölçek
     payıyla 190px) − sol boşluk. Uzun metin genişlemez, satır sayısı artar. */
  width: min(30rem, calc(50vw - 190px - max(22px, calc((100vw - var(--wrap)) / 2))));
  display: grid;
}
.captions li {
  grid-area: 1 / 1;
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--gray);
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition:
    opacity 600ms var(--ease),
    transform 800ms var(--ease),
    filter 600ms var(--ease);
}
.captions li b {
  color: var(--ink);
  font-weight: 600;
}
.captions li.on {
  opacity: 1;
  transform: none;
  filter: none;
}
.captions li.off-up {
  transform: translateY(-24px);
}

/* =====================================================================
 * 2. Kayan şerit
 * ===================================================================== */
.marquee {
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid #ececf0;
  background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-track i {
  width: 14px;
  height: 14px;
  background: var(--star);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee 38s linear infinite;
  }
  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =====================================================================
 * 3. Vizyon ve misyon
 * ===================================================================== */
.vision {
  padding-block: 160px 120px;
}
.wordfill {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 20ch;
}
.wordfill .w {
  opacity: calc(0.16 + var(--lit, 1) * 0.84);
  transition: opacity 120ms linear;
}
.mission {
  margin-top: 160px;
}
.mission-head {
  max-width: 44rem;
  margin-bottom: 40px;
}
.mission-lede {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  overflow: hidden;
  padding: 30px;
  min-height: 260px;
  border-radius: 28px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}
.bento-card h3 {
  font-size: 1.5rem;
}
.bento-card p {
  color: var(--ink-2);
  max-width: 34ch;
}
.b-teacher {
  grid-row: span 2;
  background: var(--ink);
  color: var(--white);
}
.b-teacher p {
  color: #a1a1a6;
}
.b-child {
  background: var(--lilac-soft);
}
.b-school {
  grid-column: span 2;
  background: #fff6db;
}
/* Kartların içindeki geometrik şekiller */
.shape-stack {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 180px;
  height: 180px;
  perspective: 600px;
}
.shape-stack i {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: var(--star);
  transform: rotateX(58deg) rotateZ(-38deg) translateZ(calc(var(--n) * 34px));
  opacity: calc(0.45 + var(--n) * 0.27);
}
.shape-stack i:nth-child(1) {
  --n: 0;
  background: #3a3a3c;
}
.shape-stack i:nth-child(2) {
  --n: 1;
  background: #6e6e73;
}
.shape-stack i:nth-child(3) {
  --n: 2;
}
@media (prefers-reduced-motion: no-preference) {
  .js .b-teacher.in .shape-stack i {
    animation: stack-in 1200ms var(--ease) both;
    animation-delay: calc(var(--n) * 140ms + 200ms);
  }
}
@keyframes stack-in {
  from {
    transform: rotateX(58deg) rotateZ(-38deg) translateZ(0);
    opacity: 0;
  }
}
.shape-ring {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 14px solid var(--star);
}
.shape-ring i {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 14px solid transparent;
  border-top-color: var(--lilac);
}
@media (prefers-reduced-motion: no-preference) {
  .shape-ring i {
    animation: spin 6s linear infinite;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.shape-shield {
  position: absolute;
  top: 26px;
  right: 30px;
  width: 80px;
  height: 94px;
  background: var(--lilac);
  clip-path: path('M40 0 L80 14 L80 46 C80 72 62 88 40 94 C18 88 0 72 0 46 L0 14 Z');
}
.shape-shield i {
  position: absolute;
  left: 26px;
  top: 30px;
  width: 30px;
  height: 18px;
  border-left: 6px solid var(--star);
  border-bottom: 6px solid var(--star);
  transform: rotate(-45deg);
}
.mini-bars {
  position: absolute;
  right: 34px;
  bottom: 30px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
}
.mini-bars i {
  width: 26px;
  height: calc(var(--h) * 100%);
  border-radius: 8px 8px 4px 4px;
  background: var(--star);
  transform-origin: bottom;
}
@media (prefers-reduced-motion: no-preference) {
  .js .b-school:not(.in) .mini-bars i {
    transform: scaleY(0.1);
  }
  .js .b-school .mini-bars i {
    transition: transform 900ms var(--ease) 300ms;
  }
}

/* =====================================================================
 * 4. Yatay gün şeridi
 * ===================================================================== */
.reel {
  height: 320vh;
  background: var(--paper);
}
.reel-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
  grid-template-columns: 100%;
  align-content: center;
  padding-block: calc(var(--header-h) + 3vh) 6vh;
  gap: 28px;
}
.reel-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.04em;
}
.reel-head p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 1.15rem;
}
.reel-line {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.reel-line i {
  display: block;
  height: 100%;
  background: var(--star);
  transform-origin: left;
  transform: scaleX(var(--rp, 1));
}
.reel-track {
  display: flex;
  gap: 22px;
  padding-inline: max(22px, calc((100vw - var(--wrap)) / 2));
  width: max-content;
  justify-self: start;
  align-items: start;
  transform: translate3d(var(--rx, 0px), 0, 0);
  will-change: transform;
}
.reel-card {
  width: min(78vw, 360px);
  min-height: min(46vh, 360px);
  padding: 30px;
  border-radius: 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.reel-card time {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink);
}
.reel-card h3 {
  font-size: 1.3rem;
  margin-top: 8px;
}
.reel-card p {
  color: var(--ink-2);
  font-size: 0.98rem;
}
.mini-ui {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--paper);
  font-size: 0.85rem;
}
.reel-card:nth-child(odd) {
  transform: translateY(26px);
}

/* =====================================================================
 * 5. Nasıl çalışır (eski bileşenlerin üzerine beyaz tema)
 * ===================================================================== */
.how {
  padding-block: 150px 60px;
}
.section-head {
  max-width: 44rem;
  margin-bottom: 52px;
}
.section-head h2,
.pit-head h2,
.faq-side h2,
.app-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.section-head p,
.pit-head p {
  margin-top: 16px;
  color: var(--gray);
  font-size: 1.15rem;
}
.stage {
  background: var(--paper) !important;
  border: 0 !important;
  border-radius: 32px !important;
}

/* =====================================================================
 * 6. Düşen modül şekilleri
 * ===================================================================== */
.pit-section {
  padding-block: 120px 0;
}
.pit-head {
  max-width: 46rem;
}
.pit {
  position: relative;
  height: min(64vh, 560px);
  margin-top: 40px;
  background: linear-gradient(var(--white), var(--paper));
  overflow: hidden;
  touch-action: pan-y;
}
.pit-fallback {
  position: absolute;
  inset: auto 22px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.pit-fallback li {
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 600;
}
.pit.live .pit-fallback {
  display: none;
}
.body {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  will-change: transform;
  padding: 10px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* =====================================================================
 * 8. Güven: siyah bant
 * ===================================================================== */
.trust {
  background: #000;
  color: #f5f5f7;
  padding-block: 160px;
}
.trust h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: 16ch;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 80px;
}
.trust-item b {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--star);
}
.trust-item p {
  color: #a1a1a6;
}

/* =====================================================================
 * 9. Uygulama
 * ===================================================================== */
.app {
  padding-block: 150px;
  overflow: hidden;
}
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.app-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}
.app-copy p {
  color: var(--ink-2);
  font-size: 1.15rem;
  max-width: 30rem;
}
.app-phones {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  height: 560px;
  perspective: 1400px;
  transform-style: preserve-3d;
}
.mini-d3 {
  --w: 230px;
  --h: 470px;
  --t: 12px;
  --r: 40px;
  position: absolute;
  top: 40px;
}
.mini-d3 .screen {
  padding-top: 52px;
  gap: 8px;
  font-size: 0.74rem;
}
.mini-d3 .island-cam {
  width: 72px;
  height: 20px;
  top: 20px;
}
.scr-title {
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.mini-d3 .mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid #e6e4ef;
}
.p-left {
  left: 6%;
  transform: rotateY(calc(24deg + var(--ry))) rotateX(calc(6deg + var(--rx))) rotateZ(-4deg)
    translateZ(-60px);
}
.p-right {
  left: 44%;
  top: 80px;
  transform: rotateY(calc(-22deg + var(--ry))) rotateX(calc(6deg + var(--rx))) rotateZ(3deg)
    translateZ(40px);
}
@media (prefers-reduced-motion: no-preference) {
  .js .app:not(.in) .p-left {
    transform: rotateY(70deg) translateZ(-200px) translateY(80px);
    opacity: 0;
  }
  .js .app:not(.in) .p-right {
    transform: rotateY(-70deg) translateZ(-200px) translateY(120px);
    opacity: 0;
  }
  .js .app .mini-d3 {
    transition:
      transform 1400ms var(--ease),
      opacity 800ms var(--ease);
  }
  .js .app.in .mini-d3 {
    transition:
      transform 300ms linear,
      opacity 800ms var(--ease);
  }
}

/* =====================================================================
 * 10. Ücret + SSS
 * ===================================================================== */
.faq-wrap {
  padding-block: 120px;
  background: var(--paper);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.faq-side {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 28px;
}
.price-card {
  --rx: 0deg;
  --ry: 0deg;
  padding: 26px;
  border-radius: 24px;
  background: var(--white);
  display: grid;
  gap: 10px;
}
.price-card b {
  font-size: 1.2rem;
}
.price-card p {
  color: var(--ink-2);
  font-size: 0.98rem;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 80px;
  margin-top: 6px;
}
.bars i {
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: 6px 6px 2px 2px;
  background: var(--star);
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 2px;
  font-weight: 600;
  font-size: 1.15rem;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gray);
  transition: transform 260ms var(--ease);
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  padding: 0 2px 24px;
  color: var(--ink-2);
  max-width: 60ch;
}
@media (prefers-reduced-motion: no-preference) {
  details[open] p {
    animation: rise 360ms var(--ease);
  }
}

/* =====================================================================
 * 11. İletişim
 * ===================================================================== */
.contact {
  padding-block: 150px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.contact-copy {
  display: grid;
  gap: 18px;
}
.contact-copy p {
  color: var(--ink-2);
  font-size: 1.15rem;
  max-width: 30rem;
}
.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 28px;
  background: var(--paper);
}
.field {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
}
.field input,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #86868b;
  background: var(--white);
  resize: vertical;
  transition:
    border-color var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lilac);
  box-shadow: 0 0 0 4px rgb(91 79 214 / 0.18);
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--off-fg);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ink);
  flex: none;
}
.contact-form .pill {
  justify-self: start;
}
.contact-form .pill[disabled] {
  opacity: 0.5;
  cursor: progress;
}
.form-status {
  min-height: 1.5em;
  font-size: 0.95rem;
}
.form-status.ok {
  color: var(--ok-fg);
}
.form-status.err {
  color: var(--off-fg);
}

/* ---------- Alt bilgi ---------- */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: 30px calc(30px + env(safe-area-inset-bottom));
  font-size: 0.85rem;
  color: var(--gray);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* ---------- Eğilen kartlar ---------- */
[data-tilt]:not(.app-phones) {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 200ms linear;
}
.js .reveal.in[data-tilt] {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
/* ---------- Rozetler ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  font-style: normal;
  white-space: nowrap;
}
.chip-ok {
  color: var(--ok-fg);
  background: var(--ok-bg);
}
.chip-warn {
  color: var(--warn-fg);
  background: var(--warn-bg);
}
.chip-lilac {
  color: var(--lilac);
  background: var(--lilac-soft);
}
.chip-off {
  color: var(--off-fg);
  background: var(--off-bg);
}
.chip-pending,
.chip-neutral {
  color: var(--neutral-fg);
  background: var(--neutral-bg);
}

/*
 * .swap: aynı yerde iki durum. Son durum varsayılandır (JS yoksa ya da hareket kapalıysa
 * ekranda doğru sonuç görünür). JS çalışınca başlangıç durumuna alınır, tetiklenince döner.
 */
.swap {
  display: inline-grid;
  justify-items: start;
}
.swap > * {
  grid-area: 1 / 1;
  transition:
    opacity 260ms var(--ease),
    transform 260ms var(--ease);
  transition-delay: var(--t, 0ms);
}
.swap > :first-child {
  opacity: 0;
  visibility: hidden;
}
.js .swap:not(.on) > :first-child {
  opacity: 1;
  visibility: visible;
}
.js .swap:not(.on) > :last-child {
  opacity: 0;
  transform: scale(0.9);
}
.js .swap.on > :first-child {
  opacity: 0;
}

.roll {
  display: grid;
  gap: 8px;
}
.roll li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.roll.compact li {
  padding: 6px 10px;
}
.seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  background: var(--surface-muted);
  font-weight: 500;
}
.seg i {
  font-style: normal;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    background-color 220ms var(--ease),
    color 220ms var(--ease);
}
.seg i.on {
  background: var(--ok-bg);
  color: var(--ok-fg);
}
/* Gelmedi işaretlenen satır (son durum varsayılan) */
.is-absent .seg i:first-child,
.js .is-absent .seg i:first-child {
  background: transparent;
  color: var(--muted);
}
.is-absent .seg i:last-child {
  background: var(--off-bg);
  color: var(--off-fg);
}
.save {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.8rem;
  transition: transform var(--fast) var(--ease);
}
.save.pressed {
  transform: scale(0.94);
}
/* ---------- Nasıl çalışır ---------- */

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}
.steps {
  display: grid;
}
.step {
  position: relative;
  min-height: 62vh;
  padding: 8px 0 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--muted);
  transition: color 300ms var(--ease);
}
.step:first-child {
  min-height: 46vh;
  justify-content: flex-start;
}
.step:last-child {
  min-height: 50vh;
}
.step h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 10px;
}
.step p {
  max-width: 44ch;
  font-size: 1.0625rem;
}
.step.active {
  color: var(--text-2);
}
.star {
  position: absolute;
  left: 4px;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg);
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    transform 300ms var(--ease);
}
.step:not(:first-child) .star {
  top: calc(50% - 7px - 20px);
}
.step.done .star,
.step.active .star {
  background: var(--accent);
  border-color: var(--accent);
}
.step.active .star {
  transform: scale(1.25);
}
/* Noktaları birleştiren ince çizgi (takımyıldızı) */
.step::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step:first-child::before {
  top: 16px;
}
.step:last-child::before {
  bottom: calc(50% + 27px);
}
.step::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(var(--fill, 0));
  transition: transform 500ms var(--ease);
}
.step:first-child::after {
  top: 16px;
}
.step:last-child::after {
  bottom: calc(50% + 27px);
}
.step.done::after,
.step.active::after {
  --fill: 1;
}
/* Kaydırmaya bağlı çizgi: destekleyen tarayıcıda çizgi parmakla birlikte uzar */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .step {
      view-timeline: --step block;
    }
    .step::after {
      transition: none;
      animation: line-fill linear both;
      animation-timeline: --step;
      animation-range: cover 15% cover 50%;
    }
  }
}
@keyframes line-fill {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.stage {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  height: min(560px, calc(100vh - var(--header-h) - 64px));
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 32px;
  overflow: hidden;
}
.scenes {
  display: grid;
  width: 100%;
  max-width: 380px;
}
.scene {
  grid-area: 1 / 1;
  align-self: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 360ms var(--ease),
    transform 360ms var(--ease),
    visibility 0s 360ms;
}
.scene.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 360ms var(--ease) 80ms,
    transform 360ms var(--ease) 80ms,
    visibility 0s;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: grid;
  gap: 12px;
  font-size: 0.875rem;
  box-shadow: var(--shadow);
}
.card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.code {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn-fg);
}
.emails,
.branches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.78rem;
}
.branches span {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 500;
}
.toggles {
  display: grid;
  gap: 2px;
}
.toggles li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 4px;
  border-bottom: 1px solid var(--border);
}
.toggles li:last-child {
  border-bottom: 0;
}
.sw {
  position: relative;
  width: 36px;
  height: 22px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background-color 240ms var(--ease);
  transition-delay: var(--sw-delay, 0ms);
}
.sw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 240ms var(--ease);
  transition-delay: var(--sw-delay, 0ms);
}
.sw.on {
  background: var(--accent);
}
.sw.on::after {
  transform: translateX(14px);
}
/* Ödev ve Galeri kapalı son durum */
.turn-off .sw.on {
  background: var(--border-strong);
}
.turn-off .sw.on::after {
  transform: none;
}
.link-row > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
}
.teacher {
  display: flex;
  align-items: center;
  gap: 8px;
}
.teacher .chip {
  margin-left: auto;
}
.counter {
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}
.counter b {
  color: var(--text);
}
.btn-fake {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.78rem;
  font-style: normal;
}
.meal-rows {
  display: grid;
  gap: 6px;
}
.meal-rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.meal-rows li.dim {
  opacity: 0.5;
}
.sleep {
  padding-top: 4px;
}
.sleep-val {
  font-variant-numeric: tabular-nums;
}
.parent .mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.parent .form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
}

/* Sahne içi sıralı girişler: yalnızca hareket izni varsa */
@media (prefers-reduced-motion: no-preference) {
  .js .scene [style*='--i'] {
    transition:
      opacity 340ms var(--ease),
      transform 340ms var(--ease);
    transition-delay: calc(var(--i) * 60ms + 160ms);
  }
  .js .scene:not(.is-active) [style*='--i'] {
    opacity: 0;
    transform: translateY(8px);
  }
  .js .scene:not(.is-active) .turn-off .sw.on {
    background: var(--accent);
  }
  .js .scene:not(.is-active) .turn-off .sw.on::after {
    transform: translateX(14px);
  }
  .js .scene.is-active .turn-off {
    --sw-delay: 900ms;
  }
  .js .scene .absent {
    transition: none;
  }
  .js .scene .absent .seg i {
    transition-delay: calc(var(--i) * 260ms + 500ms);
  }
  .js .scene:not(.is-active) .absent .seg i:first-child {
    background: var(--ok-bg);
    color: var(--ok-fg);
  }
  .js .scene:not(.is-active) .absent .seg i:last-child {
    background: transparent;
    color: var(--muted);
  }
  .js .scene .sleep-val {
    transition: opacity 300ms var(--ease) 1400ms;
  }
  .js .scene:not(.is-active) .sleep-val {
    opacity: 0;
  }
}
.scene .absent .seg i:first-child {
  background: transparent;
  color: var(--muted);
}
.scene .absent .seg i:last-child {
  background: var(--off-bg);
  color: var(--off-fg);
}

/* ---------- Nasıl çalışır: sahneler bir küp gibi döner ---------- */
.stage {
  perspective: 1100px;
}
.scenes {
  transform-style: preserve-3d;
}
.stage .scene {
  transform: rotateY(62deg) translateZ(-70px) translateX(40px);
  transform-origin: 50% 50% -160px;
  transition:
    opacity 520ms var(--ease),
    transform 720ms var(--ease),
    visibility 0s 720ms;
}
.stage .scene.past {
  transform: rotateY(-62deg) translateZ(-70px) translateX(-40px);
}
.stage .scene.is-active {
  transform: none;
  transition:
    opacity 520ms var(--ease) 60ms,
    transform 720ms var(--ease),
    visibility 0s;
}
/* Kart içindeki satırlar derinlikten gelir */
.card,
.card ul,
.card .emails,
.card .branches {
  perspective: 700px;
}
@media (prefers-reduced-motion: no-preference) {
  .js .scene:not(.is-active) [style*='--i'] {
    transform: translateZ(-90px) rotateX(18deg);
  }
}

.js .reveal.in[data-tilt] {
  transition:
    transform 200ms linear,
    opacity 700ms var(--ease),
    filter 700ms var(--ease);
}

/* =====================================================================
 * Duyarlı
 * ===================================================================== */
@media (max-width: 960px) {
  .captions {
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 5vh;
    translate: none;
    width: auto;
    text-align: center;
  }
  .captions li {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 20px;
    background: rgb(255 255 255 / 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .b-teacher {
    grid-row: auto;
    grid-column: span 2;
    min-height: 320px;
  }
  .trust-grid,
  .faq-grid,
  .contact-grid,
  .app-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-side {
    position: static;
  }
  .app-phones {
    height: 520px;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
  /* Nasıl çalışır: sahneler adımların içine taşınır (JS) */
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .how-grid.inline .stage {
    display: none;
  }
  .how-grid.inline .step,
  .how-grid.inline .step:first-child,
  .how-grid.inline .step:last-child {
    min-height: 0;
    justify-content: flex-start;
    padding-bottom: 56px;
  }
  .how-grid.inline .step .star {
    top: 16px;
  }
  .how-grid.inline .step:last-child::before,
  .how-grid.inline .step:last-child::after {
    bottom: auto;
    height: 16px;
  }
  .step > .scene {
    grid-area: auto;
    margin-top: 22px;
    max-width: 420px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .step > .scene .card {
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav .pill {
    margin-left: auto;
  }
  .floater {
    font-size: 0.75rem;
    padding: 8px 12px 8px 8px;
  }
  .dot {
    width: 22px;
    height: 22px;
  }
  .hero-copy {
    top: calc(var(--header-h) + 4vh + 40px);
    gap: 14px;
  }
  .hero-copy .stores {
    display: none;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .b-teacher,
  .b-school {
    grid-column: auto;
  }
  .shape-stack {
    width: 120px;
    height: 120px;
  }
  .contact-form {
    padding: 22px;
  }
  .mini-d3 {
    --w: 180px;
    --h: 370px;
    --r: 32px;
  }
  .app-phones {
    height: 440px;
  }
  .p-right {
    left: 40%;
  }
  .vision {
    padding-block: 110px 80px;
  }
  .mission {
    margin-top: 100px;
  }
}

/* =====================================================================
 * Hareket azaltma: sabitleme yok, her şey son durumunda
 * ===================================================================== */
.rm .story {
  height: auto;
}
.rm .story-sticky {
  position: relative;
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 40px;
  padding: calc(var(--header-h) + 60px) 22px 80px;
  overflow: visible;
}
.rm .hero-copy,
.rm .stage3d,
.rm .captions,
.rm .floaters {
  position: relative;
  inset: auto;
  top: auto;
  left: auto;
  translate: none;
}
.rm .floaters,
.rm .scroll-hint {
  display: none;
}
.rm .captions {
  width: min(100%, 40rem);
  gap: 14px;
}
.rm .captions li {
  grid-area: auto;
  opacity: 1;
  transform: none;
  filter: none;
}
.rm .hero-phone {
  transform: rotateY(-12deg) rotateX(6deg);
}
.rm .reel {
  height: auto;
}
.rm .reel-sticky {
  position: relative;
  height: auto;
  overflow: visible;
  padding-block: 100px;
}
.rm .reel-track {
  overflow-x: auto;
  width: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}
.rm .reel-card {
  flex: none;
  scroll-snap-align: start;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    animation: none !important;
  }
  .stage .scene,
  .stage .scene.past,
  .stage .scene.is-active {
    transform: none;
  }
}

/* =====================================================================
 * Çocuk teması: yuvarlak başlık yazısı, boya kalemi renkleri, gökyüzü,
 * tepeler, oyuncak bloklar ve karalamalar. Hareketler yavaş ve hafif.
 * ===================================================================== */
@font-face {
  font-family: 'Baloo 2';
  src: url('/tanitim/fonts/baloo2-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  src: url('/tanitim/fonts/baloo2-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  src: url('/tanitim/fonts/baloo2-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
:root {
  --round: 'Baloo 2', 'Sora', system-ui, sans-serif;
  --coral: #ff8a7a;
  --sky: #8fd3ff;
  --sky-soft: #e3f4ff;
  --grass: #8edb8a;
  --grass-deep: #6cc767;
  --pink: #ffb3d1;
  --pink-soft: #ffe6f0;
  --sun-soft: #fff4cf;
  --night: #1b1d52;
}
h1,
h2,
h3,
.wordfill,
.mission-lede,
.reel-card time,
.marquee-track,
.captions li b,
.kicker,
.brand-name,
.body,
summary,
.pill,
.trust-item b {
  font-family: var(--round);
}
h1,
h2,
.wordfill,
.mission-lede {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-copy h1 {
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.section-head h2,
.pit-head h2,
.faq-side h2,
.app-copy h2,
.contact-copy h2,
.reel-head h2,
.trust h2 {
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.wordfill {
  line-height: 1.08;
}
.kicker {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--coral);
}
.pill {
  font-weight: 700;
  font-size: 1.05rem;
}

/* --- Karalama alt çizgi --- */
.scribble {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.scribble svg {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.32em;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 7;
  stroke-linecap: round;
}
@media (prefers-reduced-motion: no-preference) {
  .js .scribble path {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: draw 1200ms var(--ease) 700ms forwards;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* --- Gökyüzü sahnesi --- */
.orb-a {
  background: #ffe7a3;
}
.orb-b {
  background: #cdeaff;
}
.orb-c {
  background: #ffd3e4;
}
.kid-scene > * {
  position: absolute;
  pointer-events: none;
}
.sun,
.cloud,
.plane-path,
.plane {
  z-index: 1;
  opacity: calc(1 - var(--p-out, 0) * 0.9);
}
.sun {
  top: calc(var(--header-h) + 6vh);
  left: 6vw;
  width: 120px;
  height: 120px;
  translate: calc(var(--mx, 0) * -0.3px) calc(var(--my, 0) * -0.3px);
}
.sun-rays {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(#ffd45c 0 9deg, transparent 9deg 24deg);
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 39%, #000 70%, transparent 71%);
  mask: radial-gradient(circle, transparent 38%, #000 39%, #000 70%, transparent 71%);
}
.sun-core {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe48a, #ffc23a 70%);
  box-shadow: 0 0 40px rgb(255 201 60 / 0.6);
}
.cloud {
  width: 150px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px -12px rgb(30 80 140 / 0.25);
}
.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud::before {
  width: 64px;
  height: 64px;
  left: 24px;
  top: -30px;
}
.cloud::after {
  width: 46px;
  height: 46px;
  left: 78px;
  top: -18px;
}
.c1 {
  top: calc(var(--header-h) + 13vh);
  left: 17vw;
  scale: 0.8;
  translate: calc(var(--mx, 0) * 0.5px) 0;
}
.c2 {
  top: calc(var(--header-h) + 4vh);
  right: 14vw;
  translate: calc(var(--mx, 0) * 0.8px) 0;
}
.c3 {
  top: 46vh;
  right: 4vw;
  scale: 0.6;
  translate: calc(var(--mx, 0) * 0.3px) 0;
}
.plane-path {
  top: calc(var(--header-h) + 16vh);
  right: 6vw;
  width: 300px;
  height: 120px;
  overflow: visible;
}
.plane-path path {
  fill: none;
  stroke: var(--sky);
  stroke-width: 3;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
}
.plane {
  top: calc(var(--header-h) + 16vh - 22px);
  right: calc(6vw - 14px);
  width: 40px;
  height: 40px;
  rotate: -14deg;
}
.plane path {
  fill: #fff;
  stroke: #4a9fe0;
  stroke-width: 3;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  .sun-rays {
    animation: spin 60s linear infinite;
  }
  .c1 {
    animation: cloud-drift 40s ease-in-out infinite alternate;
  }
  .c2 {
    animation: cloud-drift 52s ease-in-out infinite alternate-reverse;
  }
  .c3 {
    animation: cloud-drift 34s ease-in-out infinite alternate;
  }
  .plane {
    animation: plane-bob 4s ease-in-out infinite;
  }
}
@keyframes cloud-drift {
  to {
    transform: translateX(60px);
  }
}
@keyframes plane-bob {
  50% {
    transform: translate(-6px, -8px) rotate(-6deg);
  }
}

/* Tepeler: telefon arkalarından yükselir */
.hills {
  z-index: 3;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: 22vh;
  transform: translateY(calc(var(--p-out, 0) * 180px));
  opacity: calc(1 - var(--p-out, 0) * 1.1);
}
.hill-back {
  fill: #c4ecba;
}
.hill-front {
  fill: var(--grass);
}

/* --- 3B oyuncak bloklar --- */
.cube {
  --s: 64px;
  position: absolute;
  width: var(--s);
  height: var(--s);
  transform-style: preserve-3d;
}
.cube i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--c);
  color: #fff;
  font-family: var(--round);
  font-weight: 800;
  font-style: normal;
  font-size: calc(var(--s) * 0.56);
  line-height: 1;
  box-shadow: inset 0 0 0 calc(var(--s) * 0.08) rgb(255 255 255 / 0.35);
  backface-visibility: hidden;
}
.cube i:nth-child(1) {
  transform: translateZ(calc(var(--s) / 2));
}
.cube i:nth-child(2) {
  transform: rotateY(180deg) translateZ(calc(var(--s) / 2));
}
.cube i:nth-child(3) {
  transform: rotateY(90deg) translateZ(calc(var(--s) / 2));
  filter: brightness(0.86);
}
.cube i:nth-child(4) {
  transform: rotateY(-90deg) translateZ(calc(var(--s) / 2));
  filter: brightness(0.86);
}
.cube i:nth-child(5) {
  transform: rotateX(90deg) translateZ(calc(var(--s) / 2));
  filter: brightness(1.08);
}
.cube i:nth-child(6) {
  transform: rotateX(-90deg) translateZ(calc(var(--s) / 2));
  filter: brightness(0.75);
}
.blocks {
  z-index: 4;
  left: 7vw;
  bottom: 9vh;
  width: 200px;
  height: 160px;
  perspective: 900px;
  transform: translateY(calc(var(--p-out, 0) * 200px));
  opacity: calc(1 - var(--p-out, 0) * 1.2);
}
.b-a {
  --c: var(--coral);
  left: 0;
  bottom: 0;
  transform: rotateX(-18deg) rotateY(calc(28deg + var(--mx, 0) * 0.4deg));
}
.b-b {
  --c: #4fb3f6;
  left: 74px;
  bottom: 0;
  transform: rotateX(-18deg) rotateY(calc(-14deg + var(--mx, 0) * 0.4deg));
}
.b-c {
  --c: #ffbd1f;
  left: 36px;
  bottom: 72px;
  transform: rotateX(-18deg) rotateY(calc(12deg + var(--mx, 0) * 0.4deg)) rotateZ(-8deg);
}
@media (prefers-reduced-motion: no-preference) {
  .js .blocks .cube {
    animation: block-drop 900ms cubic-bezier(0.3, 1.4, 0.5, 1) both;
  }
  .js .blocks .b-b {
    animation-delay: 160ms;
  }
  .js .blocks .b-c {
    animation-delay: 360ms;
  }
}
@keyframes block-drop {
  from {
    translate: 0 -60vh;
  }
}

/* --- Özellik renk tonları: kayan şerit ve özellik parçaları ortak kullanır --- */
.t-sun {
  --t-soft: #fff1c2;
  --t-mid: #ffd866;
  --t-lip: #e5ad25;
  --t-ink: #a86f00;
}
.t-grass {
  --t-soft: #e2f7df;
  --t-mid: #aee8a9;
  --t-lip: #78c972;
  --t-ink: #2f8f39;
}
.t-lilac {
  --t-soft: #ecebfd;
  --t-mid: #d2caff;
  --t-lip: #a99bf3;
  --t-ink: #5b4fd6;
}
.t-coral {
  --t-soft: #ffe5e0;
  --t-mid: #ffbcb1;
  --t-lip: #ef8f7f;
  --t-ink: #d4493a;
}
.t-sky {
  --t-soft: #e3f4ff;
  --t-mid: #aadcff;
  --t-lip: #6dbcf2;
  --t-ink: #1f7fc4;
}
.t-pink {
  --t-soft: #ffe6f0;
  --t-mid: #ffc7dd;
  --t-lip: #ef97ba;
  --t-ink: #cc3f78;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --- Kayan şerit: ikonlu etiketler, iki özdeş grupla kesintisiz döngü --- */
.marquee {
  padding-block: 22px;
  background: linear-gradient(var(--white), var(--paper));
}
.marquee-track {
  gap: 0;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 700;
}
.marquee-group {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  min-width: 100vw;
  margin: 0;
  padding: 0 16px 6px 0;
  list-style: none;
}
.marquee-group li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 22px 7px 7px;
  border-radius: 999px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 1.5px #ececf2,
    0 4px 0 #e6e6ee,
    0 14px 24px -18px rgb(27 29 82 / 0.5);
}
.marquee-group b {
  display: grid;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: var(--t-soft);
  color: var(--t-ink);
}
.marquee-group svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Dalgalı geçişler --- */
.wave {
  display: block;
  line-height: 0;
  background: var(--white);
  margin-bottom: -1px;
}
.wave svg {
  display: block;
  width: 100%;
  height: 40px;
}
.wave path {
  fill: var(--paper);
}
.wave.to-night {
  background: var(--paper);
}
.wave.to-night path {
  fill: var(--night);
}

/* --- Karalamalar (çizilerek gelir) --- */
.vision .wrap,
.contact-copy {
  position: relative;
}
.doodle {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}
.doodle path {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.d-star {
  width: 74px;
  right: 6%;
  top: -40px;
  rotate: 14deg;
}
.d-star path {
  stroke: #ffbd1f;
  fill: var(--sun-soft);
}
.d-swirl {
  width: 90px;
  right: 18%;
  bottom: -70px;
}
.d-swirl path {
  stroke: var(--sky);
}
.d-plane {
  width: 180px;
  left: 60%;
  top: -60px;
}
.d-plane path {
  stroke: var(--coral);
  stroke-dasharray: 2 9;
}
.d-plane path.solid {
  fill: var(--coral);
  stroke-dasharray: none;
}
@media (prefers-reduced-motion: no-preference) {
  .js .doodle:not(.d-plane) path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1600ms var(--ease) 200ms;
  }
  .js .doodle.in path {
    stroke-dashoffset: 0;
  }
}

/* --- Misyon kartları: pastel --- */
.b-teacher {
  background: var(--sky-soft);
  color: var(--ink);
}
.b-teacher p {
  color: var(--ink-2);
}
.b-parent {
  background: var(--pink-soft);
}
.b-child {
  background: var(--lilac-soft);
}
.b-school {
  background: var(--sun-soft);
}
.toy-stack {
  position: absolute;
  top: 46px;
  right: 60px;
  width: 200px;
  height: 200px;
  perspective: 900px;
}
.toy-stack .cube {
  --s: 74px;
}
.t1 {
  --c: var(--coral);
  left: 0;
  bottom: 0;
  transform: rotateX(-20deg) rotateY(30deg);
}
.t2 {
  --c: #4fb3f6;
  left: 88px;
  bottom: 0;
  transform: rotateX(-20deg) rotateY(-20deg);
}
.t3 {
  --c: #ffbd1f;
  left: 42px;
  bottom: 84px;
  transform: rotateX(-20deg) rotateY(8deg);
}
@media (prefers-reduced-motion: no-preference) {
  .js .b-teacher:not(.in) .toy-stack .cube {
    translate: 0 -260px;
    opacity: 0;
  }
  .js .b-teacher .toy-stack .cube {
    transition:
      translate 900ms cubic-bezier(0.3, 1.4, 0.5, 1),
      opacity 300ms linear;
  }
  .js .b-teacher .toy-stack .t2 {
    transition-delay: 150ms;
  }
  .js .b-teacher .toy-stack .t3 {
    transition-delay: 320ms;
  }
}
.shape-heart {
  position: absolute;
  top: 34px;
  right: 40px;
  width: 64px;
  height: 64px;
  background: var(--coral);
  rotate: -45deg;
  border-radius: 8px;
}
.shape-heart::before,
.shape-heart::after {
  content: '';
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--coral);
}
.shape-heart::before {
  top: -32px;
  left: 0;
}
.shape-heart::after {
  left: 32px;
  top: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .shape-heart {
    animation: beat 2.4s ease-in-out infinite;
  }
}
@keyframes beat {
  10%,
  30% {
    scale: 1.12;
  }
  20%,
  40% {
    scale: 1;
  }
}
.mini-bars i:nth-child(1) {
  background: var(--coral);
}
.mini-bars i:nth-child(2) {
  background: #4fb3f6;
}
.mini-bars i:nth-child(3) {
  background: var(--grass-deep);
}

/* --- Gün şeridi: pastel kartlar, çıkartma saat --- */
.reel-card:nth-child(6n + 1) {
  background: var(--sun-soft);
}
.reel-card:nth-child(6n + 2) {
  background: var(--sky-soft);
}
.reel-card:nth-child(6n + 3) {
  background: var(--pink-soft);
}
.reel-card:nth-child(6n + 4) {
  background: #e4f7e1;
}
.reel-card:nth-child(6n + 5) {
  background: var(--lilac-soft);
}
.reel-card:nth-child(6n) {
  background: #ffe9dc;
}
.reel-card time {
  align-self: flex-start;
  padding: 2px 18px 0;
  border-radius: 18px;
  background: #fff;
  rotate: -3deg;
  box-shadow: 0 6px 16px -10px rgb(0 0 0 / 0.3);
  font-weight: 800;
}
.reel-card .mini-ui {
  background: rgb(255 255 255 / 0.75);
}

/* --- Şekil havuzu: oyuncaklar ve çimen --- */
.pit {
  background: linear-gradient(var(--white) 0, var(--sky-soft) 100%);
}
.pit::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26px;
  background: var(--grass);
  border-radius: 50% 50% 0 0 / 14px 14px 0 0;
  pointer-events: none;
}
/* Özellik parçaları ve oyuncaklar: yumuşak kil görünüm. Gölgeler gövdenin içinde olduğu
   için parça döndüğünde de doğru durur. */
.body.piece {
  display: grid;
  place-items: center;
  padding: 0.72em 1.2em;
  background:
    linear-gradient(160deg, rgb(255 255 255 / 0.5), rgb(255 255 255 / 0) 55%),
    var(--t-mid);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  white-space: nowrap;
  box-shadow:
    inset 0 -0.3em 0 rgb(0 0 0 / 0.07),
    inset 0 0.16em 0 rgb(255 255 255 / 0.6),
    0 16px 26px -16px rgb(27 29 82 / 0.5);
}
.p-pill {
  border-radius: 999px;
}
.body.p-box {
  padding: 0.95em 1.25em;
  border-radius: 0.8em;
}
/* Daire ve kare boyutu JS'te yazıya göre verilir; iç boşluk olursa yazı ortadan kayar */
.body.p-circle,
.body.p-square {
  padding: 0;
}
.p-circle {
  border-radius: 50%;
}
.p-square {
  border-radius: 1em;
}
/* Harf blokları */
.body.p-block {
  width: 2.7em;
  height: 2.7em;
  padding: 0;
  border-radius: 0.5em;
  background:
    linear-gradient(160deg, rgb(255 255 255 / 0.35), rgb(255 255 255 / 0) 55%),
    var(--blk);
  color: var(--white);
  font-weight: 800;
  box-shadow:
    inset 0 0 0 0.2em rgb(255 255 255 / 0.4),
    inset 0 -0.32em 0 rgb(0 0 0 / 0.12),
    0 16px 26px -16px rgb(27 29 82 / 0.55);
}
.p-block span {
  font-size: 1.5em;
  text-shadow: 0 2px 0 rgb(0 0 0 / 0.14);
}
.p-block.t-coral {
  --blk: #ff8a7a;
}
.p-block.t-sky {
  --blk: #4fb3f6;
}
.p-block.t-sun {
  --blk: #ffc93c;
}
/* Deniz topu: dilimler topla birlikte döner, yuvarlanması görünür */
.body.p-ball {
  width: 2.9em;
  height: 2.9em;
  padding: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.75), rgb(255 255 255 / 0) 32%),
    conic-gradient(#ff8a7a 0 25%, #fff 0 50%, #4fb3f6 0 75%, #ffc93c 0);
  box-shadow:
    inset -0.3em -0.35em 0.6em rgb(0 0 0 / 0.14),
    0 16px 26px -16px rgb(27 29 82 / 0.55);
}
.body.p-ball.ball-alt {
  background:
    radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.75), rgb(255 255 255 / 0) 32%),
    conic-gradient(#8edb8a 0 25%, #fff 0 50%, #b9adff 0 75%, #ffb3d1 0);
}
/* Çizimli oyuncaklar: peluş ayı, ördek, gökkuşağı (SVG main.js'te) */
.body.p-bear,
.body.p-duck,
.body.p-rainbow {
  padding: 0;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 12px 10px rgb(27 29 82 / 0.22));
}
.body.p-bear {
  width: 3.7em;
  height: 3.7em;
}
.body.p-duck {
  width: 3.5em;
  height: 3.5em;
}
.body.p-rainbow {
  width: 4.8em;
  height: 2.5em;
}
.body.p-bear svg,
.body.p-duck svg,
.body.p-rainbow svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* Yıldız: kırpılan biçimde dış gölge görünmez, derinlik iç degradeyle verilir */
.body.p-star {
  width: 3.2em;
  height: 3.2em;
  padding: 0;
  background: radial-gradient(circle at 38% 32%, #ffe59a, #ffc93c 52%, #e9a91c);
  box-shadow: none;
  clip-path: polygon(
    50% 2%,
    62% 36%,
    98% 38%,
    69% 59%,
    79% 95%,
    50% 74%,
    21% 95%,
    31% 59%,
    2% 38%,
    38% 36%
  );
}

/* --- Gece bandı --- */
.trust {
  position: relative;
  overflow: hidden;
  background: var(--night);
}
.trust-item p {
  color: #c7c9f0;
}
.moon {
  position: absolute;
  top: 70px;
  right: 9vw;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8d9, #ffe9a3 70%);
  box-shadow: 0 0 80px rgb(255 233 163 / 0.35);
}
.moon i {
  position: absolute;
  border-radius: 50%;
  background: rgb(214 190 120 / 0.35);
}
.moon i:nth-child(1) {
  width: 22px;
  height: 22px;
  left: 30px;
  top: 64px;
}
.moon i:nth-child(2) {
  width: 14px;
  height: 14px;
  left: 70px;
  top: 34px;
}
.night-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.night-stars i {
  position: absolute;
  width: var(--s);
  height: var(--s);
  background: #fff;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  opacity: 0.8;
}
@media (prefers-reduced-motion: no-preference) {
  .night-stars i {
    animation: twinkle 3.2s ease-in-out infinite;
    animation-delay: var(--dl);
  }
}
@keyframes twinkle {
  50% {
    opacity: 0.2;
    scale: 0.6;
  }
}
.nav.dark {
  background: rgb(27 29 82 / 0.82);
}

/* --- Alt bilgi: çimenli tepe --- */
.footer-hill {
  line-height: 0;
  background: var(--paper);
  margin-bottom: -1px;
}
.footer-hill svg {
  display: block;
  width: 100%;
  height: 80px;
}
.footer {
  background: var(--grass);
  border-top: 0;
  color: #1f4d1a;
}
.footer a {
  color: #12360f;
}
.contact {
  padding-bottom: 110px;
}

/* --- Konfeti (hero yıldız tozu yerine) --- */
.stars i {
  border-radius: var(--br, 50%);
  background: var(--col, var(--star-deep));
  rotate: var(--rot, 0deg);
}

@media (max-width: 760px) {
  .sun {
    width: 80px;
    height: 80px;
    left: 4vw;
    top: calc(var(--header-h) + 1vh);
  }
  .c2,
  .c3,
  .plane,
  .plane-path {
    display: none;
  }
  .c1 {
    top: auto;
    bottom: 26vh;
    left: 60vw;
  }
  .blocks {
    left: 3vw;
    bottom: 6vh;
    scale: 0.7;
    transform-origin: left bottom;
  }
  .hills {
    height: 14vh;
  }
  .toy-stack {
    scale: 0.7;
    right: 10px;
    top: 10px;
    transform-origin: top right;
  }
  .moon {
    width: 80px;
    height: 80px;
    top: 30px;
  }
  .d-star,
  .d-swirl {
    display: none;
  }
}
.rm .kid-scene .hills,
.rm .kid-scene .blocks {
  display: none;
}

/* Üst şeritteki giriş düğmesi: belirgin, ikonlu */
.nav-login {
  gap: 8px;
  min-height: 38px;
  padding: 0 18px;
  box-shadow: 0 8px 20px -10px rgb(242 185 31 / 0.9);
}
.nav-login svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.nav.dark .nav-login {
  background: var(--star);
  color: var(--on-star);
}

/* =====================================================================
 * Tasarım cilası: dokunsal düğmeler, çıkartmalar, bölüm etiketleri,
 * "Kim için?" kartları, tünemiş civciv ve SSS kartları.
 * ===================================================================== */
:root {
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --coral-ink: #d4493a;
  --lip-star: #d9a000;
}

/* --- Bölüm etiketi: küçük yıldız + yuvarlak yazı --- */
.kicker {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: var(--coral-ink);
}
.kicker::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  background: var(--star);
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}
.trust .kicker {
  color: var(--coral);
  margin-bottom: 18px;
}
.app-copy .kicker,
.contact-copy .kicker {
  margin-bottom: -6px;
}
.reel-head .kicker {
  margin-bottom: 10px;
}

/* Modül başlığı diğer bölümlerle aynı sol kenarda */
.pit-head {
  max-width: none;
}
.pit-head > * {
  max-width: 46rem;
}

/* --- Dokunsal düğmeler: alt dudak, basınca içeri gömülür --- */
.pill {
  transition:
    translate var(--fast) var(--ease),
    background-color var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease);
}
.pill:active {
  transform: none;
  translate: 0 3px;
}
.pill-brand,
.nav-login {
  box-shadow:
    0 4px 0 var(--lip-star),
    0 14px 26px -14px rgb(242 185 31 / 0.95);
}
.pill-brand:hover,
.nav.dark .nav-login:hover {
  background: #ffd24f;
  translate: 0 -1px;
  box-shadow:
    0 5px 0 var(--lip-star),
    0 18px 30px -14px rgb(242 185 31 / 0.95);
}
.pill-brand:active,
.nav.dark .nav-login:active {
  translate: 0 3px;
  box-shadow:
    0 1px 0 var(--lip-star),
    0 6px 12px -10px rgb(242 185 31 / 0.9);
}
.nav-login {
  box-shadow:
    0 3px 0 var(--lip-star),
    0 8px 18px -10px rgb(242 185 31 / 0.9);
}
.pill-dark {
  box-shadow: 0 4px 0 #000;
}
.pill-dark:hover {
  background: #2c2c2e;
  translate: 0 -1px;
  box-shadow: 0 5px 0 #000;
}
.pill-dark:active {
  translate: 0 3px;
  box-shadow: 0 1px 0 #000;
}
.pill-ghost {
  box-shadow:
    inset 0 0 0 1.5px var(--line),
    0 3px 0 var(--line);
}
.pill-ghost:hover {
  translate: 0 -1px;
  box-shadow:
    inset 0 0 0 1.5px var(--ink-2),
    0 4px 0 var(--ink-2);
}
.pill-ghost:active {
  translate: 0 3px;
  box-shadow:
    inset 0 0 0 1.5px var(--ink-2),
    0 0 0 var(--ink-2);
}
.contact-form .pill[disabled] {
  translate: 0 3px;
  box-shadow: 0 1px 0 #000;
}

/* --- Kim için? --- */
.who {
  padding-block: 110px 120px;
  background: var(--paper);
}
.who .section-head {
  margin: 0 auto 56px;
  text-align: center;
}
.who .section-head .kicker {
  justify-content: center;
  margin-inline: auto;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
/* Beyaz kart; rengi yalnızca ikon rozeti, önizleme zemini ve onay işaretleri taşır */
.who-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  box-shadow:
    inset 0 0 0 1px #ececf2,
    0 28px 52px -40px rgb(27 29 82 / 0.45);
}
.who-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.who-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--t-soft);
  color: var(--t-ink);
}
.who-ico svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.who-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}
.who-sub {
  margin-top: 4px;
  color: var(--gray);
  font-size: 0.92rem;
}
.who-screen {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 14px;
  border-radius: 20px;
  background: var(--t-soft);
  font-size: 0.86rem;
}
.who-screen small {
  padding: 0 4px 2px;
  color: var(--t-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.who-screen .mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 1px 2px rgb(27 29 82 / 0.06);
}
.who-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #ececf2;
}
.who-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.45;
}
.who-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--t-ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* --- Tünemiş civciv: kartın üst kenarında oturur, ara sıra göz kırpar --- */
.chick {
  position: absolute;
  z-index: 2;
  top: -48px;
  right: 34px;
  width: 58px;
  height: auto;
  overflow: visible;
}
.contact-form {
  position: relative;
}
.chick-form {
  right: 44px;
}

@media (prefers-reduced-motion: no-preference) {
  .who-card {
    transition:
      translate 480ms var(--spring),
      box-shadow 480ms var(--ease);
  }
  .who-card:hover {
    translate: 0 -6px;
    box-shadow:
      inset 0 0 0 1px #e4e4ec,
      0 34px 60px -38px rgb(27 29 82 / 0.55);
  }
  .chick {
    animation: chick-idle 6s ease-in-out infinite;
  }
  .chick-form {
    animation-delay: -2.4s;
  }
  .chick-eyes {
    transform-box: fill-box;
    transform-origin: center;
    animation: chick-blink 4.6s infinite;
  }
  .chick .wing-l,
  .chick .wing-r {
    transform-box: fill-box;
    transition: rotate 260ms var(--spring);
  }
  .chick .wing-l {
    transform-origin: right center;
  }
  .chick .wing-r {
    transform-origin: left center;
  }
  .contact-form:hover .chick .wing-l,
  .contact-form:focus-within .chick .wing-l {
    rotate: 24deg;
  }
  .contact-form:hover .chick .wing-r,
  .contact-form:focus-within .chick .wing-r {
    rotate: -24deg;
  }
}
@keyframes chick-idle {
  0%,
  84%,
  100% {
    translate: 0 0;
  }
  88% {
    translate: 0 -10px;
  }
  92% {
    translate: 0 0;
  }
  95% {
    translate: 0 -4px;
  }
}
@keyframes chick-blink {
  0%,
  93%,
  100% {
    scale: 1 1;
  }
  96% {
    scale: 1 0.1;
  }
}

/* --- Dalga geçişleri --- */
.wave.to-white {
  background: var(--paper);
}
.wave.to-white path {
  fill: var(--white);
}
/* Modül havuzunun çimeni gece bandına dalgayla iner */
.wave.to-night {
  background: var(--grass);
}

/* --- SSS: yuvarlak kartlar, dönen artı --- */
.faq-side > div .kicker {
  margin-bottom: 10px;
}
.faq-list {
  display: grid;
  gap: 10px;
  border-top: 0;
}
.faq-list details {
  border-bottom: 0;
  padding-inline: 24px;
  border-radius: 22px;
  background: var(--white);
  transition: box-shadow 300ms var(--ease);
}
.faq-list details:hover,
.faq-list details[open] {
  box-shadow: 0 18px 36px -26px rgb(0 0 0 / 0.4);
}
.faq-list summary {
  padding: 20px 0;
  font-size: 1.12rem;
}
.faq-list summary::after {
  content: '';
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1.5v11M1.5 7h11' stroke='%232a2100' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 13px no-repeat;
  transition:
    transform 360ms var(--spring),
    background-color 200ms var(--ease);
}
.faq-list details[open] summary::after {
  background-color: var(--star);
  transform: rotate(135deg);
}
.faq-list details p {
  padding: 0 0 22px;
}

/* --- Duyarlı --- */
@media (max-width: 1000px) {
  .who-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 640px) {
  .who {
    padding-block: 90px 100px;
  }
  .who-card {
    padding: 22px;
  }
  .faq-list details {
    padding-inline: 18px;
  }
  .chick-form {
    right: 24px;
  }
}

/* Üst şerit: beş bağlantı tablette de tek satırda kalsın */
.brand,
.nav-links a {
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .nav-row {
    gap: 14px;
  }
  .nav-links {
    gap: 0;
  }
  .nav-links a {
    padding-inline: 8px;
  }
}

/* =====================================================================
 * Gerçekçi telefon: metal çerçeve, cam ekran, durum çubuğu, yan tuşlar,
 * buzlu cam arka yüz ve katmanlı kamera. Yalnızca CSS; gövde dilimleri JS'ten.
 * ===================================================================== */
.d3 {
  --frame-hi: #f6f5fa;
  --frame-mid: #c9c5d6;
  --frame-lo: #8d889d;
}
/* Ön yüz: siyah cam + çevresinde ince, parlak metal halka */
.d3-front {
  padding: 12px;
  background: #0a0a0c;
  box-shadow:
    inset 0 0 0 3px #1b1b20,
    inset 0 0 0 4px rgb(255 255 255 / 0.06);
}
.d3-front::before,
.d3-back::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  padding: 2.5px;
  background: conic-gradient(
    from 200deg,
    var(--frame-hi),
    var(--frame-lo) 11%,
    var(--frame-mid) 22%,
    var(--frame-hi) 30%,
    var(--frame-lo) 44%,
    var(--frame-hi) 56%,
    var(--frame-mid) 68%,
    var(--frame-lo) 80%,
    var(--frame-hi) 92%,
    var(--frame-hi)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  pointer-events: none;
}

/* Gövde dilimleri: ortası parlayan yuvarlatılmış kenar (--l JS'ten) */
.d3-slice {
  background: linear-gradient(
    90deg,
    hsl(256 9% calc(var(--l, 0.8) * 58%)),
    hsl(256 12% calc(var(--l, 0.8) * 90%)) 6%,
    hsl(256 10% calc(var(--l, 0.8) * 78%)) 50%,
    hsl(256 12% calc(var(--l, 0.8) * 92%)) 94%,
    hsl(256 9% calc(var(--l, 0.8) * 60%))
  );
}
/* Orta dilim gölgeyi taşır: önden de arkadan da gövdenin arkasında kalır */
.d3-slice.core {
  box-shadow:
    0 50px 80px -40px rgb(46 36 110 / 0.5),
    0 22px 34px -22px rgb(0 0 0 / 0.35);
}

/* Yan tuşlar: kenara dik, gövdeden hafifçe taşan düzlemler */
.d3-btn {
  --bw: calc(var(--t) * 0.5);
  position: absolute;
  left: 0;
  width: var(--bw);
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    var(--frame-lo),
    var(--frame-hi) 40%,
    var(--frame-mid) 70%,
    var(--frame-lo)
  );
  transform-origin: left center;
  transform: translateX(-2px) translateZ(calc(var(--bw) / -2)) rotateY(-90deg);
}
.b-power {
  left: auto;
  right: 0;
  transform-origin: right center;
  transform: translateX(2px) translateZ(calc(var(--bw) / -2)) rotateY(90deg);
  top: calc(var(--h) * 0.3);
  height: calc(var(--h) * 0.14);
}
.b-action {
  top: calc(var(--h) * 0.185);
  height: calc(var(--h) * 0.05);
}
.b-vol-up {
  top: calc(var(--h) * 0.275);
  height: calc(var(--h) * 0.085);
}
.b-vol-down {
  top: calc(var(--h) * 0.38);
  height: calc(var(--h) * 0.085);
}

/* Dynamic Island ve içindeki kamera merceği */
.island-cam {
  top: 23px;
  width: 31%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.04);
}
.island-cam::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 11%;
  width: 0.42em;
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a5a8a 0 12%, #141a30 35%, #05060a 70%);
  box-shadow: 0 0 0 1.5px #16171d;
  font-size: 26px;
}
.mini-d3 .island-cam {
  top: 20px;
}

/* Ekran: cam yansıması, kenar gölgesi, durum çubuğu ve ana ekran çizgisi */
.screen {
  border-radius: calc(var(--r) - 12px);
  padding-top: 56px;
  padding-bottom: 22px;
  overflow: visible;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.55);
}
.screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      118deg,
      rgb(255 255 255 / 0) 34%,
      rgb(255 255 255 / 0.22) 44%,
      rgb(255 255 255 / 0.05) 52%,
      rgb(255 255 255 / 0) 60%
    ),
    radial-gradient(120% 60% at 0% 0%, rgb(255 255 255 / 0.18), transparent 60%);
  pointer-events: none;
}
.mini-d3 .screen {
  padding-top: 48px;
  padding-bottom: 20px;
}
.statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 9% 7.5%;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1.06em;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.mini-d3 .statusbar {
  height: 40px;
}
.sb-icons {
  display: flex;
  align-items: center;
  gap: 0.36em;
}
.sb-icons svg {
  height: 0.82em;
  width: auto;
  fill: currentColor;
}
.sb-icons .sb-battery {
  height: 0.92em;
}
.home-ind {
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 36%;
  height: 4.5px;
  translate: -50% 0;
  border-radius: 99px;
  background: var(--ink);
  opacity: 0.85;
}
.mini-d3 .home-ind {
  bottom: 6px;
  height: 4px;
}
.tabbar {
  box-shadow: 0 6px 14px -10px rgb(0 0 0 / 0.25);
}

/* Arka yüz: buzlu cam, metal halka ve katmanlı kamera */
.d3-back {
  background:
    radial-gradient(140% 90% at 22% 6%, rgb(255 255 255 / 0.9), transparent 55%),
    linear-gradient(165deg, #f1eef9 0%, #e2def0 55%, #d2cde4 100%);
  box-shadow:
    inset 0 0 0 4px rgb(255 255 255 / 0.35),
    inset 0 -30px 60px -40px rgb(70 56 140 / 0.35);
  transform-style: preserve-3d;
}
.cam {
  top: 20px;
  left: 20px;
  width: 37%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 28%;
  padding: 9%;
  gap: 4px;
  background: linear-gradient(150deg, rgb(255 255 255 / 0.85), rgb(214 209 230 / 0.7));
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.9),
    inset 0 -3px 8px rgb(70 56 140 / 0.18),
    0 10px 20px -10px rgb(46 36 110 / 0.55);
  transform: translateZ(1.5px);
}
.cam i {
  position: relative;
  width: 86%;
  height: auto;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 36% 32%, rgb(255 255 255 / 0.7) 0 5%, transparent 6%),
    radial-gradient(circle at 62% 66%, rgb(120 160 255 / 0.35) 0 4%, transparent 5%),
    radial-gradient(circle, #24325c 0 18%, #0b0d16 19% 44%, #26262e 45% 56%, #0e0e13 57%);
  box-shadow:
    0 0 0 3.5px #d4d0e1,
    0 0 0 4.5px rgb(70 56 140 / 0.25),
    0 4px 8px rgb(0 0 0 / 0.35);
}
.cam b {
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fffbe6, #efe1a8 65%, #d9c98a);
  box-shadow: 0 0 0 2px #d4d0e1;
}
.back-logo {
  box-shadow:
    0 10px 24px -12px rgb(46 36 110 / 0.5),
    0 0 0 1px rgb(255 255 255 / 0.6);
}

/* Süzülen kartlar: iOS bildirimi gibi uygulama ikonu, durum noktası ve "şimdi" */
.floater {
  position: relative;
  padding: 11px 54px 11px 11px;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.78);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.7) inset,
    0 18px 40px -20px rgb(46 36 110 / 0.45);
}
.floater::after {
  content: 'şimdi';
  position: absolute;
  top: 11px;
  right: 14px;
  font-size: 0.7rem;
  color: var(--gray);
}
.dot {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: url('/tanitim/icon.svg?v=12') center / cover;
  box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.08);
}
.dot::after {
  content: '';
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--ok-fg);
}
.dot.ok,
.dot.warn,
.dot.lilac {
  background: url('/tanitim/icon.svg?v=12') center / cover;
}
.dot.warn::after {
  background: #f2a20c;
}
.dot.lilac::after {
  background: var(--lilac);
}
@media (max-width: 760px) {
  .floater {
    min-width: 0;
    padding-right: 44px;
  }
  .floater::after {
    right: 10px;
    top: 9px;
    font-size: 0.62rem;
  }
  .dot {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
}
.mini-d3 .island-cam::after {
  font-size: 20px;
}
/* Küçük telefonlarda durum çubuğu adanın iki yanındaki dar alana sığsın */
.mini-d3 .island-cam {
  width: 28%;
}
.mini-d3 .statusbar {
  font-size: 0.9em;
  padding-inline: 10% 8%;
}
.mini-d3 .sb-icons {
  gap: 0.28em;
}
/* Telefonda dört bildirim ekranı örter: yalnızca ilk ikisi kalsın */
@media (max-width: 760px) {
  .floater.f3,
  .floater.f4 {
    display: none;
  }
}

/* =====================================================================
 * WebGL gövde (phone3d.js): gövde tuvalde çizilir, HTML ekran üstünde kalır.
 * Gerçek oranlar: kalınlık genişliğin yaklaşık %11'i.
 * ===================================================================== */
.hero-phone {
  --t: 32px;
}
.mini-d3 {
  --t: 24px;
}
.phone-gl {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}
.story-sticky > .phone-gl {
  z-index: 2;
}
.app-grid {
  position: relative;
}
.d3.gl .d3-slice,
.d3.gl .d3-back,
.d3.gl .d3-btn,
.d3.gl .d3-front::before {
  display: none;
}
.d3.gl .d3-front {
  background: transparent;
  box-shadow: none;
}
/* Ekran camındaki yansıma telefonun açısıyla kayar (--glare JS'ten) */
.screen::after {
  background-size:
    260% 100%,
    100% 100%;
  background-position:
    calc(50% + var(--glare, 0) * 70%) 0,
    0 0;
}
