:root {
  --bg: #050506;
  --paper: #101014;
  --ink: #f8f7ff;
  --muted: #a6a2b3;
  --line: rgba(255, 255, 255, 0.12);
  --green: #8b5cf6;
  --green-strong: #6d3df2;
  --orange: #ffb000;
  --red: #e14d42;
  --yellow: #d1ff4a;
  --steel: #d8d4e8;
  --soft-green: rgba(139, 92, 246, 0.16);
  --soft-orange: #fff3bf;
  --soft-red: #ffe1dd;
  --soft-steel: rgba(255, 255, 255, 0.08);
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(139, 92, 246, 0.3), transparent 28%),
    radial-gradient(circle at 22% 72%, rgba(209, 255, 74, 0.11), transparent 26%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

button,
textarea,
input {
  font: inherit;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 5, 6, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--steel);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

body.theme-light {
  --bg: #f4f2ea;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #5d5d66;
  --line: rgba(17, 17, 17, 0.14);
  --steel: #2e2e35;
  --soft-green: rgba(139, 92, 246, 0.12);
  background:
    radial-gradient(circle at 76% 18%, rgba(139, 92, 246, 0.16), transparent 25%),
    radial-gradient(circle at 20% 76%, rgba(209, 255, 74, 0.22), transparent 22%),
    var(--bg);
}

body.theme-light .site-header {
  border-bottom-color: rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

body.theme-light .diagnosis-console,
body.theme-light .map-grid a,
body.theme-light .stack-grid article,
body.theme-light .trust-grid article,
body.theme-light .page-card,
body.theme-light .resource-card,
body.theme-light .product-card,
body.theme-light .price-card,
body.theme-light .skill-column,
body.theme-light .workflow-step,
body.theme-light .comparison-panel > div,
body.theme-light .feature-list li,
body.theme-light .plan-content article,
body.theme-light .capability-strip div {
  background: rgba(255, 255, 255, 0.72);
}

body.theme-light .section-band.light,
body.theme-light .contact,
body.theme-light .trust-section {
  background: #fbfaf5;
}

body.theme-light .workflow,
body.theme-light .stack-section {
  background: #efede6;
}

body.theme-light .platform-map,
body.theme-light .deploy {
  background: #111111;
}

body.theme-light .locked-console .upload-zone,
body.theme-light .locked-console .project-input,
body.theme-light .diagnosis-output {
  background: rgba(255, 255, 255, 0.62);
}

body.theme-light .tool-pill,
body.theme-light .trust-row span,
body.theme-light .secondary-button {
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.66);
}

.header-cta,
.primary-button,
.secondary-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  background: var(--green);
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 121, 107, 0.2);
}

.header-cta {
  padding: 0 16px;
  font-size: 14px;
}

.primary-button {
  padding: 0 18px;
}

.primary-button:hover,
.header-cta:hover {
  background: var(--green-strong);
}

.secondary-button {
  padding: 0 18px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 700;
}

.secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.38);
}

.section-band {
  padding: 88px 5vw;
}

.section-band.light {
  background: #09090c;
}

#products {
  padding-top: 52px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 56px;
  align-items: center;
  min-height: calc(88vh - 68px);
  padding-top: 58px;
  padding-bottom: 72px;
  overflow: hidden;
}

.innovation-orbit {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-copy,
.diagnosis-console {
  position: relative;
  z-index: 1;
}

.innovation-orbit::before {
  content: "";
  position: absolute;
  right: 5vw;
  top: 5vh;
  width: min(48vw, 680px);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(139, 92, 246, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(209, 255, 74, 0.65) 0 1px, transparent 2px);
  background-size: 42px 42px, 67px 67px;
  mask-image: radial-gradient(circle, #000 18%, rgba(0, 0, 0, 0.68) 46%, transparent 72%);
  opacity: 0.72;
}

.orbit-core,
.orbit-label,
.orbit-dot,
.orbit-line {
  position: absolute;
  right: 16vw;
  top: 20vh;
}

.orbit-core {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.8);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  color: white;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 80px rgba(139, 92, 246, 0.48);
}

.orbit-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
}

.label-a {
  transform: translate(-160px, 20px);
}

.label-b {
  transform: translate(120px, -70px);
}

.label-c {
  transform: translate(170px, 90px);
}

.label-d {
  transform: translate(-70px, 170px);
  color: var(--yellow);
}

.orbit-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 22px rgba(209, 255, 74, 0.7);
}

.dot-a {
  transform: translate(-220px, -80px);
}

.dot-b {
  transform: translate(230px, 20px);
}

.dot-c {
  transform: translate(40px, 240px);
}

.orbit-line {
  width: 330px;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
}

.line-a {
  transform: translate(-120px, 42px) rotate(-25deg);
}

.line-b {
  transform: translate(-65px, 42px) rotate(40deg);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 950;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  font-weight: 900;
}

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

.hero-subtitle,
.section-heading p,
.split-copy p,
.contact-inner p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--steel);
  font-size: 13px;
  font-weight: 700;
}

