/* ===== 子页面公共样式 page.css ===== */

/* ── Page Hero ── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 80px;
  overflow: hidden;
  text-align: center;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero #circuitCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}
.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,100,255,0.18) 0%, transparent 70%);
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--primary); transition: opacity .2s; }
.breadcrumb a:hover { opacity: .75; }
.breadcrumb span { opacity: .4; }
.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 0 60px rgba(0,100,255,.35);
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Page Content ── */
.page-content {
  padding: 80px 0 60px;
  background: var(--bg);
}

/* ── Service Detail Block ── */
.service-detail {
  margin-bottom: 64px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color .3s;
}
.service-detail:hover { border-color: var(--border-hover); }
.service-detail.alt {
  background: var(--bg-card2);
}
.service-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.sd-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.sd-icon svg { width: 100%; height: 100%; }
.sd-title h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.sd-title p {
  font-size: 14px;
  color: var(--primary);
}
.service-detail-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.sd-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.sd-content h3:not(:first-child) { margin-top: 24px; }
.sd-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 12px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.feature-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
}
.feature-list li strong { color: var(--text); }

/* service types tags */
.service-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.st-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0,212,255,.07);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  transition: all .25s;
}
.st-item:hover {
  background: rgba(0,212,255,.14);
  border-color: rgba(0,212,255,.4);
  color: var(--primary);
}

/* spec table */
.sd-specs {
  position: sticky;
  top: 100px;
}
.sd-specs h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 13px;
}
.spec-table tr {
  border-bottom: 1px solid rgba(0,212,255,.08);
  transition: background .2s;
}
.spec-table tr:hover { background: rgba(0,212,255,.04); }
.spec-table td {
  padding: 9px 10px;
  line-height: 1.5;
}
.spec-table td:first-child {
  color: var(--text-muted);
  width: 48%;
}
.spec-table td:last-child {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}
.btn-spec {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(0,100,255,.3);
}
.btn-spec:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,100,255,.45);
}

/* ── About Page ── */
.about-page { padding: 80px 0; background: var(--bg); }
.about-intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.about-intro-text h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 20px; }
.about-intro-text p { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 14px; }
.about-intro-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-box {
  text-align: center;
  padding: 20px 12px;
  background: rgba(0,212,255,.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all .3s;
}
.stat-box:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.stat-box .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-box .unit { font-size: 16px; font-weight: 700; color: var(--accent); }
.stat-box .label { font-size: 13px; color: var(--text-muted); margin-top: 6px; display: block; }

/* milestones / timeline */
.milestones { margin-bottom: 80px; }
.milestones h2 { font-size: 28px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 48px; }
.timeline-h {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 16px;
  position: relative;
}
.timeline-h::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  opacity: .35;
}
.tl-node {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.tl-dot {
  width: 14px;
  height: 14px;
  background: var(--primary);
  border: 3px solid var(--bg);
  border-radius: 50%;
  margin: 21px auto 16px;
  box-shadow: 0 0 10px var(--primary);
  position: relative;
  z-index: 1;
}
.tl-year-label {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.tl-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* cert section */
.cert-section { margin-bottom: 80px; }
.cert-section h2 { font-size: 28px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 40px; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cert-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all .35s;
}
.cert-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--glow);
}
.cert-item .cert-icon { font-size: 32px; margin-bottom: 10px; }
.cert-item .cert-name { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.cert-item .cert-desc { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* team */
.team-section { margin-bottom: 60px; }
.team-section h2 { font-size: 28px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 40px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all .35s;
}
.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--glow);
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,212,255,.2), rgba(0,100,255,.2));
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px;
}
.team-card h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.team-card .role { font-size: 12px; color: var(--primary); margin-bottom: 10px; letter-spacing: 1px; }
.team-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Industries Page ── */
.industries-page { padding: 80px 0; background: var(--bg); }
.industry-detail {
  margin-bottom: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .3s;
}
.industry-detail:hover { border-color: var(--border-hover); }
.industry-detail.alt { background: var(--bg-card2); }
.industry-detail-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 240px;
}
.ind-sidebar {
  background: linear-gradient(135deg, rgba(0,212,255,.07) 0%, rgba(0,100,255,.07) 100%);
  border-right: 1px solid var(--border);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.ind-big-icon { width: 72px; height: 72px; }
.ind-big-icon svg { width: 100%; height: 100%; }
.ind-sidebar h3 { font-size: 20px; font-weight: 700; color: #fff; }
.ind-sidebar p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.ind-body { padding: 36px 36px; }
.ind-body h4 { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.ind-body h4:not(:first-child) { margin-top: 20px; }
.ind-body p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.ind-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.ind-tag {
  font-size: 12px;
  color: var(--primary);
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 4px;
  padding: 4px 12px;
}

/* ── Contact Page ── */
.contact-page { padding: 80px 0; background: var(--bg); }
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.ci-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all .3s;
}
.ci-item:hover { border-color: var(--border-hover); background: var(--bg-card2); }
.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.ci-body { display: flex; flex-direction: column; justify-content: center; }
.ci-label { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; letter-spacing: .5px; }
.ci-value { font-size: 14px; font-weight: 600; color: var(--text); }
.ci-value a { color: var(--primary); }

/* qr block in contact */
.contact-qr-block {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  align-items: center;
}
.qr-wrap {
  flex-shrink: 0;
  padding: 10px;
  background: #0a0f1e;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.contact-qr-text h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.contact-qr-text p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }

/* large form */
.contact-form-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.contact-form-block h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.contact-form-block .sub-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* faq section */
.faq-section { margin-bottom: 60px; }
.faq-section h2 { font-size: 28px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 40px; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: var(--border-hover); }
.faq-q {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  user-select: none;
}
.faq-q svg { flex-shrink: 0; transition: transform .3s; color: var(--primary); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── CTA Section ── */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #070d1e 0%, #0b1830 50%, #070d1e 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,100,255,.12) 0%, transparent 70%);
}
.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-content h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,.6); margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Map placeholder ── */
.map-section { margin-bottom: 60px; }
.map-section h2 { font-size: 28px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 32px; }
.map-placeholder {
  width: 100%;
  height: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 15px;
}
.map-placeholder svg { color: var(--primary); opacity: .7; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .service-detail-body { grid-template-columns: 1fr; }
  .sd-specs { position: static; }
  .about-intro-section { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .service-detail { padding: 24px 18px; }
  .service-detail-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .industry-detail-inner { grid-template-columns: 1fr; }
  .ind-sidebar { border-right: none; border-bottom: 1px solid var(--border); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-3 { grid-template-columns: 1fr; }
  .timeline-h { flex-direction: column; }
  .timeline-h::before { display: none; }
  .tl-node { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .tl-dot { margin: 4px 0 0; flex-shrink: 0; }
  .contact-qr-block { flex-direction: column; text-align: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-form-block { padding: 24px 16px; }
}
