:root {
  --ink: #17202a;
  --muted: #647184;
  --line: #dbe3ea;
  --paper: #fbfcfd;
  --white: #ffffff;
  --green: #0f766e;
  --green-dark: #105e58;
  --blue: #2563eb;
  --coral: #ef6f51;
  --gold: #c78b2e;
  --shadow: 0 18px 50px rgba(31, 44, 61, 0.14);
  --radius: 8px;
}

* {
  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",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

button,
input,
textarea {
  font: inherit;
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 234, 0.86);
  background: rgba(251, 252, 253, 0.9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.26);
}

.brand-mark::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 3px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #39485a;
  font-size: 15px;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.22);
}

.btn-primary:hover {
  background: var(--green-dark);
}

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

.section {
  width: 100%;
  padding: 92px 0;
}

.section.alt {
  background: #f1f5f7;
}

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

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-head h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eef4f4;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(238, 244, 244, 0.96) 0%, rgba(238, 244, 244, 0.82) 48%, rgba(238, 244, 244, 0.4) 100%),
    radial-gradient(circle at 82% 26%, rgba(37, 99, 235, 0.18), transparent 34%),
    radial-gradient(circle at 70% 78%, rgba(239, 111, 81, 0.16), transparent 30%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 58px;
  align-items: center;
  padding: 56px 0 72px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 740px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #455467;
  font-size: clamp(17px, 2vw, 20px);
}

.hero-copy .legal-name {
  margin-top: 14px;
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
  max-width: 650px;
}

.trust-item {
  border-left: 3px solid var(--green);
  padding-left: 14px;
}

.trust-item strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.product-frame {
  position: absolute;
  inset: 18px 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.frame-bar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.frame-dots {
  display: flex;
  gap: 7px;
}

.frame-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a7b5c2;
}

.frame-dots span:nth-child(2) {
  background: var(--coral);
}

.frame-dots span:nth-child(3) {
  background: var(--green);
}

.frame-body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  padding: 20px;
}

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

.side-pill {
  height: 52px;
  border: 1px solid #dbe5ed;
  border-radius: 8px;
  background: #f6f9fb;
  padding: 12px;
}

.side-pill::before {
  content: "";
  display: block;
  width: 56%;
  height: 8px;
  border-radius: 8px;
  background: #7d8c9c;
}

.side-pill::after {
  content: "";
  display: block;
  width: 76%;
  height: 7px;
  margin-top: 9px;
  border-radius: 8px;
  background: #d2dce5;
}

.metric-panel {
  min-height: 300px;
  border: 1px solid #dbe5ed;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.chart {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 18px;
}

.bar {
  flex: 1;
  min-width: 20px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--green));
  transform-origin: bottom;
  animation: grow 900ms ease both;
}

.bar:nth-child(2) {
  height: 48%;
  animation-delay: 80ms;
}

.bar:nth-child(3) {
  height: 68%;
  background: linear-gradient(180deg, var(--coral), var(--gold));
  animation-delay: 140ms;
}

.bar:nth-child(4) {
  height: 56%;
  animation-delay: 200ms;
}

.bar:nth-child(5) {
  height: 86%;
  animation-delay: 260ms;
}

.bar:nth-child(6) {
  height: 72%;
  background: linear-gradient(180deg, var(--gold), var(--green));
  animation-delay: 320ms;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.panel-row strong {
  display: block;
  font-size: 28px;
}

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

.floating-note {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: min(290px, 80%);
  border: 1px solid rgba(219, 227, 234, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(31, 44, 61, 0.16);
  padding: 18px;
}

.floating-note strong {
  display: block;
  margin-bottom: 5px;
}

.floating-note span {
  color: var(--muted);
  font-size: 14px;
}

.logo-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  color: #6b7787;
  font-weight: 800;
}

.logos span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
}

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

.service-card,
.case-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(31, 44, 61, 0.06);
}

.service-card {
  padding: 24px;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.service-card:nth-child(2) .service-icon {
  background: var(--blue);
}

.service-card:nth-child(3) .service-icon {
  background: var(--coral);
}

.service-card:nth-child(4) .service-icon {
  background: var(--gold);
}

.service-card h3,
.case-card h3 {
  margin: 20px 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.service-card p,
.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.solution-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

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

.workflow-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.workflow-step h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
}

.insight-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.insight-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.insight-top strong {
  display: block;
  font-size: 30px;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  padding: 24px;
}

.heat-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: #dfe7ee;
}

.heat-cell.hot {
  background: var(--green);
}

.heat-cell.warm {
  background: var(--coral);
}

.heat-cell.cool {
  background: var(--blue);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
}

.case-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
}

.case-art {
  min-height: 142px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, #0f766e, #2563eb);
}

.case-card:nth-child(2) .case-art {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, #ef6f51, #c78b2e);
}

.case-card:nth-child(3) .case-art {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, #17202a, #0f766e);
}

.case-body {
  padding: 24px;
}

.case-meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--green);
  background: #e7f5f3;
  font-size: 13px;
  font-weight: 800;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}

.contact-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

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

.form label {
  display: grid;
  gap: 7px;
  color: #39485a;
  font-size: 14px;
  font-weight: 700;
}

.form label.full {
  grid-column: 1 / -1;
}

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

.form input:focus,
.form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.form textarea {
  min-height: 128px;
  resize: vertical;
}

.form .btn {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.footer {
  padding: 34px 0;
  color: #dce4ea;
  background: #17202a;
}

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

.footer-links {
  display: flex;
  gap: 18px;
  color: #b7c2cd;
}

@keyframes grow {
  from {
    transform: scaleY(0.18);
    opacity: 0.5;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav.open .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .nav.open .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .solution-band,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .service-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card:first-child {
    grid-column: 1 / -1;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }
}

@media (max-width: 680px) {
  .container,
  .hero-inner,
  .nav-inner {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 66px 0;
  }

  .hero-inner {
    padding-top: 38px;
    gap: 30px;
  }

  .trust-strip,
  .logos,
  .service-grid,
  .case-grid,
  .form {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .product-frame {
    inset: 0 0 auto;
  }

  .frame-body {
    grid-template-columns: 1fr;
  }

  .metric-panel {
    min-height: 230px;
  }

  .chart {
    height: 120px;
  }

  .floating-note {
    left: 16px;
    right: 16px;
    bottom: 0;
    width: auto;
  }

  .logos {
    gap: 10px;
  }

  .footer-inner,
  .footer-links {
    display: grid;
  }
}
