:root {
  --agro-deep: #004d40;
  --agro-forest: #1b5e20;
  --agro-green: #8ab929;
  --agro-green-bright: #76b82a;
  --agro-teal: #00897b;
  --agro-text: #293a4c;
  --agro-text-secondary: #5b5c60;
  --agro-text-muted: #9e9e9e;
  --agro-glass: rgba(255, 255, 255, 0.72);
  --agro-glass-border: rgba(255, 255, 255, 0.55);
  --agro-shadow: 0 4px 24px rgba(0, 77, 64, 0.08);
  --agro-radius: 16px;
  --agro-nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--agro-text);
  background: #f4f8f6;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.agro-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── Navbar ── */
.agro-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--agro-nav-h);
  backdrop-filter: blur(12px);
}

.agro-nav--scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 16px rgba(0, 77, 64, 0.08);
}

.agro-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 60px;
}

.agro-nav__start {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.agro-nav__logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.agro-nav__logo-reach img {
  display: block;
  height: 40px;
  width: auto;
}

.agro-nav__logo-agro {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.agro-nav__logo-mark {
  display: block;
  width: 40px;
  height: 36px;
  flex-shrink: 0;
}

.agro-nav__logo-wordmark {
  display: block;
  width: 73px;
  height: auto;
  flex-shrink: 0;
}

.agro-nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agro-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 21px 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: #293a4c;
  white-space: nowrap;
  transition: color 0.2s;
}

.agro-nav__link:hover {
  color: var(--agro-green);
}

.agro-nav__actions {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  height: 100%;
}

.agro-nav__link--reach {
  padding: 21px 22px;
}

.agro-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: #76b82a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
  transition: background 0.2s;
}

.agro-nav__cta:hover {
  background: #6aa625;
  color: #fff;
}

.agro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.agro-btn:hover {
  transform: translateY(-1px);
}

.agro-btn--ghost {
  background: transparent;
  border: 1px solid rgba(0, 77, 64, 0.2);
  color: var(--agro-deep);
}

.agro-btn--ghost:hover {
  border-color: var(--agro-green);
  color: var(--agro-green);
}

.agro-btn--primary {
  background: linear-gradient(135deg, var(--agro-deep) 0%, var(--agro-forest) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 77, 64, 0.25);
}

.agro-btn--primary:hover {
  box-shadow: 0 6px 20px rgba(0, 77, 64, 0.35);
}

.agro-btn--accent {
  gap: 8px;
  background: linear-gradient(135deg, var(--agro-green) 0%, var(--agro-green-bright) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(138, 185, 41, 0.35);
}

.agro-btn__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
  background-color: currentColor;
  mask-image: url('../assets/home/arrow-right-line.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url('../assets/home/arrow-right-line.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.agro-btn--large {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 14px;
}

.agro-btn--block {
  width: 100%;
}

/* ── Hero ── */
.agro-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: auto;
  min-height: 920px;
  padding: var(--agro-nav-h) 0 48px;
  overflow: hidden;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(138, 185, 41, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(0, 137, 123, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #E8F8EE 0%, #f4f8f6 50%, #fff 100%);
}

.agro-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 77, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 77, 64, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 80%);
  pointer-events: none;
}

.agro-hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 185, 41, 0.2) 0%, transparent 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: agro-pulse 6s ease-in-out infinite;
}

@keyframes agro-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

.agro-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.agro-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.agro-hero__tag {
  display: inline-flex;
  align-items: center;
  height: 40px;
  border-radius: 20px;
  background: #fbf4ec;
  border: 1px solid #ff8122;
  box-sizing: border-box;
}

.agro-hero__tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  height: 40px;
  padding: 2px 12px;
  background: #ff8122;
  border-radius: 20px;
  box-sizing: border-box;
}

.agro-hero__tag-icon {
  flex-shrink: 0;
  display: block;
  width: 28px;
  height: 26px;
}

.agro-hero__tag-wordmark {
  flex-shrink: 0;
  display: block;
  width: auto;
  height: 18px;
}

.agro-hero__tag-text {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #ff8122;
  white-space: nowrap;
}

