@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --font-display: "Sora", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ink: #101820;
  --muted: #5e6873;
  --soft: #eef5f3;
  --line: rgba(16, 24, 32, 0.1);
  --green: #14c784;
  --green-dark: #087757;
  --cyan: #25b7d3;
  --yellow: #f4c95d;
  --paper: #fbfbf6;
  --black: #0d1114;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(12, 32, 38, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(20, 199, 132, 0.22), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(37, 183, 211, 0.18), transparent 26%),
    linear-gradient(135deg, #fbfbf6 0%, #eef5f3 48%, #e8f0ed 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 94vh;
  padding: 24px 0 76px;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
}

.logo {
  width: 34px;
  height: 34px;
}

.brand-text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a,
.footer-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--green-dark);
}

.nav-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
}

.nav-action {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  padding-top: 76px;
}

.hero-copy {
  width: 100%;
  max-width: none;
  text-align: center;
}

.eyebrow {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(44px, 5.8vw, 78px);
  font-weight: 800;
}

.title-line {
  display: block;
}

.title-line-main span {
  display: inline;
}

.title-line-main span + span::before {
  content: " ";
}

.hero-statement {
  max-width: 980px;
  margin: 24px auto 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 820px;
  margin: 20px auto 0;
  color: #3d4852;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  padding: 0 22px;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 14px 36px rgba(8, 119, 87, 0.24);
}

.btn.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.btn.compact {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 48px auto 0;
  width: 100%;
  max-width: 960px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.hero-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.28;
}

.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.advantage-card,
.scenario-card,
.market-card,
.cta-card {
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.qr-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 17, 20, 0.56);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.qr-modal-panel {
  position: relative;
  width: min(380px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.qr-modal-panel h2 {
  font-size: 28px;
}

.qr-modal-panel p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
}

.qr-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 28px;
}

.qr-modal-code {
  width: 210px;
  height: 210px;
  margin: 22px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 0;
}

.section-head h2,
.trust h2,
.cta-card h2 {
  font-size: clamp(31px, 4vw, 48px);
}

.section-head p:not(.eyebrow),
.trust p,
.cta-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.market-section {
  background: rgba(255, 255, 255, 0.46);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.market-card {
  min-height: 250px;
  padding: 24px;
}

.market-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-weight: 800;
}

.market-card h3 {
  font-size: 22px;
}

.market-card p {
  margin-top: 14px;
  color: var(--muted);
}

.architecture-section {
  padding-top: 78px;
}

.architecture-statement {
  max-width: 920px;
  margin: 4px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.24;
}

