/* ============================================
   Solutions Page Styles
   ============================================ */

/* ===== Solutions Hero ===== */
/* .solutions-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f2e28 0%, #005247 50%, #00856f 100%);
  overflow: hidden;
} */
.solutions-hero {
    position: relative;
    min-height: clamp(520px, 68vh, 720px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: clamp(64px, 8vw, 112px);
    overflow: hidden;
}
.solutions-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.solutions-hero__breadcrumb {
  font-size: var(--rm-text-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.solutions-hero__breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.solutions-hero__breadcrumb a:hover {
  color: #fff;
}
.solutions-hero__subtitle {
  font-size: var(--rm-text-sm);
  letter-spacing: 0.15em;
  color: var(--rm-color-brand-300);
  margin-bottom: 0.75rem;
  font-weight: var(--rm-font-semibold);
}
.solutions-hero__title {
  font-size: var(--rm-display-sm);
  font-weight: var(--rm-font-bold);
  color: #fff;
  line-height: var(--rm-leading-tight);
  margin-bottom: 1.5rem;
  max-width: 640px;
}

.solutions-hero__video-desc {
  margin: -0.75rem 0 1.5rem;
  max-width: 640px;
  font-size: var(--rm-text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.solutions-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--rm-radius-pill);
  color: #fff;
  font-weight: var(--rm-font-medium);
  font-size: var(--rm-text-sm);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--rm-color-brand);
  border-radius: var(--rm-radius-pill);
  color: #fff;
  font-weight: var(--rm-font-medium);
  font-size: var(--rm-text-sm);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-brand:hover {
  background: var(--rm-color-brand-600);
  transform: translateY(-1px);
  box-shadow: var(--rm-shadow-md);
}

/* ===== Stats Strip ===== */
.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--rm-color-brand-100);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--rm-color-brand-100);
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-size: var(--rm-display-sm);
  font-weight: var(--rm-font-bold);
  color: var(--rm-color-brand);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: var(--rm-text-sm);
  color: var(--rm-color-text-secondary);
}

/* ===== Three Dimensions ===== */
.dimensions-section {
  padding: var(--rm-section-y) 0;
  background: var(--rm-color-neutral-50);
}
.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.dimension-card {
  background: #fff;
  border-radius: var(--rm-radius-xl);
  overflow: hidden;
  border: 1px solid var(--rm-color-brand-100);
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  color: inherit;
  align-items: center;
}
.dimension-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rm-shadow-lg);
  border-color: var(--rm-color-brand-200);
}
.dimension-card__image {
  width: 26px;
  height: 26px;
  object-fit: cover;
  display: block;
}

.dimension-card__box{
  width: 52px;
  height: 52px;
  text-align: center;
  display: flex;
}
.dimension-card__body {
  padding: 1.5rem;
}
.dimension-card__title {
  font-size: var(--rm-heading-4);
  font-weight: var(--rm-font-bold);
  color: var(--rm-color-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dimension-card__title::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.3s;
  color: var(--rm-color-brand);
}
.dimension-card:hover .dimension-card__title::after {
  transform: translateX(4px);
}
.dimension-card__desc {
  font-size: var(--rm-text-sm);
  color: var(--rm-color-text-secondary);
  line-height: var(--rm-leading-relaxed);
}

/* ===== Tab Section ===== */
.tab-section {
  padding: var(--rm-section-y) 0;
  background: #fff;
}
.tab-nav {
  display: grid;                            /* 按钮容器使用 grid 布局 */
  grid-template-columns: repeat(3, auto);   /* 三列，按钮宽度按内容自适应 */
  justify-content: left;                  /* 居中 */
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 0;
  padding:  0 0.5rem;
}
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: var(--rm-text-base);
  font-weight: var(--rm-font-medium);
  color: var(--rm-color-text);
  background: var(--rm-color-neutral-100);  /* 未激活：浅色 */
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  white-space: nowrap;                      /* 按钮文字不换行 */
  border-radius: var(--rm-radius-lg);
}
.tab-btn:hover {
  background: var(--rm-color-neutral-200);
  color: var(--rm-color-text);
}
.tab-btn.active {
  background: var(--rm-color-brand);        /* 激活：深色 */
  color: var(--rm-color-brand-fg);
  font-weight: var(--rm-font-semibold);
}
.tab-panel {
  display: none;                  /* tab 切换：默认隐藏，仅激活面板显示 */
}
.tab-panel.active {
  display: block;
}

