/* docs/assets/theme.css */

/* Fonts (developer + sporty) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Rajdhani:wght@500;600;700&display=swap");

:root{
  /* Arsenal-ish palette */
  --bg0:#07070a;
  --bg1:#0b0b10;
  --card:#0f0f16;
  --card2:#10101a;
  --border:rgba(255,255,255,.10);
  --border2:rgba(255,255,255,.14);

  --text:#f2f2ff;
  --muted:rgba(242,242,255,.70);
  --muted2:rgba(242,242,255,.50);

  --red:#ff1f2d;
  --red2:#d40013;
  --red3:#a0000c;

  --shadow: 0 14px 40px rgba(0,0,0,.55);
  --shadow2: 0 8px 22px rgba(0,0,0,.35);

  --radius:18px;
  --radius2:14px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --display: Rajdhani, Inter, ui-sans-serif, system-ui;

  --grad: linear-gradient(135deg, rgba(255,31,45,.95) 0%, rgba(212,0,19,.95) 55%, rgba(160,0,12,.92) 100%);
  --glow: radial-gradient(circle at 20% 0%, rgba(255,31,45,.18) 0%, transparent 55%),
          radial-gradient(circle at 90% 30%, rgba(255,31,45,.10) 0%, transparent 55%),
          radial-gradient(circle at 60% 110%, rgba(255,31,45,.10) 0%, transparent 55%);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background: var(--glow), linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.95}

.wrap{max-width:1100px; margin:0 auto; padding:28px 18px 64px}

/* Top nav */
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(10,10,14,.65);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
  position: sticky;
  top: 16px;
  z-index: 20;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px}
.logo{
  width:36px; height:36px; border-radius:12px;
  background: var(--grad);
  display:grid; place-items:center;
  color:#06060a;
  font-family:var(--mono);
  font-weight:900;
  font-size:12px;
}
.navLinks{display:flex; gap:10px; flex-wrap:wrap}
.pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size:12px;
  font-weight:700;
}
.pill:hover{background: rgba(255,255,255,.05); color: var(--text); border-color: var(--border2)}

/* Buttons */
.btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding:10px 12px;
  border-radius: 12px;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  transition: .14s ease;
  display:inline-flex; align-items:center; gap:8px;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.05); border-color: var(--border2)}
.btn.primary{
  border:none;
  background: var(--grad);
  color:#06060a;
}
.btn.primary:hover{filter: brightness(1.03)}
.btn.ghost{background: transparent}

/* Cards */
.card{
  border:1px solid var(--border);
  background: rgba(15,15,22,.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.pad{padding:22px}
.section{margin-top:22px}
.section h2, .section h3{margin:0 0 10px}
.section p{margin:0; color: var(--muted); line-height:1.75}

/* Hero */
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  margin-top:18px;
}
@media(max-width: 940px){ .hero{grid-template-columns:1fr} }

.hTitle{
  margin:0 0 8px;
  font-family: var(--display);
  font-size: 44px;
  line-height: 1.00;
  letter-spacing: -0.7px;
  text-transform: none;
}
.hTitle .accent{
  background: var(--grad);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.sub{
  margin:0 0 14px;
  color: var(--muted);
  line-height:1.75;
  font-size: 15px;
}

.chips{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.chip{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size:12px;
  font-weight:700;
}
.dot{width:8px; height:8px; border-radius:99px; background: rgba(255,31,45,.95); display:inline-block; margin-right:8px}

/* Code blocks */
.codeRow{display:flex; gap:12px; flex-wrap:wrap; align-items:stretch; margin-top:12px}
.codebox{
  flex: 1 1 560px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  border-radius: 14px;
  padding:14px;
  overflow:auto;
}
pre{
  margin:0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(242,242,255,.92);
  white-space: pre;
}
.hint{
  margin-top:10px;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.65;
}
.hint code{
  font-family: var(--mono);
  color: rgba(255,31,45,.95);
  background: rgba(255,31,45,.10);
  border: 1px solid rgba(255,31,45,.22);
  padding: 2px 6px;
  border-radius: 8px;
}

/* Two big panes */
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin-top:16px}
@media(max-width: 820px){ .grid2{grid-template-columns:1fr} }
.pane{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding:16px;
  transition: .14s ease;
}
.pane:hover{
  border-color: rgba(255,31,45,.30);
  box-shadow: 0 10px 28px rgba(0,0,0,.40);
  transform: translateY(-2px);
}
.pane h3{
  margin:0 0 6px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -.2px;
}
.pane p{margin:0 0 12px; color: var(--muted); font-size: 13px; line-height:1.7}

/* FAQ */
details{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 14px;
}
details + details{margin-top:12px}
summary{
  cursor:pointer;
  font-weight:900;
  font-family: var(--display);
  letter-spacing: .1px;
}
details p{margin:10px 0 0; color: var(--muted); line-height:1.75}

/* Footer */
.footer{
  margin-top:26px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  color: var(--muted2);
  font-size: 12px;
}
.footer a{color: var(--muted)}
.footer a:hover{color: var(--text)}