:root {
  --black: #050505;
  --ink: #171717;
  --muted: #6f6f6f;
  --gold: #d69a4a;
  --gold-light: #ffd38b;
  --gold-deep: #9d6427;
  --paper: #f7f7f5;
  --line: rgba(214, 154, 74, 0.34);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.hero {
  position: relative;
  min-height: 535px;
  padding: 16px clamp(24px, 4vw, 52px) 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 24%, rgba(214, 154, 74, 0.2), transparent 24%),
    linear-gradient(90deg, #020202 0%, #050505 41%, rgba(5, 5, 5, 0.88) 62%, #070707 100%);
}

.hero-bg {
  position: absolute;
  inset: 70px 0 auto 41%;
  height: 346px;
  background-image:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.72) 10%, rgba(5, 5, 5, 0.08) 34%, rgba(5, 5, 5, 0.04) 78%, #050505 100%),
    url("assets/hero-people.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.06) contrast(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0));
  pointer-events: none;
}

.navbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1116px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  min-width: 174px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid var(--gold-light);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 19px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: #e5c690;
  font-size: 10px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  flex: 1;
}

.nav-links a {
  position: relative;
  padding: 18px 0;
  color: #f4f4f4;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold-light);
}

.nav-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone {
  color: var(--gold-light);
  font-weight: 800;
  white-space: nowrap;
}

.phone::before {
  content: "☎";
  margin-right: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 800;
  white-space: nowrap;
}

.btn-primary {
  color: #2a1500;
  background: linear-gradient(180deg, #ffd998 0%, #e7a24e 100%);
  box-shadow: 0 10px 22px rgba(218, 151, 70, 0.24);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1116px;
  margin: 64px auto 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: rgba(255, 211, 139, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(42px, 4.7vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.55);
}

.hero h2 {
  margin: 12px 0 22px;
  color: #ffe8b8;
  font-size: clamp(24px, 3vw, 35px);
  line-height: 1.2;
}

.hero-copy {
  max-width: 470px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1116px;
  margin: 42px auto 0;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0.92), rgba(16, 16, 16, 0.95));
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
}

.stats article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: center;
  padding: 22px clamp(20px, 3vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.stats article:last-child {
  border-right: 0;
}

.stat-icon {
  grid-row: span 2;
  color: var(--gold-light);
  font-size: 30px;
}

.stats strong {
  color: var(--gold-light);
  font-size: 34px;
  line-height: 1;
}

.stats small {
  color: #fff;
  font-size: 14px;
}

.section {
  max-width: 1116px;
  margin: 0 auto;
  padding: 26px 0 0;
}

.compact {
  padding-top: 22px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 29px);
  line-height: 1.2;
}

.section-title span {
  width: 24px;
  height: 2px;
  background: var(--gold);
}

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

.value-card {
  min-height: 156px;
  padding: 24px 22px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
}

.gold-icon {
  color: #c7883e;
  font-size: 34px;
  line-height: 1;
}

.value-card h3,
.industry-card h3,
.case-copy h3 {
  margin: 14px 0 8px;
  font-size: 17px;
}

.value-card p,
.industry-card p,
.case-copy p {
  margin: 0;
  color: #4c4c4c;
  font-size: 13px;
  line-height: 1.7;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.industry-card {
  overflow: hidden;
  border-radius: 4px;
  text-align: center;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.crop {
  height: 102px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.crop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
}

.industry-card h3 {
  margin-top: 10px;
}

.industry-card p {
  padding: 0 8px 12px;
  font-size: 11px;
}

.crop-food { background-image: url("assets/industry-food.png"); }
.crop-beauty { background-image: url("assets/industry-beauty.png"); }
.crop-fitness { background-image: url("assets/industry-fitness.png"); }
.crop-parent { background-image: url("assets/industry-parent.png"); }
.crop-edu { background-image: url("assets/industry-edu.png"); }
.crop-life { background-image: url("assets/industry-life.png"); }

.cases {
  padding-bottom: 24px;
}

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

.case-card {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 16px;
  align-items: center;
}

.case-image {
  height: 104px;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.crop-case-cafe { background-image: url("assets/case-cafe.png"); }
.crop-case-mom { background-image: url("assets/case-mom.png"); }
.crop-case-beauty { background-image: url("assets/case-beauty.png"); }

.case-copy h3 {
  margin-top: 0;
  font-size: 18px;
}

.metrics {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.metrics strong {
  color: var(--gold);
  font-size: 25px;
  line-height: 1;
}

.metrics small {
  display: block;
  margin-top: 7px;
  color: #777;
  font-size: 10px;
  font-weight: 600;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  min-height: 88px;
  padding: 16px max(24px, calc((100vw - 1116px) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(44, 27, 14, 0.95)),
    url("assets/source.png");
  background-size: cover;
  background-position: center bottom;
}

.footer h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer strong {
  color: var(--gold-light);
}

.qr {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  width: 70px;
  height: 70px;
  padding: 8px;
  background: #fff;
}

.qr span {
  border: 6px solid #111;
}

.qr b {
  position: absolute;
  inset: 25px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--gold);
  font-size: 11px;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-inline: 24px;
  }

  .hero-bg {
    inset: 82px 0 auto 24%;
    height: 340px;
    opacity: 0.62;
  }

  .navbar {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    margin-top: 56px;
  }

  .stats,
  .value-grid,
  .industry-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding-inline: 24px;
  }

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

  .qr {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 14px 18px 22px;
  }

  .hero-bg {
    inset: 82px -220px auto 10%;
    height: 248px;
    background-size: 1000px auto;
    opacity: 0.38;
  }

  .brand {
    min-width: auto;
  }

  .brand small,
  .phone {
    display: none;
  }

  .nav-action .btn {
    min-height: 36px;
    padding-inline: 16px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 38px;
  }

  .hero h2 {
    max-width: 360px;
    font-size: 24px;
  }

  .hero-copy {
    max-width: 330px;
  }

  .stats,
  .value-grid,
  .industry-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .stats article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .stats article:last-child {
    border-bottom: 0;
  }

  .section {
    padding-inline: 18px;
  }

  .industry-grid {
    gap: 14px;
  }

  .crop {
    height: 135px;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-image {
    height: 160px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }
}
