/* Nimelo landing — gece masalı teması.
   Marka: gece mavisi #1A2A6C · lavanta #A78BFA · ay kremi #FFF7E6 · sıcak sarı #FFC761
   Tüm yollar göreli (file:// ile açılabilsin). */

@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night-0: #070b24;
  --night-1: #0d1440;
  --night-2: #1a2a6c;
  --night-3: #2b2f86;
  --violet: #6d5ce8;
  --lav: #a78bfa;
  --lav-soft: #d9ccff;
  --cream: #fff7e6;
  --cream-2: #fdeccd;
  --gold: #ffc761;
  --gold-2: #ffdf9e;
  --pink: #fadadd;
  --green: #8bcb88;
  --ink: #1a2160;
  --ink-soft: #4b4f86;
  --text: #eef0ff;
  --text-soft: #b9bde8;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
  --radius: 28px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--night-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

/* ---------- Gökyüzü katmanı ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(109, 92, 232, 0.45), transparent 60%),
    radial-gradient(900px 600px at 0% 30%, rgba(43, 47, 134, 0.7), transparent 65%),
    linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 45%, #141c55 100%);
}
#stars { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--lav), var(--gold));
  box-shadow: 0 0 12px rgba(255, 199, 97, 0.8);
}

/* ---------- Üst menü ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(13, 20, 64, 0.9);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(0, 0, 0, 0.6);
}
.nav__in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 118px; height: auto; filter: drop-shadow(0 4px 14px rgba(167, 139, 250, 0.45)); }
.nav__links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav__links a {
  text-decoration: none; color: var(--text-soft); font-weight: 500; font-size: 15px;
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__tools { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--glass);
  border: 1px solid var(--line);
}
.lang a {
  text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px; color: var(--text-soft); transition: .25s;
}
.lang a[aria-current="true"] { background: var(--cream); color: var(--ink); }
.menu-btn { display: none; }

/* ---------- Butonlar ---------- */
.btn {
  --bg: var(--gold);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; text-decoration: none;
  color: var(--ink); background: var(--bg);
  box-shadow: 0 10px 30px -8px rgba(255, 199, 97, 0.65), inset 0 -3px 0 rgba(0, 0, 0, 0.12), inset 0 2px 0 rgba(255, 255, 255, 0.6);
  transition: transform .35s var(--spring), box-shadow .35s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px -10px rgba(255, 199, 97, 0.85), inset 0 -3px 0 rgba(0, 0, 0, 0.12), inset 0 2px 0 rgba(255, 255, 255, 0.6); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn--ghost {
  --bg: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none; backdrop-filter: blur(8px);
}
.btn--ghost:hover { box-shadow: 0 10px 30px -12px rgba(167, 139, 250, 0.8); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--store { flex-direction: row; text-align: left; line-height: 1.1; }
.btn--store small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 180px; overflow: clip;
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(167, 139, 250, 0.14); border: 1px solid rgba(167, 139, 250, 0.35); color: var(--lav-soft);
}
.eyebrow .dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
}
.eyebrow .dot svg { width: 13px; height: 13px; }
.hero h1 {
  font-size: clamp(44px, 6.6vw, 86px); font-weight: 900; margin: 22px 0 22px;
  letter-spacing: -0.035em;
}
.hero h1 .line { display: block; }
.shine {
  background: linear-gradient(100deg, var(--gold) 0%, #fff3d0 25%, var(--lav) 55%, var(--gold) 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -220% 0; } }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-soft); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text);
  padding: 8px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line);
}
.chips svg { width: 16px; height: 16px; color: var(--gold); }

