/* Filiz — filiz.store
   Uygulamanın arayüz sistemiyle aynı (REDESIGN.md): Apple İnsan Arayüzü Yönergeleri, sistem yazı
   tipi, tek vurgu rengi (marka mercanı). Cam, gölge, gradyan ve parıltı YOK — derinlik yalnızca
   zemin (--bg) ↔ yüzey (--surface) ayrımından gelir. Tema cihazı izler, elle de değişir. */

:root {
  --bg: #f6f3f0;
  --surface: #fff;
  --surface-2: #f1ede9;
  --fill: rgba(120, 120, 128, 0.13);
  --fill-2: rgba(120, 120, 128, 0.08);
  --label: #1c1b1d;
  --label-2: #6e6e73;
  --label-3: #aeaeb2;
  --separator: rgba(60, 60, 67, 0.16);
  --tint: #c24e38;
  --on-tint: #fff;
  --tint-soft: rgba(194, 78, 56, 0.1);
  --green: #34c759;
  --orange: #ff9500;
  --blue: #0a84ff;
  --pink: #ff375f;
  --purple: #af52de;
  --indigo: #5e5ce6;
  --teal: #30b0c7;
  --orange-soft: rgba(255, 149, 0, 0.12);
  --bezel: #1c1c1e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(56px, 6.5vw, 96px);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #000;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --fill: rgba(120, 120, 128, 0.24);
  --fill-2: rgba(120, 120, 128, 0.16);
  --label: #fff;
  --label-2: #98989f;
  --label-3: #5b5b60;
  --separator: rgba(84, 84, 88, 0.6);
  --tint: #ff8469;
  --on-tint: #1c1b1d;
  --tint-soft: rgba(255, 132, 105, 0.14);
  --orange-soft: rgba(255, 159, 10, 0.16);
  --bezel: #2c2c2e;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000;
    --surface: #1c1c1e;
    --surface-2: #2c2c2e;
    --fill: rgba(120, 120, 128, 0.24);
    --fill-2: rgba(120, 120, 128, 0.16);
    --label: #fff;
    --label-2: #98989f;
    --label-3: #5b5b60;
    --separator: rgba(84, 84, 88, 0.6);
    --tint: #ff8469;
    --on-tint: #1c1b1d;
    --tint-soft: rgba(255, 132, 105, 0.14);
    --orange-soft: rgba(255, 159, 10, 0.16);
    --bezel: #2c2c2e;
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--label);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* eski tarayıcı yedeği */
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; overflow-wrap: break-word; }
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); line-height: 1.45; color: var(--label-2); max-width: 44ch; }
.eyebrow { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--tint); margin-bottom: 0.6rem; }
.muted { color: var(--label-2); }
.small { font-size: 0.9375rem; line-height: 1.45; }
.tiny { font-size: 0.8125rem; line-height: 1.45; color: var(--label-2); }

section { padding-block: var(--section); }
.rule { height: 0.5px; background: var(--separator); border: 0; margin: 0; }

/* ── Üst çubuk (UINavigationBar) ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.2s ease;
}
.nav[data-stuck="true"] { border-bottom-color: var(--separator); }
.nav__in { display: flex; align-items: center; gap: 10px; height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; flex: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav__spacer { flex: 1; min-width: 0; }
.nav__links { display: none; gap: 24px; font-size: 0.875rem; }
.nav__links a { text-decoration: none; color: var(--label-2); transition: color 0.15s; white-space: nowrap; }
.nav__links a:hover { color: var(--label); }
@media (min-width: 900px) { .nav__links { display: flex; } }

.iconbtn {
  width: 34px; height: 34px; display: grid; place-items: center; flex: none;
  border-radius: 999px; border: 0; background: var(--fill); color: var(--tint); cursor: pointer;
}
.iconbtn:hover { background: var(--fill-2); }

/* ── Düğmeler (btn-filled / btn-gray) ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 14px; border: 0;
  font: inherit; font-weight: 600; font-size: 1.0625rem; text-decoration: none; text-align: center;
  color: var(--on-tint); background: var(--tint); cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.btn:active { opacity: 0.7; }
.btn--ghost { background: var(--fill); color: var(--tint); }
.btn--sm { min-height: 34px; padding: 0 14px; border-radius: 999px; font-size: 0.9375rem; }

/* Mağaza rozetleri — resmî dosyalar, oranı korunur */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges a { display: block; border-radius: 9px; transition: opacity 0.15s ease; }
.badges a:hover { opacity: 0.85; }
.badges img, .badges svg { height: 48px; width: auto; }
.badge-apple { height: 48px; padding: 0; border-radius: 9px; overflow: hidden; background: #000; display: grid; place-items: center; }
:root[data-theme="dark"] .badge-apple { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge-apple { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); } }

