/* FanFlash — tek stil dosyası
   Renkleri değiştirmek için sadece :root altındaki değerleri düzenleyin. */

:root {
  --bg: #0B0B0C;
  --surface: #121214;
  --surface-2: #17171A;
  --line: #26262B;
  --text: #F2F2F0;
  --muted: #9B9BA3;
  --accent-green: #0B6B3A;
  --accent-red: #C8102E;
  --accent-glow: rgba(255, 245, 220, 0.55);

  --wrap: 1120px;
  --radius: 16px;
  --font-display: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  /* TODO: İstenirse buraya self-hosted woff2 bir display fontu tanımlanır. */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap-narrow { max-width: 760px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Tipografi ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.6rem, 8vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0 0 16px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.lede {
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  color: var(--muted);
  max-width: 56ch;
}

.mark {
  position: relative;
  white-space: nowrap;
}
.mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-red));
}

.fineprint {
  margin-top: 28px;
  font-size: 0.82rem;
  color: #6E6E77;
}
.fineprint code {
  font-size: 0.95em;
  color: var(--muted);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent-green), var(--accent-red));
  box-shadow: 0 0 12px rgba(200, 16, 46, 0.35);
  flex: none;
}

.nav { display: none; gap: 28px; font-size: 0.92rem; }
.nav a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.nav a:hover { color: var(--text); }

.header-cta { display: none; }

.nav-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }

.mobile-nav {
  display: grid;
  border-top: 1px solid var(--line);
  padding: 8px 20px 18px;
}
.mobile-nav a {
  padding: 12px 0;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; color: var(--text); }

@media (min-width: 860px) {
  .nav, .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

.btn-primary {
  color: var(--bg);
  background: var(--text);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #4A4A52; }

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 14vw, 150px) 0 clamp(48px, 8vw, 90px);
}

.hero-light {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 130vw);
  height: 620px;
  pointer-events: none;
  background:
    radial-gradient(closest-side, var(--accent-glow), transparent 70%),
    radial-gradient(closest-side, rgba(11, 107, 58, 0.28), transparent 72%);
  background-size: 100% 100%, 70% 70%;
  background-position: center, 30% 40%;
  background-repeat: no-repeat;
  opacity: 0.16;
  filter: blur(10px);
  animation: sync-flash 5.6s ease-in-out infinite;
}

@keyframes sync-flash {
  0%, 42%, 100% { opacity: 0.10; }
  50% { opacity: 0.30; }
  58% { opacity: 0.12; }
  66% { opacity: 0.26; }
  74% { opacity: 0.11; }
}

.hero-inner { position: relative; }

.hero h1 { margin-bottom: 22px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-note { margin-top: 18px; font-size: 0.85rem; color: #6E6E77; }

.ticker {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: clamp(46px, 8vw, 84px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.ticker li { display: flex; align-items: center; gap: 9px; }
.ticker li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
}
.ticker li:nth-child(2)::before { background: var(--accent-red); }

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

.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.step { border-top: 1px solid var(--line); padding-top: 22px; }
.step-no {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent-green);
  margin-bottom: 14px;
}
.step:nth-child(2) .step-no { color: #B98E3E; }
.step:nth-child(3) .step-no { color: var(--accent-red); }
.step p { color: var(--muted); margin: 0; }

.grid {
  margin-top: 48px;
  display: grid;
  gap: 18px;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: #38383F; transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Ekran görüntüleri ---------- */

.shots {
  margin-top: 48px;
  display: grid;
  gap: 26px;
  justify-items: center;
}

.shot { margin: 0; text-align: center; }
.shot img {
  width: 100%;
  max-width: 280px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.shot figcaption {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .shots { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- SSS ---------- */

.faq { margin-top: 40px; border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 34px 20px 0;
  position: relative;
  font-size: 1.02rem;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 62ch; }

/* ---------- İndirme ---------- */

.download {
  padding: clamp(72px, 11vw, 140px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(11, 107, 58, 0.14), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(200, 16, 46, 0.12), transparent 60%);
  border-top: 1px solid var(--line);
}
.download .lede { margin-inline: auto; }

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}
.store { display: inline-block; transition: opacity .2s ease; }
.store:hover { opacity: 0.85; }
.store.is-soon { opacity: 0.45; cursor: default; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-inner { display: grid; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand p { margin: 0; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { text-decoration: none; transition: color .2s ease; }
.footer-nav a:hover { color: var(--text); }
.copy { margin: 0; color: #6E6E77; }

@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; }
}

/* ---------- İçerik sayfaları ---------- */

.page { padding: clamp(56px, 9vw, 110px) 0; }
.page h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 10px; }
.page .updated { color: #6E6E77; font-size: 0.85rem; margin-bottom: 40px; }
.page h2 { font-size: 1.45rem; margin-top: 44px; }
.page p, .page li { color: var(--muted); }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 8px; }
.page a { color: var(--text); text-decoration-color: var(--accent-red); text-underline-offset: 3px; }

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
}

/* ---------- Hareket ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-light { animation: none; opacity: 0.14; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