.architecture-visual {
  margin-top: 32px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.architecture-diagram {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.architecture-row {
  display: grid;
  grid-template-columns: 170px 220px minmax(0, 1fr);
  min-height: 148px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.arch-icon,
.arch-band,
.arch-content {
  display: flex;
  align-items: center;
}

.arch-icon {
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.64);
}

.arch-icon svg {
  width: 78px;
  height: 78px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arch-icon circle {
  fill: currentColor;
}

.arch-band {
  justify-content: center;
  padding: 24px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.arch-content {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 36px;
}

.arch-content::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 2px;
  background: currentColor;
  opacity: 0.24;
}

.arch-content h3 {
  font-size: clamp(24px, 3vw, 38px);
}

.arch-content p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

.architecture-row.interaction {
  color: var(--green-dark);
}

.architecture-row.interaction .arch-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.architecture-row.os {
  color: #0872b8;
}

.architecture-row.os .arch-band {
  background: linear-gradient(135deg, #0872b8, var(--cyan));
}

.architecture-row.ontology {
  color: #b87900;
}

.architecture-row.ontology .arch-band {
  background: linear-gradient(135deg, #b87900, var(--yellow));
}

.architecture-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.architecture-layer {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.architecture-layer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.architecture-layer.interaction::before {
  background: var(--cyan);
}

.architecture-layer.os::before {
  background: var(--green);
}

.architecture-layer.ontology::before {
  background: var(--yellow);
}

.architecture-layer span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.architecture-layer h3 {
  margin-top: 18px;
  font-size: 24px;
}

.architecture-layer p {
  margin-top: 14px;
  color: var(--muted);
}

.advantage-card,
.scenario-card {
  padding: 24px;
}

.card-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-weight: 800;
}

.advantage-card h3,
.scenario-card h3 {
  font-size: 22px;
}

.advantage-card p,
.scenario-card p,
.scenario-card li {
  margin-top: 14px;
  color: var(--muted);
}

.dark {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 199, 132, 0.16), transparent 38%),
    linear-gradient(145deg, #0d1114 0%, #14201d 100%);
}

.dark .eyebrow {
  color: #8df3c8;
}

.dark .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.system-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1fr);
  gap: 52px;
  align-items: start;
}

.system-stack {
  display: grid;
  gap: 12px;
}

.stack-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.stack-item span {
  font-family: var(--font-display);
  color: var(--yellow);
  font-weight: 800;
}

.stack-item h3 {
  font-size: 20px;
}

.stack-item p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scenario-card ul {
  margin-top: 18px;
  padding-left: 18px;
}

.scenario-card li + li {
  margin-top: 8px;
}

.trust {
  background: rgba(255, 255, 255, 0.5);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  padding: 20px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.trust-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
}

.trust-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.cta-section {
  padding: 88px 0 100px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(20, 199, 132, 0.18), rgba(37, 183, 211, 0.12)),
    rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-actions img {
  width: 108px;
  height: 108px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--black);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  color: #ffffff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.footer p {
  font-size: 14px;
}

.footer-legal {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.footer-legal p {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-legal a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .hero-grid,
  .system-grid,
  .trust-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .advantage-grid,
  .architecture-map,
  .market-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-row {
    grid-template-columns: 128px 180px minmax(0, 1fr);
  }

  .arch-band {
    font-size: 24px;
  }

  .arch-content {
    padding: 24px 28px;
  }

  .hero-grid {
    padding-top: 48px;
  }

  .section {
    padding: 72px 0;
  }
}

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

  .nav-action {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(32px, 5vw, 36px);
  }

  .title-line,
  .title-line-main span {
    display: block;
  }

  .title-line-main span + span::before {
    content: "";
  }

  .lead {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), 1160px);
  }

  .nav {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 54px;
  }

  .hero-grid {
    padding-top: 38px;
  }

  .lead {
    max-width: 100%;
    font-size: 17px;
  }

  .hero-statement {
    font-size: 30px;
  }

  .architecture-visual {
    margin-top: 24px;
  }

  .architecture-diagram {
    gap: 12px;
    padding: 14px;
  }

  .architecture-row {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 0;
  }

  .arch-icon {
    padding: 18px;
  }

  .arch-icon svg {
    width: 52px;
    height: 52px;
  }

  .arch-band {
    justify-content: flex-start;
    padding: 18px;
    font-size: 22px;
  }

  .arch-content {
    grid-column: 1 / -1;
    padding: 18px;
  }

  .arch-content::before {
    display: none;
  }

  .arch-content h3 {
    font-size: 22px;
  }

  .arch-content p {
    font-size: 15px;
  }

  .architecture-statement {
    font-size: 26px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-metrics,
  .advantage-grid,
  .architecture-map,
  .market-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    gap: 10px;
    margin-top: 32px;
  }

  .hero-metrics div {
    padding: 14px 16px;
  }

  .hero-metrics strong {
    font-size: 20px;
  }

  .hero-metrics span {
    margin-top: 6px;
    line-height: 1.5;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-legal {
    justify-items: start;
  }

  .footer-legal p {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .nav-action {
    width: 100%;
  }

  .nav-action {
    display: none;
  }

  .architecture-layer,
  .advantage-card,
  .market-card,
  .scenario-card,
  .cta-card {
    padding: 18px;
  }
}
