:root {
  color-scheme: light;
  --ink: #14201b;
  --muted: #62736c;
  --line: rgba(31, 77, 58, 0.16);
  --surface: #f4f8f4;
  --surface-strong: #ffffff;
  --tech-dark: #071b15;
  --tech-panel: rgba(8, 33, 26, 0.66);
  --leaf: #238154;
  --leaf-deep: #134a34;
  --cyan: #20a5b6;
  --gold: #d6b45c;
  --shadow: 0 28px 80px rgba(9, 42, 30, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 56px;
  color: #ffffff;
  background: rgba(7, 27, 21, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.site-header-solid {
  position: sticky;
  color: var(--ink);
  background: rgba(244, 248, 244, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 760;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 44px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.site-header-solid .brand-logo {
  box-shadow: 0 10px 26px rgba(24, 65, 47, 0.1);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 680;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 4px 10px 4px 5px;
  white-space: nowrap;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.platform-link img {
  width: 24px;
  height: 24px;
  padding: 2px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
}

.platform-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.platform-link-strong {
  background: rgba(35, 129, 84, 0.28);
  border-color: rgba(255, 255, 255, 0.38);
}

.site-header-solid .platform-link {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(35, 129, 84, 0.2);
  box-shadow: 0 8px 22px rgba(24, 65, 47, 0.08);
}

.site-header-solid .platform-link-strong {
  background: rgba(35, 129, 84, 0.1);
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.site-header-solid .language-link {
  border-color: rgba(35, 129, 84, 0.22);
  background: #ffffff;
}

.hero {
  position: relative;
  display: flex;
  min-height: 90vh;
  padding: 142px 56px 58px;
  color: #ffffff;
  overflow: hidden;
  background: var(--tech-dark);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black 0%, black 58%, transparent 100%);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition:
    opacity 900ms ease,
    transform 1600ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide-one {
  background-image: url("assets/hero-smart-farm.png");
}

.slide-two {
  background-image: url("assets/hero-digital-breeding.png");
}

.slide-three {
  background-image: url("assets/hero-iot-ecosystem.png");
}

.slide-four {
  background-image: url("assets/hero-agritech.png");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 19, 15, 0.7) 0%, rgba(7, 31, 25, 0.5) 45%, rgba(8, 38, 31, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 19, 15, 0.16) 0%, rgba(5, 19, 15, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(100%, 1120px);
}

.hero-content-en {
  max-width: 900px;
}

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

.hero h1 {
  margin: 0;
  max-width: 1120px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 820;
}

.company-title {
  white-space: nowrap;
  font-size: clamp(21px, 4.15vw, 54px);
}

.hero-copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
  line-height: 1.82;
}

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

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

.primary-action {
  background: linear-gradient(90deg, #ffffff, #dff4ee);
  color: var(--leaf-deep);
  box-shadow: 0 18px 42px rgba(32, 165, 182, 0.18);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  left: 56px;
  right: 56px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1040px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.hero-metrics button {
  appearance: none;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  border-top: 3px solid transparent;
  background: rgba(7, 38, 29, 0.28);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 760;
  text-align: left;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.hero-metrics button:hover,
.hero-metrics button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero-metrics button.is-active {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.17);
  color: #ffffff;
}

.section {
  padding: 96px 56px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 72px;
  max-width: 1180px;
  margin: 0 auto;
}

.section h2,
.value-panel h2,
.contact-section h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.22;
}

.section-copy {
  display: grid;
  gap: 20px;
}

.section-copy p,
.value-panel p,
.contact-lead,
.policy-content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.intro-section {
  background:
    linear-gradient(135deg, rgba(35, 129, 84, 0.09), rgba(32, 165, 182, 0.08)),
    var(--surface);
}

.capability-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(6, 24, 18, 0.98), rgba(10, 51, 41, 0.96)),
    var(--tech-dark);
}

.capability-section > .section-kicker,
.capability-section > h2 {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 44px auto 0;
}

.capability-card {
  min-height: 276px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(32, 165, 182, 0.13), rgba(255, 255, 255, 0.02)),
    var(--tech-panel);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.card-index {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 860;
}

.capability-card h3 {
  margin: 34px 0 14px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.36;
}

.capability-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.85;
}

.value-section {
  background:
    linear-gradient(120deg, rgba(35, 129, 84, 0.11), rgba(32, 165, 182, 0.11)),
    var(--surface);
}

.value-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px;
  border: 1px solid rgba(35, 129, 84, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 72px;
  max-width: 1292px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3)),
    var(--surface);
}

.contact-lead {
  margin-top: 22px;
  max-width: 540px;
}

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

.contact-item {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-left: 4px solid var(--leaf);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(23, 67, 47, 0.09);
}

.contact-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.contact-item strong {
  font-size: 18px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 56px;
  color: rgba(255, 255, 255, 0.8);
  background: #071b15;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-platform-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.footer-platform-card {
  display: inline-flex;
  align-items: center;
  min-width: 248px;
  gap: 10px;
  padding: 10px 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.footer-platform-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
}

.footer-platform-card img {
  width: 34px;
  height: 34px;
  padding: 4px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 7px;
}

.footer-platform-card span {
  display: grid;
  gap: 2px;
  line-height: 1.25;
}

.footer-platform-card strong {
  color: #ffffff;
  font-size: 13px;
}

.footer-platform-card small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.footer-legal-row,
.footer-record-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-row a,
.footer-record-row a,
.footer-record-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-row a,
.footer-record-row a,
.footer-record-row span {
  font-size: 12px;
}

.footer-legal-row a:hover,
.footer-record-row a:hover {
  color: #ffffff;
}

.beian-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.plain-page {
  background: var(--surface);
}

.policy-main {
  padding: 86px 24px 96px;
}

.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 54px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.policy-content h1 {
  margin: 0 0 28px;
  font-size: 42px;
  line-height: 1.18;
}

.policy-content h2 {
  margin: 34px 0 12px;
  font-size: 22px;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 14px 24px;
  }

  .nav-links {
    gap: 10px;
    font-size: 14px;
  }

  .platform-link {
    padding-right: 8px;
    font-size: 13px;
  }

  .hero {
    min-height: 780px;
    padding: 128px 24px 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-metrics {
    left: 24px;
    right: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 76px 24px;
  }

  .section-grid,
  .value-panel,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .value-panel {
    padding: 36px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .brand {
    width: 100%;
  }

  .brand-logo {
    width: 112px;
    height: 42px;
  }

  .brand-text {
    white-space: normal;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .platform-link {
    min-height: 32px;
  }

  .platform-link img {
    width: 22px;
    height: 22px;
  }

  .hero {
    min-height: 820px;
    padding-top: 154px;
  }

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

  .company-title {
    font-size: clamp(18px, 5.35vw, 28px);
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics button {
    min-height: 48px;
  }

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

  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
  }

  .value-panel,
  .policy-content {
    padding: 28px;
  }

  .contact-item strong {
    font-size: 16px;
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 24px;
  }

  .footer-platform-row {
    width: 100%;
  }

  .footer-platform-card {
    width: 100%;
    min-width: 0;
  }

  .footer-legal-row a,
  .footer-record-row a,
  .footer-record-row span {
    font-size: 11px;
  }
}
