:root {
  --indigo: #322C84;
  --deep: #1b1650;
  --gold: #FBBF3C;
  --cream: #FDF6E4;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--indigo); }
img { max-width: 100%; display: block; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(27, 22, 80, 0.92); backdrop-filter: blur(10px);
  color: #fff;
}
.nav-inner { max-width: 1040px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand span { color: var(--gold); }
.nav-links { margin-left: auto; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #e0e7ff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(255,255,255,0.12); color: #fff; }
.lang-btn {
  border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff;
  font: inherit; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; cursor: pointer;
}

/* Hero */
.hero {
  color: #fff; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, #4338ca 0%, var(--indigo) 45%, var(--deep) 100%);
  padding: 56px 16px 72px;
}
.hero img.logo { width: 112px; height: 112px; border-radius: 30px; margin: 0 auto 22px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.5); }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.08; margin: 0 0 14px; font-weight: 800; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: #c7d2fe; font-size: 18px; max-width: 620px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800;
  padding: 14px 22px; border-radius: 16px; font-size: 15px;
}
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.shots { display: flex; gap: 16px; justify-content: center; margin-top: 44px; overflow-x: auto; padding: 0 4px 8px; }
.shots img { width: 200px; border-radius: 26px; border: 6px solid #0b0a1f; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); flex-shrink: 0; }

/* Content */
.wrap { max-width: 860px; margin: 0 auto; padding: 40px 16px 64px; }
.features { max-width: 1040px; margin: 0 auto; padding: 56px 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; font-size: 22px; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.doc h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.15; margin: 0 0 6px; letter-spacing: -0.01em; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 20px; margin: 34px 0 10px; padding-top: 6px; }
.doc h3 { font-size: 16px; margin: 20px 0 6px; }
.doc p, .doc li { color: #1e293b; font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; background: #fff; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.doc th { background: #f1f5f9; }
.note { background: var(--cream); border: 1px solid #f5e6bf; border-radius: 16px; padding: 16px 18px; margin: 18px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 54px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; font-size: 15px; }
.toc ol { margin: 6px 0; padding-left: 20px; }

footer { background: var(--deep); color: #c7d2fe; font-size: 14px; }
.foot { max-width: 1040px; margin: 0 auto; padding: 28px 16px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.foot a { color: #e0e7ff; text-decoration: none; font-weight: 600; }
.foot .copy { margin-left: auto; color: #8b8fc7; }

/* Dil: sadece seçili dilin içeriği görünür */
[data-lang-block] { display: none; }
html[lang="tr"] [data-lang-block="tr"], html[lang="en"] [data-lang-block="en"] { display: revert; }
html[lang="tr"] span[data-lang-block="tr"], html[lang="en"] span[data-lang-block="en"] { display: inline; }

@media (max-width: 560px) {
  .nav-links a.hide-sm { display: none; }
  .shots img { width: 160px; border-radius: 22px; }
  .foot .copy { margin-left: 0; }
}

/* Dil bloklarında esnek/ızgara yerleşimi koru */
html[lang="tr"] .shots[data-lang-block="tr"], html[lang="en"] .shots[data-lang-block="en"] { display: flex; }
html[lang="tr"] .features[data-lang-block="tr"], html[lang="en"] .features[data-lang-block="en"] { display: grid; }
