/* ==============================================
   沃普农业 — 产品中心专用样式
   products.css
   ============================================== */

/* ── 字体补充 ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

body { font-family: 'Noto Sans SC', 'Roboto', sans-serif; }

/* ══════════════════════════════════════════
   PAGE HERO — 产品中心横幅
══════════════════════════════════════════ */
.products-hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1e5c26 50%, #2d7a35 100%);
  padding: 64px 0 56px;
  overflow: hidden;
}
.products-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../images/field.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.products-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.products-hero .container { position: relative; z-index: 1; }

/* 面包屑 */
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li a { color: rgba(255,255,255,0.75); font-size: 0.85rem; transition: color 0.2s; }
.breadcrumb li a:hover { color: var(--white); }
.breadcrumb li span { color: rgba(255,255,255,0.95); font-size: 0.85rem; }
.breadcrumb .sep { color: rgba(255,255,255,0.4); font-size: 0.65rem; }

.page-hero-title {
  font-family: 'Noto Sans SC', var(--font-head), sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.page-hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 800px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Hero 统计 */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat strong {
  font-family: 'Noto Sans SC', var(--font-head), sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════
   FILTER BAR — 粘性筛选栏
══════════════════════════════════════════ */
.products-filter-bar {
  position: sticky;
  top: 72px; /* header height */
  z-index: 900;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
.products-filter-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
  height: 60px;
}
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  padding: 0 10px;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  transition: all 0.25s;
  border: 2px solid transparent;
  background: none;
  min-width: max-content;
}
.filter-tab i { font-size: 0.8rem; }
.filter-tab:hover {
  color: var(--green-main);
  background: var(--green-pale);
}
.filter-tab.active {
  color: var(--white);
  background: var(--green-main);
  border-color: var(--green-main);
  box-shadow: 0 3px 12px rgba(45,122,53,0.3);
}

/* 搜索框 */
.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  min-width: 220px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filter-search:focus-within {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(45,122,53,0.12);
}
.filter-search i { color: var(--text-light); font-size: 0.85rem; flex-shrink: 0; }
.filter-search input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.87rem;
  color: var(--text-dark);
  width: 100%;
  font-family: inherit;
}
.filter-search input::placeholder { color: var(--text-light); }

/* ══════════════════════════════════════════
   PRODUCT CATEGORY SECTIONS
══════════════════════════════════════════ */
.product-category {
  padding: 72px 0 64px;
  transition: opacity 0.3s, transform 0.3s;
}
.product-category.bg-alt { background: var(--bg-section); }
.product-category.hidden-cat { display: none; }

/* 分类标题区 */
.cat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cat-header-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

