/* 科技互联网模板 — 深色 Hero + 非对称布局（族 S · 复用 SEO 占位符） */
body.tpl-tech {
  --tech-bg: #0b1220;
  --tech-surface: #111827;
  --tech-card: #1a2332;
  --tech-border: rgba(148, 163, 184, 0.18);
  --tech-primary: #6366f1;
  --tech-primary-light: #818cf8;
  --tech-accent: #22d3ee;
  --tech-text: #e2e8f0;
  --tech-muted: #94a3b8;
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--tech-text);
  background: #060a12;
}

body.tpl-tech .tech-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

body.tpl-tech .tech-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 10, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tech-border);
}

body.tpl-tech .header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

body.tpl-tech .tech-logo .site-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

body.tpl-tech .site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
}

body.tpl-tech .site-nav a {
  color: var(--tech-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
}

body.tpl-tech .site-nav a:hover,
body.tpl-tech .site-nav a.active {
  color: #fff;
  background: rgba(99, 102, 241, 0.15);
}

body.tpl-tech .tech-header-cta {
  background: linear-gradient(135deg, var(--tech-primary), #4f46e5);
  color: #fff !important;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

body.tpl-tech .tech-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

body.tpl-tech .tech-hero-media {
  position: absolute;
  inset: 0;
}

body.tpl-tech .tech-hero-media .banner-section,
body.tpl-tech .tech-hero-media .banner-slider,
body.tpl-tech .tech-hero-media .banner-item,
body.tpl-tech .tech-hero-media .banner-item img,
body.tpl-tech .tech-hero-media .banner-placeholder {
  width: 100%;
  height: 100%;
  min-height: 520px;
  margin: 0;
}

body.tpl-tech .tech-hero-media .banner-item img,
body.tpl-tech .tech-hero-media .banner-placeholder {
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.55);
}

body.tpl-tech .tech-hero-media .banner-placeholder {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #164e63 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

body.tpl-tech .tech-hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(6, 10, 18, 0.92) 0%, rgba(6, 10, 18, 0.55) 55%, rgba(6, 10, 18, 0.25) 100%);
}

body.tpl-tech .tech-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 56px 20px;
}

body.tpl-tech .tech-kicker {
  color: var(--tech-accent);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

body.tpl-tech .tech-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
}

