:root {
  --bg: #030608;
  --bg-2: #090f13;
  --panel: rgba(246, 255, 249, .055);
  --panel-strong: rgba(246, 255, 249, .088);
  --line: rgba(226, 255, 244, .14);
  --line-strong: rgba(226, 255, 244, .28);
  --text: #f7fff9;
  --muted: #a9bbb6;
  --soft: #d9e8e3;
  --green: #94f2c4;
  --blue: #74bdff;
  --amber: #ffd084;
  --radius: 18px;
  --small-radius: 10px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #020405 0%, #081014 56%, #030608 100%);
  font-family: var(--font);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
p { color: var(--muted); line-height: 1.78; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 70px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 0 max(22px, calc((100vw - 1120px) / 2));
  background: rgba(2, 4, 5, .78);
  border-bottom: 1px solid rgba(226, 255, 244, .10);
  backdrop-filter: blur(22px);
}

.brand img { width: 210px; }
.top-nav { display: flex; justify-content: center; gap: 30px; color: rgba(247, 255, 249, .72); font-size: 14px; font-weight: 780; }
.top-nav a { padding: 24px 0 22px; border-bottom: 2px solid transparent; }
.top-nav a:hover, .top-nav a.active { color: var(--text); border-color: var(--green); }
.nav-cta, .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 820;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.nav-cta:hover, .button:hover { transform: translateY(-1px); border-color: rgba(148, 242, 196, .58); }
.nav-cta, .button.primary { background: var(--green); color: #03100d; border-color: var(--green); }
.button.secondary { background: rgba(247, 255, 249, .055); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 255, 249, .045);
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--text); border-radius: 2px; }

.container { width: min(100% - 44px, 1120px); margin: 0 auto; }
.container.narrow { width: min(100% - 44px, 880px); }
.center { text-align: center; }

.hero-section {
  position: relative;
  min-height: calc(100svh - 70px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 255, 244, .10);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 6, 8, .36), rgba(3, 6, 8, .78) 68%, #030608 100%),
    radial-gradient(circle at 50% 20%, rgba(148, 242, 196, .16), transparent 32%),
    url("./assets/orbisagent-hero-cinematic.png") center top / cover no-repeat;
  opacity: .82;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(247, 255, 249, .052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 255, 249, .052) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 50% 34%, black, transparent 76%);
}
.hero {
  position: relative;
  z-index: 1;
  padding: 96px 0 46px;
  text-align: center;
}
.eyebrow, .section-label {
  color: var(--green);
  font-size: 13px;
  font-weight: 880;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 20px auto 0;
  max-width: 970px;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}
.lead {
  margin: 24px auto 0;
  max-width: 740px;
  color: rgba(247, 255, 249, .80);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.hero-actions .button { min-width: 142px; min-height: 46px; }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 72px auto 0;
  max-width: 1000px;
}
.hero-points a {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(226, 255, 244, .16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(3, 6, 8, .70), rgba(247, 255, 249, .045));
  backdrop-filter: blur(14px);
}
.hero-points span, .contrast-head span, .contrast-row p:first-child::before, .contrast-row p:last-child::before, .wiki-step span, .flow-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 880;
}
.hero-points strong { font-size: 20px; line-height: 1.25; }

.section { padding: clamp(78px, 9.5vw, 132px) 0; border-bottom: 1px solid rgba(226, 255, 244, .09); }
.section h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.12;
  font-weight: 890;
  letter-spacing: 0;
  text-wrap: balance;
}
.section-lead {
  margin-top: 22px;
  color: rgba(247, 255, 249, .76);
  font-size: 18px;
  line-height: 1.9;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.value-grid article, .contrast-card, .wiki-card, .flow-grid a, .final-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), rgba(247, 255, 249, .032));
  box-shadow: 0 20px 70px rgba(0, 0, 0, .22);
}
.value-grid article {
  min-height: 244px;
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 14px;
}
.value-grid span { color: var(--green); font-size: 13px; font-weight: 880; }
.value-grid h3 { font-size: 23px; line-height: 1.28; }
.value-grid p { font-size: 15.5px; }

