:root {
  --bg: #071513;
  --panel: #0d211d;
  --panel-2: #102b25;
  --ink: #0f231e;
  --text: #eef8f3;
  --muted: #8da39c;
  --muted-dark: #5d6f69;
  --line: rgba(145, 180, 166, 0.22);
  --green: #42c57f;
  --green-2: #17865c;
  --gold: #d7ae55;
  --paper: #f5f8f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--text);
  background: rgba(7, 21, 19, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img,
.site-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: rgba(238, 248, 243, 0.78);
  font-size: 15px;
  white-space: nowrap;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(66, 197, 127, 0.6);
  border-radius: 999px;
  color: var(--text);
  background: rgba(66, 197, 127, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: clamp(82px, 10vw, 138px) clamp(20px, 5vw, 72px) clamp(72px, 9vw, 118px);
  color: var(--text);
  background:
    radial-gradient(circle at 78% 26%, rgba(66, 197, 127, 0.26), transparent 32%),
    radial-gradient(circle at 18% 75%, rgba(215, 174, 85, 0.16), transparent 30%),
    linear-gradient(135deg, #06110f 0%, #0b201c 48%, #071513 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
  pointer-events: none;
}

.hero-copy,
.hero-panel,
section {
  position: relative;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.3vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  color: rgba(238, 248, 243, 0.74);
  font-size: clamp(18px, 2.1vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #062019;
  background: linear-gradient(135deg, #6ee69d, #d7ae55);
}

.button.secondary {
  color: var(--text);
  border: 1px solid rgba(238, 248, 243, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.button.light {
  color: #073024;
  border-color: transparent;
  background: #fff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 46px;
}

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

.metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.metrics span {
  color: rgba(238, 248, 243, 0.62);
  font-size: 14px;
}

.hero-panel {
  isolation: isolate;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-stage {
  position: relative;
  z-index: 4;
  width: min(330px, 68vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.08), rgba(66, 197, 127, 0.08) 42%, transparent 68%);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.3),
    0 20px 52px rgba(48, 172, 98, 0.16);
  animation: logoFloat 6.8s ease-in-out infinite;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 46%, rgba(89, 218, 137, 0.28), transparent 52%),
    radial-gradient(circle at 64% 76%, rgba(215, 174, 85, 0.18), transparent 42%);
  filter: blur(20px);
}

.logo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(105, 218, 145, 0.24);
  box-shadow:
    inset 0 0 28px rgba(66, 197, 127, 0.08),
    0 0 44px rgba(66, 197, 127, 0.12);
  pointer-events: none;
}

.logo-stage img {
  position: relative;
  z-index: 3;
  width: 86%;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 34px 40px rgba(0, 0, 0, 0.34))
    drop-shadow(0 14px 22px rgba(16, 92, 58, 0.24));
}

.logo-halo {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.halo-one {
  inset: 8%;
  border: 1px solid rgba(215, 174, 85, 0.22);
  animation: ringPulse 6s ease-in-out infinite;
}

.halo-two {
  inset: 18%;
  border: 1px solid rgba(66, 197, 127, 0.22);
  animation: slowSpin 14s linear infinite;
}

.orbit {
  position: absolute;
  width: min(520px, 82vw);
  aspect-ratio: 1;
  z-index: 1;
  border: 1px solid rgba(23, 134, 92, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(66, 197, 127, 0.14), transparent 62%),
    conic-gradient(from 30deg, transparent, rgba(215, 174, 85, 0.2), transparent 30%, rgba(66, 197, 127, 0.24), transparent 64%);
  animation: slowSpin 20s linear infinite;
}

.growth-field {
  position: absolute;
  z-index: 2;
  width: min(580px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.growth-ring {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(23, 134, 92, 0.18);
  border-radius: 50%;
  animation: ringPulse 5.6s ease-in-out infinite;
}

.ring-two {
  inset: 16%;
  border-color: rgba(215, 174, 85, 0.2);
  animation-delay: 1.4s;
}

.light-sweep {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: conic-gradient(from 215deg, transparent 0 35%, rgba(255, 248, 205, 0.65) 41%, rgba(91, 203, 130, 0.24) 47%, transparent 56% 100%);
  filter: blur(1px);
  opacity: 0.72;
  animation: slowSpin 9s linear infinite;
}

.stem {
  position: absolute;
  left: 50%;
  bottom: 19%;
  width: 4px;
  height: 185px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(42, 168, 98, 0.04), rgba(42, 168, 98, 0.76));
  transform-origin: bottom center;
  animation: stemGrow 3.2s ease-out both, stemBreathe 4.6s ease-in-out 3.2s infinite;
}

.stem-main {
  transform: translateX(-50%) rotate(-5deg);
}

.stem-left {
  height: 142px;
  bottom: 30%;
  transform: translateX(-50%) rotate(-48deg);
  animation-delay: 0.35s, 3.4s;
}

.stem-right {
  height: 150px;
  bottom: 31%;
  transform: translateX(-50%) rotate(46deg);
  animation-delay: 0.55s, 3.6s;
}

.leaf {
  position: absolute;
  width: 54px;
  height: 30px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, rgba(95, 208, 133, 0.72), rgba(23, 134, 92, 0.22));
  box-shadow: 0 12px 34px rgba(29, 128, 78, 0.16);
  transform: scale(0) rotate(-24deg);
  animation: leafOpen 3.8s ease-out both, leafFloat 5s ease-in-out 3.8s infinite;
}

.leaf-one {
  left: 33%;
  top: 31%;
  animation-delay: 0.7s, 4s;
}

.leaf-two {
  right: 30%;
  top: 36%;
  transform: scale(0) rotate(120deg);
  animation-delay: 1.05s, 4.2s;
}

.leaf-three {
  right: 41%;
  top: 18%;
  width: 44px;
  height: 25px;
  animation-delay: 1.35s, 4.4s;
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7ae55;
  box-shadow: 0 0 22px rgba(215, 174, 85, 0.68);
  opacity: 0;
  animation: sparkRise 4.8s ease-in-out infinite;
}

.spark-one {
  left: 27%;
  bottom: 36%;
}

.spark-two {
  right: 24%;
  bottom: 45%;
  animation-delay: 1.2s;
}

.spark-three {
  left: 53%;
  top: 22%;
  animation-delay: 2.2s;
}

.signal-card {
  position: absolute;
  z-index: 3;
  min-width: 108px;
  padding: 11px 14px;
  border: 1px solid rgba(238, 248, 243, 0.22);
  border-radius: 10px;
  color: rgba(238, 248, 243, 0.88);
  background: rgba(10, 33, 28, 0.68);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.signal-a {
  top: 66px;
  right: 38px;
}

.signal-b {
  left: 10px;
  bottom: 130px;
}

.signal-c {
  right: 44px;
  bottom: 64px;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringPulse {
  0%, 100% {
    opacity: 0.46;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

@keyframes stemGrow {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes stemBreathe {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(66, 197, 127, 0));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(66, 197, 127, 0.32));
  }
}

@keyframes leafOpen {
  from {
    opacity: 0;
    transform: scale(0) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-18deg);
  }
}

@keyframes leafFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes sparkRise {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.6);
  }
  22% {
    opacity: 1;
  }
  72% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translateY(-46px) scale(1.1);
  }
}

section {
  padding: clamp(68px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.matrix-section,
.why,
.developer-section,
.pricing-section,
.contact {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(22px, 4vw, 64px);
  margin-bottom: 34px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 18px;
}

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered p {
  margin-top: 16px;
}

.product-grid,
.why-grid,
.scene-grid,
.plan-grid {
  display: grid;
  gap: 18px;
}

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

.product-grid article,
.why-grid article,
.scene-grid article,
.plan-grid article {
  border: 1px solid rgba(21, 69, 54, 0.14);
  border-radius: 18px;
  background: #fff;
}

.product-grid article {
  min-height: 300px;
  padding: 30px;
  box-shadow: 0 18px 46px rgba(17, 48, 38, 0.08);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  border-radius: 12px;
  color: #0a3025;
  background: linear-gradient(135deg, rgba(66, 197, 127, 0.32), rgba(215, 174, 85, 0.32));
  font-weight: 800;
}

.product-grid p,
.why-grid p,
.scene-grid p,
.plan-grid p {
  color: var(--muted-dark);
}

.product-grid a {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-2);
  font-weight: 700;
}

.capabilities,
.scenes,
.newsroom,
.site-footer {
  color: var(--text);
  background: var(--bg);
}

.developer-section {
  border-top: 1px solid rgba(21, 69, 54, 0.1);
}

.dev-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.code-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(21, 69, 54, 0.18);
  background: #071513;
  box-shadow: 0 24px 54px rgba(17, 48, 38, 0.16);
}

.code-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  color: rgba(238, 248, 243, 0.82);
  border-bottom: 1px solid rgba(145, 180, 166, 0.18);
  font-weight: 700;
}

.code-title span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 18px 0 0 var(--gold), 36px 0 0 rgba(238, 248, 243, 0.36);
}

pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #d8f5e8;
  font-size: 14px;
  line-height: 1.75;
}

code {
  font-family: Consolas, "Courier New", monospace;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(21, 69, 54, 0.14);
  background: #fff;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
}

.steps span {
  color: var(--muted-dark);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 46px auto 0;
}

.capability-strip div {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0, rgba(66, 197, 127, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.045);
}

.capability-strip span {
  font-size: 22px;
  font-weight: 800;
}

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

.why-grid article {
  min-height: 210px;
  padding: 26px;
}

.why-grid article::before,
.scene-grid article::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 26px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

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

.scene-grid article {
  min-height: 230px;
  padding: 26px;
  color: var(--text);
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.scene-grid p {
  color: rgba(238, 248, 243, 0.66);
}

.pricing-section {
  border-top: 1px solid rgba(21, 69, 54, 0.1);
}

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

.plan-grid article {
  min-height: 230px;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(17, 48, 38, 0.08);
}

.plan-grid span {
  display: inline-block;
  margin-top: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0a3025;
  background: rgba(66, 197, 127, 0.13);
  font-weight: 700;
  font-size: 14px;
}

.newsroom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsroom p,
.site-footer p {
  color: rgba(238, 248, 243, 0.62);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(30px, 5vw, 76px);
}

.contact-copy p {
  max-width: 680px;
  color: var(--muted-dark);
  font-size: 18px;
}

.contact-card {
  padding: 30px;
  border: 1px solid rgba(21, 69, 54, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 48, 38, 0.08);
}

.contact-card p {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid #e4ebe7;
}

.contact-card p:last-child {
  border-bottom: 0;
}

.contact-card strong {
  color: #203630;
}

.contact-card span,
.contact-card a {
  color: var(--muted-dark);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: rgba(238, 248, 243, 0.66);
}

.copyright {
  margin: 0;
  text-align: right;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .site-header,
  .hero,
  .section-heading,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-cta {
    justify-self: start;
  }

  .hero {
    min-height: auto;
  }

  .product-grid,
  .why-grid,
  .scene-grid,
  .plan-grid,
  .dev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-footer {
    align-items: start;
  }

  .footer-links,
  .copyright {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 16px;
  }

  .brand,
  .site-footer img {
    max-width: 310px;
  }

  .metrics,
  .product-grid,
  .why-grid,
  .scene-grid,
  .plan-grid,
  .dev-grid,
  .capability-strip {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 360px;
  }

  .signal-card {
    font-size: 13px;
  }

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

  .contact-card p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
