/* faikkobakoglu.com — "Gece mavisi" tema */
:root {
  --bg: #0B1220;
  --band: #0E1729;
  --surface: #111A2E;
  --line: #1E2A44;
  --line-strong: #334766;
  --text: #E6EDF7;
  --soft: #A8B5C8;
  --muted: #94A3B8;
  --accent: #38BDF8;
  --live: #86EFAC;
  --live-line: #1F5135;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: 'Space Grotesk', Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #7DD3FC; }
a:hover { color: #BAE6FD; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.error { color: #FCA5A5; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.brand { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-family: var(--mono); font-size: 14px; }
.nav-links a { padding: 12px 12px; color: #CBD5E1; text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.lang { display: inline-flex; align-items: center; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); }
.lang a { padding: 12px 6px; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--accent); }

/* hero */
.hero { padding-block: 104px 88px; display: flex; flex-direction: column; gap: 28px; }
.hero-sm { padding-block: 64px 48px; gap: 20px; }
.hero h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.04; font-weight: 700; max-width: 920px; }
.hero-sm h1 { font-size: clamp(36px, 5vw, 60px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.lead { font-size: 19px; line-height: 1.65; color: var(--soft); max-width: 660px; }
.prose-text { font-size: 17px; color: var(--soft); max-width: 720px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.btn { display: inline-block; padding: 14px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--accent); color: var(--bg); font-weight: 700; }
.btn-primary:hover { background: #7DD3FC; color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* sections */
.section { padding-block: 24px 88px; display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
h2 { font-size: 36px; font-weight: 700; }
.band { background: var(--band); border-block: 1px solid var(--line); margin-bottom: 88px; }
.band .split { padding-block: 80px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.split > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.7; color: var(--soft); }

/* project rows */
.project-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px;
  text-decoration: none; color: var(--text); transition: border-color .15s;
}
.project-row:hover { border-color: var(--accent); color: var(--text); }
.project-row p { color: var(--soft); }
.project-head { display: flex; align-items: center; gap: 20px; }
.project-head h3 { font-size: 26px; }
.project-head > div { display: flex; flex-direction: column; gap: 6px; }
.project-tail { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.arrow { font-size: 22px; }

.badge { font-family: var(--mono); font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 6px; border: 1px solid; }
.badge-live { color: var(--live); border-color: var(--live-line); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 18px; }
.card p { color: var(--soft); }

/* docs (privacy / support) */
.doc { max-width: 760px; padding-block: 56px 88px; display: flex; flex-direction: column; gap: 14px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 22px; margin-top: 18px; }
.doc p { color: var(--soft); }
.doc .card { margin: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.footer { padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 560px) {
  .lang { margin-left: 0; padding-left: 0; border-left: 0; }
  .nav-links a { padding-inline: 8px; }
}
