:root {
  --ink: #1c1d1f;
  --muted: #626a73;
  --line: #dfe4ea;
  --paper: #ffffff;
  --canvas: #f7f8f3;
  --soft: #f4f7f2;
  --cream: #fbf7ed;
  --mist: #edf3ef;
  --deep: #18241f;
  --green: #1f6f5b;
  --green-2: #dff0e8;
  --red: #b53d32;
  --gold: #c49a44;
  --blue: #345f8a;
  --shadow: 0 24px 70px rgba(39, 45, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 64px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(31, 111, 91, 0.14);
  box-shadow: 0 12px 36px rgba(39, 45, 38, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 50px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #34443e;
  font-size: 17px;
  font-weight: 700;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav a span {
  line-height: 1;
}

.nav a:hover {
  color: var(--green);
  background: rgba(31, 111, 91, 0.09);
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 10px 26px rgba(31, 111, 91, 0.2);
}

.button.primary {
  color: #ffffff;
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  background: #ffffff;
  border: 1px solid rgba(31, 111, 91, 0.22);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 23, 20, 0.78), rgba(11, 23, 20, 0.32)),
    url("images/background.jpg")
      center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--canvas));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  color: #ffffff;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 12vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 13px;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  right: clamp(20px, 7vw, 100px);
  bottom: clamp(28px, 8vw, 92px);
  display: grid;
  grid-template-columns: 220px 220px;
  grid-template-rows: 150px 130px;
  gap: 16px;
  transform: rotate(-3deg);
}

.screen {
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.screen-order {
  grid-row: span 2;
}

.screen-top,
.dish-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.menu-line {
  width: 68%;
  height: 8px;
  margin: 18px 0 10px;
  background: var(--green-2);
  border-radius: 4px;
}

.menu-line.wide {
  width: 90%;
}

.dish-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.ticket-total {
  margin-top: 22px;
  color: var(--red);
  font-size: 22px;
  font-weight: 800;
}

.screen-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric {
  padding: 12px;
  background: var(--soft);
  border-radius: 8px;
}

.metric span,
.screen-ticket span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.bars {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 9px;
  height: 54px;
}

.bars i {
  flex: 1;
  min-height: 14px;
  background: var(--green);
  border-radius: 5px 5px 0 0;
}

.bars i:nth-child(2) {
  height: 42px;
}

.bars i:nth-child(3) {
  height: 30px;
}

.bars i:nth-child(4) {
  height: 54px;
}

.bars i:nth-child(5) {
  height: 24px;
}

.screen-ticket strong {
  display: block;
  margin: 8px 0;
  font-size: 26px;
}

.screen-ticket em {
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 64px);
  background: var(--canvas);
}

.section-heading {
  width: min(900px, 100%);
  margin-right: auto;
  margin-bottom: 36px;
  margin-left: auto;
  text-align: center;
}

.section-heading.narrow {
  width: min(720px, 100%);
}

.section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-note {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 16px;
}

.intro {
  padding-top: 56px;
  background: var(--canvas);
}

#products {
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 62%, var(--mist) 62%, var(--mist) 100%);
}

.intro-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.intro-layout article {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(28, 29, 31, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(39, 45, 38, 0.06);
}

.intro-layout h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.intro-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  text-align: left;
}

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

.product-panel,
.scenario-grid article {
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(28, 29, 31, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(39, 45, 38, 0.06);
}

.panel-index {
  display: block;
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
}

.product-panel h3,
.scenario-grid h3,
.capability-list h3,
.launch-steps h3 {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.product-panel p,
.scenario-grid p,
.capability-list p,
.launch-steps p,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

.product-panel ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.product-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.product-panel li + li {
  margin-top: 8px;
}

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

.capability-band {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(223, 240, 232, 0.92), rgba(251, 247, 237, 0.86)),
    #f7fbf6;
}

.capability-band .section-heading {
  width: min(960px, 100%);
}

.capability-band .section-heading h2 {
  color: var(--ink);
}

.capability-band .eyebrow {
  color: var(--green);
}

.capability-title {
  word-break: keep-all;
  text-wrap: balance;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: 0;
}

.capability-list div {
  min-height: 190px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 111, 91, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(39, 45, 38, 0.08);
}

.capability-list p {
  color: #52605a;
}

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

#scenarios {
  background: var(--cream);
}

#scenarios .scenario-grid article {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(196, 154, 68, 0.18);
}

.pricing-section {
  background:
    linear-gradient(180deg, var(--mist), #ffffff);
}

.pricing-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 8px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 250px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(39, 45, 38, 0.08);
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  color: #ffffff;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.plan-tone-1 {
  background: #fbfcf6;
}

