:root {
  --ink: #07101a;
  --ink-soft: #102237;
  --paper: #f7faf8;
  --paper-strong: #ffffff;
  --muted: #657385;
  --line: rgba(12, 26, 42, 0.12);
  --teal: #21b59d;
  --blue: #2f6fec;
  --amber: #efad3d;
  --green: #6dbb65;
  --danger: #d9534f;
  --shadow: 0 24px 70px rgba(7, 16, 26, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 48px);
  color: #fff;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 250, 248, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(7, 16, 26, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 16, 26, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: transparent;
  background: #081321;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 16px;
  white-space: nowrap;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.68;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.86;
}

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

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .nav-cta,
.site-header.is-open .nav-cta {
  border-color: rgba(33, 181, 157, 0.35);
  background: rgba(33, 181, 157, 0.1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: transparent;
  color: currentColor;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #07101a;
}

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

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 16, 26, 0.91), rgba(7, 16, 26, 0.54) 43%, rgba(7, 16, 26, 0.1)),
    linear-gradient(180deg, rgba(7, 16, 26, 0.26), rgba(7, 16, 26, 0.42));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-top: 76px;
}

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

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(44px, 6.8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  color: #051019;
  background: var(--teal);
  box-shadow: 0 14px 36px rgba(33, 181, 157, 0.28);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.hero-metrics {
  gap: 0;
  max-width: 740px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metrics div {
  min-width: 185px;
  padding: 22px 28px 0 0;
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.trust-band {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-inner.compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 22px 0;
}

.trust-band span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.trust-band strong {
  font-size: 14px;
  white-space: nowrap;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section.muted {
  background: #eef4f2;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.case-panel h2,
.contact-layout h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.case-panel p,
.contact-layout p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.solution-card,
.industry-list article,
.process-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.solution-card {
  min-height: 360px;
  padding: 26px;
  box-shadow: 0 12px 38px rgba(7, 16, 26, 0.06);
}

.solution-card.accent {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(33, 181, 157, 0.72), rgba(47, 111, 236, 0.46)),
    var(--ink-soft);
}

.card-kicker {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.solution-card.accent .card-kicker {
  color: #f8d789;
}

.solution-card h3,
.industry-list h3,
.process-grid h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.solution-card p,
.industry-list p,
.process-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.solution-card.accent p,
.solution-card.accent li {
  color: rgba(255, 255, 255, 0.78);
}

.solution-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  position: relative;
  padding-left: 18px;
  color: #39485a;
  font-size: 14px;
}

.solution-card li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

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

.industry-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px 22px;
  padding: 26px;
}

.industry-list article span {
  grid-row: span 2;
  color: var(--amber);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.visual-section {
  background: #fbfdfc;
}

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

.visual-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 14px 44px rgba(7, 16, 26, 0.08);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  background: var(--ink);
}

.visual-card figcaption {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.visual-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.visual-card strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.visual-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.architecture {
  color: #fff;
  background:
    radial-gradient(circle at 14% 24%, rgba(33, 181, 157, 0.18), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(239, 173, 61, 0.14), transparent 27%),
    var(--ink);
}

.architecture .section-heading h2 {
  color: #fff;
}

.architecture-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
}

.arch-layer {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.arch-layer span {
  color: var(--teal);
  font-weight: 900;
}

.arch-layer strong {
  display: block;
  margin-top: 74px;
  font-size: 24px;
}

.arch-layer p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.case-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: end;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 16, 26, 0.92), rgba(16, 34, 55, 0.84)),
    url("assets/edge-platform-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.case-panel h2,
.case-panel p {
  color: #fff;
}

.case-panel p {
  color: rgba(255, 255, 255, 0.72);
}

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

.case-stats div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.case-stats strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.case-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

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

.process-grid article {
  padding: 26px;
}

.process-grid span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(238, 244, 242, 0.82), rgba(247, 250, 248, 1)),
    var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: clamp(34px, 8vw, 94px);
  align-items: start;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #334357;
  font-size: 14px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.contact-form label span {
  color: #2d3d4e;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(33, 181, 157, 0.7);
  box-shadow: 0 0 0 3px rgba(33, 181, 157, 0.13);
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer {
  padding: 54px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(140px, 0.6fr));
  gap: 30px;
}

.footer-brand {
  color: #fff;
}

.site-footer p {
  max-width: 360px;
  margin: 18px 0 0;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 12px;
  color: #fff;
}

.site-footer a,
.site-footer span {
  margin-top: 8px;
  font-size: 14px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .solution-grid,
  .architecture-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

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

  .case-panel,
  .contact-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

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

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

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

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .hero {
    min-height: 92svh;
    align-items: end;
  }

  .hero-content {
    width: min(var(--max), calc(100% - 32px));
    padding: 118px 0 48px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 16, 26, 0.52), rgba(7, 16, 26, 0.96) 62%),
      linear-gradient(90deg, rgba(7, 16, 26, 0.82), rgba(7, 16, 26, 0.22));
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-metrics div {
    min-width: 50%;
    padding-right: 18px;
  }

  .section {
    padding: 68px 0;
  }

  .section-inner {
    width: min(var(--max), calc(100% - 32px));
  }

  .solution-grid,
  .architecture-map,
  .process-grid,
  .visual-grid,
  .case-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .industry-list article {
    grid-template-columns: 1fr;
  }

  .industry-list article span {
    grid-row: auto;
  }

  .arch-layer {
    min-height: 210px;
  }

  .arch-layer strong {
    margin-top: 48px;
  }

  .contact-layout {
    gap: 30px;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-metrics div {
    min-width: 100%;
  }

  .section-heading h2,
  .case-panel h2,
  .contact-layout h2 {
    font-size: 31px;
  }
}
