/* ==================== Services 页专属样式（svc-page 命名空间，避免与全局 style.css 冲突） ==================== */

/* 关闭全局强制滚动吸附（html scroll-snap-type），服务体系可自由滚动 */
html:root {
  scroll-snap-type: none !important;
}

.svc-page .tftech-footer,
.svc-page .tftech-cta,
.svc-page .tftech-banner {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  min-height: auto;
}

/* ===== Hero Section ===== */
.svc-page .tftech-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0a1e35;
  display: flex;
  align-items: center;
  opacity: 0.5;
  transform: scale(0.92);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.svc-page .tftech-hero.is-active {
  opacity: 1;
  transform: scale(1);
}

.svc-page .tftech-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/themes/tianfeng/public/assets/images/service-operations-monitoring.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.svc-page .tftech-hero.is-active .tftech-hero-bg {
  transform: scale(1);
}

.svc-page .tftech-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(6, 21, 37, 0.92) 0%, rgba(11, 42, 76, 0.72) 55%, rgba(15, 65, 117, 0.45) 100%);
}

.svc-page .tftech-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
  padding-top: 80px;
}

.svc-page .tftech-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 32px;
  align-items: stretch;
}

.svc-page .tftech-eyebrow {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  color: #fff;
}

.svc-page .tftech-hero-copy {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border-radius: var(--tftech-radius-lg);
  padding: 48px 44px;
  color: #fff;
}

.svc-page .tftech-hero-copy h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 22px;
  color: #fff;
  letter-spacing: -0.01em;
}

.svc-page .tftech-hero-copy p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.85;
  margin: 0 0 32px;
  max-width: 56ch;
}

.svc-page .tftech-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
  justify-content: flex-start;
  margin-bottom: 0;
}

.svc-page .tftech-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--tftech-primary) 0%, #155ea6 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(15, 65, 117, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.svc-page .tftech-btn:hover,
.svc-page .tftech-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(15, 65, 117, 0.45);
  background: linear-gradient(135deg, #125089 0%, #1869b8 100%);
  outline: none;
}

.svc-page .tftech-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.svc-page .tftech-btn-secondary:hover,
.svc-page .tftech-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.svc-page .tftech-hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border-radius: var(--tftech-radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.svc-page .tftech-scene-frame {
  margin: 0;
  position: relative;
  border-radius: var(--tftech-radius-md);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.svc-page .tftech-scene-frame img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.svc-page .tftech-scene-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  color: #fff;
}

.svc-page .tftech-scene-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.svc-page .tftech-scene-caption span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.svc-page .tftech-signal-pill {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-page .tftech-signal-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.svc-page .tftech-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.svc-page .tftech-stat-card {
  padding: 22px;
  border-radius: var(--tftech-radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 65, 117, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-page .tftech-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tftech-shadow-sm);
}

.svc-page .tftech-stat-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--tftech-primary);
  margin-bottom: 6px;
}

.svc-page .tftech-stat-card span {
  font-size: 0.94rem;
  color: var(--tftech-muted-foreground);
  line-height: 1.5;
}

.svc-page .tftech-banner-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.svc-page .tftech-banner-scroll:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.svc-page .tftech-scroll-icon {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  position: relative;
}

.svc-page .tftech-scroll-icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scroll-indicator 2s ease-in-out infinite;
}

@keyframes scroll-indicator {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
  }
}

/* ===== Section Common ===== */
.svc-page .tftech-section {
  min-height: auto;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  transform: none;
  opacity: 1;
  position: relative;
  background: #ffffff;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  overflow: visible;
}

.svc-page .tftech-section.is-active {
  transform: scale(1);
  opacity: 1;
}

.svc-page .tftech-section-head {
  text-align: center;
  margin-bottom: 56px;
}

.svc-page .tftech-section-head h2 {
  font-size: 2.5rem;
  margin: 0 0 16px;
  color: var(--tftech-foreground);
  font-weight: 700;
}

.svc-page .tftech-kicker {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tftech-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

/* ===== Grid & Cards ===== */
.svc-page .tftech-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.svc-page .tftech-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(15, 65, 117, 0.06);
  color: var(--tftech-primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

/* ===== Process Steps ===== */
.svc-page .tftech-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.svc-page .tftech-process-step {
  padding: 44px 40px;
  background: #f8fbff;
  border-radius: 25px;
  border: 1px solid rgba(15, 65, 117, 0.05);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.svc-page .tftech-process-step:hover {
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(15, 65, 117, 0.08);
  transform: translateY(-5px);
}

.svc-page .tftech-process-step h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tftech-foreground);
  margin: 0 0 12px;
}

.svc-page .tftech-process-step p {
  color: var(--tftech-muted-foreground);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}


/* ===== Split & Info Cards ===== */
.svc-page .tftech-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: stretch;
}

.svc-page .tftech-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 65, 117, 0.08);
  box-shadow: var(--tftech-shadow-sm);
  border-radius: var(--tftech-radius-lg);
  padding: 42px;
}

.svc-page .tftech-card .tftech-kicker {
  display: block;
}

.svc-page .tftech-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.svc-page .tftech-info-card {
  padding: 30px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(15, 65, 117, 0.06);
  transition: all 0.3s ease;
}

.svc-page .tftech-info-card:hover {
  border-color: var(--tftech-primary);
  box-shadow: 0 10px 30px rgba(15, 65, 117, 0.05);
}

