/* Ritim — tanıtım sitesi.
   Koyu mor/lacivert zemin, periwinkle vurgu; altın yalnızca fiyat ve Premium için.
   Akılda kalan iki öğe: hero'daki haftalık ritim şeridi ve kaydırmaya bağlı telefon sahnesi. */

:root {
  --bg: #14122B;          /* sayfa zemini */
  --bg-2: #191B40;        /* hero / koyu bantlar */
  --surface: #1F1C44;     /* kartlar */
  --surface-2: #29255A;
  --line: rgba(201, 206, 247, .14);
  --line-strong: rgba(201, 206, 247, .32);
  --peri: #8E9BFF;        /* marka, ritim çizgileri */
  --peri-soft: #C9CEF7;
  --text: #F3F2FC;
  --muted: #B4B1D8;
  --dim: #8985B5;
  --gold: #EDBE5A;        /* sadece fiyat ve Premium */
  --gold-ink: #3A2C00;

  --display: "Bricolage Grotesque", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.75rem, 1.2rem + 2.2vw, 2.7rem);
  --step-3: clamp(2.5rem, 1.3rem + 5vw, 5rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--step-0)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #14122B; padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font: 800 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s ease, border-color .15s ease;
}
.btn-light { background: #fff; color: #191B40; }
.btn-light:hover { background: var(--peri-soft); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--peri); background: rgba(142, 155, 255, .08); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #F3CD7A; }

/* ---------- Üst menü ---------- */
.nav { background: var(--bg-2); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem/1 var(--display); }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--peri-soft); padding: 12px 0; }
.nav-links a:hover { color: #fff; }
.nav-cta { min-height: 42px; padding: 0 18px; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { background: var(--bg-2); padding: clamp(28px, 5vw, 64px) 0 0; }
.hero h1 { font-size: var(--step-3); line-height: 1; font-weight: 800; letter-spacing: -0.035em; max-width: 15ch; }
.hero-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px);
  align-items: end; margin-top: clamp(22px, 3vw, 40px); padding-bottom: clamp(28px, 4vw, 48px);
}
.lead { font-size: 1.2rem; line-height: 1.55; color: #D6D4F0; max-width: 34em; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-line b { font: 800 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem)/1.1 var(--display); color: var(--gold); letter-spacing: -0.02em; }
.price-line span { color: var(--muted); font-size: .98rem; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px;
  border-radius: 14px; background: #fff; color: #191B40; text-decoration: none;
}
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: .75rem; font-weight: 700; color: #565C7E; }
.store strong { font: 800 1.1rem/1.1 var(--display); }
.store:hover { background: var(--peri-soft); }
.store[aria-disabled="true"] { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); cursor: default; }
.store[aria-disabled="true"] small { color: var(--peri-soft); }
@media (max-width: 860px) { .hero-row { grid-template-columns: 1fr; } }

/* Ritim şeridi */
.rhythm { margin: 0 auto; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid var(--line); }
.rhythm figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 18px; }
.rhythm figcaption strong { font: 800 var(--step-1)/1.2 var(--display); }
.rhythm figcaption span { color: var(--muted); font-size: var(--step--1); max-width: 60ch; }
.bars {
  --n: 41;
  display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: clamp(2px, .5vw, 6px);
  align-items: end; height: clamp(80px, 9vw, 120px);
}
.bars span {
  height: calc(var(--h) * 100%);
  background: #3B3F86; border-radius: 3px;
  transform-origin: bottom;
  animation: rise .7s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i) * 18ms);
}
.bars span.past { background: var(--peri); }
.bars span.now { background: #fff; box-shadow: 0 0 0 3px rgba(142, 155, 255, .55); }
.months {
  --n: 41;
  display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: clamp(2px, .5vw, 6px);
  margin-top: 10px; font-size: .75rem; font-weight: 700; color: var(--dim);
}
.months span { white-space: nowrap; }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 560px) { .months span:nth-child(even) { visibility: hidden; } }

