:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #14161c;
  --muted: #5c6270;
  --border: #e3e6ee;
  --accent: #2540d8;
  --accent-soft: #eaeeff;
  --warm: #ff8c1a;
  --radius: 18px;
  --maxw: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d14;
    --surface: #151823;
    --text: #f2f4f8;
    --muted: #a2a9ba;
    --border: #262b3a;
    --accent: #7d92ff;
    --accent-soft: #1b2140;
    --warm: #ffa645;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

/* Header */
.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 18px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}

.spacer { flex: 1; }

.langbtn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.langbtn:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 12px 0 8px; }

.hero img {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  box-shadow: 0 14px 40px rgba(20, 30, 90, 0.22);
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.tagline {
  font-size: clamp(17px, 3.4vw, 20px);
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 30em;
}

h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

h3 {
  font-size: 17px;
  margin: 26px 0 6px;
}

p { margin: 0 0 14px; }

a { color: var(--accent); }

/* Feature cards */
.features {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 30px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card .emoji { font-size: 24px; display: block; margin-bottom: 8px; }
.card strong { display: block; margin-bottom: 4px; }
.card span.desc { color: var(--muted); font-size: 15px; }

/* Content blocks */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 22px 0;
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.meta { color: var(--muted); font-size: 15px; }

ul { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 7px; }

.contact {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  padding: 13px 22px;
  margin-top: 6px;
}

/* Footer */
footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

footer a { color: var(--muted); }
footer .spacer { flex: 1; }

/* Language visibility. Without the html class (JavaScript disabled) every
   block stays visible, so the page is always readable. */
.lang-tr [data-lang="en"],
.lang-en [data-lang="tr"] { display: none; }

/* The toggle only works with JavaScript, so hide it when there is none. */
html:not(.lang-tr):not(.lang-en) .langbtn { display: none; }