/* ── Kahraman ──────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: var(--section); }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero__grid > * { min-width: 0; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--tint); }
.hero .lede { margin-bottom: 1.8rem; }
.hero .badges { margin-bottom: 1rem; }
.hero__note { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9375rem; color: var(--label-2); }
.hero__note b { color: var(--label); font-weight: 600; }
.aura { display: none; }

/* ── Telefon — düz çerçeve, gölgesiz ───────────────────────────────────────── */
.phone {
  position: relative; width: min(290px, 74vw); margin-inline: auto;
  aspect-ratio: 1242 / 2688;
  border-radius: 46px; padding: 8px; background: var(--bezel);
  box-shadow: 0 0 0 1px var(--separator);
}
.phone picture { display: block; width: 100%; height: 100%; }
.phone img { width: 100%; height: 100%; border-radius: 38px; object-fit: cover; object-position: 50% 0; display: block; }
.phone--lg { width: min(330px, 80vw); }

.phones { display: flex; gap: clamp(12px, 3vw, 28px); justify-content: center; align-items: flex-start; }
.phones .phone { margin: 0; width: min(240px, 43vw); border-radius: clamp(26px, 7vw, 40px); padding: clamp(5px, 1.4vw, 7px); }
.phones .phone img { border-radius: clamp(21px, 5.8vw, 33px); }
.phones .phone:first-child { margin-top: 40px; }

/* ── İki sütunlu anlatı ────────────────────────────────────────────────────── */
.split { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip > *:first-child { order: 2; }
}
.split h2 { margin-bottom: 1rem; }
.split p + p { margin-top: 0.9rem; }

.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; }
.ticks svg { flex: none; margin-top: 3px; color: var(--green); }

