:root {
  --bg: #edf4fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #163048;
  --muted: #59758e;
  --accent: #0c8ac5;
  --accent-deep: #0f5f89;
  --line: rgba(18, 52, 78, 0.1);
  --shadow: 0 24px 60px rgba(29, 70, 102, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 35%),
    linear-gradient(180deg, #c7def0 0%, #eef5fb 38%, #e6eef6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(0deg, rgba(22, 48, 72, 0.03), rgba(22, 48, 72, 0.03));
}

.app-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 20px 44px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(17, 65, 102, 0.92), rgba(10, 136, 194, 0.78)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: #f7fbff;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 320px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(10px);
}

.hero-topline {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0.78;
}

.hero h1 {
  margin: 12px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.95;
}

.hero p {
  max-width: 740px;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(247, 251, 255, 0.92);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tag {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.sidebar,
.content {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.sidebar {
  padding: 20px;
  position: sticky;
  top: 18px;
  height: fit-content;
}

.sidebar h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.search {
  width: 100%;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
}

.nav-list {
  display: grid;
  gap: 10px;
}

.nav-button {
  text-align: left;
  padding: 14px 15px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: 180ms ease;
}

.nav-button:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
  transform: translateY(-1px);
}

.nav-button.active {
  background: linear-gradient(135deg, rgba(12, 138, 197, 0.16), rgba(15, 95, 137, 0.08));
  border-color: rgba(12, 138, 197, 0.24);
}

.nav-title {
  display: block;
  font-weight: 700;
}

.nav-desc {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
  color: var(--muted);
}

.content {
  padding: 26px;
}

.content-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.content h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.content-intro {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 760px;
}

.content-grid {
  display: grid;
  gap: 18px;
}

.section-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.section-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.section-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 9px;
}

.bullet-list li {
  line-height: 1.55;
}

.command-grid {
  display: grid;
  gap: 12px;
}

.command-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(246, 250, 254, 0.95);
}

.command-card code {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 10px;
  background: rgba(12, 138, 197, 0.1);
  color: var(--accent-deep);
  font-size: 0.96rem;
  font-weight: 700;
}

.command-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(12, 138, 197, 0.08);
  color: var(--accent-deep);
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}