.agro-hero__logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.agro-hero__logo {
  width: min(320px, 70vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 77, 64, 0.12));
}

.agro-hero__brand {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--agro-deep) 0%, var(--agro-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

.agro-hero__slogan {
  margin: 0;
  width: 100%;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: normal;
  color: var(--agro-text);
}

.agro-hero__sub {
  margin: 0;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #5b5c60;
}

.agro-hero__preview-scene {
  width: min(1320px, calc(100vw - 96px));
  max-width: none;
  margin-top: 0;
}

.agro-hero__preview-perspective {
  perspective: 30rem;
  width: 100%;
}

.agro-hero__preview {
  --agro-preview-tilt: 3deg;
  transform-style: preserve-3d;
  transform: rotateX(var(--agro-preview-tilt));
  transition: transform 0.25s ease;
  will-change: transform;
}

.agro-hero__preview-frame {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #fff;
  background: linear-gradient(
    96.84deg,
    #f3f9ff 0%,
    #eaf7dc 63.09%,
    #ddf2e7 100%
  );
  box-shadow: 0 24px 80px rgba(0, 77, 64, 0.12);
}

.agro-hero__preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  padding: 6px;
  border-radius: 12px;
}

.agro-hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.agro-hero__bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 20px;
  border: 1px solid var(--agro-glass-border);
  border-radius: 12px;
  background: var(--agro-glass);
  backdrop-filter: blur(10px);
  font-size: 15px;
  line-height: 24px;
  color: var(--agro-text);
}

.agro-hero__bullet-icon {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 24px;
}

/* ── Section common ── */
.agro-section {
  padding: 96px 0;
}

.agro-section--dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150.64deg, #0f3d2e 0%, #1f7a4d 58%, #07251d 100%);
  color: #fff;
}

.agro-section--dark::before,
.agro-section--dark::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.6;
  pointer-events: none;
}

.agro-section--dark::before {
  top: -96px;
  right: 5%;
  width: 288px;
  height: 288px;
  background: #0ea5a4;
}

.agro-section--dark::after {
  bottom: -48px;
  left: 5%;
  width: 320px;
  height: 320px;
  background: rgba(118, 184, 42, 0.33);
}

.agro-section--light {
  background: #fff;
}

.agro-section--muted {
  background: #F4F8F6;
}

.agro-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  text-align: center;
}

.agro-section__tag {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(138, 185, 41, 0.12);
  font-size: 13px;
  font-weight: 500;
  color: var(--agro-green);
}

.agro-section--dark .agro-section__tag {
  background: rgba(255, 255, 255, 0.12);
  color: #c5e89a;
}

.agro-section__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--agro-text);
}

.agro-section--dark .agro-section__title {
  color: #fff;
}

.agro-section__desc {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 26px;
  color: var(--agro-text-secondary);
}

.agro-section--dark .agro-section__desc {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Tools：4 列网格，首行 2+1+1，次行 1+1+1+1 ── */
.agro-tools-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.agro-tools-board .agro-tool-card:first-child,
.agro-tool-card--featured {
  grid-column: span 2;
}

.agro-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--agro-radius);
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 20px rgba(0, 77, 64, 0.08);
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}

.agro-tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--agro-deep), var(--agro-green));
  opacity: 0;
  transition: opacity 0.25s;
}

.agro-tool-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(150.71deg, #ffffff 0%, #f6fbf8 100%);
  border-color: #e5e5e5;
  box-shadow: 0 12px 40px rgba(0, 77, 64, 0.12);
}

.agro-tool-card:hover::before {
  opacity: 1;
}

.agro-tool-card__icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(138, 185, 41, 0.12);
}

.agro-tool-card__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--agro-deep);
}

.agro-tool-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--agro-text-secondary);
}

.agro-tool-card__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--agro-green);
}

.agro-tool-card__link:hover {
  text-decoration: underline;
}

/* ── Services ── */
.agro-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.agro-service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--agro-radius);
  background: var(--agro-glass);
  border: 1px solid var(--agro-glass-border);
  backdrop-filter: blur(10px);
}

