/* 芯易驻官网首页 — 种子精灵品牌 */
:root {
  --seed-green: #16a34a;
  --seed-green-dark: #14532d;
  --seed-green-light: #22c55e;
  --seed-mint: #ecfdf5;
  --seed-bg: #f6fbf8;
}

.btn-primary { background: var(--seed-green); color: #fff; }
.btn-primary:hover { background: #15803d; }
.btn-outline { background: #fff; color: var(--seed-green); border: 1.5px solid var(--seed-green); }
.btn-outline:hover { background: var(--seed-mint); }

/* ===== Hero：左文案 + 右轮播窗口 ===== */
.hero {
  padding: 48px 40px 40px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 42%, #fff 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(360px, 1.28fr);
  gap: 36px 40px;
  align-items: center;
}
.hero-copy { text-align: left; }
.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--seed-green);
  background: #fff;
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.28;
  color: var(--seed-green-dark);
  margin-bottom: 16px;
}
.hero-title-line { display: block; }
.hero-title-sub {
  display: block;
  margin-top: 6px;
  font-size: 0.92em;
  color: var(--seed-green-dark);
}
.hero h1 em {
  font-style: normal;
  color: var(--seed-green);
}
.hero-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 460px;
}
.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  max-width: 380px;
}
.hero-features li {
  font-size: 14px;
  color: #334155;
  padding-left: 22px;
  position: relative;
}
.hero-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--seed-green);
  font-weight: 700;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--seed-green);
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 10px;
}
.hero .btn-primary:hover { background: #15803d; }
.hero .btn-outline {
  color: var(--seed-green);
  border-color: var(--seed-green);
  padding: 13px 24px;
  font-size: 15px;
  border-radius: 10px;
}
.hero .btn-outline:hover { background: var(--seed-mint); }

/* 右侧浏览器窗口 + 轮播（比例按实际图约 16:9，窗口加宽） */
.hero-visual { min-width: 0; width: 100%; }
.hero-browser {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  width: 100%;
}
.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}
.hero-dot:nth-child(1) { background: #f87171; }
.hero-dot:nth-child(2) { background: #fbbf24; }
.hero-dot:nth-child(3) { background: #4ade80; }
.hero-browser-url {
  margin-left: 10px;
  flex: 1;
  font-size: 12px;
  color: #64748b;
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-carousel {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #fff;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 14px;
  background: #fff;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: width .2s, background .2s;
}
.hero-dots button.is-active {
  width: 22px;
  background: var(--seed-green);
}

/* ===== 卖点条 ===== */
.home-stats {
  background: #fff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 22px 24px;
}
.home-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}
.home-stat strong {
  display: block;
  font-size: 20px;
  color: var(--seed-green-dark);
  margin-bottom: 4px;
}
.home-stat span {
  font-size: 13px;
  color: #64748b;
}

/* ===== 三步卡 ===== */
.home-steps {
  padding: 56px 24px 48px;
  background: var(--seed-bg);
  text-align: center;
}
.home-steps h2 {
  font-size: 28px;
  color: var(--seed-green-dark);
  margin-bottom: 10px;
}
.home-steps .sub {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 36px;
}
.steps-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.step-card {
  flex: 1 1 220px;
  max-width: 280px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 18px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.step-num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--seed-mint);
  color: var(--seed-green);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-mascot {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin: 8px auto 14px;
  display: block;
}
.step-card h3 {
  font-size: 16px;
  color: var(--seed-green-dark);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
}
.step-arrow {
  align-self: center;
  color: #86efac;
  font-size: 22px;
  font-weight: 700;
  flex: 0 0 auto;
  padding: 0 2px;
}

/* ===== 价值区 ===== */
.home-values {
  padding: 56px 48px;
  background: #fff;
}
.home-values h2 {
  text-align: center;
  font-size: 28px;
  color: var(--seed-green-dark);
  margin-bottom: 12px;
}
.home-values .sub {
  text-align: center;
  color: #64748b;
  font-size: 15px;
  margin-bottom: 36px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.value-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 14px 18px;
  text-align: center;
  transition: box-shadow .2s, border-color .2s;
}
.value-card:hover {
  border-color: #bbf7d0;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.08);
}
.value-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}
.value-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--seed-green-dark);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.65;
}

/* ===== 行业 ===== */
.home-industries {
  padding: 48px 24px 56px;
  background: var(--seed-bg);
  text-align: center;
}
.home-industries h2 {
  font-size: 26px;
  color: var(--seed-green-dark);
  margin-bottom: 8px;
}
.home-industries .sub {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 28px;
}
.industry-row {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.industry-row span {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  color: #334155;
  font-weight: 500;
}

.home-contact {
  padding: 48px 24px 56px;
  background: #fff;
  text-align: center;
}
.home-contact h2 {
  font-size: 28px;
  color: var(--seed-green-dark);
  margin-bottom: 10px;
}
.home-contact .sub {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 28px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-card {
  display: block;
  padding: 20px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.contact-card:hover {
  border-color: #bbf7d0;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.08);
}
.contact-card strong {
  display: block;
  font-size: 15px;
  color: var(--seed-green-dark);
  margin-bottom: 8px;
}
.contact-card span {
  font-size: 13px;
  color: #16a34a;
  word-break: break-all;
}

@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { gap: 28px; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-features { margin-left: auto; margin-right: auto; text-align: left; }
  .hero-btns { justify-content: center; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .home-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .step-arrow { display: none; }
}
@media (max-width: 720px) {
  .hero { padding: 28px 16px 32px; }
  .hero h1 { font-size: 28px; }
  .hero-features { grid-template-columns: 1fr; max-width: 280px; }
  .home-values { padding: 40px 20px; }
  .home-steps { padding: 40px 16px; }
  .value-grid { grid-template-columns: 1fr; max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; max-width: 320px; }
  .faq { padding: 40px 20px; }
  .home-stats-inner { grid-template-columns: 1fr 1fr; }
}
