:root {
  --ink: #102026;
  --muted: #627075;
  --line: #d9e3e3;
  --paper: #f6f9f8;
  --white: #ffffff;
  --teal: #04786f;
  --teal-dark: #064e4b;
  --mint: #dff3ee;
  --gold: #c28d32;
  --blue: #1f5d8c;
  --shadow: 0 18px 50px rgba(16, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 227, 227, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #314247;
  font-size: 14px;
  white-space: nowrap;
}

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

.cart-button,
.primary-action,
.secondary-action,
.filters button,
.intent-grid button,
.product-card button,
.contact-form button,
.cart-footer button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 104px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.cart-icon {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

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

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 23, 0.9) 0%, rgba(7, 18, 23, 0.7) 42%, rgba(7, 18, 23, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 18, 23, 0.18) 0%, rgba(7, 18, 23, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 74px);
  padding: 54px 0 104px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.8;
}

.workflow-summary {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-action {
  color: var(--ink);
  background: var(--white);
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.secondary-action.light {
  color: var(--teal-dark);
  border-color: rgba(4, 120, 111, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

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

.hero-metrics span {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
}

.hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 26px;
}

section {
  padding: 72px clamp(18px, 5vw, 72px);
}

.quick-order {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 26px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.18;
}

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

.intent-grid button,
.filters button {
  min-height: 44px;
  border-radius: 8px;
  background: #edf4f2;
  color: #24373c;
  font-weight: 700;
}

.intent-grid button:hover,
.filters button.active {
  color: var(--white);
  background: var(--teal);
}

.health-app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(194, 141, 50, 0.24), transparent 28%),
    linear-gradient(135deg, #071217 0%, #102026 48%, #0a4f58 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.health-app-copy {
  max-width: 700px;
}

.health-app-copy h2 {
  max-width: 680px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.12;
}

.health-app-copy p:not(.section-kicker) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.9;
}

.health-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.health-app-actions .primary-action {
  color: var(--ink);
  background: var(--white);
}

.health-app-panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.app-device,
.health-feature-list article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.app-device {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.08);
}

.app-device-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.app-device-head strong {
  color: var(--white);
  font-size: 44px;
}

.app-score-ring {
  display: grid;
  place-items: center;
  align-self: center;
  width: min(210px, 62vw);
  aspect-ratio: 1;
  border: 18px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--gold);
  border-right-color: #7ccdc2;
  border-radius: 50%;
  text-align: center;
}

.app-score-ring span,
.app-score-ring strong {
  display: block;
}

.app-score-ring span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-transform: uppercase;
}

.app-score-ring strong {
  margin-top: 8px;
  font-size: 25px;
}

.app-metrics {
  display: grid;
  gap: 10px;
}

.app-metrics span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.app-metrics strong {
  color: var(--white);
  font-size: 20px;
}

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

.health-feature-list article {
  min-height: 158px;
  padding: 22px;
}

