/* ============================================================
   SERVICES PAGE — Red-Green-Gold Premium Styles v3.0
   ============================================================ */

/* ── Business Overview Image ── */
.biz-section { position: relative; overflow: hidden; }
.biz-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle,
    rgba(232,25,44,0.06) 0%,
    rgba(168,85,247,0.03) 40%,
    transparent 70%);
  pointer-events: none;
}
.biz-img-wrap {
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg) !important;
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.018) 100%) !important;
  transition: box-shadow 0.4s, transform 0.4s;
}
.biz-img-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4),
    0 0 25px rgba(232,25,44,0.08),
    0 0 12px rgba(168,85,247,0.04);
}
.biz-img-wrap img { width: 100%; border-radius: var(--radius-sm); display: block; }

/* ── Tab Navigation ── */
.svc-detail-section { position: relative; overflow: hidden; }
.tab-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tab-btn {
  padding: 11px 28px;
  border-radius: var(--radius-xl);
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.22,1,.36,1);
  font-family: var(--font);
  letter-spacing: 0.3px;
  position: relative;
  white-space: nowrap;
}
.tab-btn:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
}
.tab-btn.active {
  background: var(--grad-rg);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,25,44,0.35), 0 0 10px rgba(0,200,83,0.1);
  font-weight: 700;
}

/* ── Tab Panels ── */
.tab-panel {
  display: none;
  animation: tabFadeIn 0.4s ease;
}
.tab-panel.active { display: block; }
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-intro {
  padding: 22px 30px;
  margin-bottom: 40px;
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  background: linear-gradient(135deg,
    rgba(232,25,44,0.05) 0%,
    rgba(168,85,247,0.02) 50%,
    rgba(0,200,83,0.04) 100%) !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}
.tab-intro::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 100% 50%,
    rgba(0,200,83,0.04) 0%,
    rgba(168,85,247,0.02) 45%,
    transparent 70%);
  pointer-events: none;
}
.tab-intro-text {
  font-size: 15.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ── Flow Section ── */
.flow-section { margin-bottom: 48px; }
.flow-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  background: var(--grad-rp);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flow-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 20px;
  background: var(--grad-rp);
  border-radius: 2px;
  flex-shrink: 0;
  -webkit-text-fill-color: unset;
}
.flow-img-wrap {
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius-md) !important;
  background: linear-gradient(145deg, rgba(255,255,255,0.048) 0%, rgba(255,255,255,0.018) 100%) !important;
  transition: transform 0.4s, box-shadow 0.4s;
}
.flow-img-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.38),
    0 0 18px rgba(232,25,44,0.06),
    0 0 8px rgba(168,85,247,0.03);
}
.flow-img-wrap img { width: 100%; border-radius: var(--radius-sm); display: block; }

/* ── SRT Tab ── */
.srt-cards {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.srt-card {
  flex: 1;
  min-width: 240px;
  padding: 36px 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.048) 0%, rgba(255,255,255,0.018) 100%) !important;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s;
}
.srt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4),
    0 0 16px rgba(0,200,83,0.08),
    0 0 6px rgba(168,85,247,0.03);
}
.srt-icon {
  font-size: 40px;
  margin-bottom: 18px;
  display: block;
}
.srt-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.srt-card ul { list-style: none; }
.srt-card ul li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}
.srt-card ul li:last-child { border-bottom: none; }
.srt-card ul li::before {
  content: '✓';
  color: var(--green-light);
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.srt-arrow {
  font-size: 28px;
  background: var(--grad-rg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  flex-shrink: 0;
}
.srt-langs {
  padding: 28px 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.048) 0%, rgba(255,255,255,0.018) 100%) !important;
  border-radius: var(--radius-md) !important;
}
.srt-langs-title {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.lang-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-tags span {
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: all 0.3s;
  cursor: default;
}
.lang-tags span:hover {
  background: linear-gradient(135deg, rgba(0,200,83,0.08) 0%, rgba(168,85,247,0.04) 100%);
  border-color: rgba(0,200,83,0.28);
  color: var(--green-light);
  transform: translateY(-2px);
}

/* ── Advantages ── */
.adv-section { position: relative; overflow: hidden; }
.adv-section::before {
  content: '';
  position: absolute;
  top: 0; left: -100px; right: -100px; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%,
    rgba(0,200,83,0.04) 0%,
    rgba(168,85,247,0.02) 40%,
    transparent 70%);
  pointer-events: none;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.adv-card {
  padding: 44px 36px;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.018) 100%) !important;
}
.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-sunset);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s;
}
.adv-card:hover::before { transform: scaleX(1); }
.adv-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,200,83,0.07) 0%,
    rgba(168,85,247,0.03) 35%,
    transparent 70%);
  transition: opacity 0.4s;
  opacity: 0;
}
.adv-card:hover::after { opacity: 1; }
.adv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4),
    0 0 26px rgba(0,200,83,0.08),
    0 0 10px rgba(168,85,247,0.04);
}
.adv-icon { font-size: 44px; margin-bottom: 18px; display: block; }
.adv-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.45;
}
.adv-card p {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ── Process Steps ── */
.process-section { position: relative; overflow: hidden; }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,25,44,0.25) transparent;
}
.pstep {
  flex: 1;
  min-width: 140px;
  max-width: 190px;
  padding: 30px 18px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s;
  background: linear-gradient(145deg, rgba(255,255,255,0.048) 0%, rgba(255,255,255,0.018) 100%) !important;
  position: relative;
  overflow: hidden;
}
.pstep::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s;
}
.pstep:hover::after { transform: scaleX(1); }
.pstep:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4),
    0 0 18px rgba(232,25,44,0.12),
    0 0 6px rgba(168,85,247,0.04);
}
.pstep-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pstep-icon { font-size: 34px; margin-bottom: 14px; display: block; }
.pstep h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f0f0f0;
}
.pstep p {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.65;
}
.pstep-arrow {
  font-size: 22px;
  color: rgba(255,215,0,0.35);
  margin-top: 55px;
  flex-shrink: 0;
  font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .adv-grid { grid-template-columns: 1fr; }
  .srt-cards { flex-direction: column; align-items: stretch; }
  .srt-arrow { transform: rotate(90deg); align-self: center; }
  .process-steps { flex-wrap: wrap; overflow-x: visible; }
  .pstep-arrow { transform: rotate(90deg); margin: 0; }
  .pstep { max-width: 100%; width: 100%; flex: none; }
  .tab-nav { border-radius: var(--radius-md); width: 100%; }
  .tab-btn { padding: 10px 18px; font-size: 13px; }
  .biz-img-wrap { padding: 18px; }
  .flow-img-wrap { padding: 16px; }
  .adv-card   { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .adv-card { padding: 28px 22px; }
  .tab-btn { padding: 9px 14px; font-size: 12px; }
  .srt-card { padding: 28px 20px; min-width: auto; }
  .biz-img-wrap, .flow-img-wrap { padding: 14px; }
  .pstep { padding: 24px 14px; min-width: auto; max-width: 100%; }
}
/* ── 超小屏适配 ── */
@media (max-width: 375px) {
  .tab-btn { padding: 8px 12px; font-size: 11.5px; white-space: normal; }
  .adv-card h3 { font-size: 16px; }
  .srt-icon { font-size: 32px; }
}
