:root {
  /* Silk & Syndicate paleti — uygulamayla birebir */
  --bg: #0b0b0e;            /* atmosphere base */
  --surface: #131316;       /* surface-container */
  --surface-2: #1c1c21;     /* raised */
  --text: #e5e2e1;          /* on-surface */
  --muted: #958ea0;         /* on-surface-muted */
  --accent: #d0bcff;        /* Voltage Purple */
  --accent-glow: #8b5cf6;
  --accent-2: #e63946;      /* Racing Crimson */
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --max: 960px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Atmosferik zemin — üst-sağ violet, alt-sol crimson wash (uygulamadaki gibi) */
  background:
    radial-gradient(900px 620px at 86% -8%, rgba(76, 29, 149, 0.30), transparent 62%),
    radial-gradient(900px 720px at -12% 108%, rgba(153, 27, 27, 0.22), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 12, 28, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -.5px; color: var(--text); }
.brand span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
nav a { color: var(--muted); margin-left: 22px; font-size: 15px; }
nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 104px 0 76px; text-align: center; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -1.5px; font-weight: 800; }
.hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { color: var(--muted); font-size: clamp(17px, 2.4vw, 21px); max-width: 620px; margin: 22px auto 36px; }
.cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, #a078ff 100%);
  color: #23005c; border: 0;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}
.btn:hover { text-decoration: none; box-shadow: 0 10px 38px rgba(139, 92, 246, 0.5); }
.btn.ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Features */
.features { padding: 56px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); }
.card p { color: var(--muted); font-size: 15px; }
.card .ico { font-size: 28px; margin-bottom: 12px; }

/* Section title */
.section-title { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 32px; }

/* Legal / content pages */
.doc { padding: 56px 0 96px; }
.doc h1 { font-size: 34px; letter-spacing: -.5px; margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.doc h3 { font-size: 18px; margin: 24px 0 8px; color: var(--accent); }
.doc p, .doc li { color: #cbc3d7; }
.doc ul { margin: 12px 0 12px 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.doc th { background: var(--surface-2); color: var(--text); }
.doc blockquote {
  border-left: 3px solid var(--accent); background: var(--surface);
  padding: 12px 18px; margin: 16px 0; border-radius: 0 8px 8px 0; color: var(--muted);
}
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
.doc code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; color: var(--accent); }

.draft-banner {
  background: rgba(230, 57, 70, 0.10); border: 1px solid rgba(230, 57, 70, 0.55); color: #ffb4ab;
  border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; font-size: 14px; font-weight: 600;
}

.doc-meta {
  color: var(--muted); font-size: 13px; margin: 0 0 24px 0;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.doc-meta a { color: var(--accent); text-decoration: none; }
.doc-meta a:hover { text-decoration: underline; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer.site nav a { margin-left: 0; margin-right: 20px; }