/* ---------- Telefon çerçevesi ---------- */
.phone {
  width: 100%; max-width: 300px; margin: 0 auto;
  border-radius: 40px; padding: 10px; background: #0C0B1F;
  box-shadow: 0 0 0 1.5px #4A4690, 0 40px 80px -30px rgba(5, 4, 20, .8);
}
.phone img { border-radius: 31px; width: 100%; }

/* ---------- Sahne: kaydırmaya bağlı telefon ---------- */
.stage {
  --scenes: 6;
  height: calc((var(--scenes) + 1) * 105vh + 100vh);
  background: var(--bg-2);
  position: relative;
}
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.device {
  position: absolute; left: 50%; top: 50%;
  width: min(350px, 35vh); width: min(350px, 35svh);
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform;
}
.device .phone { max-width: none; }
.screens { position: relative; aspect-ratio: 540 / 1200; border-radius: 31px; overflow: hidden; background: #0C0B1F; }
.screens img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; opacity: 0; will-change: opacity, transform; }
.screens img:first-child { opacity: 1; }

.captions {
  position: absolute; top: 0; bottom: 0;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  width: min(44vw, 520px);
}
.caption {
  position: absolute; left: 0; right: 0; top: 50%;
  margin-top: -11rem; opacity: 0; will-change: opacity, transform;
}
.caption h2 { font-size: var(--step-2); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; }
.caption p { margin-top: 16px; color: #D2CFEE; font-size: 1.12rem; max-width: 30em; }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 10px;
  border-left: 2.5px solid var(--peri); border-bottom: 2.5px solid var(--peri);
  transform: rotate(-45deg) scale(.75); transform-origin: left top;
}

/* Sahne göstergesi: ritim çizgileri gibi dikey bir sıra */
.rail {
  position: absolute; right: max(18px, calc((100vw - var(--max)) / 2)); top: 50%;
  transform: translateY(-50%); margin: 0; padding: 0; list-style: none;
  display: grid; gap: 12px; justify-items: end;
  font-size: .8rem; font-weight: 700; color: var(--dim);
}
.rail li { display: flex; align-items: center; gap: 10px; transition: color .3s ease; }
.rail li::after { content: ""; width: 18px; height: 3px; border-radius: 2px; background: currentColor; opacity: .5; transition: width .3s ease, opacity .3s ease; }
.rail li.on { color: #fff; }
.rail li.on::after { width: 34px; opacity: 1; background: var(--peri); }

@media (max-width: 1100px) { .rail { display: none; } }
@media (max-width: 800px) {
  .stage { height: calc((var(--scenes) + 1) * 95vh + 100vh); }
  .device { width: min(300px, 36svh); }
  .captions { left: var(--gutter); right: var(--gutter); width: auto; }
  .caption { top: auto; bottom: max(22px, 4svh); margin-top: 0; }
  .caption h2 { font-size: 1.55rem; }
  .caption p { font-size: 1rem; margin-top: 8px; }
  .caption .checks { display: none; }
}

/* ---------- Bölüm başlıkları ---------- */
section { scroll-margin-top: 16px; }
.section-title { font-size: var(--step-2); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; max-width: 20ch; }
.section-sub { margin-top: 16px; color: var(--muted); max-width: 40em; }

/* ---------- Koçluk: gerçek koç notları ---------- */
.coach { padding: clamp(64px, 10vw, 128px) 0; }
.coach-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.coach-price { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); max-width: 32em; }
.coach-price b { color: var(--gold); font-weight: 800; }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.notes li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px;
  padding: 16px 20px; max-width: 30em;
}
.notes li:nth-child(even) { margin-left: clamp(0px, 4vw, 48px); }
.notes b { display: block; font: 800 1.08rem/1.3 var(--display); }
.notes span { display: block; margin-top: 4px; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .coach-grid { grid-template-columns: 1fr; } }

