@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Fira+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #1e3a8a;
  --muted: #475569;
  --line: rgba(30, 64, 175, 0.16);
  --brand: #1e40af;
  --brand-strong: #1d4ed8;
  --accent: #f59e0b;
  --warning: #d97706;
  --shadow: 0 16px 38px rgba(30, 64, 175, 0.12);
  --radius: 6px;
  --font: "Fira Sans", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --hero-image: url("../../shared/images/banner_home.jpg");
}

body.template-tech {
  background: var(--bg);
  color: var(--text);
}

.template-tech .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}

.template-tech .brand,
.template-tech .nav a {
  color: #1e293b;
}

.template-tech .nav a {
  border-radius: 5px;
}

.template-tech .nav a.is-active,
.template-tech .nav a:hover {
  color: var(--brand);
  background: #eef4ff;
}

.template-tech .button {
  border-radius: 5px;
  background: var(--brand);
  box-shadow: none;
}

.template-tech .button:hover {
  background: var(--brand-strong);
}

.template-tech .button--ghost {
  color: var(--brand);
  border-color: rgba(30, 64, 175, 0.28);
  background: #fff;
}

.template-tech .product-console {
  padding: 92px 0 76px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.template-tech .product-console__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 46px;
  align-items: center;
}

.template-tech .console-copy h1 {
  max-width: 790px;
  margin: 0;
  color: #0f172a;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
}

.template-tech .console-copy p:not(.eyebrow) {
  max-width: 700px;
  color: #475569;
  font-size: 18px;
}

.template-tech .eyebrow {
  color: var(--accent);
}

.template-tech .console-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  font-family: "Fira Code", "Microsoft YaHei", monospace;
}

.template-tech .console-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: #334155;
  font-size: 13px;
}

.template-tech .console-row:last-child {
  border-bottom: 0;
}

.template-tech .console-row--head {
  min-height: 44px;
  background: #eef4ff;
  color: #64748b;
  font-weight: 700;
}

.template-tech .console-row b {
  color: #0f172a;
  font-weight: 700;
}

.template-tech .console-row a {
  color: var(--brand);
  font-weight: 700;
}

.template-tech .section,
.template-tech .section--soft,
.template-tech .page-title {
  background: var(--bg);
  color: var(--text);
}

.template-tech .page-title {
  border-bottom: 1px solid var(--line);
  background: #eef4ff;
  color: #0f172a;
}

.template-tech .page-title p {
  color: #475569;
}

.template-tech .section__head h2 {
  color: #0f172a;
}

.template-tech .section__head p {
  color: #475569;
}

.template-tech .service-card,
.template-tech .line-card,
.template-tech .news-item,
.template-tech .product-card,
.template-tech .about-panel,
.template-tech .contact-panel,
.template-tech .filter-panel {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.08);
}

.template-tech .tech-section,
.template-tech .tech-roadmap {
  background: #fff;
  color: var(--text);
}

.template-tech .tech-matrix {
  grid-template-columns: 1fr 1fr 1fr;
}

.template-tech .service-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
}

.template-tech .service-card__image {
  height: auto;
  min-height: 180px;
}

.template-tech .process-list div {
  min-height: 96px;
  border-color: var(--line);
  background: #fff;
  color: #0f172a;
  font-size: 17px;
}

.template-tech .tag {
  border: 1px solid rgba(30, 64, 175, 0.14);
  background: #eef4ff;
  color: var(--brand);
  font-family: "Fira Code", "Microsoft YaHei", monospace;
}

.template-tech .shop-toolbar {
  position: sticky;
  top: 84px;
  z-index: 5;
}

.template-tech .search-box,
.template-tech .filter-field select,
.template-tech .pagination button {
  background: #fff;
  border-color: var(--line);
  color: #0f172a;
}

.template-tech .search-box input {
  color: #0f172a;
  background: transparent;
}

.template-tech .search-box button,
.template-tech .pagination button.is-active {
  background: var(--brand);
  border-color: var(--brand);
}

.template-tech .product-grid {
  grid-template-columns: 1fr;
}

.template-tech .product-card {
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 220px;
}

.template-tech .product-card__media img {
  min-height: 220px;
}

.template-tech .product-card h3 {
  color: #0f172a;
}

.template-tech .ensure-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-tech .prompt {
  color: var(--warning);
}

.template-tech .site-footer {
  background: #0f172a;
}

@media (max-width: 980px) {
  .template-tech .product-console__inner,
  .template-tech .tech-matrix,
  .template-tech .product-card,
  .template-tech .service-card,
  .template-tech .ensure-list {
    grid-template-columns: 1fr;
  }

  .template-tech .shop-toolbar {
    position: static;
  }
}