.agro-service-card__icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 77, 64, 0.08);
}

.agro-service-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--agro-deep);
}

.agro-service-card p {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--agro-text-secondary);
}

/* ── Trust ── */
.agro-trust {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}

.agro-trust__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.agro-trust__title {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: normal;
  color: #fff;
}

.agro-trust__desc {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.8);
}

.agro-trust__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.agro-trust__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 26px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.agro-trust__contact:hover {
  opacity: 0.92;
}

.agro-trust__contact-icon {
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
}

.agro-trust__contact--phone {
  background: #fff;
  color: #00897b;
  font-weight: 500;
}

.agro-trust__contact--email {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-weight: 400;
}

.agro-trust__contact--email:hover {
  background: rgba(255, 255, 255, 0.08);
}

.agro-trust__highlight {
  padding: 24px 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.9);
}

/* ── 关于珑舟 ── */
.agro-about-section {
  scroll-margin-top: var(--agro-nav-h);
  background: linear-gradient(90deg, #f4f8f6 0%, #eef5f0 100%);
}

.agro-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 96px 0;
}

.agro-about__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.agro-about__title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: normal;
  color: var(--agro-text);
}

.agro-about__lead {
  margin: 0;
  max-width: 720px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--agro-text-secondary);
}

.agro-about__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.agro-about__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.agro-about__cards-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.agro-about__card {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 96px 24px 24px;
  border-radius: var(--agro-radius);
  background: #fff;
  overflow: hidden;
}

.agro-about__card-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: #fff;
}

.agro-about__card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.agro-about__card--long .agro-about__card-bg::after {
  background-image: url('../assets/about-card-long-bg.jpg');
}

.agro-about__card--zhou .agro-about__card-bg::after {
  background-image: url('../assets/about-card-zhou-bg.jpg');
}

.agro-about__card-icon,
.agro-about__card-body {
  position: relative;
  z-index: 1;
}

.agro-about__card--mission {
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(118, 184, 42, 0.2) 0%, rgba(118, 184, 42, 0) 100%);
  border-left: 6px solid var(--agro-green-bright);
}

.agro-about__card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--agro-green-bright);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}

.agro-about__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.agro-about__card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  color: var(--agro-deep);
}

.agro-about__card-text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--agro-text);
}

.agro-about__mission-text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  color: var(--agro-green-bright);
}

.agro-about__divider {
  width: 100%;
  height: 0;
  margin: 0;
  border: none;
  border-top: 1px solid rgba(0, 77, 64, 0.12);
}

.agro-about__reach {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.agro-about__reach-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  color: var(--agro-deep);
}

.agro-about__reach-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agro-about__reach-text p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--agro-text-secondary);
}

.agro-btn--footer-cta {
  gap: 8px;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--agro-green-bright);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  box-shadow: none;
}

.agro-btn--footer-cta:hover {
  background: #6aa625;
  box-shadow: 0 4px 16px rgba(118, 184, 42, 0.35);
}

.agro-footer-bar {
  position: relative;
  z-index: 1;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 77, 64, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

.agro-footer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--agro-text-secondary);
}

.agro-footer-bar__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  line-height: 20px;
  text-align: center;
}

.agro-footer-bar__beian {
  color: inherit;
  text-decoration: none;
}

.agro-footer-bar__beian:hover {
  color: var(--agro-green);
}

.agro-footer-bar__beian--police {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.agro-footer-bar__beian--police img {
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .agro-nav__inner {
    padding-left: 24px;
  }

  .agro-nav__menu {
    display: none;
  }

  .agro-tools-board .agro-tool-card,
  .agro-tools-board .agro-tool-card:first-child {
    grid-column: span 4;
  }

  .agro-services {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .agro-nav__inner {
    padding-left: 16px;
  }

  .agro-nav__logo-reach,
  .agro-nav__link--reach {
    display: none;
  }

  .agro-hero__bullets {
    width: 100%;
  }

  .agro-about {
    gap: 48px;
    padding: 64px 0;
  }

  .agro-about__title {
    font-size: 28px;
  }

}
