:root {
  --bg: #08161d;
  --bg-soft: #0d212b;
  --panel: rgba(11, 31, 40, 0.84);
  --panel-strong: rgba(8, 24, 31, 0.94);
  --line: rgba(130, 190, 190, 0.18);
  --line-strong: rgba(230, 189, 98, 0.3);
  --text: #edf7f5;
  --muted: #9eb8ba;
  --brand: #1ea2a2;
  --brand-deep: #11757f;
  --brand-soft: rgba(30, 162, 162, 0.15);
  --accent: #e6bd62;
  --accent-soft: rgba(230, 189, 98, 0.12);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(30, 162, 162, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(230, 189, 98, 0.14), transparent 24%),
    radial-gradient(circle at bottom center, rgba(19, 84, 96, 0.34), transparent 34%),
    linear-gradient(180deg, #061219 0%, #08161d 44%, #071117 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.02) 45%, transparent 100%),
    repeating-linear-gradient(180deg, transparent 0, transparent 21px, rgba(255, 255, 255, 0.015) 22px);
  opacity: 0.7;
}

a {
  color: inherit;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 88px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.brand h1 {
  margin: 0;
  font-size: 22px;
}

.brand p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
}

.hero {
  padding: 34px;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at top right, rgba(230, 189, 98, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(6, 22, 29, 0.96), rgba(7, 21, 27, 0.92));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(30, 162, 162, 0.2);
  background: rgba(7, 29, 38, 0.88);
  color: #8be2dc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero h2 {
  margin: 18px 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  color: #041116;
  background: linear-gradient(135deg, #f4d37e 0%, #e6bd62 100%);
  box-shadow: 0 20px 40px rgba(230, 189, 98, 0.18);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(30, 162, 162, 0.26);
  background: rgba(11, 30, 38, 0.88);
}

.section {
  padding: 28px;
  margin-top: 22px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: #8be2dc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section h3 {
  margin: 16px 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.section > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.88;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.card-wide {
  margin-top: 20px;
}

.hero-visual {
  margin-top: 26px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hero-visual img,
.doc-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.card h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
}

.card ul,
.steps {
  margin: 0;
  padding-left: 18px;
}

.tip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tip-list span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(230, 189, 98, 0.18);
  background: rgba(230, 189, 98, 0.08);
  color: #f0d48c;
  font-size: 13px;
}

.code-block {
  margin-top: 12px;
  overflow-x: auto;
  border: 1px solid rgba(30, 162, 162, 0.18);
  border-radius: 18px;
  background: rgba(4, 17, 22, 0.86);
}

.code-block pre {
  margin: 0;
  padding: 18px;
}

.code-block code {
  font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
  color: #dffcf7;
}

.callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(230, 189, 98, 0.18);
  background: rgba(230, 189, 98, 0.08);
  color: #d7ebe7;
  line-height: 1.85;
}

.micro-copy {
  margin: 12px 0 0;
  color: #b9d0d1;
  font-size: 13px;
  line-height: 1.8;
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.doc-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #edf7f5;
  border: 1px solid rgba(30, 162, 162, 0.18);
  background: rgba(8, 28, 36, 0.88);
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.check-list div {
  padding: 14px 16px;
  border-radius: 16px;
  color: #dceceb;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.doc-shot {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.doc-shot + .micro-copy {
  margin-top: 14px;
}

.doc-grid-hero {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.mini-panel {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.mini-panel h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.mini-panel p,
.mini-panel li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
}

.mini-panel ul {
  margin: 0;
  padding-left: 18px;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(230, 189, 98, 0.16);
  background: rgba(230, 189, 98, 0.08);
}

.tutorial-steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.tutorial-step {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
}

.tutorial-step strong {
  display: inline-block;
  margin-bottom: 8px;
  color: #edf7f5;
  font-size: 15px;
}

.tutorial-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .doc-grid-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 20px 16px 72px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .section {
    padding: 24px;
  }

  .hero h2 {
    font-size: 36px;
  }
}
