:root{
  --bg:#070912;
  --text:#EAF0FF;
  --muted:#AAB4D6;
  --card: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.10);

  --cyan:#22d3ee;
  --violet:#7c3aed;
  --rose:#fb7185;

  --radius: 22px;
  --shadow: 0 24px 80px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x:hidden;
}

/* Background: gradient + optional image */
body{
  /* keep your existing font, margin, color, etc... */

  background:
    radial-gradient(900px 600px at 20% 0%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(700px 500px at 90% 30%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(251,113,133,.10), transparent 60%),
    linear-gradient(180deg, rgba(5,8,18,.88), rgba(5,8,18,.94)),
    url("./rm3.png");

  background-size: auto, auto, auto, auto, cover;
  background-position: center, center, center, center, center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
}



/* frame */
.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* Nav */
.nav{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7,9,18,.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--text);
  font-weight: 800;
  letter-spacing:.2px;
}

.brand-mark{
  width:14px; height:14px;
  border-radius:4px;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--rose));
  box-shadow: 0 0 22px rgba(34,211,238,.22);
}

.nav-links{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.nav-links a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: .2s ease;
}

.nav-links a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}

/* Hero */
.hero{
  padding: 72px 0 24px;
}

.hero-inner{
  text-align:center;
}

.kicker{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}

.pill{
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.86);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

h1{
  margin: 0 auto 14px;
  max-width: 18ch;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.6px;
}

.gradient-text{
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.subhead{
  margin: 0 auto 20px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.cta{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap:wrap;
  margin-bottom: 26px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  font-weight: 800;
  letter-spacing:.15px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: .15s ease;
  user-select:none;
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  color:#061018;
  background: linear-gradient(135deg, rgba(34,211,238,.95), rgba(124,58,237,.85));
  box-shadow: 0 18px 48px rgba(34,211,238,.10), 0 18px 48px rgba(124,58,237,.12);
}
.btn-secondary{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

/* “status panel” / feature card */
.hero-card{
  margin: 0 auto;
  margin-top: 18px;
  width: min(920px, 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  overflow:hidden;
  text-align:left;
}

.hero-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.72);
}

.hero-card-body{
  padding: 16px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}

.log{
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}

.log p{
  margin:0;
  padding: 8px 6px;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
}

.log p:last-child{ border-bottom:none; }

.badges{
  display:grid;
  gap: 10px;
}

.badge{
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.badge .k{ color: var(--muted); font-size: 12px; font-weight: 700; }
.badge .v{ margin-top: 2px; font-weight: 900; }

.section{
  padding: 64px 0;
}

.section h2{
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing:-0.25px;
}

.section p.lead{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.cards{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 18px;
  transition: .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.22);
  background: rgba(255,255,255,.06);
}
.card h3{ margin:0 0 8px; }
.card p{ margin:0 0 10px; color: var(--muted); line-height:1.55; }
.card ul{ margin:0; padding-left: 18px; }

footer{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 28px 0;
  color: rgba(255,255,255,.62);
  background: rgba(0,0,0,.15);
}

/* responsive */
@media (max-width: 900px){
  .hero-card-body{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .nav-links{ display:none; } /* simple mobile: hide links */
}