.hero__art { position: relative; aspect-ratio: 1400 / 787; }
.hero__px { position: absolute; inset: 0; }
.hero__art .glow {
  position: absolute; inset: -18% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 210, 120, 0.45), rgba(167, 139, 250, 0.25) 55%, transparent 75%);
  filter: blur(10px); animation: breathe 6s ease-in-out infinite;
}
.hero__float { position: relative; animation: float 7s ease-in-out infinite; will-change: transform; }
.hero__float img { width: 100%; filter: drop-shadow(0 30px 60px rgba(10, 8, 60, 0.55)); }
#sparkles { position: absolute; inset: -20% -10% -10%; width: 120%; height: 130%; pointer-events: none; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-16px) rotate(.6deg); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); text-decoration: none;
}
.scroll-cue span { width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .35); position: relative; }
.scroll-cue span::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--gold); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Paralaks bulutlar */
.clouds {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 260px; pointer-events: none; z-index: 2; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.clouds .layer {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 100%;
  background-repeat: repeat-x; background-position: 0 100%; will-change: transform;
}
.clouds .l1 { background-image: url("../assets/img/cloud-band-back.svg"); background-size: 1200px 240px; opacity: .6; animation: drift 90s linear infinite; }
.clouds .l2 { background-image: url("../assets/img/cloud-band-mid.svg"); background-size: 1200px 200px; opacity: .85; animation: drift 60s linear infinite reverse; }
.clouds .l3 { background-image: url("../assets/img/cloud-band-front.svg"); background-size: 1400px 170px; }
@keyframes drift { to { background-position: 1200px 100%; } }

/* ---------- Bölüm genel ---------- */
.section { position: relative; padding: 130px 0; overflow-x: clip; }
.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 900; }
.section__head p { margin-top: 18px; font-size: 18px; color: var(--text-soft); }

/* ---------- Birlikte Oku demosu ---------- */
.demo { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.step {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
  padding: 20px 22px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  transition: background .5s var(--ease), border-color .5s, transform .5s var(--ease), box-shadow .5s;
}
.step__n {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(167, 139, 250, .14); color: var(--lav-soft); transition: .5s var(--ease);
}
.step__n svg { width: 26px; height: 26px; }
.step h3 { font-size: 20px; margin: 2px 0 6px; }
.step p { color: var(--text-soft); font-size: 15.5px; }
.step.is-on {
  background: linear-gradient(135deg, rgba(167, 139, 250, .2), rgba(255, 199, 97, .08));
  border-color: rgba(255, 199, 97, .5); transform: translateX(8px);
  box-shadow: 0 20px 50px -25px rgba(255, 199, 97, .55);
}
.step.is-on .step__n { background: var(--gold); color: var(--ink); transform: rotate(-6deg) scale(1.05); }

.phone-stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.phone-stage::before {
  content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(167, 139, 250, .45), transparent);
  filter: blur(20px);
}
.phone {
  position: relative; width: min(350px, 100%); aspect-ratio: 9 / 17.6; border-radius: 52px; padding: 12px;
  background: linear-gradient(145deg, #3a3f86, #12164a 40%, #262b70);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .18) inset, 0 60px 120px -30px rgba(0, 0, 0, .7), 0 0 80px -20px rgba(167, 139, 250, .6);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform 1s var(--ease);
}
.phone:hover { transform: rotateY(0) rotateX(0); }
.phone__screen {
  position: relative; height: 100%; border-radius: 41px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1c2470, #2f2a86);
}
.phone__notch { position: absolute; top: 10px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #05061a; z-index: 5; }
.phone__bar { position: absolute; top: 50px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 4; }
.round {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .85); color: var(--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.round svg { width: 18px; height: 18px; }
.scene { position: relative; flex: 1 1 auto; overflow: hidden; }
.scene img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  transform: scale(1.12); transform-origin: 65% 60%; transition: transform 1.2s var(--ease), filter .6s;
}
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene.fx-wind img { animation: sway 1.4s ease-in-out 2; }
.scene.fx-blow img { animation: shake .6s cubic-bezier(.36, .07, .19, .97) 1; filter: brightness(1.15) saturate(1.1); }
@keyframes sway { 0%, 100% { transform: scale(1.12) skewX(0); } 40% { transform: scale(1.14) skewX(-1.6deg) translateX(-6px); } 70% { transform: scale(1.13) skewX(1deg); } }
@keyframes shake {
  10%, 90% { transform: scale(1.14) translate(-2px, 1px); }
  20%, 80% { transform: scale(1.15) translate(4px, -2px); }
  30%, 50%, 70% { transform: scale(1.16) translate(-6px, 2px); }
  40%, 60% { transform: scale(1.16) translate(6px, -1px); }
}
.sfx {
  position: absolute; z-index: 3; left: 50%; top: 38%;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 247, 230, .95); color: var(--ink); font-weight: 800; font-family: var(--font-display); font-size: 14px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4);
  transform: translate(-50%, 10px) scale(.7); opacity: 0; transition: .5s var(--spring);
}
.sfx svg { width: 16px; height: 16px; color: var(--violet); }
.sfx.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.page {
  position: relative; z-index: 2; margin-top: -34px; padding: 30px 22px 20px; background: var(--cream); color: var(--ink);
  border-radius: 34px 34px 0 0;
}
.page::before {
  content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 30px;
  background: radial-gradient(22px 22px at 22px 22px, var(--cream) 98%, transparent) 0 0 / 44px 30px repeat-x;
}
.page__meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; letter-spacing: .04em; }
.page__text { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.45; min-height: 5.8em; }
.page__text .w { transition: color .25s, background .25s; border-radius: 6px; padding: 0 2px; margin: 0 -2px; }
.page__text .w.read { color: var(--violet); }
.page__text .w.now { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 3px var(--gold); }
.listen { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.mic {
  position: relative; width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(145deg, #8b74ff, #5b46d6); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 22px -8px rgba(91, 70, 214, .8);
}
.mic svg { width: 22px; height: 22px; }
.mic::before, .mic::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(139, 116, 255, .6); opacity: 0;
}
.is-reading .mic::before { animation: ring 1.6s ease-out infinite; }
.is-reading .mic::after { animation: ring 1.6s ease-out .8s infinite; }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { flex: 1; height: 6px; border-radius: 3px; background: #c9bdfb; transition: height .2s; }
.is-reading .wave i { animation: wv 1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); background: var(--violet); }
@keyframes wv { 0%, 100% { height: 6px; } 50% { height: calc(8px + var(--h) * 1px); } }
.demo-ctrl { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; position: relative; z-index: 2; }
.toggle-sound[aria-pressed="true"] { --bg: rgba(255, 199, 97, .18); border-color: var(--gold); }
.demo-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--text-soft); position: relative; }

