:root {
  --ink: #172126;
  --ink-soft: #253238;
  --muted: #5d6b70;
  --paper: #f6f8f7;
  --white: #ffffff;
  --line: #dce5e1;
  --teal: #0b8f88;
  --teal-dark: #08706d;
  --mint: #d9f0ed;
  --sun: #f4c542;
  --coral: #df665d;
  --blue: #2d6fb3;
  --shadow: 0 22px 70px rgba(18, 32, 36, 0.16);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  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;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.icon-sprite {
  display: none;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(24px, calc((100vw - 1160px) / 2));
  color: var(--white);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(23, 33, 38, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sun), var(--teal));
  color: #102024;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.92;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-cta,
.site-header.is-open .nav-cta {
  border-color: var(--line);
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(760px, 86svh);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 22, 25, 0.9) 0%, rgba(12, 22, 25, 0.58) 43%, rgba(12, 22, 25, 0.12) 100%),
    linear-gradient(180deg, rgba(12, 22, 25, 0.35) 0%, rgba(12, 22, 25, 0.54) 100%);
}

.hero-inner {
  min-height: min(760px, 86svh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: var(--header-height);
  padding-bottom: 46px;
}

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

.hero .eyebrow {
  color: var(--sun);
}

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

h1 {
  margin-bottom: 20px;
  font-size: 4.25rem;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.5rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.28;
}

.hero-copy {
  width: min(660px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

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

.btn-primary {
  background: var(--sun);
  color: #132024;
  box-shadow: 0 16px 36px rgba(244, 197, 66, 0.24);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
}

.hero-stats div {
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px);
}

.hero-stats dt {
  font-size: 1.35rem;
  font-weight: 850;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.intro-band {
  background: var(--ink);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding-block: 24px;
}

.intro-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.intro-grid a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sun);
  font-weight: 760;
  white-space: nowrap;
}

.section {
  padding-block: 84px;
}

.section-muted {
  background: #eef5f2;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.03rem;
}

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

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

.product-card,
.capability {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(23, 33, 38, 0.06);
}

.product-card {
  min-height: 268px;
  padding: 24px;
}

.product-card p,
.capability p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(244, 197, 66, 0.22);
  color: #9a6a00;
}

.accent-teal {
  background: var(--mint);
  color: var(--teal-dark);
}

.accent-coral {
  background: rgba(223, 102, 93, 0.16);
  color: #b4473f;
}

.accent-blue {
  background: rgba(45, 111, 179, 0.14);
  color: var(--blue);
}

.scenario-layout {
  display: grid;
  grid-template-columns: 0.84fr 1fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.scenario-list {
  display: grid;
  gap: 14px;
}

.scenario-item {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.scenario-item strong {
  font-size: 1.02rem;
}

.scenario-item span {
  color: var(--muted);
}

.workflow-panel {
  border: 1px solid rgba(11, 143, 136, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.status-dot {
  position: relative;
  color: var(--teal);
  font-size: 0.86rem;
  padding-left: 16px;
}

.status-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  transform: translateY(-50%);
}

.flow-row {
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.flow-row span,
.flow-row strong {
  display: block;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.flow-row span {
  background: #f2f5f4;
  color: var(--muted);
}

.flow-row strong {
  background: var(--ink);
  color: var(--white);
}

.flow-row i {
  height: 2px;
  background: var(--sun);
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.panel-metrics div {
  padding: 18px;
}

.panel-metrics div + div {
  border-left: 1px solid var(--line);
}

.panel-metrics b {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
}

.panel-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.platform-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.3fr;
  gap: 54px;
  align-items: start;
}

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

.capability {
  min-height: 190px;
  padding: 22px;
}

.capability .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--teal);
}

.contact-section {
  padding-block: 84px;
  background: var(--ink);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-section h2 {
  font-size: 2.6rem;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

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

.contact-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-points .icon {
  color: var(--sun);
  flex: 0 0 auto;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 720;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(244, 197, 66, 0.24);
}

.contact-form textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-note {
  min-height: 24px;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer {
  background: #10181b;
  color: rgba(255, 255, 255, 0.78);
  padding-block: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .product-grid,
  .scenario-layout,
  .platform-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .scenario-layout .section-heading,
  .platform-layout .section-heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .shell {
    width: min(100% - 32px, 1160px);
  }

  .site-header {
    padding-inline: 16px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-header.is-scrolled .nav-toggle,
  .site-header.is-open .nav-toggle {
    border-color: var(--line);
    background: var(--white);
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-height) + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
    background: var(--ink);
    color: var(--white);
  }

  .hero,
  .hero-inner {
    min-height: 82svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 22, 25, 0.9) 0%, rgba(12, 22, 25, 0.66) 100%),
      linear-gradient(180deg, rgba(12, 22, 25, 0.2) 0%, rgba(12, 22, 25, 0.62) 100%);
  }

  h1 {
    font-size: 2.8rem;
  }

  h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-stats {
    width: 100%;
    gap: 10px;
  }

  .hero-stats div {
    flex: 1 1 120px;
    min-width: 0;
  }

  .intro-grid,
  .product-grid,
  .scenario-layout,
  .platform-layout,
  .capability-grid,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .intro-grid a {
    justify-self: start;
  }

  .section,
  .contact-section {
    padding-block: 58px;
  }

  .product-card {
    min-height: auto;
  }

  .panel-metrics {
    grid-template-columns: 1fr;
  }

  .panel-metrics div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 460px) {
  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .flow-row {
    grid-template-columns: 1fr;
  }

  .flow-row i {
    width: 2px;
    height: 18px;
    justify-self: center;
  }
}
