/* DarkAbsolut — landing page (GitHub Pages) */
:root {
  --bg: #0b0d12;
  --bg-2: #15171c;
  --bg-3: #1d2026;
  --fg: #e8eaed;
  --fg-dim: #a0a8b4;
  --accent: #8ab4f8;
  --accent-2: #5b8def;
  --neon: #7df0ff;
  --border: #262b34;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(91, 141, 239, 0.18), transparent 60%),
    radial-gradient(900px 520px at 100% 8%, rgba(125, 240, 255, 0.08), transparent 55%),
    var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--neon); }
code {
  font-family: "SFMono-Regular", ui-monospace, "Liberation Mono", monospace;
  font-size: 0.86em;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  color: #cfe0ff;
}

.grad {
  background: linear-gradient(92deg, var(--accent) 0%, var(--neon) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 19px; color: var(--fg); letter-spacing: -0.3px;
}
.brand b { color: var(--accent); font-weight: 700; }
.brand img { filter: drop-shadow(0 0 10px rgba(138, 180, 248, 0.55)); }

/* ───────────── Nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  width: 100%;
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--fg-dim); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--fg); }
.nav-gh {
  color: var(--fg) !important;
  border: 1px solid var(--border); border-radius: 8px; padding: 7px 13px;
}
.nav-gh:hover { border-color: var(--accent); }

/* ───────────── Hero ───────────── */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 70px 24px 40px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: #cfe0ff;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(91, 141, 239, 0.10);
  border: 1px solid rgba(138, 180, 248, 0.35);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 9px var(--neon); }

.hero h1 {
  margin: 20px 0 0; font-size: clamp(38px, 6vw, 62px); line-height: 1.05;
  font-weight: 800; letter-spacing: -2px;
}
.lead { margin-top: 20px; font-size: 18px; color: var(--fg-dim); max-width: 520px; }

.cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-col { flex-direction: column; align-items: stretch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 11px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #08111f;
  background: linear-gradient(92deg, var(--accent) 0%, var(--neon) 100%);
  box-shadow: 0 8px 28px rgba(91, 141, 239, 0.35);
}
.btn-primary:hover { color: #08111f; box-shadow: 0 10px 34px rgba(125, 240, 255, 0.45); }
.btn-ghost {
  color: var(--fg); background: var(--bg-2); border-color: var(--border);
}
.btn-ghost:hover { color: var(--fg); border-color: var(--accent); }
.cta-note { margin-top: 16px; font-size: 13px; color: var(--fg-dim); }

/* Hero art */
.hero-art { position: relative; display: flex; justify-content: center; }
.glow {
  position: absolute; inset: -10% -5% auto auto; width: 90%; height: 90%;
  background: radial-gradient(circle at 60% 40%, rgba(91, 141, 239, 0.35), transparent 65%);
  filter: blur(10px); z-index: 0;
}
.shot {
  position: relative; z-index: 1;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(138, 180, 248, 0.12), 0 0 50px rgba(91, 141, 239, 0.18);
}
.shot img { display: block; width: 100%; height: auto; }
.shot-float { max-width: 330px; transform: rotate(-2deg); }
.shot-float:hover { transform: rotate(0); transition: transform .3s ease; }

/* ───────────── Sections ───────────── */
.section { max-width: var(--max); margin: 0 auto; padding: 64px 24px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -1px; }
.section-head p { margin-top: 12px; color: var(--fg-dim); font-size: 17px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--bg-2), rgba(21, 23, 28, 0.6));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: border-color .2s ease, transform .12s ease;
}
.card:hover { border-color: rgba(138, 180, 248, 0.4); transform: translateY(-2px); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
  background: rgba(91, 141, 239, 0.12); border: 1px solid rgba(138, 180, 248, 0.25);
}
.card h3 { font-size: 17px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--fg-dim); font-size: 14.5px; }

/* Screenshots */
.screens { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.screens figure { display: flex; flex-direction: column; gap: 12px; }
.screens figcaption { color: var(--fg-dim); font-size: 14px; text-align: center; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li {
  position: relative; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px 22px;
}
.step-n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  font-weight: 800; font-size: 17px; color: #08111f; margin-bottom: 14px;
  background: linear-gradient(92deg, var(--accent), var(--neon));
  box-shadow: 0 0 18px rgba(91, 141, 239, 0.4);
}
.steps h3 { font-size: 16px; font-weight: 700; }
.steps p { margin-top: 7px; color: var(--fg-dim); font-size: 14.5px; }

/* Install */
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.install-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.muted { color: var(--fg-dim); font-size: 13.5px; margin-bottom: 14px; }
.mini-steps { margin: 0; padding-left: 18px; color: var(--fg-dim); font-size: 14.5px; }
.mini-steps li { margin: 8px 0; }
.mini-steps li::marker { color: var(--accent); font-weight: 700; }

/* ───────────── Footer ───────────── */
.footer {
  max-width: var(--max); margin: 40px auto 0; padding: 48px 24px 56px;
  border-top: 1px solid var(--border); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.footer-tag { color: var(--fg-dim); font-style: italic; font-size: 15px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--fg-dim); font-size: 14px; }
.footer-links a:hover { color: var(--neon); }
.copyright { color: #6b7280; font-size: 13px; }

/* ───────────── Responsive ───────────── */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .hero-art { order: -1; }
  .shot-float { max-width: 280px; transform: none; }
  .grid, .steps, .install-grid { grid-template-columns: 1fr 1fr; }
  .screens { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-gh) { display: none; }
}
@media (max-width: 560px) {
  .grid, .steps, .install-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: stretch; }
  .section { padding: 48px 20px; }
}
