/* ================== Fyndar — landing page stilleri ==================
   NOT: :root token seti style.css ile birebir aynı tutulmalı (build yok, elle eş). */

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

:root {
  --bg: #0a0f1c;
  --bg-2: #0e1526;
  --card: #131a2b;
  --card-2: #182238;
  --border: #1f2940;
  --border-2: #2a3652;
  --text: #f2f5fa;
  --muted: #8a94a8;
  --accent: #7c3aed;        /* logo moru */
  --accent-dark: #6d28d9;
  --accent-2: #2f6bff;      /* logo mavisi (gradyan eşi) */
  --accent-ink: #ffffff;
  --cyan: #22d3ee;
  --danger: #ff7a50;        /* logo turuncusu — fırsat rengi */
  --danger-bg: rgba(242, 84, 45, 0.14);
  --wa: #25d366;
  --radius: 12px;
  --glow: 0 0 20px rgba(124, 58, 237, 0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 34px; width: auto; }

.nav-links { display: flex; gap: 20px; flex: 1; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); }

/* ---------- CTA butonları ---------- */
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 800;
  border-radius: 10px;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.cta-btn:hover { filter: brightness(1.12); box-shadow: var(--glow); transform: translateY(-1px); }
.cta-sm { padding: 9px 16px; font-size: 14px; }
.cta-lg { padding: 15px 30px; font-size: 17px; box-shadow: var(--glow); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 90px) clamp(16px, 4vw, 40px) 50px;
}

.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 em, .final-cta em {
  font-style: normal;
  color: #a78bfa; /* gradyanı desteklemeyen tarayıcılar için */
  background: linear-gradient(100deg, var(--accent-2), #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 480px;
}

.hero-micro { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- Uygulama önizlemesi (saf CSS) ---------- */
.mockup {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(124, 58, 237, 0.12);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.mdot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.mock-url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  border-radius: 6px;
  padding: 3px 12px;
  flex: 1;
  text-align: center;
}

.mockup-body { display: grid; grid-template-columns: 1.25fr 0.75fr; min-height: 320px; }

.mockup-list { padding: 12px; display: flex; flex-direction: column; gap: 9px; }

.mock-chiprow { display: flex; gap: 6px; margin-bottom: 3px; }
.mchip {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 3px 9px;
}
.mchip.on { color: #c4b5fd; border-color: var(--accent); background: rgba(124, 58, 237, 0.18); }

.mock-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
/* Soluk kart: opacity yerine renkle soluklaştır (metin kontrastı korunur) */
.mock-card.dim { border-style: dashed; }
.mock-card.dim .mock-line b { color: var(--muted); font-weight: 600; }
.mock-line { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.mock-line span { color: var(--muted); font-size: 11.5px; }
.mock-opp {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--danger);
  background: var(--danger-bg);
  border: 1px solid rgba(255, 85, 102, 0.35);
  border-radius: 12px;
  padding: 1px 8px;
  margin-bottom: 6px;
}
.mock-btns { display: flex; gap: 5px; }
.mock-btns span {
  font-size: 10.5px;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 3px 8px;
  color: var(--muted);
}
.mock-btns .mock-wa { color: var(--wa); border-color: rgba(37, 211, 102, 0.5); background: rgba(37, 211, 102, 0.1); }

.mockup-map {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.08), transparent 60%),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    var(--card);
  background-size: auto, 26px 26px, 26px 26px, auto;
  border-left: 1px solid var(--border);
}

/* Radar kimliği: halkalar + dönen süpürme ışını */
.mockup-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 52% 46%,
    transparent 0 32px, rgba(47, 107, 255, 0.14) 32px 33px);
  pointer-events: none;
}
.mockup-map::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: 52%;
  top: 46%;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(47, 107, 255, 0.4), rgba(124, 58, 237, 0.08) 70deg, transparent 95deg 360deg);
  animation: radar-sweep 3.6s linear infinite;
  pointer-events: none;
}
@keyframes radar-sweep { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .mockup-map::after { animation: none; opacity: 0.25; }
}

.mpin { position: absolute; font-size: 16px; z-index: 1; }
.mpin.red, .mpin.green { width: 12px; height: 12px; border-radius: 50%; }
.mpin.red { background: #f2542d; box-shadow: 0 0 10px rgba(242, 84, 45, 0.8); }
.mpin.green { background: #fff; border: 3px solid var(--accent-dark); }

/* ---------- Bölümler ---------- */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(36px, 7vh, 70px) clamp(16px, 4vw, 40px);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.section h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 34px;
  line-height: 1.25;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }

.card-ico { font-size: 26px; display: block; margin-bottom: 10px; }
.card h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 6px; }
.card p { font-size: 13.5px; color: var(--muted); }
.card p b { color: var(--text); }

.pain { border-left: 3px solid var(--danger); }

.bridge {
  text-align: center;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--muted);
  max-width: 640px;
  margin: 30px auto 0;
}
.bridge b { color: #a78bfa; }

.step { position: relative; padding-top: 26px; }
.step-no {
  position: absolute;
  top: -16px;
  left: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  border-radius: 50%;
  box-shadow: var(--glow);
}
.steps { margin-top: 22px; }

.center { text-align: center; margin-top: 32px; }

/* ---------- Kanıt ---------- */
.proof { text-align: center; }
.stat { padding: 26px 18px; }
.stat-no {
  display: block;
  font-size: 38px;
  font-weight: 800;
  color: #a78bfa;
  text-shadow: 0 0 30px rgba(124, 58, 237, 0.45);
  margin-bottom: 8px;
}
.stat small { color: var(--muted); font-size: 11.5px; }
.badges { margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- SSS ---------- */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 18px;
}
.faq details[open] { border-color: var(--border-2); }

.faq summary {
  cursor: pointer;
  padding: 15px 0;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; font-size: 14px; color: var(--muted); }

/* ---------- Kapanış ---------- */
.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: 26px; }

/* ---------- Rehber sayfaları ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 40px) 60px; }
.article h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.article .meta { color: var(--muted); font-size: 13px; margin-bottom: 26px; }
.article .lead { font-size: 16.5px; color: var(--text); margin-bottom: 20px; }
.article h2 { font-size: 21px; font-weight: 800; margin: 30px 0 12px; }
.article h3 { font-size: 16.5px; font-weight: 800; margin: 20px 0 8px; }
.article p, .article li { font-size: 15px; color: var(--muted); margin-bottom: 12px; line-height: 1.75; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 14px; }
.article b { color: var(--text); }
.article a { color: var(--cyan); }

.guide-cta {
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  margin: 26px 0;
  text-align: center;
}
.guide-cta p { color: var(--text); font-weight: 700; margin-bottom: 14px; font-size: 15.5px; }

.tpl {
  background: var(--card);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 12px 0 18px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
}

.related { margin-top: 40px; }
.related h2 { text-align: left; margin-bottom: 16px; font-size: 19px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  text-align: center;
  padding: 34px clamp(16px, 4vw, 40px);
  font-size: 12.5px;
  color: var(--muted);
}
.footer p { max-width: 680px; margin: 0 auto 10px; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}
.footer-links a:hover { color: var(--accent); }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .mockup { max-width: 520px; margin: 0 auto; width: 100%; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { gap: 26px; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-map { display: none; }
  .hero { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
}

/* ---------- Dil değiştirici (TR|EN) ---------- */
.lang-switch {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1;
  white-space: nowrap;
}
.lang-switch:hover { color: var(--text); border-color: var(--accent); }