.svc-page .tftech-info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tftech-foreground);
  margin: 0 0 10px;
}

.svc-page .tftech-info-card p {
  font-size: 0.92rem;
  color: var(--tftech-muted-foreground);
  line-height: 1.7;
  margin: 0;
}

/* ===== Capability Stack ===== */
.svc-page .tftech-capability-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.svc-page .tftech-scene-card {
  margin: 0;
  position: relative;
  border-radius: var(--tftech-radius-md);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  flex: 1;
  min-height: 260px;
}

.svc-page .tftech-scene-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

/* ===== CTA Panel ===== */
.svc-page .tftech-cta-panel {
  background: linear-gradient(135deg, #0c2745 0%, #0f4175 100%);
  border-radius: 30px;
  padding: 60px;
  color: #fff;
  margin-top: 50px;
  text-align: center;
}

.svc-page .tftech-cta-panel h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.svc-page .tftech-list {
  list-style: none;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  margin: 30px 0;
}

.svc-page .tftech-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.svc-page .tftech-list li::before {
  content: "✓";
  color: #4ade80;
  font-weight: bold;
}

/* ===== Scenario Pill ===== */
.svc-page .tftech-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 48px;
}

.svc-page .tftech-pill {
  padding: 12px 28px;
  background: #f0f4f8;
  border-radius: 999px;
  color: var(--tftech-primary);
  font-weight: 600;
  border: 1px solid rgba(15, 65, 117, 0.08);
  transition: all 0.3s ease;
}

.svc-page .tftech-pill:hover {
  background: var(--tftech-primary);
  color: #fff;
  transform: scale(1.05);
}

/* ===== 覆盖段（设计稿最终生效值） ===== */
.svc-page .tftech-hero { padding: 70px 0 48px; min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.svc-page .tftech-hero-bg { position: absolute; inset: 0; background-image: url('/themes/tianfeng/public/assets/images/service-operations-monitoring.jpg'); background-size: cover; background-position: center; }
.svc-page .tftech-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10, 30, 53, 0.92) 0%, rgba(15, 65, 117, 0.72) 60%, rgba(15, 65, 117, 0.45) 100%); }
.svc-page .tftech-hero-content { position: relative; z-index: 1; width: 100%; max-width: none; margin: 0; text-align: left; padding-top: 80px; color: #fff; }
.svc-page .tftech-kicker { display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 16px; text-transform: uppercase; }
.svc-page .tftech-hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin: 0 0 20px; color: #fff; }
.svc-page .tftech-hero p { font-size: 1.08rem; color: rgba(255, 255, 255, 0.78); max-width: 60ch; margin: 0 0 28px; }
.svc-page .tftech-hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr); gap: 28px; align-items: stretch; }
.svc-page .tftech-hero-copy { padding: 42px; }
.svc-page .tftech-hero-copy p { color: var(--tftech-muted-foreground); max-width: 54ch; }
.svc-page .tftech-button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; justify-content: flex-start; margin-bottom: 0; }
.svc-page .tftech-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; background: var(--tftech-primary); color: var(--tftech-primary-foreground); font-weight: 600; box-shadow: var(--tftech-shadow-xs); transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.svc-page .tftech-btn:hover, .svc-page .tftech-btn:focus-visible { transform: translateY(-1px); box-shadow: var(--tftech-shadow-md); outline: none; }
.svc-page .tftech-btn-secondary { background: rgba(15, 65, 117, 0.06);  border-color: rgba(15, 65, 117, 0.12); box-shadow: none; }
.svc-page .tftech-section { padding: 60px 0; min-height: auto; display: flex; align-items: center; opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; scroll-snap-align: none; scroll-snap-stop: normal; overflow: visible; }
.svc-page .tftech-section.is-active { opacity: 1; transform: scale(1); }
.svc-page .tftech-section-head { text-align: center; margin-bottom: 56px; }
.svc-page .tftech-grid-2, .svc-page .tftech-grid-3, .svc-page .tftech-grid-4 { display: grid; gap: 20px; }
.svc-page .tftech-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-page .tftech-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .svc-page .tftech-hero-grid,
  .svc-page .tftech-grid-2,
  .svc-page .tftech-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .svc-page .tftech-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-page .tftech-scene-frame img {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .svc-page .tftech-hero {
    min-height: 520px;
  }
  .svc-page .tftech-hero-content {
    padding-top: 60px;
  }
  .svc-page .tftech-hero-copy {
    padding: 32px 26px;
  }
  .svc-page .tftech-hero-copy h1 {
    font-size: 2.2rem;
    margin-bottom: 18px;
  }
  .svc-page .tftech-hero-copy p {
    font-size: 1rem;
    margin-bottom: 26px;
  }
  .svc-page .tftech-btn {
    min-height: 48px;
    padding: 0 24px;
    font-size: 0.95rem;
  }
  .svc-page .tftech-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-page .tftech-scene-frame img {
    height: 200px;
  }
  .svc-page .tftech-banner-scroll {
    bottom: 32px;
  }
  .svc-page .tftech-process-grid,
  .svc-page .tftech-grid-3 {
    grid-template-columns: 1fr;
  }
  .svc-page .tftech-hero h1 {
    font-size: 2.2rem;
  }
  .svc-page .tftech-section-head h2 {
    font-size: 1.8rem;
  }
  .svc-page .tftech-cta-panel {
    padding: 30px;
  }
}