.health-feature-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.health-feature-list h3 {
  margin: 24px 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.health-feature-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filters button {
  padding: 0 16px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 32, 38, 0.05);
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.duration {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.product-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.32;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  color: #314247;
  font-size: 14px;
}

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

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.price {
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 900;
}

.product-card button {
  min-width: 112px;
  min-height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-weight: 800;
}

.ai-employees {
  background: #eef5f3;
  border-bottom: 1px solid var(--line);
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.ai-workbench {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ai-roster {
  display: grid;
  gap: 10px;
}

.ai-roster button,
.ai-suggestions button,
.ai-task-form button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.ai-roster button {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 15px;
  text-align: left;
  color: #314247;
  background: var(--white);
  border: 1px solid var(--line);
}

.ai-roster button span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.ai-roster button strong {
  font-size: 17px;
}

.ai-roster button.active {
  color: var(--white);
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.ai-roster button.active span {
  color: #f0c87a;
}

.ai-console {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 32, 38, 0.06);
}

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

.ai-console-head h3 {
  margin: 16px 0 8px;
  font-size: 26px;
}

.ai-console-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.ai-status {
  align-self: start;
  min-width: 72px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mint);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.ai-suggestions button {
  min-height: 36px;
  padding: 0 12px;
  color: #314247;
  background: #edf4f2;
  font-weight: 800;
}

.ai-suggestions button:hover {
  color: var(--white);
  background: var(--teal);
}

.ai-task-form {
  display: grid;
  gap: 10px;
}

.ai-task-form label {
  color: #314247;
  font-size: 14px;
  font-weight: 900;
}

.ai-task-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  color: var(--ink);
  background: #fbfdfd;
  line-height: 1.7;
}

.ai-task-form button {
  justify-self: start;
  min-width: 128px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--teal-dark);
  font-weight: 900;
}

.ai-task-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.ai-output {
  min-height: 148px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.ai-output p {
  margin: 0;
  color: #314247;
  line-height: 1.8;
}

.ai-output.error {
  border-color: #e0b0a5;
  background: #fff7f5;
}

.ai-disclaimer {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.workflow {
  background: var(--white);
}

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

.steps article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.steps span {
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
}

.steps h3 {
  margin: 18px 0 10px;
}

.steps p,
.quality p,
.contact p {
  color: var(--muted);
  line-height: 1.8;
}

.quality {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
  color: var(--white);
  background: #102026;
}

.quality p {
  color: rgba(255, 255, 255, 0.72);
}

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

.quality-list span {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.9fr);
  gap: 46px;
  align-items: start;
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #314247;
  font-size: 14px;
  font-weight: 800;
}

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

.contact-form button {
  min-height: 48px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 0.22s ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: 26px;
}

.cart-header button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 18px 0;
}

.cart-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.cart-item h3 {
  margin: 0;
  font-size: 16px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.cart-empty {
  display: none;
  margin: 22px 0;
  padding: 18px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  line-height: 1.7;
}

.cart-empty.show {
  display: block;
}

.cart-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.total-row strong {
  color: var(--teal-dark);
  font-size: 28px;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: #314247;
  font-size: 14px;
  font-weight: 800;
}

.payment-methods label {
  position: relative;
  min-height: 42px;
}

.payment-methods input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-methods span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #314247;
  background: #fbfdfd;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.payment-methods input:checked + span {
  color: var(--white);
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.cart-footer button {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.cart-footer p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  background: rgba(4, 16, 20, 0.42);
}

.scrim.show {
  display: block;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  padding: 48px clamp(18px, 5vw, 72px) 26px;
  color: rgba(255, 255, 255, 0.72);
  background: #071217;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand .brand-mark {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--teal-dark);
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 18px;
}

.footer-brand p {
  max-width: 440px;
  margin: 12px 0 0;
}

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

.footer-columns h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 14px;
}

.footer-columns a {
  display: block;
  margin-top: 9px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 760px;
  }

  .quick-order,
  .ai-workbench,
  .health-app-section,
  .quality,
  .contact {
    grid-template-columns: 1fr;
  }

  .health-app-panel,
  .product-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .app-device {
    min-height: 460px;
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    max-width: 190px;
  }

  .cart-button {
    min-width: 88px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-bottom: 74px;
  }

  .hero-metrics,
  .intent-grid,
  .health-app-panel,
  .footer-columns,
  .product-grid,
  .steps,
  .quality-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .ai-console-head {
    flex-direction: column;
  }

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

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .health-app-copy p:not(.section-kicker) {
    font-size: 15px;
  }

  .health-app-actions {
    flex-direction: column;
  }

  .health-app-actions a {
    width: 100%;
  }

  .app-device {
    min-height: 420px;
    padding: 18px;
  }

  .app-score-ring {
    width: min(180px, 70vw);
  }

  .health-feature-list article {
    min-height: auto;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }

  section {
    padding: 54px 18px;
  }
}