/* ── Hafta kaydırıcı — uygulamanın Bugün ekranı ────────────────────────────── */
.scrub { border-radius: 22px; padding: clamp(20px, 4vw, 40px); background: var(--surface); }
.scrub__head { margin-bottom: 2px; }
.scrub__wk { font-family: var(--font-rounded); font-size: clamp(4rem, 11vw, 6.5rem); line-height: 0.9; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.scrub__unit { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; color: var(--label-2); margin-inline-start: 6px; }
.scrub__meta { font-size: 0.9375rem; color: var(--label-2); margin-top: 6px; }
.scrub__size { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 700; color: var(--label); margin-top: 0.5rem; letter-spacing: -0.02em; }
.scrub__size #size { color: var(--tint); }
.scrub__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; margin-top: 1.4rem; }
.stat { border-radius: 14px; padding: 12px 14px; background: var(--surface-2); min-width: 0; }
.stat b { display: block; font-family: var(--font-rounded); font-size: 1.1875rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat span { display: block; font-size: 0.75rem; line-height: 1.25; font-weight: 600; color: var(--label-2); text-transform: uppercase; letter-spacing: 0.02em; overflow-wrap: anywhere; margin-bottom: 3px; }
.stat { display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 380px) { .stat { padding: 10px; } .stat b { font-size: 1.0625rem; } }

.scrub__grid { display: grid; gap: clamp(20px, 3.4vw, 40px); align-items: center; }
@media (min-width: 720px) { .scrub__grid { grid-template-columns: minmax(180px, 250px) 1fr; } }
.scrub__info { min-width: 0; }
.scrub__stage { margin-top: 0.4rem; font-size: 0.9375rem; font-weight: 600; color: var(--green); }

/* Rahim dairesi — uygulamadaki Bugün halkası. 6 gelişim görseli üst üste; hafta değişince geçiş. */
.womb { position: relative; width: min(250px, 62vw); aspect-ratio: 1; margin-inline: auto; }
.womb__disk { position: absolute; inset: 7%; border-radius: 999px; overflow: hidden; background: #1a1012; display: grid; place-items: center; }
.womb__img {
  grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(var(--baby, 0.95));
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 0.68, 0.3, 1);
}
.womb__img.on { opacity: 1; }
.womb__ring { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.womb__track, .womb__prog { fill: none; stroke-width: 3.4; stroke-linecap: round; }
.womb__track { stroke: var(--fill); }
.womb__prog {
  stroke: var(--tint); stroke-dasharray: 295.3; stroke-dashoffset: var(--ring, 118);
  transition: stroke-dashoffset 0.5s cubic-bezier(0.22, 0.68, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) { .womb__img, .womb__prog { transition: none; } }

.scrub__ctl { margin-top: 1.6rem; }
.scrub__ends { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--label-2); margin-bottom: 8px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: none; cursor: grab; margin: 0; }
input[type="range"]:active { cursor: grabbing; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--tint) 0 var(--pct, 50%), var(--fill) var(--pct, 50%) 100%);
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: var(--fill); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--tint); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -12px;
  border-radius: 999px; background: #fff; border: 0;
  box-shadow: 0 0.5px 4px rgba(0, 0, 0, 0.12), 0 6px 13px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
}
input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 999px; background: #fff; border: 0;
  box-shadow: 0 0.5px 4px rgba(0, 0, 0, 0.12), 0 6px 13px rgba(0, 0, 0, 0.12);
}
input[type="range"]:focus-visible { outline: 3px solid var(--tint); outline-offset: 4px; border-radius: 999px; }

/* ── Kartlar (card) + renkli simge karosu (IconTile) ───────────────────────── */
.grid { display: grid; gap: 12px; }
/* 9 araç ve 3 gizlilik kartı: her genişlikte tam sıralar (2 sütunda biri tek kalıyordu). */
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 899px) { .grid--3 .card { padding: 14px; } .grid--3 .card p { font-size: 0.875rem; } }
.card { border-radius: 16px; padding: 18px; background: var(--surface); min-width: 0; }
.card__ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--tint); color: #fff; margin-bottom: 12px; }
.card__ico svg { width: 20px; height: 20px; }
.card--sage .card__ico { background: var(--green); }
.card--gold .card__ico { background: var(--orange); }
.card h3 { margin-bottom: 4px; }
.card p { font-size: 0.9375rem; line-height: 1.4; color: var(--label-2); text-wrap: wrap; }

/* ── Fiyat ─────────────────────────────────────────────────────────────────── */
.plans { display: grid; gap: 12px; align-items: stretch; }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border-radius: 22px; padding: clamp(20px, 3vw, 32px); background: var(--surface); display: flex; flex-direction: column; min-width: 0; box-shadow: inset 0 0 0 1px transparent; }
.plan--plus { box-shadow: inset 0 0 0 2px var(--tint); }
.plan__tag { font-size: 0.9375rem; font-weight: 600; color: var(--label-2); }
.plan--plus .plan__tag { color: var(--tint); }
.plan__price { font-family: var(--font-rounded); font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 0.4rem 0 0.2rem; font-variant-numeric: tabular-nums; }
.plan__price small { font-family: var(--font); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--label-2); }
.plan .ticks { margin-top: 1.2rem; }
.plan__foot { margin-top: auto; padding-top: 1.4rem; }
.plan__foot .btn { width: 100%; }

