/* ============================================================
   PomoSprint — Landing Site
   Sıcak, davetkar, odak temalı. Ana renk: #EE6C55
   ============================================================ */

:root {
  --coral: #EE6C55;
  --coral-dark: #D9553F;
  --coral-deep: #C24733;
  --coral-tint: rgba(238, 108, 85, 0.12);
  --coral-soft: #FADFD8;
  --sand: #EFB054;
  --sand-soft: #F8E7CB;
  --bg: #F6F0EA;
  --bg-deep: #F1E9E4;
  --card: #FFFDFB;
  --ink: #33302B;
  --ink-soft: #5C554E;
  --muted: #8A8178;
  --line: #E5DAD1;
  --dark: #2C2724;
  --dark-2: #211D1A;
  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(70, 50, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(70, 50, 38, 0.10);
  --shadow-lg: 0 20px 48px rgba(70, 50, 38, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--coral); color: #fff; }

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

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Kutucuklardaki paragraflar: normal kelime aralığı, dengeli satır kırma.
   (justify dar kolonlarda kelime aralarını açıp okumayı bozuyordu.) */
.feature-card p,
.feature-row-text p,
.faq-a-inner p,
.prose p,
.prose li {
  text-align: left;
  text-wrap: pretty;
}

/* Display yüzü: başlıklar Baloo 2, gövde Nunito.
   (Fredoka'nın Google Fonts sürümünde Türkçe glifler eksik — ş/ğ/İ fallback'e
   düşüp ince görünüyordu; Baloo 2 latin-ext'i tam kapsıyor.) */
h1, h2 {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

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

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 18px rgba(238, 108, 85, 0.35);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(238, 108, 85, 0.4);
}

.btn-sm { padding: 9px 20px; font-size: 0.92rem; }

/* ---------------- Store badges ---------------- */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-2);
  color: #fff;
  border-radius: 14px;
  padding: 10px 20px 10px 16px;
  min-width: 178px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Henüz mağazada değil: rozet köşesinde "Yakında" etiketi */
.sb-soon {
  position: absolute;
  top: -9px;
  right: -8px;
  background: var(--sand);
  color: var(--dark-2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  transform: rotate(4deg);
  box-shadow: 0 3px 8px rgba(70, 50, 38, 0.25);
}

.store-badge.is-soon svg,
.store-badge.is-soon .sb-text { opacity: 0.85; }

.store-badge:hover {
  background: #35302B;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.store-badge svg { width: 28px; height: 28px; flex: none; }

.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge .sb-small { font-size: 0.72rem; font-weight: 600; opacity: 0.8; }
.store-badge .sb-big { font-size: 1.12rem; font-weight: 800; letter-spacing: 0.01em; }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 240, 234, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand svg { width: 34px; height: 34px; }

.brand-name {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-name em { font-style: normal; color: var(--coral); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.btn) {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.98rem;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover { color: var(--coral); }

.site-nav a.active { color: var(--coral); }

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero::before {
  width: 480px;
  height: 480px;
  background: rgba(238, 108, 85, 0.13);
  top: -160px;
  right: -140px;
}

.hero::after {
  width: 380px;
  height: 380px;
  background: rgba(239, 176, 84, 0.16);
  bottom: -180px;
  left: -120px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-tint);
  color: var(--coral-deep);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 18px;
}

.hero h1 .hl {
  color: var(--coral);
  position: relative;
  white-space: nowrap;
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -0.08em;
  height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C20 3.5 40 3 60 6s40 3.5 58-1.5' fill='none' stroke='%23EFB054' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.hero-sub {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 30px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.avatar-stack { display: flex; }

.avatar-stack img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  background: var(--sand-soft);
  margin-left: -10px;
}

.avatar-stack img:first-child { margin-left: 0; }

.hero-proof p {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  max-width: 15rem;
  line-height: 1.4;
}

/* ---------------- Kum saati: sabit arka plan katmanı ----------------
   Kum saati sayfanın arkasında sabit durur; kum, scroll ile akar (JS).
   İçerik katmanları (header/main/footer) z-index:1 ile üstte yüzer. */

main, .site-footer { position: relative; z-index: 1; }

.hg-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: max(4vw, calc((100vw - 1120px) / 2 - 10px));
  pointer-events: none;
  opacity: 0.35; /* JS yoksa sabit fısıltı; JS scroll'a göre 0.95 → 0.16 sürer */
}

.hg-backdrop .hourglass {
  position: relative;
  width: clamp(240px, 27vw, 340px);
  will-change: transform;
  filter: drop-shadow(0 18px 28px rgba(70, 50, 38, 0.16));
}

.hg-backdrop .hourglass::before {
  content: "";
  position: absolute;
  inset: -18% -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 176, 84, 0.22), rgba(238, 108, 85, 0.10) 55%, transparent 72%);
  z-index: -1;
}

.hourglass svg { width: 100%; height: auto; display: block; }

.hg-glass {
  fill: rgba(255, 255, 255, 0.55);
  stroke: #3B352F;
  stroke-width: 5;
  stroke-linejoin: round;
}

.hg-sand { fill: var(--sand); }

.hg-sand-pile { fill: #E5A344; }

.hg-cap, .hg-post { fill: var(--coral); }

/* Akış ve taneler yalnızca kum gerçekten akarken görünür (.is-flowing, JS) */
.hg-stream {
  stroke: var(--sand);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 5 4;
  animation: stream-fall 0.4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hg-grain {
  fill: #E5A344;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hourglass.is-flowing .hg-stream,
.hourglass.is-flowing .hg-grain { opacity: 1; }

/* Üst hazne boşaldıysa akacak kum kalmadı */
.hourglass.is-empty .hg-stream,
.hourglass.is-empty .hg-grain { opacity: 0; }

@keyframes stream-fall {
  to { stroke-dashoffset: -9; }
}

/* Hero'daki sahne artık yalnızca rozetleri taşır; kum saati için boşluk bırakır */
.hourglass-stage {
  position: relative;
  min-height: clamp(320px, 34vw, 440px);
  padding: 24px 0;
}

.hg-chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 9px 16px;
  white-space: nowrap;
}

.hg-chip-1 { top: 14%; left: -4%; transform: rotate(-5deg); color: var(--coral-deep); font-variant-numeric: tabular-nums; }
.hg-chip-2 { bottom: 12%; right: -6%; transform: rotate(4deg); color: var(--ink-soft); }

/* ---------------- Sections (generic) ---------------- */

.section { padding: 84px 0; }

/* Yarı saydam: sabit arka plan kum saati bu bölümlerin arkasından da seçilir */
.section-deep { background: rgba(241, 233, 228, 0.72); }

.section-head {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  background: var(--coral-tint);
  color: var(--coral-deep);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 12px;
}

.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------------- Feature cards ---------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-tint);
  color: var(--coral);
  margin-bottom: 18px;
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card:nth-child(2n) .feature-icon {
  background: rgba(239, 176, 84, 0.18);
  color: #C98A2B;
}

.feature-card h3 { font-size: 1.12rem; margin-bottom: 8px; }

.feature-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------------- How it works ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.step-bubble {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
}

.step-bubble svg { width: 34px; height: 34px; }

.step-num {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(238, 108, 85, 0.4);
}

.step h3 { font-size: 1.15rem; margin-bottom: 6px; }

.step p { font-size: 0.95rem; color: var(--ink-soft); max-width: 16rem; margin: 0 auto; }

/* Bağlayıcı kesikli çizgi (yalnızca genişte) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  left: calc(50% + 56px);
  width: calc(100% - 112px);
  border-top: 3px dashed var(--coral-soft);
}

/* ---------------- Gece kütüphanesi / erken erişim bandı ---------------- */

.library-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background:
    radial-gradient(560px 300px at 78% 0%, rgba(239, 176, 84, 0.16), transparent 65%),
    linear-gradient(160deg, var(--dark), var(--dark-2));
  border-radius: 28px;
  padding: 56px 48px 48px;
  box-shadow: var(--shadow-lg);
  color: #F5EDE4;
}

.library-eyebrow {
  display: inline-block;
  background: rgba(239, 176, 84, 0.16);
  color: var(--sand);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.library-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 12px;
}

.library-lead {
  color: rgba(245, 237, 228, 0.85);
  font-size: 1.05rem;
  max-width: 30rem;
  margin-bottom: 24px;
}

.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notify-form input {
  flex: 1 1 220px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: #FFFDFB;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  min-width: 0;
}

.notify-form input:focus-visible {
  outline: none;
  border-color: var(--sand);
}

.notify-note {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(245, 237, 228, 0.6);
  max-width: 28rem;
}

/* Form sonucu: başarı sıcak sarı, hata yumuşak mercan (koyu bantta okunur) */
.notify-status {
  display: none;
  margin-top: 14px;
  font-weight: 800;
  font-size: 0.98rem;
  color: #FFB3A7;
}

.notify-status.is-visible { display: block; }

.notify-status.is-ok { color: var(--sand); }

/* Karakter şeridi: 16 uygulama avatarı sağdan sola akar */
.character-strip { text-align: center; }

.strip-title {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 20px;
}

.marquee {
  overflow: hidden;
  -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;
  width: max-content;
  animation: marquee-rtl 32s linear infinite;
}

.m-avatar {
  width: 68px;
  height: 68px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 3px solid rgba(255, 255, 255, 0.14);
  margin-right: 18px;
}

/* İki eş kopya art arda durur; -%50 kayınca döngü kusursuz kapanır */
@keyframes marquee-rtl {
  to { transform: translateX(-50%); }
}

/* ---------------- CTA ---------------- */

.cta-section { text-align: center; position: relative; overflow: hidden; }

.cta-section .store-badges { justify-content: center; margin-top: 32px; }

.cta-section h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }

