/* DustFox — site stili.
   Renkler uygulamadan birebir alındı (DustFox/Design/DustTheme.swift):
   night #121019 · nightDeep #0B0910 · amber #FFB347 · ember #FF7A3D
   flame #FF5C3B · metin #FFF4EA (0.78 / 0.55 kademeleri). */

:root {
  --night: #121019;
  --night-deep: #0B0910;
  --amber: #FFB347;
  --ember: #FF7A3D;
  --flame: #FF5C3B;
  --ink: #FFF4EA;
  --ink-2: rgba(255, 244, 234, 0.78);
  --ink-3: rgba(255, 244, 234, 0.55);
  --card: rgba(255, 255, 255, 0.055);
  --card-raised: rgba(255, 255, 255, 0.085);
  --hairline: rgba(255, 255, 255, 0.10);
  --fox: linear-gradient(135deg, var(--amber), var(--ember) 50%, var(--flame));
  --radius: 26px;
  --shell: 1080px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night-deep);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* Uygulamadaki DustBackground'ın karşılığı: köşeden sızan kor. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70rem 40rem at 15% -10%, rgba(255, 122, 61, 0.20), transparent 60%),
    radial-gradient(50rem 34rem at 95% 8%, rgba(255, 92, 59, 0.14), transparent 62%),
    var(--night);
}

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }

a { color: var(--ink); text-decoration-color: rgba(255, 122, 61, 0.6); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ember); }

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

/* ---------- Üst çubuk ---------- */

header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(11, 9, 16, 0.72);
  border-bottom: 1px solid var(--hairline);
}

.top .shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--fox);
  display: grid;
  place-items: center;
  flex: none;
}
.mark img { width: 78%; height: 78%; display: block; }

nav.top-nav { margin-left: auto; display: flex; gap: 1.25rem; font-size: 0.95rem; }
nav.top-nav a { color: var(--ink-2); text-decoration: none; }
nav.top-nav a:hover, nav.top-nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Kahraman ---------- */

.hero { padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2rem, 5vw, 3.5rem); text-align: center; }

.hero .mark-lg {
  width: 96px; height: 96px; border-radius: 24px;
  background: var(--fox); display: grid; place-items: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 20px 60px -20px rgba(255, 122, 61, 0.7);
}
.hero .mark-lg img { width: 80%; height: 80%; }

h1 {
  font-size: clamp(2rem, 6.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero h1 { max-width: 20ch; margin-inline: auto; text-wrap: balance; }

.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0 auto 2rem;
}

.gradient-text {
  background: var(--fox);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary { background: var(--fox); color: #1a0d06; box-shadow: 0 14px 40px -14px rgba(255, 122, 61, 0.85); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--hairline); background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: var(--card-raised); }

.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 122, 61, 0.13);
  border: 1px solid rgba(255, 122, 61, 0.28);
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Bölümler ---------- */

section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  font-weight: 800;
}

.section-lede { color: var(--ink-2); max-width: 58ch; margin: 0 0 2rem; }

.grid { display: grid; gap: 0.9rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.card h3 { margin: 0.85rem 0 0.35rem; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-3); font-size: 0.94rem; line-height: 1.55; }

.icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 122, 61, 0.14);
  color: var(--ember);
}
.icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Öne çıkan iki blok */
.split { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split .card { padding: 1.7rem; }
.split ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: 0.96rem; }
.split li { margin-bottom: 0.45rem; }
.split li strong { color: var(--ink); font-weight: 650; }

/* Gizlilik şeridi */
.band {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
}
.band h2 { margin-bottom: 0.75rem; }
.band p { color: var(--ink-2); max-width: 56ch; margin: 0 auto; }

/* Fiyat */
.price-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.4rem 0 0.2rem; }
.plan .per { color: var(--ink-3); font-size: 0.9rem; margin: 0 0 1.1rem; }
.plan ul { list-style: none; margin: 0; padding: 0; color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.plan li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.55rem; }
.plan li::before { content: "✓"; color: var(--ember); font-weight: 800; flex: none; }
.plan.pro { border-color: rgba(255, 122, 61, 0.4); background: rgba(255, 122, 61, 0.07); }
.plan.pro .amount { background: var(--fox); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Yazı sayfaları ---------- */

.legal { padding: clamp(2.5rem, 6vw, 4rem) 0 4rem; }
.legal .shell { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 0.4rem; }
.updated { color: var(--ink-3); font-size: 0.9rem; margin: 0 0 2.5rem; }
.legal h2 { font-size: 1.2rem; margin: 2.4rem 0 0.6rem; }
.legal h3 { font-size: 1.02rem; margin: 1.6rem 0 0.4rem; font-weight: 700; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal strong { color: var(--ink); }

.callout {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--ember);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}
.callout p { margin: 0; }

.faq { border-top: 1px solid var(--hairline); padding: 1.2rem 0; }
.faq:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq h3 { margin: 0 0 0.4rem; }
.faq p { margin: 0; }

/* ---------- Alt bilgi ---------- */

footer.bottom {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 0 3rem;
  margin-top: 2rem;
}
footer.bottom .shell { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
footer.bottom a { color: var(--ink-3); text-decoration: none; font-size: 0.92rem; }
footer.bottom a:hover { color: var(--ink); }
.copyright { color: var(--ink-3); font-size: 0.92rem; }

@media (max-width: 640px) {
  .top .shell {
    flex-wrap: wrap;
    min-height: 0;
    row-gap: 0.35rem;
    padding-block: 0.7rem;
  }
  nav.top-nav { margin-left: 0; width: 100%; gap: 1.1rem; font-size: 0.9rem; }
  footer.bottom nav { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .btn-primary:hover { transform: none; }
}