/* 分类图标 */
.cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  color: var(--white);
}
.chelated-icon { background: linear-gradient(135deg, #1a4a1f, #2d7a35); }
.npk-icon      { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.amino-icon    { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.algae-icon    { background: linear-gradient(135deg, #00695c, #26a69a); }
.fish-icon     { background: linear-gradient(135deg, #e65100, #ffa726); }

.cat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 6px;
}
.cat-title {
  font-family: 'Noto Sans SC', var(--font-head), sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.cat-desc {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 680px;
}
.cat-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-main);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.cat-all-link:hover {
  color: var(--green-dark);
  border-bottom-color: var(--green-dark);
  gap: 10px;
}

/* 分类特性标签 */
.cat-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.cat-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(45,122,53,0.2);
}
.cat-feature i { color: var(--green-main); font-size: 0.75rem; }

/* ══════════════════════════════════════════
   PRODUCTS GRID
══════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ── 产品卡片 ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card.filtered-out {
  opacity: 0.25;
  pointer-events: none;
  transform: scale(0.97);
}

/* 卡片图片区 */
.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-section);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.07); }

/* 徽章 */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}
.badge-hot  { background: #e53935; color: #fff; }
.badge-new  { background: var(--accent); color: #fff; }
.badge-sale { background: #7b1fa2; color: #fff; }

/* Overlay 右上角等级标签 - 始终显示 */
.overlay-grades {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}
.overlay-grade {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.overlay-grade.grade-industrial {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
  color: #fff;
}
.overlay-grade.grade-food {
  background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
  color: #fff;
}
.overlay-grade.grade-feed {
  background: linear-gradient(135deg, #e65100 0%, #f57c00 100%);
  color: #fff;
}

/* 悬浮操作层 */
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,74,31,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--white);
  color: var(--green-dark);
  transition: all 0.2s;
}
.overlay-btn:hover { background: var(--green-light); color: var(--white); }
.overlay-btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.overlay-btn-outline:hover { background: var(--white); color: var(--green-dark); }

/* 卡片内容区 */
.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
  flex-wrap: wrap;
}
.product-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-main);
  background: var(--green-pale);
  padding: 3px 8px;
  border-radius: 4px;
}
.product-sku {
  font-size: 0.72rem;
  color: var(--text-light);
  font-family: 'Courier New', monospace;
}
.product-card-title {
  font-family: 'Noto Sans SC', var(--font-head), sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--green-main); }
.product-card-subtitle {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* 参数速览 */
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  background: var(--bg-light);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  flex: 1;
}
/* 等级标签 */
.spec-grade {
  grid-column: 1 / -1;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.spec-grade.grade-industrial {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1565c0;
  border: 1px solid #90caf9;
}
.spec-grade.grade-food {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.spec-grade.grade-feed {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #e65100;
  border: 1px solid #ffcc80;
}
.spec-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.spec-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.spec-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* 卡片底部 */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.product-moq {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-light);
}
.product-moq i { color: var(--green-main); font-size: 0.75rem; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* ══════════════════════════════════════════
   CATEGORY DIVIDER
══════════════════════════════════════════ */
.cat-divider { padding: 0; }
.divider-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ══════════════════════════════════════════
   OEM BANNER
══════════════════════════════════════════ */
.oem-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1e5c26 100%);
  padding: 64px 0;
}
.oem-banner-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.oem-banner-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}
.oem-banner-text { flex: 1; min-width: 240px; }
.oem-banner-text h2 {
  font-family: 'Noto Sans SC', var(--font-head), sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.oem-banner-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}
.oem-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
  z-index: 9991;
}

