/* ==========================================================================
   智慧牧场系统解决方案 · 产品详情页
   ========================================================================== */

:root {
  /* 深色体系 */
  --ink-900: #04120E;
  --ink-800: #08211A;
  --ink-700: #0D2A22;
  --on-dark-1: #F1F6F3;
  --on-dark-2: #9DB4AA;
  --on-dark-3: #7E968C;
  --hairline: rgba(255, 255, 255, 0.11);

  /* 浅色体系 */
  --paper: #F6F8F7;
  --card: #FFFFFF;
  --text-1: #0C1B16;
  --text-2: #5E6F68;
  --text-3: #8A9A93;
  --border-1: #E6EBE8;
  --border-2: #D3DAD6;

  /* 主色 */
  --accent: #0F5B45;
  --accent-2: #1FA97A;
  --accent-soft: #EAF4EF;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
               "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei",
               system-ui, -apple-system, sans-serif;
  --font-serif: "Source Han Serif CN", "Noto Serif SC", "Songti SC",
                "STSong", "SimSun", Georgia, serif;

  --wrap: 1440px;
  --gutter: clamp(20px, 8.33vw, 120px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease,
              border-color .18s ease, color .18s ease;
}
.btn--sm { padding: 11px 24px; font-size: 15px; }

.btn--primary {
  background: var(--accent-2);
  color: #04140F;
}
.btn--primary:hover { background: #34cd93; transform: translateY(-1px); }

.btn--ghost {
  color: #C9D8D2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.42); color: #fff; }

/* ---------- 品牌标识 ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand__text b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--on-dark-1);
}
.brand__text i {
  font-family: Inter, var(--font-sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .14em;
  color: #6E857C;
}

/* ==========================================================================
   顶部导航
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 17, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 88px;
}
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__links a {
  font-size: 15px;
  color: var(--on-dark-2);
  transition: color .18s ease;
}
.nav__links a:hover { color: var(--on-dark-1); }

.nav__actions { display: flex; align-items: center; gap: 24px; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: #C9D8D2;
}
.nav__phone svg { width: 18px; height: 18px; }
.nav__phone:hover { color: #fff; }

/* ==========================================================================
   头图区
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 4px;
  background:
    radial-gradient(ellipse 58% 52% at 78% 16%, rgba(47, 191, 135, 0.17), transparent 68%),
    linear-gradient(135deg, #08211A 0%, #04120E 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 46% 26%, #000 38%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 46% 26%, #000 38%, transparent 80%);
}
.hero > * { position: relative; z-index: 1; }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 512px);
  justify-content: space-between;
  align-items: center;
  gap: 76px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  letter-spacing: .03em;
  color: #A9C2B9;
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2FBF87;
  flex: none;
}

.hero__title {
  margin: 24px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 1.32;
  letter-spacing: .02em;
  color: var(--on-dark-1);
}
.hero__title span { display: block; }
.hero__title .is-accent { color: #2FBF87; }

.hero__sub {
  margin-top: 24px;
  max-width: 600px;
  font-size: 16px;
  line-height: 1.82;
  color: var(--on-dark-2);
}

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

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--on-dark-3);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust li::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 7.4l3 3 6-6.8' stroke='%232FBF87' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero__media { margin: 0; }
.hero__media img {
  width: 100%;
  height: 344px;
  object-fit: cover;
  border-radius: 6px;
}
.hero__media figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: #6E857C;
}
.hero__media figcaption svg { width: 14px; height: 14px; flex: none; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  padding: 26px 0 42px;
}
.stat { padding-left: 36px; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.stat strong {
  display: block;
  font-family: Inter, var(--font-sans);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--on-dark-1);
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--on-dark-3);
}

/* ==========================================================================
   通用区块
   ========================================================================== */
.sec { padding: 104px 0 110px; }
.sec--white { background: #FFFFFF; }
.sec--paper { background: var(--paper); }

.sec__head { max-width: 900px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--accent-2);
  flex: none;
}

.sec h2 {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.32;
  letter-spacing: .01em;
  color: var(--text-1);
}

.sec__lead {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-2);
}

/* ---------- 数据链路 ---------- */
.chain {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
  padding: 28px 36px;
  border-radius: 10px;
  background: var(--paper);
}
.sec--paper .chain { background: #FFFFFF; }
.chain__item b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-1);
}
.chain__item span {
  display: block;
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-3);
}
.chain__arrow { width: 20px; height: 20px; display: block; }
.chain__arrow svg { width: 100%; height: 100%; }

/* ---------- 问题 / 能力对照 ---------- */
.matrix {
  margin-top: 52px;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: #FFFFFF;
  overflow: hidden;
}
.matrix__head,
.matrix__row {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: 0;
  padding: 17px 30px;
}
.matrix__head { background: #F5F7F6; }
.matrix__head span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-3);
}
.matrix__head .is-accent { color: var(--accent); }
.matrix__row { padding: 21px 30px; }
.matrix__row + .matrix__row { border-top: 1px solid #EDF1EF; }
.matrix__q { font-size: 14px; color: var(--text-2); }
.matrix__a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--accent);
}