/* ===== Star Solutions (明星方案) ===== */
.star-section {
  margin-bottom: 3rem;
}
.star-section__title {
  font-size: var(--rm-heading-2);
  font-weight: var(--rm-font-bold);
  color: var(--rm-color-text);
  margin-bottom: 1.5rem;
}
.star-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.875rem;
}
.star-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 0.8px solid rgba(0, 133, 111, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: rgba(15, 46, 40, 0.06) 0px 2px 8px 0px;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, border-color 0.35s ease-out;
}
.star-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 133, 111, 0.28);
  box-shadow: rgba(15, 46, 40, 0.1) 0px 12px 32px;
}
.star-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 1rem;
  background: linear-gradient(160deg, var(--rm-color-brand-muted) 0%, #fff 100%);
}
.star-card__media img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.35s ease-out;
}
.star-card:hover .star-card__media img {
  transform: scale(1.08);
}
.star-card__body {
  padding: 10px 12px 14px;
  text-align: center;
}
.star-card__name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rm-color-text);
  transition: color 0.35s ease-out;
}
.star-card:hover .star-card__name {
  color: var(--rm-color-brand);
}
.star-card__link {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--rm-color-brand);
}

/* ===== All Fruits Grid ===== */
.fruits-section__title {
  font-size: var(--rm-heading-2);
  font-weight: var(--rm-font-bold);
  color: var(--rm-color-text);
  margin-bottom: 1.5rem;
}
.fruits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.fruit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 22px 16px 20px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 0.8px solid rgba(0, 133, 111, 0.08);
  border-radius: 12px;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, border-color 0.35s ease-out, background 0.35s ease-out;
}
.fruit-card:hover {
  transform: translateY(-4px);
  background: var(--rm-color-brand-muted);
  border-color: rgba(0, 133, 111, 0.22);
  box-shadow: var(--rm-shadow-md);
}
.fruit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: rgba(0, 77, 65, 0.08) 0px 4px 16px;
}
.fruit-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.35s ease-out;
}
.fruit-card:hover .fruit-card__icon img {
  transform: scale(1.1);
}
.fruit-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--rm-color-text);
  transition: color 0.35s ease-out;
}
.fruit-card:hover .fruit-card__name {
  color: var(--rm-color-brand);
}
.fruit-card__arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--rm-color-brand);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
.fruit-card:hover .fruit-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: var(--rm-section-y) 0;
  background: var(--rm-color-brand-muted);
}
.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-title {
  font-size: var(--rm-heading-1);
  font-weight: var(--rm-font-bold);
  color: var(--rm-color-text);
  margin-bottom: 1rem;
}
.cta-desc {
  font-size: var(--rm-text-base);
  color: var(--rm-color-text-secondary);
  line-height: var(--rm-leading-relaxed);
  margin-bottom: 2rem;
}

