/*
 * WortPilot tanıtım sitesi.
 *
 * Renkler ve tipografi uygulamayla birebir aynıdır: siteden uygulamaya geçen
 * kullanıcı aynı ürünü gördüğünü hissetmelidir. Uygulamanın kendi CSS'i
 * Tailwind ile üretiliyor; burada bağımlılık olmasın diye aynı değerler elle
 * yazıldı.
 */

:root {
  --ink: #0b0f14;
  --panel: #121923;
  --panel-2: #18212d;
  --copy: #e8edf2;
  --muted: #a3afbe;
  --accent: #8b7cf6;
  --accent-blue: #68a5ff;
  --success: #5bc99a;
  --gold-300: #f6c860;
  --gold-500: #e0a32e;
  --gold-700: #8a5e17;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--copy);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

a { color: var(--accent-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

/* ---------------------------------------------------------------- üst bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, 0.82);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.topbar img { height: 30px; width: auto; display: block; }
.topbar nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.topbar nav a { color: var(--muted); }
.topbar nav a:hover { color: var(--copy); text-decoration: none; }
@media (max-width: 720px) { .topbar nav .hide-sm { display: none; } }

/* ---------------------------------------------------------------- düğmeler */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .2s ease, transform .1s ease, background .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6c8cf4);
  color: #fff;
  box-shadow: 0 12px 30px rgba(102, 93, 207, .28);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-strong);
  color: var(--copy);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-soon { opacity: .55; cursor: default; }
.btn-soon:hover { filter: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 92px 0 72px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -220px 0 auto;
  height: 620px;
  background:
    radial-gradient(680px 340px at 22% 24%, rgba(139, 124, 246, .20), transparent 68%),
    radial-gradient(560px 300px at 82% 10%, rgba(104, 165, 255, .16), transparent 68%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 56px; grid-template-columns: 1.08fr .92fr; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-blue);
  border: 1px solid rgba(104, 165, 255, .22);
  background: rgba(104, 165, 255, .08);
  border-radius: 999px;
  padding: 6px 14px;
}
h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { margin: 20px 0 0; font-size: 18px; color: var(--muted); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* --------------------------------------------------- hero kelime kartı */
.card-stack { position: relative; }
.word-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.word-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chip {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
  white-space: nowrap;
}
.chip-der { color: #8ab4ff; border-color: rgba(138, 180, 255, .3); background: rgba(138, 180, 255, .1); }
.word { font-size: 34px; font-weight: 800; margin: 16px 0 2px; letter-spacing: -.01em; }
.pron { color: var(--muted); font-size: 14px; }
.meaning { font-size: 17px; margin-top: 12px; color: var(--copy); }
.sample { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.sample .label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-blue); font-weight: 800; }
.sample p { margin: 6px 0 0; font-size: 14.5px; }
.sample p.tr { color: var(--muted); }
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.skill { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.skill span { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .08); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-blue)); }

/* ---------------------------------------------------------------- sayılar */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 64px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- bölümler */
section { padding: 84px 0; }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.02em; margin: 10px 0 0; font-weight: 800; }
.section-head p { color: var(--muted); margin: 14px 0 0; font-size: 17px; }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature .ico {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(139, 124, 246, .12);
  color: #b8aeff;
  margin-bottom: 16px;
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- adımlar */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.step .n {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--accent), #617fe1); color: #fff;
}
.step h3 { margin: 4px 0 6px; font-size: 17px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- seviye */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .levels { grid-template-columns: 1fr; } }
.level { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: var(--panel); }
.level .tag { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.level .count { color: var(--gold-300); font-weight: 700; font-size: 14px; margin-top: 2px; }
.level p { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; }

/* ---------------------------------------------------------------- sss */
details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 0 20px;
  margin-bottom: 12px;
}
details + details { margin-top: 0; }
summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- kapanış */
.closing {
  border: 1px solid rgba(246, 200, 96, .18);
  background: linear-gradient(135deg, rgba(246, 200, 96, .07), rgba(139, 124, 246, .07));
  border-radius: 26px;
  padding: 52px 40px;
  text-align: center;
}
.closing h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 0 0 12px; font-weight: 800; letter-spacing: -.02em; }
.closing p { color: var(--muted); margin: 0 auto 26px; max-width: 52ch; }
.closing .cta-row { justify-content: center; }

/* ---------------------------------------------------------------- alt bilgi */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer img { height: 26px; opacity: .85; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
footer nav a { color: var(--muted); }
footer small { display: block; color: var(--muted); font-size: 13px; width: 100%; }

/* ---------------------------------------------------------- belge sayfası */
.doc { padding: 56px 0 40px; }
.doc .wrap { width: min(760px, calc(100% - 40px)); }
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin: 0; }
.doc .updated { color: var(--muted); font-size: 14px; margin-top: 10px; }
.doc h2 { font-size: 20px; margin: 40px 0 12px; font-weight: 700; }
.doc h3 { font-size: 16px; margin: 26px 0 8px; font-weight: 700; }
.doc p, .doc li { color: var(--muted); font-size: 15.5px; }
.doc strong { color: var(--copy); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--copy); font-weight: 700; }
.doc td { color: var(--muted); }
.callout {
  border: 1px solid rgba(104, 165, 255, .22);
  background: rgba(104, 165, 255, .07);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 24px 0;
}
.callout p { margin: 0; color: var(--copy); font-size: 15px; }
.callout p + p { margin-top: 10px; }
.draft {
  border: 1px solid rgba(224, 163, 46, .3);
  background: rgba(224, 163, 46, .09);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.draft p { margin: 0; color: #f2d79b; font-size: 14px; }