/* ── İndirme + QR ──────────────────────────────────────────────────────────── */
.getit { border-radius: 22px; padding: clamp(24px, 5vw, 56px); background: var(--surface); display: grid; gap: 30px; align-items: center; }
.getit > * { min-width: 0; }
@media (min-width: 860px) { .getit { grid-template-columns: 1fr auto; } }
.qr { display: none; text-align: center; }
@media (min-width: 860px) { .qr { display: block; } }
.qr__box { width: 156px; height: 156px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--separator); }
.qr__box img { width: 100%; height: 100%; }
.qr p { margin-top: 10px; font-size: 0.8125rem; color: var(--label-2); max-width: 156px; }

/* ── SSS — gruplu liste ────────────────────────────────────────────────────── */
.faq { display: grid; gap: 0; max-width: 780px; background: var(--surface); border-radius: 16px; overflow: hidden; }
details { padding: 0 18px; background: none; border: 0; border-radius: 0; position: relative; }
details + details::before { content: ""; position: absolute; top: 0; inset-inline: 18px 0; height: 0.5px; background: var(--separator); }
summary {
  cursor: pointer; list-style: none; padding: 15px 0; font-weight: 600; font-size: 1.0625rem; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--label-3);
  border-bottom: 2px solid var(--label-3); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease;
}
details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details p { padding-bottom: 16px; color: var(--label-2); font-size: 1rem; max-width: 66ch; }

/* ── Sorumluluk metni — Notice (bilgi) ─────────────────────────────────────── */
.disclaimer { border-radius: 14px; padding: 14px 16px; background: var(--orange-soft); color: var(--label); font-size: 0.9375rem; line-height: 1.45; max-width: 74ch; }

/* ── Alt bilgi ─────────────────────────────────────────────────────────────── */
footer { padding-block: clamp(40px, 6vw, 64px); border-top: 0.5px solid var(--separator); }
.foot { display: grid; gap: 28px; }
.foot > * { min-width: 0; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: var(--label-2); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; }
.foot a { text-decoration: none; color: var(--label-2); transition: color 0.15s; }
.foot a:hover { color: var(--tint); }
.foot__bot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.8125rem; color: var(--label-2); }

/* ── Görünür olma — kısa, amaçlı ───────────────────────────────────────────── */
.rise { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.2,.7,.3,1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

/* "İçeriğe geç" — ekran okuyucuya görünür. clip-path yön-bağımsızdır (RTL'de taşma yapmaz). */
.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
  padding: 12px 18px; z-index: 100; background: var(--surface); border-radius: 0 0 12px 0; font-weight: 600;
}
.skip:focus { width: auto; height: auto; overflow: visible; clip-path: none; inset-inline-start: 0; top: 0; }

/* ── Dil seçici — iOS açılır menüsü ────────────────────────────────────────── */
.langpick { position: relative; flex: none; }
.langpick__btn { display: inline-flex; align-items: center; gap: 5px; width: auto; padding-inline: 10px; }
.langpick__btn span { font-size: 0.8125rem; font-weight: 600; }
.langpick__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 190px; margin: 0; padding: 0; list-style: none; overflow: hidden;
  background: var(--surface); border-radius: 13px;
  box-shadow: 0 0 0 0.5px var(--separator), 0 10px 32px rgba(0, 0, 0, 0.18);
}
.langpick__menu[hidden] { display: none; }
.langpick__menu li { margin: 0; }
.langpick__menu li + li { border-top: 0.5px solid var(--separator); }
.langpick__menu button {
  display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 0 16px; border: 0;
  background: transparent; color: var(--label); font: inherit; font-size: 1.0625rem; text-align: start; cursor: pointer;
}
.langpick__menu button:hover, .langpick__menu button:focus-visible { background: var(--fill-2); }
.langpick__menu button[aria-selected="true"] { color: var(--tint); font-weight: 600; }
.langpick__menu button[aria-selected="true"]::after { content: "✓"; }

/* Dar ekran: "İndir" düğmesi + dil + tema aynı satıra sığsın */
@media (max-width: 400px) {
  .nav__in { gap: 8px; }
  .brand span { display: none; }
}

/* ── Sağdan sola (Arapça) ──────────────────────────────────────────────────── */
[dir="rtl"] .scrub__ctl input[type="range"] { transform: scaleX(-1); }
[dir="rtl"] .ticks li svg { transform: scaleX(-1); }