.cta-section p { color: var(--ink-soft); font-size: 1.1rem; max-width: 30rem; margin: 0 auto; }

/* ---------------- Page hero (alt sayfalar) ---------------- */

.page-hero {
  padding: 64px 0 20px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 12px; }

.page-hero p { color: var(--ink-soft); font-size: 1.08rem; max-width: 36rem; margin: 0 auto; }

/* ---------------- Features detail (features.html) ---------------- */

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  padding: 56px 0;
}

.feature-row:not(:last-child) { border-bottom: 1px solid var(--line); }

.feature-row.reverse .feature-row-text { order: 2; }
.feature-row.reverse .feature-row-media { order: 1; }

.feature-row-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 14px 0 14px; }

.feature-row-text p { color: var(--ink-soft); font-size: 1.03rem; margin-bottom: 12px; }

.feature-row-text ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.feature-row-text li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.feature-row-text li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--coral-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C24733' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center / 11px;
}

.feature-avatars { display: flex; align-items: center; gap: 12px; margin-top: 20px; }

.feature-avatars .avatar-stack img { border-color: var(--bg); }

.feature-avatars span { font-size: 0.88rem; font-weight: 700; color: var(--muted); }

/* Telefon çerçeveli ekran görüntüsü placeholder'ı */
.feature-row-media { display: flex; justify-content: center; }