/* ===== Scenario / Product Cards (共用卡片样式) ===== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.scenario-card {
  background: #fff;
  border-radius: var(--rm-radius-xl);
  overflow: hidden;
  border: 1px solid var(--rm-color-brand-100);
  transition: all 0.4s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}
.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rm-shadow-lg);
  border-color: var(--rm-color-brand-200);
}
.scenario-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--rm-color-brand-muted);
}
.scenario-card__body {
  padding: 1.5rem;
}
.scenario-card__title {
  font-size: var(--rm-heading-4);
  font-weight: var(--rm-font-bold);
  color: var(--rm-color-text);
  margin-bottom: 0.5rem;
}
.scenario-card__desc {
  font-size: var(--rm-text-sm);
  color: var(--rm-color-text-secondary);
  line-height: var(--rm-leading-relaxed);
  margin-bottom: 1rem;
}
.scenario-card__link {
  font-size: var(--rm-text-sm);
  font-weight: var(--rm-font-medium);
  color: var(--rm-color-brand);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.3s;
}
.scenario-card:hover .scenario-card__link {
  gap: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .dimensions-grid { grid-template-columns: repeat(2, 1fr); }
  .star-grid { grid-template-columns: repeat(4, 1fr); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .fruits-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid var(--rm-color-brand-100); padding-bottom: 1rem; margin-bottom: 1rem; }
  .dimensions-grid { grid-template-columns: 1fr; }
  .star-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: 1fr; }
  .fruits-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-hero__title { font-size: var(--rm-heading-1); }
  .tab-nav {
    display: flex;                            /* 移动端：flex 流式排列 */
    flex-wrap: wrap;                          /* 第一行放得下就放，放不下自动换行 */
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: none;                      /* 去掉下划线分隔 */
    overflow-x: visible;
    white-space: normal;
  }
  .tab-btn {
    padding: 0.875rem 1rem;
    font-size: var(--rm-text-sm);
    font-weight: var(--rm-font-medium);
    color: var(--rm-color-text-secondary);
    background: var(--rm-color-neutral-100);  /* 浅灰圆角按钮 */
    border-radius: var(--rm-radius-lg);
    white-space: nowrap;
    text-align: center;
  }
  .tab-btn:hover {
    background: var(--rm-color-neutral-200);
    color: var(--rm-color-text-secondary);
  }
  .tab-btn.active {
    background: var(--rm-color-brand);        /* 激活：深色 */
    color: var(--rm-color-brand-fg);
    font-weight: var(--rm-font-semibold);
  }
  .tab-btn.active::after {
    display: none;                            /* 隐藏下划线指示 */
  }
}
@media (max-width: 480px) {
  .fruits-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-btn {
    padding: 0.75rem 0.5rem;
    font-size: var(--rm-text-sm);
  }
}

  .techd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--rm-color-neutral-0);
    margin-bottom: 28px;
}
.techd-breadcrumb a {
    color: var(--rm-color-neutral-0);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}
.techd-breadcrumb span[aria-hidden] {
    color: var(--rm-color-neutral-0);
    user-select: none;
}

.techd-breadcrumb span[aria-current] {
    color: var(--rm-color-neutral-0);
    font-weight: 600;
}

.solutions-pillar {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    padding: clamp(24px, 3vw, 32px);
    text-align: left;
    background: #fff;
    border: 1px solid rgba(0, 133, 111, 0.1);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 77, 65, 0.06);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}
input, button, select, textarea {
    font-family: "Arimo", sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.solutions-pillar__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.solutions-pillar--emerald .solutions-pillar__icon {
    color: var(--sol-brand);
    background: var(--sol-brand-muted);
}

.solutions-pillar__icon .citrus-icon {
    width: 1.625rem;
    height: 1.625rem;
}

.solutions-pillar__body {
    flex: 1;
    min-width: 0;
}

.solutions-pillar__title {
    display: block;
    margin-bottom: 8px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--sol-text);
}

.solutions-pillar__desc {
    display: block;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--sol-text-soft);
}

.solutions-pillar__desc {
    display: block;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--sol-text-soft);
}

.solutions-pillar__arrow {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--sol-brand);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.solutions-pillar:hover, .solutions-pillar:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(0, 133, 111, 0.28);
    box-shadow: 0 16px 48px rgba(0, 77, 65, 0.12);
    outline: none;
    color: inherit;
}

.solutions-pillar:hover .solutions-pillar__arrow {
    opacity: 1;
    transform: translateX(0);
}
.solutions-pillar--blue .solutions-pillar__icon {
    color: #2563eb;
    background: #eff6ff;
}


.solutions-pillar--violet .solutions-pillar__icon {
    color: #7c3aed;
    background: #f5f3ff;
}
.video-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    z-index: 0;
}

.solutions-hero .video-container video {
  max-width: fit-content;
  }