/* ---------- Modlar ---------- */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
.mode {
  --mx: 50%; --my: 0%;
  position: relative; padding: 32px 28px 30px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.mode::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 199, 97, .18), transparent 45%);
}
.mode:hover { border-color: rgba(255, 199, 97, .4); box-shadow: 0 40px 80px -40px rgba(109, 92, 232, .9); }
.mode:hover::before { opacity: 1; }
.mode__vis { height: 150px; border-radius: 20px; margin-bottom: 26px; display: grid; place-items: center; position: relative; overflow: hidden; }
.mode--read .mode__vis { background: linear-gradient(140deg, #5b46d6, #a78bfa); }
.mode--listen .mode__vis { background: linear-gradient(140deg, #ff9f6e, #ffc761); }
.mode--watch .mode__vis { background: linear-gradient(140deg, #1fa2a8, #8bcb88); }
.mode__tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 8px; background: rgba(255, 199, 97, .15); color: var(--gold); margin-bottom: 14px;
}
.mode h3 { font-size: 27px; margin-bottom: 4px; }
.mode .en { font-size: 14px; color: var(--lav-soft); font-weight: 600; margin-bottom: 14px; }
.mode p { color: var(--text-soft); font-size: 16px; }
/* Mod mini animasyonları */
.v-mic { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: #5b46d6; display: grid; place-items: center; position: relative; z-index: 1; }
.v-mic svg { width: 30px; }
.v-ring { position: absolute; width: 64px; height: 64px; border-radius: 50%; border: 2px solid #fff; animation: ring 2.4s ease-out infinite; }
.v-ring:nth-child(2) { animation-delay: .8s; }
.v-ring:nth-child(3) { animation-delay: 1.6s; }
.v-bars { display: flex; align-items: center; gap: 6px; height: 80px; }
.v-bars i { width: 8px; border-radius: 4px; background: #fff; animation: bar 1.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.15s); }
@keyframes bar { 0%, 100% { height: 14px; opacity: .7; } 50% { height: 72px; opacity: 1; } }
.v-book { position: relative; width: 120px; height: 80px; perspective: 400px; }
.v-book b {
  position: absolute; top: 0; width: 60px; height: 80px; background: var(--cream); border-radius: 4px 10px 10px 4px;
  box-shadow: inset 6px 0 10px rgba(0, 0, 0, .08);
}
.v-book b:first-child { left: 0; border-radius: 10px 4px 4px 10px; }
.v-book b:nth-child(n+2) { left: 60px; transform-origin: 0 50%; animation: flip 3.6s var(--ease) infinite; }
.v-book b:nth-child(3) { animation-delay: 1.2s; background: #fff3d8; }
.v-book b:nth-child(4) { animation-delay: 2.4s; background: #ffedc4; }
@keyframes flip { 0%, 15% { transform: rotateY(0); } 55%, 100% { transform: rotateY(-180deg); } }
.v-star { position: absolute; color: #fff; opacity: .85; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .3; } 50% { transform: scale(1) rotate(20deg); opacity: 1; } }

/* ---------- Bulut ayraç + krem bölüm ---------- */
.cream {
  position: relative; background: var(--cream); color: var(--ink);
  background-image: radial-gradient(800px 400px at 90% 0%, rgba(167, 139, 250, .14), transparent 70%), radial-gradient(700px 500px at 0% 100%, rgba(255, 199, 97, .18), transparent 70%);
}
.cloud-edge { display: block; width: 100%; height: 110px; color: var(--cream); }
.cloud-edge--top { margin-bottom: -1px; }
.cloud-edge--bottom { margin-top: -1px; transform: scaleY(-1); }
.cream .kicker { color: #7a5be0; }
.cream .section__head p { color: var(--ink-soft); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  position: relative; padding: 28px 24px; border-radius: 26px; background: #fff;
  box-shadow: 0 1px 0 rgba(26, 33, 96, .05), 0 24px 50px -30px rgba(26, 33, 96, .35);
  transition: transform .5s var(--spring), box-shadow .5s;
}
.tile:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 34px 60px -30px rgba(26, 33, 96, .45); }
.tile--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.tile--night { background: linear-gradient(150deg, var(--night-2), #3c2f9a); color: #fff; }
.tile--night p { color: var(--lav-soft) !important; }
.tile__ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--c, #efe9ff); color: var(--ic, #5b46d6);
}
.tile__ic svg { width: 26px; height: 26px; }
.tile h3 { font-size: 20px; margin-bottom: 8px; }
.tile p { color: var(--ink-soft); font-size: 15.5px; }
.tile__art { width: 180px; }
.big-zero { font-family: var(--font-display); font-weight: 900; font-size: 92px; line-height: 1; color: var(--gold); text-shadow: 0 10px 30px rgba(255, 199, 97, .5); }

/* ---------- Uyku ---------- */
.sleep { position: relative; padding: 150px 0 160px; overflow: clip; isolation: isolate; }
.sleep__dim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 26, 0), rgba(5, 7, 26, .9) 30%, rgba(5, 7, 26, .9) 70%, rgba(5, 7, 26, 0)); opacity: var(--dim, .4); transition: opacity .2s linear; }
.sleep__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sleep__art { position: relative; }
.sleep__art img { position: relative; animation: breatheArt 8s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.sleep__art::before {
  content: ""; position: absolute; inset: 5% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 220, 140, .4), rgba(167, 139, 250, .15) 60%, transparent);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breatheArt { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.025) translateY(-8px); } }
.zzz { position: absolute; top: 14%; right: 26%; font-family: var(--font-display); font-weight: 900; color: var(--lav-soft); pointer-events: none; }
.zzz span { position: absolute; opacity: 0; animation: zz 6s ease-out infinite; }
.zzz span:nth-child(2) { animation-delay: 2s; font-size: 1.3em; }
.zzz span:nth-child(3) { animation-delay: 4s; font-size: 1.6em; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 0) rotate(-10deg); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(40px, -90px) rotate(15deg); } }
.sleep h2 { font-size: clamp(36px, 5vw, 62px); }
.sleep__lead { color: var(--text-soft); font-size: 18px; margin: 18px 0 34px; }
.routine-wrap { position: relative; }
.routine { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.routine-wrap::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: rgba(255, 255, 255, .12); }
.routine__fill {
  position: absolute; left: 25px; top: 26px; width: 2px; height: calc((100% - 52px) * var(--p, 0));
  background: linear-gradient(var(--gold), var(--lav)); box-shadow: 0 0 12px var(--gold);
}
.routine li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 10px 0; }
.routine .ic {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: #161c55; border: 2px solid rgba(255, 255, 255, .14); color: var(--text-soft); transition: .5s var(--ease);
}
.routine .ic svg { width: 22px; height: 22px; }
.routine li.on .ic { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 0 24px rgba(255, 199, 97, .6); }
.routine b { display: block; font-family: var(--font-display); font-size: 18px; }
.routine span { color: var(--text-soft); font-size: 14.5px; }
.timer { margin-top: 34px; padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.timer__label { font-weight: 600; font-size: 15px; color: var(--text-soft); flex-basis: 100%; }
.timer__opts { display: flex; gap: 8px; flex-wrap: wrap; }
.timer__opts button {
  border: 1px solid var(--line); background: transparent; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--text-soft); transition: .3s var(--ease);
}
.timer__opts button[aria-pressed="true"] { background: var(--lav); color: var(--night-0); border-color: var(--lav); }
.timer__ring { margin-left: auto; width: 64px; height: 64px; position: relative; }
.timer__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer__ring circle { fill: none; stroke-width: 6; }
.timer__ring .bg { stroke: rgba(255, 255, 255, .1); }
.timer__ring .fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease); }
.timer__ring output { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 800; text-align: center; line-height: 1.1; }

/* ---------- Diller & yaşlar ---------- */
#diller .hero__lead { margin-top: 18px; }
.lang-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); margin: 28px 0;
}
.switch button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 10px 24px; font-weight: 800; font-family: var(--font-display); color: var(--text-soft); transition: color .3s; }
.switch button[aria-pressed="true"] { color: var(--ink); }
.switch::before {
  content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--cream);
  transition: transform .5s var(--spring);
}
.switch.en::before { transform: translateX(100%); }
.books { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; perspective: 1200px; }
.book { position: relative; aspect-ratio: 4 / 4.4; transform-style: preserve-3d; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.books.en .book { transform: rotateY(180deg); }
.book__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 24px; overflow: hidden; background: #fff; color: var(--ink); display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.book__face--back { transform: rotateY(180deg); }
.book__face img { width: 100%; height: 62%; object-fit: cover; }
.book__face div { padding: 14px 16px; }
.book__face b { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.book__face span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.book__flag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 800; color: var(--ink); }
.ages { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ages span {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 19px;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); transition: .4s var(--spring);
}
.ages span:hover { background: var(--gold); color: var(--ink); transform: translateY(-6px) rotate(-8deg); }
.ages-note { color: var(--text-soft); font-size: 15px; margin-top: 14px; }
.companions { margin-top: 40px; max-width: 520px; animation: float 9s ease-in-out infinite; }

/* ---------- Fiyatlar ---------- */
.billing { display: flex; justify-content: center; margin-bottom: 40px; }
.billing .switch { margin: 0; }
.billing .switch button { padding: 10px 20px; font-size: 15px; }
.save { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--green); color: #0b3313; font-size: 11px; }
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 24px; max-width: 920px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; padding: 36px 32px; border-radius: 32px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; }
.plan__desc { color: var(--text-soft); margin: 6px 0 22px; font-size: 15.5px; }
.price { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); }
.price b { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; }
.price span { color: var(--text-soft); font-weight: 600; }
.price-note { min-height: 1.6em; color: var(--lav-soft); font-size: 14px; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; }
.plan li svg { width: 22px; height: 22px; color: var(--green); }
.plan .btn { margin-top: auto; }
.plan--pro { background: linear-gradient(165deg, #2c2a8c, #1a1f66 60%); border: 0; isolation: isolate; }
.plan--pro::before {
  content: ""; position: absolute; inset: -2px; border-radius: 34px; z-index: -2; padding: 2px;
  background: conic-gradient(from var(--a, 0deg), var(--gold), var(--lav), #6de0ff, var(--gold));
  animation: spin 6s linear infinite;
}
.plan--pro::after { content: ""; position: absolute; inset: 0; border-radius: 32px; z-index: -1; background: inherit; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.badge {
  position: absolute; top: -14px; right: 26px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px -6px rgba(255, 199, 97, .8);
}
.legal-note { max-width: 760px; margin: 30px auto 0; text-align: center; font-size: 13px; color: var(--text-soft); }

/* ---------- SSS ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 22px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); transition: background .3s, border-color .3s; overflow: hidden; }
.faq details[open] { background: rgba(255, 255, 255, .08); border-color: rgba(167, 139, 250, .4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-family: var(--font-display); font-weight: 800; font-size: 18.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC761' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .4s var(--spring);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .ans { padding: 0 26px 24px; color: var(--text-soft); }
.faq .ans p + p { margin-top: 10px; }

/* ---------- Son çağrı ---------- */
.final { position: relative; padding: 160px 0 300px; text-align: center; overflow: clip; }
.final__moon {
  width: 260px; height: 260px; margin: 0 auto 40px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 38% 35%, #fffbea, #ffe7a8 50%, #f5c45e 100%);
  box-shadow: 0 0 80px 20px rgba(255, 214, 120, .35), 0 0 220px 90px rgba(255, 214, 120, .14);
  transform: translateY(calc(var(--rise, 1) * 120px)) scale(calc(1 - var(--rise, 1) * .25));
}
.final__moon::before, .final__moon::after { content: ""; position: absolute; border-radius: 50%; background: rgba(214, 160, 60, .18); }
.final__moon::before { width: 46px; height: 46px; left: 58%; top: 26%; }
.final__moon::after { width: 26px; height: 26px; left: 30%; top: 60%; }
.final h2 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 900; max-width: 14em; margin: 0 auto; }
.final h2 { position: relative; }
.final .wrap { position: relative; z-index: 3; }
.clouds--final { height: 240px; opacity: .9; }
.final p { color: var(--text-soft); font-size: 19px; margin: 22px auto 36px; max-width: 34em; }
.final .hero__cta { justify-content: center; }

/* ---------- Altbilgi ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 40px; background: rgba(5, 7, 26, .55); }
.footer__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer img { width: 120px; margin-bottom: 14px; }
.footer p { color: var(--text-soft); font-size: 14.5px; }
.footer h3 { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: var(--text-soft); text-decoration: none; font-size: 15px; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-soft); }

/* ---------- Görünür olunca ---------- */
.js .reveal {
  opacity: 0; transform: translateY(34px) scale(.98); filter: blur(10px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .hero .reveal { transition-duration: 1.3s; }

/* Hero başlık kelime kelime */
.js .split .wd { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(4deg); filter: blur(8px); transition: 1s var(--ease); transition-delay: calc(var(--wi) * 70ms + 150ms); }
.js .split.in .wd { opacity: 1; transform: none; filter: none; }

/* Hero imleç yıldızları */
.trail { position: fixed; z-index: 70; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; color: var(--gold); animation: trail .9s ease-out forwards; }
@keyframes trail { from { opacity: 1; transform: scale(1) rotate(0); } to { opacity: 0; transform: translateY(18px) scale(.2) rotate(120deg); } }

/* ---------- Yasal sayfalar ---------- */
.doc { padding: 140px 0 100px; }
.doc .wrap { max-width: 820px; }
.crumbs { font-size: 14px; color: var(--text-soft); margin-bottom: 18px; }
.crumbs a { color: var(--lav-soft); }
.doc h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 900; margin-bottom: 10px; }
.doc .updated { color: var(--text-soft); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; color: var(--cream); }
.doc p, .doc li { color: #d3d6f5; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc a { color: var(--gold); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.notfound h1 { font-size: clamp(42px, 8vw, 80px); font-weight: 900; margin: 20px 0 10px; }
.notfound p { color: var(--text-soft); margin-bottom: 30px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1060px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .demo { gap: 50px; }
}
@media (max-width: 920px) {
  .nav__links {
    position: fixed; inset: 74px 12px auto; flex-direction: column; gap: 0; padding: 10px;
    background: rgba(12, 17, 58, .96); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 22px;
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .35s var(--ease);
  }
  .nav__links a { display: block; padding: 14px 16px; font-size: 17px; }
  .nav.open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; cursor: pointer;
    background: var(--glass); border: 1px solid var(--line);
  }
  .menu-btn svg { width: 22px; height: 22px; }
  .nav__in { gap: 12px; }
  .nav__tools { margin-left: auto; }
  .nav__tools .btn { display: none; }
  .hero { padding-top: 110px; text-align: center; }
  .hero__grid, .demo, .sleep__grid, .lang-grid, .plans { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .chips { justify-content: center; }
  .scroll-cue { display: none; }
  .modes { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .demo .steps { order: 2; }
  .sleep__art { max-width: 460px; margin: 0 auto; }
  .lang-grid .companions { margin-inline: auto; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__in > div:first-child { grid-column: 1 / -1; }
  .section { padding: 100px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand img { width: 100px; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; grid-template-columns: 1fr; }
  .tile__art { width: 150px; }
  .hero { padding-bottom: 150px; }
  .hero__cta .btn { width: 100%; }
  .phone { transform: none; }
  .page__text { font-size: 17px; }
  .plan { padding: 30px 22px; }
  .timer__ring { margin-left: 0; }
  .books { gap: 12px; }
  .book__face b { font-size: 15px; }
}
/* Hareket azaltma: tüm döngüleri durdur, içerik görünür kalsın */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .split .wd { opacity: 1; transform: none; filter: none; }
  .phone { transform: none; }
}

/* Tek kart (ücretsiz) */
.plans--single { grid-template-columns: 1fr; max-width: 640px; }
.plans--single .plan ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
@media (max-width: 640px) { .plans--single .plan ul { grid-template-columns: 1fr; } }