.phone {
  width: min(260px, 72vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 40px;
  background: var(--dark);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: var(--dark);
  z-index: 2;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 31px;
  background: #E9E2DB;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  border: 2px dashed #CFC3B8;
  color: var(--muted);
}

.phone-screen svg { width: 36px; height: 36px; opacity: 0.55; }

.phone-screen p { font-size: 0.88rem; font-weight: 700; line-height: 1.4; }

/* Ekran videosu: gif gibi sessiz döngüde oynar (JS ekler);
   video hazır olduğunda yer tutucu içerik gizlenir */
.shot-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-screen.has-video {
  border: none;
  padding: 0;
  background: var(--dark);
}

.phone-screen.has-video > svg,
.phone-screen.has-video > p { display: none; }

/* ---------------- Özellik akışı (features.html) ---------------- */

.features-flow { padding-top: 24px; }

/* ---------------- Ritim: yörüngeli kum saati (features.html) ----------------
   Ortada kum akan bir kum saati: kum üst haznede bitince kısa bir "mola"
   verir, sonra kendi etrafında 180° dönüp döngüye baştan başlar.
   Çevresinde karakter avatarları ve noktalar yörüngede döner (saf CSS). */

.orbit-section { padding-top: 36px; }

.hg-orbit {
  position: relative;
  width: min(380px, 82vw);
  aspect-ratio: 1;
  margin: 10px auto 0;
}

.orbit-ring {
  position: absolute;
  inset: 7%;
  border: 2px dashed rgba(238, 108, 85, 0.35);
  border-radius: 50%;
  animation: orbit-spin 60s linear infinite;
}

.orbit-track {
  position: absolute;
  inset: 7%;
  pointer-events: none;
  animation: orbit-spin var(--T, 18s) linear infinite;
  animation-delay: var(--D, 0s);
}

.orbit-track.rev { animation-direction: reverse; }

.orbit-track > * {
  position: absolute;
  top: 0;
  left: 50%;
}

/* Avatar, ebeveynin dönüşünü kendi ekseninde geri sararak hep dik durur */
.orbit-avatar {
  width: clamp(44px, 16%, 58px);
  height: auto;
  border-radius: 50%;
  background: var(--sand-soft);
  border: 3px solid var(--card);
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%);
  animation: orbit-counter var(--T, 18s) linear infinite;
  animation-delay: var(--D, 0s);
}