body.tpl-tech .tech-lead {
  margin: 0 0 24px;
  color: var(--tech-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 540px;
}

body.tpl-tech .tech-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.tpl-tech .tech-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

body.tpl-tech .tech-btn-primary {
  background: linear-gradient(135deg, var(--tech-primary), #4f46e5);
  color: #fff !important;
}

body.tpl-tech .tech-btn-ghost {
  border-color: var(--tech-border);
  color: var(--tech-text) !important;
  background: rgba(255, 255, 255, 0.04);
}

body.tpl-tech .tech-btn-block {
  width: 100%;
}

body.tpl-tech .tech-hero-panel {
  display: grid;
  gap: 12px;
}

body.tpl-tech .tech-stat-card {
  background: rgba(17, 24, 39, 0.82);
  border: 1px solid var(--tech-border);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
}

body.tpl-tech .tech-stat-card strong {
  display: block;
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

body.tpl-tech .tech-stat-card span {
  color: var(--tech-muted);
  font-size: 13px;
}

body.tpl-tech .tech-section {
  padding: 64px 0;
  background: #060a12;
}

body.tpl-tech .tech-sec-head {
  margin-bottom: 28px;
}

body.tpl-tech .tech-sec-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}

body.tpl-tech .tech-sec-head p {
  margin: 0;
  color: var(--tech-muted);
  line-height: 1.6;
}

body.tpl-tech .tech-sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body.tpl-tech .tech-sec-head-light h2,
body.tpl-tech .tech-sec-head-light p {
  color: #fff;
}

body.tpl-tech .tech-link-more {
  color: var(--tech-accent);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

body.tpl-tech .tech-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.tpl-tech .tech-bento .service-card {
  display: block;
  background: var(--tech-card);
  border: 1px solid var(--tech-border);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

body.tpl-tech .tech-bento .service-card:hover {
  border-color: rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
}

body.tpl-tech .tech-bento .service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(34, 211, 238, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

body.tpl-tech .tech-bento .service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

body.tpl-tech .tech-bento .service-card p {
  margin: 0 0 12px;
  color: var(--tech-muted);
  font-size: 14px;
  line-height: 1.6;
}

body.tpl-tech .tech-bento .service-card .more {
  color: var(--tech-accent);
  font-size: 13px;
}

body.tpl-tech .tech-metrics-band {
  background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
  border-block: 1px solid var(--tech-border);
}

body.tpl-tech .tech-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.tpl-tech .tech-metrics-grid .advantage-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--tech-border);
  border-radius: 14px;
  padding: 20px;
}

body.tpl-tech .tech-metrics-grid .advantage-item h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

body.tpl-tech .tech-metrics-grid .advantage-item .sub {
  color: var(--tech-accent);
  font-size: 13px;
  margin-bottom: 8px;
}

body.tpl-tech .tech-metrics-grid .advantage-item p {
  margin: 0;
  color: var(--tech-muted);
  font-size: 14px;
  line-height: 1.6;
}

body.tpl-tech .tech-stack-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.tpl-tech .tech-stack-track .partner-item {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--tech-border);
  background: var(--tech-card);
  color: var(--tech-muted);
  font-size: 13px;
}

body.tpl-tech .product-grid-seo {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

body.tpl-tech .product-card-seo {
  display: block;
  background: var(--tech-card);
  border: 1px solid var(--tech-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

body.tpl-tech .product-card-seo .cover {
  height: 150px;
  background: #1e293b;
}

body.tpl-tech .product-card-seo .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.tpl-tech .product-card-seo .body {
  padding: 14px 16px 16px;
}

body.tpl-tech .product-card-seo h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

body.tpl-tech .product-card-seo p {
  margin: 0;
  color: var(--tech-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.tpl-tech .news-list-seo .news-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--tech-border);
  text-decoration: none;
  color: inherit;
}

body.tpl-tech .news-list-seo .news-date {
  flex: 0 0 56px;
  text-align: center;
  color: var(--tech-accent);
}

body.tpl-tech .news-list-seo .news-date .d {
  font-size: 22px;
  font-weight: 700;
}

body.tpl-tech .news-list-seo .news-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

body.tpl-tech .news-list-seo .news-summary {
  color: var(--tech-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.tpl-tech .tech-page-main {
  padding: 32px 20px 48px;
  min-height: 50vh;
}

body.tpl-tech .page-hero {
  background: var(--tech-surface);
  border-bottom: 1px solid var(--tech-border);
  padding: 28px 0;
}

body.tpl-tech .page-hero-inner h1 {
  margin: 0 0 6px;
  font-size: 28px;
}

body.tpl-tech .page-hero-inner p {
  margin: 0;
  color: var(--tech-muted);
}

body.tpl-tech .tech-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}

body.tpl-tech .tech-contact-info,
body.tpl-tech .tech-contact-form {
  background: var(--tech-card);
  border: 1px solid var(--tech-border);
  border-radius: 16px;
  padding: 24px;
}

body.tpl-tech .tech-contact-info p span {
  display: inline-block;
  width: 48px;
  color: var(--tech-muted);
}

body.tpl-tech .contact-form .cf-row {
  margin-bottom: 14px;
}

body.tpl-tech .contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--tech-muted);
}

body.tpl-tech .contact-form input,
body.tpl-tech .contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0f172a;
  border: 1px solid var(--tech-border);
  border-radius: 8px;
  color: var(--tech-text);
  padding: 10px 12px;
}

body.tpl-tech .tech-footer {
  border-top: 1px solid var(--tech-border);
  padding: 28px 0 36px;
  background: #05080f;
}

body.tpl-tech .footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

body.tpl-tech .footer-nav-row a {
  color: var(--tech-muted);
  text-decoration: none;
  font-size: 14px;
}

body.tpl-tech .footer-copy {
  color: var(--tech-muted);
  font-size: 13px;
}

body.tpl-tech .footer-copy a {
  color: var(--tech-muted);
}

body.tpl-tech .banner-arrow {
  display: none !important;
}

body.tpl-tech .detail-box,
body.tpl-tech .detail-article {
  color: var(--tech-text);
}

body.tpl-tech .detail-breadcrumb a {
  color: var(--tech-accent);
}

@media (max-width: 768px) {
  body.tpl-tech .tech-hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  body.tpl-tech .tech-hero-panel {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
  }

  body.tpl-tech .tech-stat-card {
    padding: 12px;
  }

  body.tpl-tech .tech-stat-card strong {
    font-size: 18px;
  }

  body.tpl-tech .tech-bento {
    grid-template-columns: 1fr;
  }

  body.tpl-tech .tech-metrics-grid {
    grid-template-columns: 1fr;
  }

  body.tpl-tech .tech-contact-grid {
    grid-template-columns: 1fr;
  }

  body.tpl-tech .site-nav {
    display: none;
  }
}
