/* ========== 颜色变量（替代tailwind theme配置） ========== */
:root {
  --brand-dark: #0d3b34;
  --brand-default: #155e54;
  --brand-light: #1e7a6c;
  --brand-accent: #2a9d8f;
  --highlight: #fb0000;
  --cream: #f5f3ee;
}
.gap-1 {
    gap: 0.25rem;
}
.bg-brand\/40 {
    background-color: rgb(21 94 84 / 0.4);
    display: inline-block;
}
 
.w-10 {
    width: 45px;
}

 
.h-px {
    height: 1px;
}
/* 板块标题线条 */
.brand-border-line {
  background-color: rgba(21, 94, 84, 0.4);
}
.section-subtitle-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-default);
}
.section-main-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-dark);
}
@media (max-width:768px) {
  .section-main-title {
    font-size: 1.75rem;
  }
}

/* ===== Game‑style cut corner cards ===== */
.feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ece9e1;
  border-radius: 16px;
  padding: 32px 24px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 2px rgba(13,59,52,0.04), 0 6px 16px rgba(13,59,52,0.05);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42,157,143,0.5);
  box-shadow: 0 4px 10px rgba(13,59,52,0.06), 0 14px 28px rgba(13,59,52,0.10);
}
.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0F3D3E 0%, #1B5E63 60%, #2D7A7F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-default);
  font-size: 26px;
}
.card-h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-dark);
  line-height: 1.4;
}
.card-p {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
  line-height: 1.6;
}

/* ===== Special Good Quality card ===== */
.special-card {
  position: relative;
  background: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 40px 32px 36px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 2px rgba(200,50,50,0.04), 0 6px 16px rgba(200,50,50,0.05);
}
.special-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c83232, #e85a5a);
}
.special-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(200,50,50,0.06), 0 14px 28px rgba(200,50,50,0.10);
}
.special-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--highlight);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.special-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c83232, transparent);
  margin: 0 auto 18px;
}
.special-card-text {
  font-size: 12px;
  color: #374151;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}
.highlight-color {
  color: var(--highlight);
}

/* ===== Strengths row: 7 cards in ONE line (horizontal scroll on small screens) ===== */
.card-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.card-row::-webkit-scrollbar { height: 5px; }
.card-row::-webkit-scrollbar-thumb { background: rgba(13,59,52,0.25); border-radius: 4px; }
.card-row::-webkit-scrollbar-track { background: transparent; }
.card-row > * { flex: 1 1 0; min-width: 0; }
@media (max-width: 1250px){
  .container{
    width: 100% !important;
  }
}

/* compact cards so 7 fit on one desktop row */
@media (min-width: 1024px) {
  .card-row > * { padding: 26px 16px 22px; }
  .card-row .card-icon { 
    width: 54px; height: 54px; font-size: 22px; margin-bottom: 14px; 
    background: linear-gradient(180deg, #0F3D3E 0%, #1B5E63 60%, #2D7A7F 100%);
  }
  .card-row .card-icon img{
    max-width: 50px;
  }
  .card-row .card-h3 { font-size: 13.5px; }
  .card-row .card-p { font-size: 11.5px; }
  .card-row .special-card { padding: 30px 5px 26px; }
  .card-row .special-title { font-size: 1.2rem; letter-spacing: 0.5px; margin-bottom: 10px; }
  .card-row .special-divider { margin-bottom: 12px; }
}
@media (min-width: 1450px){
  .card-row .special-card { padding: 30px 18px 26px; }
}
/* one line on small screens too: horizontal swipe, no wrapping */
@media (max-width: 1023px) {
  .card-row > * { flex: 0 0 74%; scroll-snap-align: center; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .card-row > * { flex-basis: 36%; }
}