.orbit-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sand);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(70, 50, 38, 0.18);
}

.orbit-dot.od-2 { width: 9px; height: 9px; background: var(--coral); }

@keyframes orbit-spin {
  to { transform: rotate(1turn); }
}

@keyframes orbit-counter {
  from { transform: translate(-50%, -50%) rotate(0turn); }
  to   { transform: translate(-50%, -50%) rotate(-1turn); }
}

.orbit-hg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-hg svg {
  width: 36%;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(70, 50, 38, 0.18));
  animation: oh-flip var(--HG, 10s) ease-in-out infinite;
}

.oh-sand-top,
.oh-sand-pile {
  fill: var(--sand);
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.oh-sand-top { animation: oh-drain var(--HG, 10s) linear infinite; }
.oh-sand-pile { animation: oh-fill var(--HG, 10s) linear infinite; }

.oh-stream {
  stroke: var(--sand);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 5 4;
  animation: stream-fall 0.4s linear infinite, oh-stream var(--HG, 10s) linear infinite;
}

/* %0–68 kum akar, kısa mola, %78–90 kum saati ters çevrilir.
   Dolu hazneler ile simetrik olduğundan döngü başa sararken sıçrama görülmez. */
@keyframes oh-flip {
  0%, 78% { transform: rotate(0deg); }
  90%, 100% { transform: rotate(180deg); }
}

@keyframes oh-drain {
  0% { transform: scaleY(1); }
  68%, 100% { transform: scaleY(0.045); }
}

@keyframes oh-fill {
  0% { transform: scaleY(0.05); }
  68%, 100% { transform: scaleY(1); }
}

@keyframes oh-stream {
  0%, 3% { opacity: 0; }
  8%, 60% { opacity: 1; }
  66%, 100% { opacity: 0; }
}

/* ---------------- Pomodoro Nedir? (pomodoro-nedir.html) ---------------- */

/* Hikâye: tıkırdayan domates zamanlayıcı */
.tomato-timer {
  position: relative;
  width: min(320px, 70vw);
}

.tomato-timer svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 26px rgba(70, 50, 38, 0.16));
}

/* Akrep dakikada bir "tik" ilerler (60 adımda tam tur) */
.tt-hand {
  transform-box: view-box;
  transform-origin: 130px 146px;
  animation: tt-tick 60s steps(60) infinite;
}

@keyframes tt-tick {
  to { transform: rotate(1turn); }
}

.tt-chip {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--coral-deep);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

/* Süreç: dikey zaman çizelgesi; çizgi kaydırdıkça dolar (JS scrub) */
.ptl {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 8px;
}

.ptl-line {
  position: absolute;
  left: 28px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}

.ptl-fill {
  position: absolute;
  inset: 0;
  background: var(--coral);
  transform-origin: top center; /* JS yoksa dolu kalır */
}

.ptl-list {
  list-style: none;
  display: grid;
  gap: 26px;
}

.ptl-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.ptl-num {
  position: relative;
  z-index: 1;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  border: 4px solid var(--bg-deep);
  box-shadow: 0 6px 14px rgba(238, 108, 85, 0.35);
}

.ptl-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
}

.ptl-card h3 { font-size: 1.1rem; margin-bottom: 6px; }

.ptl-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  text-align: left;
  text-wrap: pretty;
}