/* ---------- Diğer özellikler ---------- */
.more { background: #1A1738; padding: clamp(64px, 9vw, 120px) 0; border-block: 1px solid var(--line); }
.more-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.more-phone .phone { max-width: 280px; }
.extras { margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1.5px solid var(--line-strong); }
.extras div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.extras dt { display: flex; align-items: center; gap: 10px; font: 800 1.08rem/1.3 var(--display); }
.extras dt svg { color: var(--peri); }
.extras dd { margin: 6px 0 0; color: var(--muted); font-size: .97rem; }
.more-note { margin-top: 24px; color: var(--peri-soft); font-weight: 700; }
@media (max-width: 900px) {
  .more-grid { grid-template-columns: 1fr; }
  .more-phone { order: 2; }
  .more-phone .phone { max-width: 240px; }
}
@media (max-width: 600px) { .extras { grid-template-columns: 1fr; } }

/* ---------- Nasıl çalışır (gerçek sıra: numaralı) ---------- */
.how { padding: clamp(64px, 9vw, 112px) 0; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 72px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; font: 800 3.4rem/1 var(--display); color: var(--peri); }
.steps li::after {
  content: ""; position: absolute; top: 28px; left: 52px; right: -16px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(142, 155, 255, .45) 0 6px, transparent 6px 12px);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.35rem; font-weight: 800; }
.steps p { margin-top: 8px; color: var(--muted); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 64px; }
  .steps li::before { font-size: 2.6rem; }
  .steps li::after { display: none; }
}

/* ---------- Fiyat ---------- */
.pricing { background: #1A1738; padding: clamp(64px, 9vw, 120px) 0; border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.25rem; font-weight: 800; }
.price { margin-top: 14px; font: 800 2.4rem/1 var(--display); letter-spacing: -0.02em; }
.price small { font: 700 1rem/1 var(--body); color: var(--muted); letter-spacing: 0; }
.per { margin-top: 8px; color: var(--muted); font-size: var(--step--1); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 26px; font-size: .98rem; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px;
  border-left: 2.2px solid var(--peri); border-bottom: 2.2px solid var(--peri); transform: rotate(-45deg);
}
.plan li.off { color: var(--dim); }
.plan li.off::before { border: 0; width: 10px; height: 2px; background: var(--dim); transform: none; top: .75em; }
.plan.featured { background: #2B2562; border: 2px solid var(--gold); position: relative; padding-top: 34px; }
.plan.featured .per { color: var(--gold); font-weight: 700; }
.plan.featured li::before { border-color: var(--gold); }
.badge { position: absolute; top: -14px; left: 24px; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: .82rem; padding: 5px 12px; border-radius: 999px; }
.fineprint { margin-top: 24px; color: var(--dim); font-size: var(--step--1); max-width: 60em; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan.featured { order: -1; }
}

/* ---------- SSS ---------- */
.faq-section { padding: clamp(64px, 9vw, 112px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq { border-top: 1.5px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 44px 20px 0; min-height: 48px; font-weight: 800; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--peri); border-bottom: 2.5px solid var(--peri);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Kapanış ---------- */
.closing { background: #2B2562; padding: clamp(64px, 9vw, 112px) 0; }
.closing h2 { font-size: var(--step-3); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.closing p { margin-top: 16px; color: #D6D4F0; font-size: 1.15rem; max-width: 34em; }
.closing .stores { margin-top: 28px; }

/* ---------- Alt bilgi ---------- */
.footer { background: var(--bg); color: var(--dim); padding: 28px 0 36px; font-size: var(--step--1); border-top: 1px solid var(--line); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; color: var(--peri-soft); padding: 10px 0; }
.footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- Yasal sayfalar ---------- */
.legal { padding: 48px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.8rem); line-height: 1.1; font-weight: 800; margin: 0 0 10px; }
.legal .meta { color: var(--dim); margin: 0 0 32px; font-size: var(--step--1); }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; font-weight: 800; }
.legal h3 { font-size: 1.15rem; margin: 26px 0 8px; font-weight: 800; }
.legal p, .legal li { color: #CFCCEA; }
.legal p { margin: 0 0 14px; }
.legal strong { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--peri); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #CFCCEA; }
.legal th { background: var(--surface-2); color: var(--text); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 20px; color: var(--peri); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bars span { animation: none; }
}