/* ══════════════════════════════════════════
   NO RESULTS
══════════════════════════════════════════ */
.no-results { padding: 80px 0; }
.no-results-inner {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}
.no-results-inner i {
  font-size: 3rem;
  color: var(--border);
  margin-bottom: 20px;
}
.no-results-inner h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.no-results-inner p {
  color: var(--text-light);
  margin-bottom: 24px;
}
.no-results-inner a { color: var(--green-main); font-weight: 600; }

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   FOOTER (products page overrides)
══════════════════════════════════════════ */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-about {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0 20px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--green-main); color: var(--white); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  border-bottom: none;
  padding-bottom: 0;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0; }
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.87rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green-light); padding-left: 4px; }
.footer-col ul li i { color: var(--green-light); font-size: 0.8rem; margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--green-light); }
.footer-contacts p { font-size: 0.87rem; color: rgba(255,255,255,0.65); margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contacts p i { color: var(--green-light); margin-top: 3px; flex-shrink: 0; }
.footer-contacts p a { color: rgba(255,255,255,0.75); }
.footer-contacts p a:hover { color: var(--white); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .products-filter-bar .container {
    flex-direction: column;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px;
  }
  .filter-tabs { width: 100%; }
  .filter-search { width: 100%; min-width: unset; }
  .cat-header { flex-direction: column; }
  .cat-header-left { flex-direction: column; gap: 14px; }
  .cat-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .oem-banner-inner { flex-direction: column; text-align: center; }
  .oem-banner-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .filter-tab { padding: 7px 12px; font-size: 0.82rem; }
  .product-specs { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════
   WHY US — 为什么选择我们
══════════════════════════════════════════ */
.why-us-section {
  padding: 72px 0 64px;
}
.why-us-section .section-header {
  margin-bottom: 40px;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.why-us-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-us-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-us-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green-main);
  margin-bottom: 16px;
}
.why-us-item h3 {
  font-family: 'Noto Sans SC', var(--font-head), sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.why-us-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   APPLICATION — 应用场景
══════════════════════════════════════════ */
.application-section {
  padding: 72px 0 64px;
}
.application-section .section-header {
  margin-bottom: 40px;
}
.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.application-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.application-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.application-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-pale), #d0f0d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green-main);
  margin-bottom: 16px;
}
.application-item h3 {
  font-family: 'Noto Sans SC', var(--font-head), sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.application-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
}

@media (min-width: 1200px) {
  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .why-us-grid,
  .application-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .why-us-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════
   APP NARRATIVE — Z 字型交错实景叙事布局
══════════════════════════════════════════ */
.app-narrative {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 56px;
}

/* 每一行：图 + 文 */
.app-narrative-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  margin-bottom: 40px;
  background: var(--white);
  border: 1px solid var(--border);
}

/* 第二行翻转（Z 字型：右图左文） */
.app-narrative-row--reverse {
  direction: rtl;
}
.app-narrative-row--reverse > * {
  direction: ltr;
}

/* 图片区 */
.app-narrative-img {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.app-narrative-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.app-narrative-row:hover .app-narrative-img img {
  transform: scale(1.04);
}

/* 图片角标 */
.app-narrative-img-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(26, 74, 31, 0.88);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}
.app-narrative-row--reverse .app-narrative-img-badge {
  left: auto;
  right: 18px;
}

/* 文字区 */
.app-narrative-text {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

/* 场景标签 */
.app-narrative-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 10px;
}

/* 标题 */
.app-narrative-title {
  font-family: 'Noto Sans SC', var(--font-head), sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

/* 引言段落 */
.app-narrative-lead {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* 高亮核心卖点 */
.app-narrative-highlight {
  background: linear-gradient(135deg, var(--green-pale) 0%, #d4edda 100%);
  border-left: 4px solid var(--green-main);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.app-narrative-highlight i {
  color: var(--green-main);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.app-narrative-highlight span {
  font-weight: 700;
  color: var(--green-dark);
}

/* 要点列表 */
.app-narrative-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.app-narrative-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.app-narrative-list li i {
  color: var(--green-main);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* "更多应用场景"小标题分割线 */
.app-grid-subtitle {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.app-grid-subtitle::before,
.app-grid-subtitle::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.app-grid-subtitle span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
  padding: 0 8px;
}

/* ── 响应式 ── */
@media (max-width: 900px) {
  .app-narrative-row {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .app-narrative-row--reverse > * {
    direction: ltr;
  }
  .app-narrative-img {
    min-height: 240px;
  }
  .app-narrative-row--reverse .app-narrative-img-badge {
    left: 18px;
    right: auto;
  }
  .app-narrative-text {
    padding: 32px 28px;
  }
}

@media (max-width: 480px) {
  .app-narrative-img {
    min-height: 200px;
  }
  .app-narrative-text {
    padding: 24px 20px;
  }
  .app-narrative-highlight {
    flex-direction: column;
    gap: 6px;
  }
}


/* ═══════════════════════════════════════════════════════
   交互式应用场景切换器  (.app-switcher)
   布局：左侧标签列 + 右侧图文展示框 + 左右箭头
═══════════════════════════════════════════════════════ */

/* ── 外层容器 ── */
.app-switcher {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  margin-top: 2.5rem;
  background: #fff;
}

/* ── 左侧标签列 ── */
.app-switcher__tabs {
  display: flex;
  flex-direction: column;
  background: #1a3a2a;
  padding: 8px 0;
}

.app-switcher__tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background .2s, color .2s, border-left .2s;
  border-left: 3px solid transparent;
  line-height: 1.35;
  font-family: inherit;
}

.app-switcher__tab i {
  font-size: 1rem;
  width: 18px;
  flex-shrink: 0;
  opacity: .8;
}

.app-switcher__tab:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.app-switcher__tab.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-left-color: #7ec850;
  font-weight: 600;
}

.app-switcher__tab.active i {
  opacity: 1;
  color: #7ec850;
}

/* ── 右侧展示框（相对定位，用于放置箭头） ── */
.app-switcher__panel {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 460px;
}

/* ── 场景卡片容器 ── */
.app-switcher__slides {
  width: 100%;
  height: 100%;
}

/* ── 单个场景卡片 ── */
.app-switcher__slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}

.app-switcher__slide.active {
  display: grid;
  animation: switcherFadeIn .32s ease;
}

@keyframes switcherFadeIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── 图片区 ── */
.app-switcher__img-wrap {
  position: relative;
  overflow: hidden;
}

.app-switcher__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.app-switcher__slide.active .app-switcher__img-wrap img {
  transform: scale(1.03);
}

.app-switcher__img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(26,58,42,.82);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── 文字内容区 ── */
.app-switcher__content {
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  overflow-y: auto;
}

.app-switcher__tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2d7a3a;
  background: #edf7ed;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  width: fit-content;
}

.app-switcher__title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a3a2a;
  margin: 0;
  line-height: 1.3;
}

.app-switcher__lead {
  font-size: .9rem;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

.app-switcher__highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, #f0faf2 0%, #e8f5e9 100%);
  border-left: 3px solid #2d7a3a;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: .86rem;
  color: #2c4a30;
  line-height: 1.6;
}

.app-switcher__highlight > i {
  color: #2d7a3a;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.app-switcher__highlight strong {
  color: #1a3a2a;
}

.app-switcher__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.app-switcher__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: #444;
}

.app-switcher__list li i {
  color: #2d7a3a;
  font-size: .9rem;
  flex-shrink: 0;
}

/* ── 左右箭头 ── */
.app-switcher__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(26,58,42,.75);
  color: #fff;
  font-size: .95rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(4px);
}

.app-switcher__arrow:hover {
  background: #2d7a3a;
  transform: translateY(-50%) scale(1.1);
}

.app-switcher__arrow--prev { left: 12px; }
.app-switcher__arrow--next { right: 12px; }

/* ── 底部进度点 ── */
.app-switcher__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.app-switcher__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26,58,42,.25);
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.app-switcher__dot.active {
  background: #2d7a3a;
  transform: scale(1.3);
}

/* ── 响应式：平板 ── */
@media (max-width: 1024px) {
  .app-switcher {
    grid-template-columns: 180px 1fr;
  }
  .app-switcher__tab {
    padding: 13px 14px;
    font-size: .82rem;
  }
  .app-switcher__content {
    padding: 24px 22px 20px;
  }
  .app-switcher__title {
    font-size: 1.25rem;
  }
}

/* ── 响应式：手机 ── */
@media (max-width: 768px) {
  .app-switcher {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: unset;
  }
  .app-switcher__tabs {
    flex-direction: row;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
  }
  .app-switcher__tabs::-webkit-scrollbar { display: none; }
  .app-switcher__tab {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
    font-size: .75rem;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }
  .app-switcher__tab.active {
    border-left-color: transparent;
    border-bottom-color: #7ec850;
  }
  .app-switcher__panel {
    min-height: unset;
  }
  .app-switcher__slide.active {
    grid-template-columns: 1fr;
    grid-template-rows: 220px auto;
  }
  .app-switcher__img-wrap {
    height: 220px;
  }
  .app-switcher__arrow {
    top: 110px;
  }
  .app-switcher__dots {
    bottom: auto;
    top: 200px;
  }
}
