/* Einbürgerungstest — tanıtım sitesi. Harici font yok (Google Fonts, Almanya'da DSGVO riski taşır). */

:root {
  --brand: #1b5dd1;
  --brand-2: #2873f2;
  --brand-deep: #0d338c;
  --gold: #ffc71a;
  --red: #dd1a21;
  --green: #29a861;
  --bg: #f4f5fa;
  --surface: #ffffff;
  --text: #0f1424;
  --muted: #5d6475;
  --line: rgba(15, 20, 36, 0.08);
  --shadow: 0 12px 40px rgba(13, 51, 140, 0.10);
  --radius: 22px;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c14;
    --surface: #151a28;
    --text: #eef1f8;
    --muted: #9aa3b8;
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Üst menü */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  font-size: 17px;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }

.lang {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  color: #fff;
}

/* Hero */

.hero { padding: 72px 0 40px; overflow: hidden; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.flag {
  display: inline-flex;
  width: 26px;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
}
.flag i { flex: 1; }
.flag i:nth-child(1) { background: #000; }
.flag i:nth-child(2) { background: var(--red); }
.flag i:nth-child(3) { background: var(--gold); }

h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
}

.lead { font-size: 20px; color: var(--muted); margin: 0 0 30px; max-width: 34ch; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  font-weight: 600;
  line-height: 1.1;
}
.store:hover { text-decoration: none; opacity: 0.9; }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; }
.store span { font-size: 19px; }

@media (prefers-color-scheme: dark) {
  .store { background: #fff; color: #000; }
  .store svg { fill: #000; }
}

.note { font-size: 14px; color: var(--muted); }

/* Telefon görselleri */

.phones { position: relative; height: 620px; }

.phone {
  position: absolute;
  width: 270px;
  border-radius: 46px;
  padding: 10px;
  background: #0b0d14;
  box-shadow: 0 30px 80px rgba(13, 51, 140, 0.35), inset 0 0 0 2px #2a2f3d;
}
.phone img { border-radius: 37px; }
.phone.front { left: 50%; top: 0; transform: translateX(-30%) rotate(3deg); z-index: 2; }
.phone.back { left: 50%; top: 60px; transform: translateX(-95%) rotate(-6deg); opacity: 0.95; }

.glow {
  position: absolute;
  inset: 10% 0 0 10%;
  background: radial-gradient(closest-side, rgba(40, 115, 242, 0.35), transparent);
  filter: blur(20px);
  z-index: -1;
}

/* Bölümler */

section { padding: 72px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 10px 0 12px;
}
.section-head p { color: var(--muted); margin: 0; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 18px; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.badge svg { width: 24px; height: 24px; }
.b-blue { background: rgba(40, 115, 242, 0.14); color: #2873f2; }
.b-green { background: rgba(41, 168, 122, 0.14); color: #29a87a; }
.b-orange { background: rgba(242, 148, 26, 0.16); color: #f2941a; }
.b-purple { background: rgba(140, 92, 242, 0.15); color: #8c5cf2; }
.badge svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Sınav formatı şeridi */

.exam {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  color: #fff;
  border-radius: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(13, 51, 140, 0.35);
  position: relative;
  overflow: hidden;
}
.exam::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -90px;
  top: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.exam h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; }
.exam p { margin: 0; opacity: 0.8; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; z-index: 1; }
.stat {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}
.stat b { display: block; font-size: 44px; line-height: 1; letter-spacing: -0.03em; }
.stat span { font-size: 14px; opacity: 0.85; }

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

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; justify-items: center; }
.shot { text-align: center; }
.shot .phone { position: static; width: 100%; max-width: 280px; transform: none; }
.shot p { margin: 16px 0 0; font-weight: 600; }

/* Diller */

.langs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* SSS */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
}
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand-2); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Alt bilgi */

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 14px;
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer nav a { color: var(--muted); font-weight: 600; }
.disclaimer { max-width: 560px; margin: 0; }

/* Hukuki sayfalar */

.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 44px); margin: 8px 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal .box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 20px 0;
}
.legal .todo {
  background: rgba(255, 199, 26, 0.25);
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 600;
}

[data-lang-block] { display: none; }
[data-lang-block].active { display: block; }

/* Mobil */

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .phones { height: 520px; }
  .phone { width: 230px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .exam { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .stats { gap: 8px; }
  .stat { padding: 14px 8px; }
  .stat b { font-size: 34px; }
  .phones { height: 440px; }
  .phone.back { display: none; }
  .phone.front { transform: translateX(-50%) rotate(2deg); }
  .phone { width: 196px; border-radius: 36px; padding: 8px; }
  .phone img { border-radius: 29px; }
  .brand span { display: none; }
  section { padding: 56px 0; }
}