.contrast-section { background: linear-gradient(180deg, rgba(247, 255, 249, .018), rgba(148, 242, 196, .035)); }
.contrast-card {
  margin-top: 42px;
  overflow: hidden;
}
.contrast-head, .contrast-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contrast-head { background: rgba(247, 255, 249, .06); }
.contrast-head span {
  padding: 18px 24px;
  color: var(--text);
  border-right: 1px solid var(--line);
}
.contrast-head span:last-child { border-right: 0; color: var(--green); }
.contrast-row { border-top: 1px solid var(--line); }
.contrast-row p {
  padding: 24px;
  min-height: 104px;
  border-right: 1px solid var(--line);
  color: rgba(247, 255, 249, .68);
}
.contrast-row p:last-child { border-right: 0; color: rgba(247, 255, 249, .86); }

.wiki-layout {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(360px, .72fr);
  gap: clamp(30px, 7vw, 84px);
  align-items: center;
}
.wiki-card {
  padding: 26px;
  display: grid;
  gap: 12px;
}
.wiki-step {
  display: grid;
  gap: 7px;
  padding: 17px 18px;
  border: 1px solid rgba(226, 255, 244, .12);
  border-radius: var(--small-radius);
  background: rgba(3, 6, 8, .26);
}
.wiki-step strong { font-size: 17px; line-height: 1.4; }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}
.flow-grid a {
  min-height: 220px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 12px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.flow-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 242, 196, .56);
  background: rgba(247, 255, 249, .07);
}
.flow-grid strong { font-size: 21px; line-height: 1.3; }
.flow-grid p { font-size: 15px; }

.cta-section { border-bottom: 0; }
.final-cta {
  width: min(100% - 44px, 980px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(148, 242, 196, .14), transparent 34%),
    linear-gradient(180deg, rgba(247, 255, 249, .08), rgba(247, 255, 249, .036));
}
.final-cta p:not(.section-label) { margin: 18px auto 0; max-width: 680px; color: rgba(247, 255, 249, .74); font-size: 17px; }

.site-footer {
  width: min(100% - 44px, 1120px);
  min-height: 122px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(226, 255, 244, .10);
  color: rgba(247, 255, 249, .58);
  font-size: 13px;
}
.site-footer div { display: flex; align-items: center; gap: 10px; }
.site-footer img { width: 34px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--green); }

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }
  .brand img { width: 204px; }
  .top-nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .top-nav {
    display: grid;
    grid-column: 1 / -1;
    gap: 0;
    padding: 10px 0 16px;
  }
  .site-header.open .top-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(226, 255, 244, .10);
  }
  .container, .container.narrow, .site-footer { width: min(100% - 32px, 720px); }
  .hero-section { min-height: auto; }
  .hero { padding: 78px 0 36px; }
  .hero h1 { font-size: clamp(36px, 10vw, 54px); }
  .hero-points, .value-grid, .contrast-head, .contrast-row, .wiki-layout, .flow-grid {
    grid-template-columns: 1fr;
  }
  .hero-points { margin-top: 46px; }
  .contrast-head { display: none; }
  .contrast-row p { min-height: auto; border-right: 0; }
  .contrast-row p:first-child { border-bottom: 1px solid rgba(226, 255, 244, .10); }
  .contrast-row p:first-child::before, .contrast-row p:last-child::before {
    display: block;
    margin-bottom: 8px;
  }
  .contrast-row p:first-child::before { content: "常见文本技能包"; color: rgba(247, 255, 249, .62); }
  .contrast-row p:last-child::before { content: "OrbisAgent"; }
  .wiki-layout { gap: 28px; }
  .site-footer {
    min-height: auto;
    display: grid;
    padding: 30px 0;
  }
}

@media (max-width: 540px) {
  .lead, .section-lead { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .value-grid article, .flow-grid a { min-height: auto; }
}