.plan-tone-2 {
  background: #f2f8ef;
}

.plan-tone-3 {
  background: #e5f1e7;
}

.plan-tone-4 {
  background: #d7e9df;
}

.featured-card {
  border-color: rgba(31, 111, 91, 0.42);
}

.plan-head {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 224px;
}

.plan-kicker,
.plan-label {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.plan-head h3 {
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1;
}

.plan-head p,
.plan-body p {
  margin: 0;
  color: var(--muted);
}

.plan-head p {
  min-height: 52px;
  max-height: 52px;
  overflow: hidden;
  line-height: 1.6;
}

.plan-price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(28, 29, 31, 0.1);
  text-align: left;
}

.plan-price strong {
  display: block;
  color: var(--red);
  font-size: 38px;
  line-height: 1;
}

.plan-price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.plan-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.plan-body div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(28, 29, 31, 0.08);
  border-radius: 8px;
}

.plan-body p {
  margin-top: 8px;
}

.plan-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 22px;
  color: var(--green);
  border: 1px solid rgba(31, 111, 91, 0.28);
  border-radius: 8px;
  font-weight: 800;
}

.plan-action.primary {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.launch {
  background: #ffffff;
}

.launch-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-steps li {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: var(--canvas);
  border: 1px solid rgba(31, 111, 91, 0.12);
  border-radius: 8px;
}

.launch-steps span {
  color: var(--green);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(72px, 9vw, 112px) clamp(20px, 5vw, 64px);
  color: #ffffff;
  background: var(--green);
}

.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section p {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card strong {
  font-size: 24px;
}

.contact-card span {
  color: var(--muted);
}

.contact-method {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid rgba(28, 29, 31, 0.08);
  border-radius: 8px;
}

.contact-method strong {
  font-size: 28px;
  line-height: 1.1;
}

.contact-method em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.wechat-mock {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--soft);
  border: 1px solid rgba(28, 29, 31, 0.08);
  border-radius: 8px;
}

.wechat-mock strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.qr-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 112px;
  height: 112px;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(28, 29, 31, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(28, 29, 31, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 14px 14px;
  border: 1px dashed rgba(28, 29, 31, 0.24);
  border-radius: 8px;
}

.qr-box span {
  background: rgba(31, 111, 91, 0.72);
  border-radius: 4px;
}

.qr-box span:nth-child(2),
.qr-box span:nth-child(3) {
  opacity: 0.42;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: #111916;
  font-size: 14px;
}

.site-footer > span:last-child {
  justify-self: end;
}

.footer-center {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a:hover {
  color: #ffffff;
}

@media (max-width: 1100px) {
  .hero-grid {
    opacity: 0.34;
    right: 20px;
  }

  .product-grid,
  .intro-layout,
  .scenario-grid,
  .launch-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }

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

@media (min-width: 761px) {
  .capability-title {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    min-height: auto;
    padding-right: 16px;
    padding-left: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-logo {
    height: 44px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 14px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: 72px 16px 56px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-actions,
  .hero-proof {
    margin-top: 26px;
  }

  .hero-grid {
    left: 20px;
    right: auto;
    bottom: 48px;
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 40px);
    opacity: 0.68;
  }

  .screen {
    padding: 14px;
  }

  .section {
    padding: 56px 16px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section h2,
  .contact-section h2 {
    font-size: 32px;
    line-height: 1.18;
  }

  .section-note,
  .intro-layout p,
  .contact-section p {
    font-size: 16px;
  }

  .capability-title {
    word-break: normal;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-layout,
  .product-grid,
  .scenario-grid,
  .capability-list,
  .launch-steps {
    grid-template-columns: 1fr;
  }

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

  .pricing-card {
    min-width: 0;
    padding: 24px;
  }

  .plan-head {
    min-height: auto;
  }

  .plan-head h3 {
    font-size: 30px;
  }

  .plan-head p {
    min-height: auto;
    max-height: none;
  }

  .plan-price {
    margin-top: 18px;
  }

  .plan-price strong {
    font-size: 34px;
  }

  .capability-list div {
    min-height: auto;
  }

  .contact-section {
    align-items: stretch;
    padding: 56px 16px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-footer > span:last-child {
    justify-self: start;
  }

  .footer-center {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .header-cta {
    margin-left: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-grid {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .section h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .product-panel,
  .scenario-grid article,
  .launch-steps li,
  .contact-card {
    padding: 22px;
  }

  .contact-method strong {
    font-size: 24px;
  }

  .wechat-mock {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  .qr-box {
    width: 96px;
    height: 96px;
  }
}