/* ==========================================================================
   核心功能
   ========================================================================== */
.feat {
  display: grid;
  grid-template-columns: minmax(320px, 560px) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  margin-top: 64px;
}
.feat:first-of-type { margin-top: 64px; }

.feat--flip { grid-template-columns: minmax(0, 1fr) minmax(320px, 560px); }
.feat--flip .feat__body { order: 2; }
.feat--flip .feat__media { order: 1; }

.feat__body h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--text-1);
}
.feat__body h3 i {
  font-family: Inter, var(--font-sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent-2);
}
.feat__body > p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-2);
}

.ticks { margin-top: 16px; }
.ticks li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #43534C;
}
.ticks li + li { margin-top: 13px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 7.4l3 3 6-6.8' stroke='%231FA97A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.feat__media { margin: 0; }
.feat__media img {
  width: 100%;
  height: 372px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-1);
  background: #FFFFFF;
}

/* ---------- 功能卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 72px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 26px;
  border: 1px solid var(--border-1);
  border-radius: 10px;
  background: #FFFFFF;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #CFE3DA;
  box-shadow: 0 14px 34px -18px rgba(12, 27, 22, 0.28);
}
.card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent-soft);
}
.card__ico svg { width: 20px; height: 20px; }
.card h4 { font-size: 17px; font-weight: 600; color: var(--text-1); }
.card p { font-size: 13.5px; line-height: 1.78; color: var(--text-2); }
.card__meta {
  margin-top: auto;
  padding-top: 4px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-3);
}

/* ---------- 多终端带 ---------- */
.band {
  margin-top: 72px;
  padding: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0A2A20 0%, #051210 100%);
}
.band__head h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--on-dark-1);
}
.band__head p {
  margin-top: 10px;
  max-width: 720px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--on-dark-2);
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.band__grid figure { margin: 0; }
.band__grid img {
  width: 100%;
  height: 236px;
  object-fit: cover;
  border-radius: 8px;
  background: #0A1E19;
}
.band__grid figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--on-dark-2);
}

/* ==========================================================================
   应用场景
   ========================================================================== */
.scenes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.scene {
  padding: 30px 28px;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: var(--paper);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sec--paper .scene { background: #FFFFFF; }
.scene:hover {
  transform: translateY(-2px);
  border-color: #CFE3DA;
  box-shadow: 0 14px 34px -18px rgba(12, 27, 22, 0.24);
}
.scene__tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--accent);
}
.scene h3 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-1);
}
.scene dl { margin: 0; }
.scene dt {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--text-3);
}
.scene dd {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: #43534C;
}
.scene dd ul { margin: 0; }
.scene dd li {
  position: relative;
  padding-left: 14px;
}
.scene dd li + li { margin-top: 6px; }
.scene dd li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #A9C2B9;
}
.scene dd.is-accent { color: var(--accent); }

/* ==========================================================================
   页脚
   ========================================================================== */
.foot {
  background: linear-gradient(180deg, #08201A 0%, #04100D 100%);
  padding-top: 72px;
}
.foot__main {
  display: grid;
  grid-template-columns: minmax(0, 460px) auto;
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}
.foot__brand > p {
  margin-top: 20px;
  max-width: 460px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--on-dark-3);
}
.foot__brand .btn { margin-top: 26px; }

.foot__cols { display: grid; grid-template-columns: 180px minmax(0, 320px); gap: 80px; }
.foot__col h5 {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #5E736A;
}
.foot__col a,
.foot__col p {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: #A9C2B9;
}
.foot__col a {
  padding: 6px 0;
  transition: color .18s ease;
}
.foot__col a:hover { color: #fff; }
.foot__col p + p { margin-top: 10px; }

.foot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #5E736A;
}

/* ==========================================================================
   入场动效
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1),
              transform .7s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .hero__media img { height: 320px; }
  .feat,
  .feat--flip { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .feat--flip .feat__body { order: 1; }
  .feat--flip .feat__media { order: 2; }
  .feat__media img { height: 300px; }
  .band { padding: 32px 26px; }
  .band__grid { grid-template-columns: 1fr; }
  .band__grid img { height: 220px; }
  .foot__main { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .sec { padding: 72px 0 76px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-left: 0; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(-n+2) { padding-bottom: 22px; }
  .stat:nth-child(2n) { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.1); }
  .chain { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .chain__arrow { transform: rotate(90deg); }
  .matrix__head, .matrix__row { grid-template-columns: 1fr; gap: 10px; }
  .matrix__q { font-size: 13.5px; color: var(--text-3); }
  .foot__cols { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav__phone span { display: none; }
  .nav__actions { gap: 14px; }
  .hero__media img { height: 240px; }
  .feat__media img { height: 230px; }
  .band__grid img { height: 190px; }
  .cards, .scenes { grid-template-columns: 1fr; }
}
