/* ==========================================================================
   ENWL — enwl.com.tr
   Renkler uygulama ikonundan alındı: mavi zemin, sarı civciv, lacivert koyu tema.
   ========================================================================== */

:root {
  --blue: #1f5fe0;
  --blue-dark: #1746b0;
  --blue-soft: #e9f0ff;
  --yellow: #ffc52c;
  --yellow-dark: #e8a800;
  --navy: #111424;
  --navy-2: #1a1f38;
  --ink: #161a2e;
  --muted: #5a6078;
  --line: #e3e7f2;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --green: #10b981;
  --red: #ef4444;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 20, 36, .08);
  --max: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: .04em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand b { color: var(--yellow-dark); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--blue); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 20px; border-top: 1px solid var(--line); }
  .nav-links .btn { margin: 12px 20px 16px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-yellow { background: var(--yellow); color: var(--navy) !important; }
.btn-yellow:hover { background: var(--yellow-dark); }

/* Mağaza rozetleri */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 10px 20px 10px 16px; border-radius: 14px; min-width: 190px;
  border: 1px solid rgba(255, 255, 255, .18);
}
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; opacity: .8; }
.store strong { font-size: 18px; }
.store[aria-disabled="true"] { cursor: default; }
.store .soon {
  position: absolute; top: -9px; right: -8px;
  background: var(--yellow); color: var(--navy);
  font-size: 11px; font-weight: 800; font-style: normal; padding: 2px 8px; border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(255, 197, 44, .25), transparent 60%),
    linear-gradient(160deg, #2a6cf0 0%, #1746b0 55%, #111a4a 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: 72px 20px 88px;
}
.eyebrow {
  display: inline-block; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 850; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { font-size: 19px; color: #dce6ff; max-width: 34em; margin-bottom: 28px; }
.hero .note { font-size: 14px; color: #c3d2ff; margin-top: 14px; }

/* Telefon maketi */
.phone {
  position: relative; width: 300px; max-width: 100%; margin: 0 auto;
  background: var(--navy); border-radius: 44px; padding: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #000; border-radius: 20px; z-index: 2;
}
.screen {
  background: linear-gradient(180deg, #161b33, #0b0c10);
  border-radius: 32px; padding: 54px 18px 22px; min-height: 540px;
  display: flex; flex-direction: column; gap: 14px;
}
.screen-top { display: flex; justify-content: space-between; font-size: 12px; color: #b0b3c6; }
.progress { height: 6px; background: rgba(255, 255, 255, .1); border-radius: 6px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, #3b82f6, #8b5cf6); border-radius: 6px; transition: width .4s; }
.word-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px; padding: 26px 16px; text-align: center;
}
.word-card .w { font-size: 34px; font-weight: 800; color: #fff; }
.word-card .h { font-size: 13px; color: #b0b3c6; margin-top: 4px; }
.choices { display: grid; gap: 10px; }
.choice {
  width: 100%; text-align: left; font: inherit; font-size: 15px; font-weight: 600;
  background: rgba(255, 255, 255, .06); color: #fff;
  border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; padding: 13px 16px;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.choice:hover { background: rgba(255, 255, 255, .12); }
.choice.correct { background: rgba(16, 185, 129, .2); border-color: var(--green); }
.choice.wrong { background: rgba(239, 68, 68, .2); border-color: var(--red); }
.streak { display: flex; gap: 6px; justify-content: center; margin-top: auto; }
.streak span { width: 26px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .15); transition: background .3s; }
.streak span.on { background: var(--yellow); }
.streak-label { text-align: center; font-size: 12px; color: #b0b3c6; }

.duck {
  position: absolute; width: 110px; left: -56px; bottom: -34px; z-index: 3;
  border-radius: 28px; box-shadow: 0 16px 30px rgba(0, 0, 0, .3);
  transform: rotate(-8deg);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 20px 72px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
  .duck { width: 80px; left: -14px; bottom: -24px; }
}

/* ---------- Sayılar şeridi ---------- */
.stats { background: var(--navy); color: #fff; }
.stats ul {
  list-style: none; margin: 0; padding: 26px 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;
}
.stats strong { display: block; font-size: 28px; color: var(--yellow); line-height: 1.1; }
.stats span { font-size: 14px; color: #b0b3c6; }
@media (max-width: 700px) { .stats ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Bölümler ---------- */
section { scroll-margin-top: 70px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--blue); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 6px; }
.section-head p { color: var(--muted); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* Nasıl çalışır */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--yellow); color: var(--navy); font-weight: 900; font-size: 20px; margin-bottom: 16px;
}
.step h3 { font-size: 20px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Özellikler */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 14px;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue-dark);
  background: var(--blue-soft); padding: 2px 8px; border-radius: 6px; margin-left: 4px; vertical-align: middle;
}
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Modüller */
.module-group h3 { font-size: 22px; margin: 0 0 16px; }
.module-group + .module-group { margin-top: 44px; }
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.module {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.module .lvl { font-size: 26px; font-weight: 900; color: var(--blue); line-height: 1; }
.module .name { font-weight: 700; }
.module .desc { color: var(--muted); font-size: 14px; }
.module .badge {
  align-self: flex-start; margin-top: 10px; font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted);
}
.module.free { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 197, 44, .25); }
.module.free .badge { background: var(--yellow); color: var(--navy); }
.modules-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 32px; }

/* SSS */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--blue); font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Son çağrı */
.cta {
  background: linear-gradient(135deg, #2a6cf0, #1746b0);
  color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cta img { width: 96px; height: 96px; border-radius: 24px; margin-bottom: 8px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta p { color: #dce6ff; max-width: 32em; }
@media (max-width: 600px) { .cta { padding: 44px 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b0b3c6; padding: 48px 0 32px; font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .brand { color: #fff; }
.site-footer a { color: #dce6ff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.copy { border-top: 1px solid var(--navy-2); margin-top: 28px; padding-top: 20px; font-size: 13px; }

/* ---------- Metin sayfaları (gizlilik, 404) ---------- */
.doc { max-width: 800px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); }
.doc h2 { font-size: 22px; margin-top: 2em; }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-alt); }
.table-wrap { overflow-x: auto; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.notfound img { width: 140px; margin: 0 auto 20px; border-radius: 32px; }
.notfound h1 { font-size: 64px; color: var(--blue); margin-bottom: 0; }