.diagnosis-console {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(16, 16, 20, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.locked-console .upload-zone,
.locked-console .project-input,
.locked-console .mode-tab {
  cursor: not-allowed;
}

.locked-console .upload-zone {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.locked-console .upload-icon {
  background: var(--steel);
}

.locked-console .project-input {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

.locked-console .score-block strong {
  font-size: 28px;
}

.console-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.console-toolbar div:first-child {
  display: grid;
  gap: 3px;
}

.console-toolbar strong {
  font-size: 16px;
}

.console-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 800;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 18px 0;
}

.mode-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.mode-tab.active {
  border-color: var(--green);
  background: var(--soft-green);
  color: var(--green-strong);
}

.upload-zone {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 18px;
  padding: 26px 18px;
  border: 1px dashed rgba(0, 121, 107, 0.5);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  cursor: pointer;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: white;
}

.upload-title {
  color: var(--ink);
  font-weight: 800;
}

.upload-note {
  max-width: 440px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.project-input {
  width: calc(100% - 36px);
  margin: 0 18px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  line-height: 1.7;
  outline: none;
}

.project-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.12);
}

.console-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.compact {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.diagnosis-output {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  margin: 0 18px 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.score-block {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  min-height: 116px;
  border-radius: 16px;
  background: #000;
  color: white;
}

.score-block span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.score-block strong {
  color: var(--yellow);
  font-size: 42px;
  line-height: 1;
}

.diagnosis-output ul {
  margin: 0;
  padding-left: 18px;
  color: var(--steel);
  line-height: 1.75;
  font-size: 14px;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 720px;
}

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

.product-card,
.price-card,
.skill-column,
.workflow-step {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
}

.product-card {
  min-height: 280px;
  padding: 24px;
  border-top: 10px solid var(--green);
}

.accent-orange {
  border-top-color: var(--orange);
}

.accent-red {
  border-top-color: var(--red);
}

.accent-ink {
  border-top-color: var(--steel);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-card p,
.price-card p,
.workflow-step p,
.skill-column li,
.comparison-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.capability-strip div {
  display: grid;
  gap: 8px;
  min-height: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.capability-strip strong {
  color: var(--yellow);
}

.capability-strip span {
  color: var(--muted);
}

.workflow {
  background: #08080b;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.workflow-step {
  min-height: 210px;
  padding: 18px;
  background: var(--paper);
}

.workflow-step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.workflow-step strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

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

.skill-column {
  padding: 24px;
}

.skill-column ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.skill-column li {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f6f3eb;
}

.differentiation,
.deploy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 36px;
  align-items: center;
}

.comparison-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.comparison-panel > div {
  min-height: 230px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.comparison-panel span {
  display: block;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.comparison-panel strong {
  display: block;
  margin-bottom: 14px;
  font-size: 26px;
}

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

.price-card {
  min-height: 220px;
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(0, 121, 107, 0.5);
  background: var(--soft-green);
}

.price-card strong {
  display: inline-flex;
  margin-top: 22px;
  color: var(--ink);
  font-size: 18px;
}

.deploy {
  background: #000;
  color: white;
}

.deploy .eyebrow,
.deploy .split-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.deploy-steps {
  display: grid;
  gap: 12px;
}

.deploy-steps code {
  display: block;
  overflow-x: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff7dc;
  line-height: 1.6;
}

.contact {
  background: #09090c;
}

.contact-inner {
  max-width: 820px;
}

.plan-hero {
  min-height: 48vh;
  display: grid;
  align-content: center;
}

.plan-hero h1 {
  max-width: 900px;
}

.plan-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.plan-content article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.plan-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.platform-announcement {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 10px 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(139, 92, 246, 0.12);
  color: var(--steel);
  font-size: 13px;
  font-weight: 700;
}

.platform-announcement a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.platform-map {
  background: var(--ink);
  color: white;
}

.platform-map .eyebrow,
.platform-map .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.map-grid,
.stack-grid,
.trust-grid,
.page-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.map-grid a,
.stack-grid article,
.trust-grid article,
.page-card,
.resource-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.map-grid a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.map-grid span,
.stack-grid span,
.page-card span,
.resource-card span {
  display: block;
  margin-bottom: 36px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-grid strong,
.stack-grid h3,
.trust-grid h3,
.page-card h3,
.resource-card h3 {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.map-grid p,
.stack-grid p,
.trust-grid p,
.page-card p,
.resource-card p {
  color: var(--muted);
  line-height: 1.7;
}

.map-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.map-grid span,
.map-grid strong {
  color: white;
}

.page-hero {
  min-height: 52vh;
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
}

.page-section {
  padding: 78px 5vw;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 36px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--steel);
  line-height: 1.65;
}

.stack-section {
  background: #08080b;
}

.trust-section {
  background: #09090c;
}

@media (max-width: 1100px) {
  .hero,
  .differentiation,
  .deploy {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .map-grid,
  .stack-grid,
  .trust-grid,
  .page-grid,
  .resource-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    padding: 14px 5vw;
  }

  .nav-links,
  .header-tools,
  .header-cta {
    display: none;
  }

  .section-band {
    padding: 58px 5vw;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-actions,
  .console-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .diagnosis-output,
  .comparison-panel,
  .skill-columns,
  .plan-content,
  .map-grid,
  .stack-grid,
  .trust-grid,
  .page-grid,
  .resource-grid,
  .two-column,
  .product-grid,
  .pricing-grid,
  .workflow-rail {
    grid-template-columns: 1fr;
  }

  .platform-announcement {
    align-items: center;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .mode-tabs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 36px;
  }

  .hero-subtitle,
  .section-heading p,
  .split-copy p,
  .contact-inner p {
    font-size: 16px;
  }

  .diagnosis-console {
    margin-left: -2vw;
    margin-right: -2vw;
  }
}