/* Tam döngü çarkı: 4 pomodoro + molalar; işaretçi yörüngede döner */
.cycle-wheel {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

.cycle-wheel svg { width: 100%; height: auto; display: block; }

.cw-seg { fill: none; stroke-width: 16; }
.cw-focus { stroke: var(--coral); }
.cw-short { stroke: var(--sand); }
.cw-long { stroke: #C98A2B; }

/* İşaretçi, çark halkasıyla (r=96/240) aynı yarıçapta dönsün */
.cycle-wheel .orbit-track { inset: 10%; }

.orbit-dot.od-cycle {
  width: 15px;
  height: 15px;
  background: var(--card);
  border: 4px solid var(--ink);
}

.cw-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.cw-center strong {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
}

.cw-center span { font-weight: 700; color: var(--muted); font-size: 0.95rem; }

.cw-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  margin-top: 28px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cw-key { display: inline-flex; align-items: center; gap: 8px; }

.cw-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.sw-focus { background: var(--coral); }
.sw-short { background: var(--sand); }
.sw-long { background: #C98A2B; }

/* Altın kurallar: nabız gibi atan bölünmez odak bloğu */
.focus-block {
  position: relative;
  width: min(300px, 68vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-ring {
  position: absolute;
  inset: 5%;
  border: 3px dashed var(--coral-soft);
  border-radius: 50%;
  animation: orbit-spin 30s linear infinite;
}

.fb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 28px 38px;
  animation: fb-pulse 2.4s ease-in-out infinite;
}

.fb-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fb-time {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--coral-deep);
  font-variant-numeric: tabular-nums;
}

.fb-note { font-weight: 800; font-size: 0.9rem; color: var(--ink-soft); }

@keyframes fb-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

.section-more { text-align: center; margin-top: 36px; }

/* ---------------- FAQ ---------------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item.open { border-color: var(--coral-soft); box-shadow: var(--shadow-md); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  text-align: left;
}

.faq-q:hover { color: var(--coral-deep); }

.faq-q svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--coral);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

/* Açık durumda cevap satırı büyür — bu kural olmadan cevaplar hiç görünmez */
.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner { overflow: hidden; min-height: 0; }

.faq-a-inner p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.99rem;
}

.faq-contact {
  max-width: 760px;
  margin: 48px auto 0;
  background: var(--coral-tint);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.faq-contact h3 { margin-bottom: 6px; }

.faq-contact p { color: var(--ink-soft); }

.faq-contact a { font-weight: 800; }

/* ---------------- Privacy (prose) ---------------- */

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.prose .updated {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 36px;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 40px 0 12px;
}

.prose p { color: var(--ink-soft); margin-bottom: 14px; }

.prose ul {
  margin: 0 0 14px 22px;
  color: var(--ink-soft);
}

.prose li { margin-bottom: 8px; }

.prose li strong, .prose p strong { color: var(--ink); }

.prose .notice {
  background: var(--sand-soft);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--dark);
  color: #EFE8E1;
  margin-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px 40px;
}

.footer-brand .brand { color: #fff; margin-bottom: 14px; }

.footer-brand p {
  color: rgba(239, 232, 225, 0.75);
  font-size: 0.95rem;
  max-width: 20rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }

.footer-col a {
  color: rgba(239, 232, 225, 0.8);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--coral); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.9rem;
  color: rgba(239, 232, 225, 0.65);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub, .hero h1 { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hourglass-stage { margin-top: 12px; min-height: clamp(280px, 60vw, 380px); }
  .hg-backdrop { justify-content: center; padding-right: 0; }

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .feature-row.reverse .feature-row-text { order: 1; }
  .feature-row.reverse .feature-row-media { order: 2; }
  .feature-row-text ul { max-width: 26rem; margin-left: auto; margin-right: auto; text-align: left; }
  .feature-avatars { justify-content: center; }
  .feature-row .eyebrow { margin-left: auto; margin-right: auto; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .library-text { text-align: center; }
  .library-lead { margin-left: auto; margin-right: auto; }
  .notify-form { justify-content: center; }
  .notify-note { margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 20px;
    display: none;
  }

  .nav-open .site-nav { display: flex; }

  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a.active::after { display: none; }
  .site-nav .nav-cta { margin-top: 16px; }

  .section { padding: 64px 0; }

  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step:not(:last-child)::after { display: none; }

  .library-band { padding: 40px 24px 36px; gap: 30px; }
  .m-avatar { width: 54px; height: 54px; margin-right: 14px; }

  .hg-chip { font-size: 0.8rem; padding: 7px 13px; }
  .hg-chip-1 { left: 2%; }
  .hg-chip-2 { right: 0; }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .store-badge { flex: 1 1 100%; justify-content: center; }
  .hero { padding: 48px 0 64px; }
  .footer-inner { grid-template-columns: 1fr; padding-top: 44px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------------- Hareket azaltma tercihi ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hg-backdrop { opacity: 0.18; }
  .hg-stream { animation: none; }
  .hourglass.is-flowing .hg-stream,
  .hourglass.is-flowing .hg-grain { opacity: 0; }
  .marquee-track { animation: none; }
  .btn, .store-badge, .feature-card { transition: none; }

  /* Yörüngeli kum saati: durağan, yarı dolu bir kare olarak gösterilir */
  .orbit-ring, .orbit-track, .orbit-avatar, .orbit-hg svg,
  .oh-sand-top, .oh-sand-pile { animation: none; }
  .oh-stream { animation: none; opacity: 0; }
  .oh-sand-top { transform: scaleY(0.55); }
  .oh-sand-pile { transform: scaleY(0.45); }

  /* Pomodoro Nedir sayfası animasyonları */
  .tt-hand, .fb-ring, .fb-card { animation: none; }
}

/* ---------------- Canlı Lig Sıralaması (index.html) ---------------- */

.leaderboard-live {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px;
}

.lb-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: var(--bg-deep);
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid var(--line);
}

.lb-countdown-icon { font-size: 1.05rem; line-height: 1; }

.lb-countdown-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.lb-countdown-time {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--coral-dark);
  font-variant-numeric: tabular-nums;
}

.lb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lb-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
}

.lb-item:nth-child(odd) { background: var(--bg-deep); }

.lb-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding: 10px 4px 18px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.lb-podium-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 1 110px;
  text-align: center;
}

.lb-podium-1 { order: 2; margin-bottom: 16px; }
.lb-podium-2 { order: 1; }
.lb-podium-3 { order: 3; }

.lb-podium-avatar {
  border-radius: 50%;
  object-fit: cover;
  background: var(--sand-soft);
  border: 3px solid var(--bg);
  box-shadow: var(--shadow-sm);
}

.lb-podium-1 .lb-podium-avatar { border-color: #F5C242; box-shadow: 0 0 0 2px #F5C242, var(--shadow-md); }
.lb-podium-2 .lb-podium-avatar { border-color: #C7CCD6; }
.lb-podium-3 .lb-podium-avatar { border-color: #DDA15E; }

.lb-podium-medal { font-size: 1.4rem; line-height: 1; }
.lb-podium-1 .lb-podium-medal { font-size: 1.7rem; }

.lb-podium-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  max-width: 104px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-podium-1 .lb-podium-name { font-size: 0.95rem; }

.lb-podium-points {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--coral-dark);
  background: var(--coral-tint);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.lb-rank {
  flex: none;
  width: 30px;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--muted);
}

.lb-item.lb-top1 .lb-rank,
.lb-item.lb-top2 .lb-rank,
.lb-item.lb-top3 .lb-rank { font-size: 1.3rem; }

.lb-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand-soft);
  border: 2px solid var(--bg);
  object-fit: cover;
}

.lb-name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-points {
  flex: none;
  font-weight: 800;
  color: var(--coral-dark);
  background: var(--coral-tint);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.lb-skeleton {
  height: 64px;
  background: linear-gradient(90deg, var(--bg-deep) 25%, var(--line) 37%, var(--bg-deep) 63%);
  background-size: 400% 100%;
  animation: lb-shimmer 1.4s ease infinite;
}

@keyframes lb-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.lb-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 32px 16px;
  font-size: 1rem;
}

@media (max-width: 520px) {
  .lb-name { font-size: 0.95rem; }
  .lb-points { font-size: 0.85rem; padding: 4px 10px; }
  .lb-podium { gap: 6px; }
  .lb-podium-slot { flex-basis: 92px; }
  .lb-podium-1 .lb-podium-avatar { width: 64px !important; height: 64px !important; }
  .lb-podium-2 .lb-podium-avatar { width: 52px !important; height: 52px !important; }
  .lb-podium-3 .lb-podium-avatar { width: 46px !important; height: 46px !important; }
  .lb-podium-name { max-width: 88px; font-size: 0.78rem; }
  .lb-podium-1 .lb-podium-name { font-size: 0.85rem; }
  .lb-podium-points { font-size: 0.68rem; padding: 2px 8px; }
}
