/* Beast Agent site — uygulama ile aynı monokrom tema */

:root {
  --bg: #f7f7f8;
  --panel: #f0f0f2;
  --panel2: #e8e8ea;
  --border: #d8d8dc;
  --text: #131315;
  --muted: #707078;
  --accent: #131315;
  --accent-dim: rgba(19, 19, 21, 0.07);
}
body.dark {
  --bg: #0d0d0f;
  --panel: #161618;
  --panel2: #1e1e21;
  --border: #2c2c30;
  --text: #e8e8ea;
  --muted: #8a8a92;
  --accent: #e8e8ea;
  --accent-dim: rgba(232, 232, 234, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id], main[id] { scroll-margin-top: 72px; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 20px; }
.section.alt { background: var(--panel); }
h2 { font-size: 28px; letter-spacing: 0.5px; margin-bottom: 6px; }
h3 { font-size: 15.5px; margin-bottom: 4px; }
.sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
code, pre { font-family: Consolas, "Cascadia Mono", monospace; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 58px; }
.brand { text-decoration: none; font-weight: 800; letter-spacing: 2px; font-size: 17px; }
.b1 { color: var(--accent); }
.b2 { color: var(--muted); font-weight: 600; font-size: 13px; margin-left: 4px; letter-spacing: 3px; }
.links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.links a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 8px; margin-left: 10px; }
.chip-btn {
  background: var(--accent-dim); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; cursor: pointer;
}
.chip-btn:hover { color: var(--accent); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; padding: 6px 9px; }
#themeBtn .icon-sun { display: none; }
body.dark #themeBtn .icon-sun { display: block; }
body.dark #themeBtn .icon-moon { display: none; }

/* hero */
.hero { padding: 84px 20px 60px; text-align: center; }
.kicker { color: var(--muted); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(44px, 9vw, 84px); letter-spacing: 4px; line-height: 1.05; }
.hero h1 .b2 { display: block; font-size: 0.32em; letter-spacing: 10px; color: var(--muted); font-weight: 600; }
.lead { max-width: 720px; margin: 18px auto 26px; color: var(--muted); font-size: 17px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; padding: 11px 22px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.btn.solid { background: var(--accent); color: var(--bg); }
.btn.ghost { border: 1px solid var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); }

/* features */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 18px 16px; transition: transform 0.15s, border-color 0.15s;
}
.section.alt .card { background: var(--bg); }
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card p { color: var(--muted); font-size: 13.5px; }

/* how / steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 26px; }
.step { display: flex; gap: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.step .n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--bg); font-weight: 800;
}
.step p { color: var(--muted); font-size: 13.5px; }
.codeblock {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; overflow-x: auto;
}
.codeblock pre { font-size: 12.5px; line-height: 1.55; white-space: pre; }

/* commands */
.cmd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 10px; }
.cmd {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; background: var(--bg);
}
.cmd code { color: var(--accent); font-weight: 700; font-size: 13px; flex: none; min-width: 130px; }
.cmd span { color: var(--muted); font-size: 13px; }

/* setup */
.dl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-bottom: 18px; }
.dl { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.dl p { color: var(--muted); font-size: 13.5px; margin: 6px 0 12px; }
.tag { font-size: 11.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.setup-note, #setup .sub { margin-top: 8px; }

/* faq */
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--bg); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 14.5px; }
.faq p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

/* contact */
.contact { text-align: center; }
.mail {
  display: inline-block; margin: 14px 0;
  font-family: Consolas, monospace; font-size: 18px; font-weight: 700;
  border: 1px solid var(--border); background: var(--bg);
  padding: 12px 22px; border-radius: 12px;
}
.mail a, .mail a:visited, .mail a:link { color: inherit; text-decoration: none; }
.mail.gh { margin-top: 0; font-size: 15px; }
.mail a { display: inline-flex; align-items: center; gap: 9px; }
.mail svg { display: block; flex: none; }
a.chip-btn { text-decoration: none; }

/* footer */
.foot { border-top: 1px solid var(--border); background: var(--panel); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px; color: var(--muted); font-size: 12.5px; }

@media (max-width: 760px) {
  .links { display: none; }
  .nav-inner { justify-content: center; }
  .nav-actions { margin-left: 0; }
  .hero { padding-top: 60px; }
}
