/* ============================================================
   页面级样式：首页 / 关于 / 产品 / 服务 / 联系
============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  /* 蓝图坐标 */
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(184,130,58,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184,130,58,0.08) 1px, transparent 1px);
  background-size: 96px 96px;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-sub);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; background: var(--accent-green); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(46, 93, 62, 0.15);
}
.hero-title {
  font-size: clamp(36px, 5.6vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--text-main);
}
.hero-title .accent { color: var(--brand); }
.hero-title .divider {
  display: inline-block; width: 40px; height: 3px;
  background: var(--brand); vertical-align: middle;
  margin: 0 14px 8px;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px;
}

/* Hero 右侧：技术规格卡 */
.spec-panel {
  background: var(--bg-ink);
  color: var(--text-invert);
  padding: 32px;
  border: 1px solid var(--bg-ink);
  position: relative;
}
.spec-panel::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: var(--brand);
}
.spec-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.spec-header .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.spec-header .status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
}
.spec-header .status .led {
  width: 6px; height: 6px; border-radius: 50%; background: #58C97C;
  box-shadow: 0 0 0 3px rgba(88, 201, 124, 0.2);
  animation: led-pulse 2s var(--ease) infinite;
}
@keyframes led-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.spec-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.spec-item:last-child { border-bottom: none; }
.spec-item .k {
  font-size: 13px; color: var(--text-mute);
}
.spec-item .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--text-invert);
  font-weight: 500;
}
.spec-item .v .unit { color: var(--brand); font-weight: 400; margin-left: 4px; font-size: 12px; }

/* Hero 统计 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  margin-top: 56px;
}
.stat-item .num {
  display: block;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-item .num .plus { color: var(--brand); margin-left: 2px; }
.stat-item .label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-sub);
}
.stat-item .code {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 核心业务卡（首页） ---------- */
.biz-card {
  display: flex; flex-direction: column;
  min-height: 260px;
}
.biz-icon {
  width: 48px; height: 48px;
  border: 1.5px solid var(--text-main);
  display: grid; place-items: center;
  margin-bottom: 24px;
  color: var(--text-main);
  transition: all var(--dur) var(--ease);
}
.biz-card:hover .biz-icon { border-color: var(--brand); color: var(--brand); }
.biz-card h3 {
  font-size: 20px; font-weight: 600; margin: 0 0 12px; letter-spacing: -0.01em;
}
.biz-card p {
  color: var(--text-sub); font-size: 14px; margin: 0 0 24px; flex: 1;
  line-height: 1.75;
}
.biz-card .link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-main);
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text-main);
  align-self: flex-start;
  transition: all var(--dur) var(--ease);
}
.biz-card .link:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- 优势 ---------- */
.advantage-item {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 32px;
  align-items: baseline;
  transition: padding var(--dur) var(--ease);
}
.advantage-item:hover { padding-left: 16px; }
.advantage-item:last-child { border-bottom: 1px solid var(--border); }
.advantage-item .idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: var(--brand); letter-spacing: 0.08em;
}
.advantage-item h3 {
  font-size: 22px; font-weight: 600; margin: 0 0 10px;
}
.advantage-item p {
  color: var(--text-sub); font-size: 14px; margin: 0; max-width: 640px;
  line-height: 1.75;
}
.advantage-item .marker {
  justify-self: end;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; color: var(--text-mute);
  transition: color var(--dur) var(--ease);
}
.advantage-item:hover .marker { color: var(--brand); }

/* ---------- Partners ---------- */
.partner-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.partner-card h4 {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.partner-card ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.partner-card li {
  padding: 4px 10px;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-sub);
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--bg-ink);
  color: var(--text-invert);
  padding: 80px 0;
  border-top: 4px solid var(--brand);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(24px, 3.6vw, 36px);
  margin: 0 0 8px;
  color: var(--text-invert);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta-band p {
  color: var(--text-mute);
  margin: 0;
  font-size: 15px;
}
.cta-band .btn-primary {
  background: var(--brand); border-color: var(--brand);
}
.cta-band .btn-primary:hover { background: var(--text-invert); border-color: var(--text-invert); color: var(--bg-ink); }

/* ---------- Page Header (内页) ---------- */
.page-header {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(184,130,58,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184,130,58,0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  pointer-events: none;
}
.page-header .container { position: relative; }
.breadcrumb {
  display: flex; gap: 10px; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.breadcrumb .sep { color: var(--border-strong); }
.breadcrumb .current { color: var(--brand); }
.page-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.page-desc {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0;
  line-height: 1.75;
}

/* ---------- About 页 ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.about-intro p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 20px;
}
.about-intro p strong { color: var(--text-main); font-weight: 600; }
.about-facts {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
}
.about-facts .fact {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.about-facts .fact:last-child { border-bottom: none; }
.about-facts .k { color: var(--text-sub); font-size: 13px; }
.about-facts .v { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--text-main); font-weight: 500; }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 1px; background: var(--border);
}
.timeline-item {
  position: relative;
  padding: 8px 0 40px 32px;
}
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 14px;
  width: 17px; height: 17px;
  background: var(--bg-paper);
  border: 1.5px solid var(--brand);
}
.timeline-item::after {
  content: ''; position: absolute; left: -27px; top: 19px;
  width: 7px; height: 7px; background: var(--brand);
}
.timeline-item .year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: var(--brand);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.timeline-item h3 {
  font-size: 20px; font-weight: 600; margin: 0 0 8px;
}
.timeline-item p { color: var(--text-sub); font-size: 14px; margin: 0; line-height: 1.75; }

/* Culture */
.culture-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}
.culture-card .badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--brand);
  padding: 4px 10px;
  border: 1px solid var(--brand);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.culture-card h3 {
  font-size: 22px; font-weight: 600; margin: 0 0 12px;
}
.culture-card p {
  color: var(--text-sub); font-size: 14px; margin: 0; line-height: 1.85;
}

@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .advantage-item { grid-template-columns: 60px 1fr 40px; gap: 16px; }
}

/* ---------- Products 页 ---------- */
.product-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 80px;
}
.product-category {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.product-category:first-of-type { border-top: none; }
.category-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}
.category-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 0.16em;
  padding-top: 12px;
  border-top: 3px solid var(--brand);
}
.category-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.category-head p {
  color: var(--text-sub); font-size: 15px; margin: 0; max-width: 640px; line-height: 1.75;
}

.product-card h4 {
  font-size: 18px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em;
}
.product-card .desc {
  color: var(--text-sub); font-size: 13px; margin: 0 0 20px; line-height: 1.75;
}
.product-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.product-card li {
  font-size: 13px;
  color: var(--text-main);
  padding-left: 20px;
  position: relative;
}
.product-card li::before {
  content: '+';
  position: absolute; left: 0; top: 0;
  color: var(--brand);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

@media (max-width: 900px) {
  .category-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Services 页 ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-card .service-idx {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em; color: var(--brand);
}
.service-card h3 {
  font-size: 22px; font-weight: 600; margin: 0; letter-spacing: -0.01em;
}
.service-card > p {
  color: var(--text-sub); font-size: 14px; margin: 0; line-height: 1.75;
}
.service-card ul {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px dashed var(--border); padding-top: 20px;
}
.service-card li {
  font-size: 13px; color: var(--text-main);
  padding-left: 18px; position: relative;
}
.service-card li::before {
  content: '—'; position: absolute; left: 0; color: var(--brand);
}

/* Workflow */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.workflow-step {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.workflow-step:last-child { border-right: none; }
.workflow-step .idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.workflow-step h4 {
  font-size: 15px; font-weight: 600; margin: 0 0 8px;
}
.workflow-step p {
  font-size: 12px; color: var(--text-sub); margin: 0; line-height: 1.7;
}
.workflow-step::after {
  content: '→';
  position: absolute; right: -8px; top: 24px;
  background: var(--bg-paper); color: var(--brand);
  font-family: 'JetBrains Mono', monospace;
  padding: 0 4px; font-size: 14px;
}
.workflow-step:last-child::after { display: none; }

.promise-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: left;
}
.promise-card .promise-icon {
  width: 40px; height: 40px;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.promise-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.promise-card p { font-size: 13px; color: var(--text-sub); margin: 0; line-height: 1.75; }

@media (max-width: 1024px) {
  .workflow-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow-step:nth-child(3)::after { display: none; }
  .workflow-step:nth-child(3), .workflow-step:nth-child(6) { border-right: none; }
  .workflow-step:nth-child(4), .workflow-step:nth-child(5), .workflow-step:nth-child(6) { border-top: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-step { border-right: none; border-top: 1px solid var(--border); }
  .workflow-step:first-child { border-top: none; }
  .workflow-step::after { display: none; }
}

/* ---------- Contact 页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  transition: border-color var(--dur) var(--ease);
}
.contact-item:hover { border-color: var(--brand); }
.contact-item .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; color: var(--brand);
  margin-bottom: 12px;
}
.contact-item h3 {
  font-size: 16px; font-weight: 600; margin: 0 0 12px;
}
.contact-item p {
  font-size: 13px; color: var(--text-sub); margin: 0 0 4px; line-height: 1.7;
}
.contact-item .highlight {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-main); font-size: 15px; font-weight: 500;
}

.route-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.route-card {
  background: var(--bg-card); border: 1px solid var(--border); padding: 32px;
}
.route-card h3 {
  font-size: 18px; font-weight: 600; margin: 0 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.route-card h3::before {
  content: ''; width: 24px; height: 3px; background: var(--brand);
}
.route-card p { font-size: 14px; color: var(--text-sub); margin: 0; line-height: 1.85; }

/* 联系表单区 */
.contact-form {
  background: var(--bg-ink); color: var(--text-invert);
  padding: 48px;
  border: 1px solid var(--bg-ink);
  position: relative;
}
.contact-form::before {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 3px; background: var(--brand);
}
.contact-form h3 {
  font-size: 24px; font-weight: 600; margin: 0 0 8px; color: var(--text-invert);
}
.contact-form p { color: var(--text-mute); margin: 0 0 32px; font-size: 14px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
.form-field {
  display: flex; flex-direction: column; gap: 8px;
}
.form-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.form-field input, .form-field textarea, .form-field select {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-invert);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--dur) var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--brand);
}
.form-field select option { background: var(--bg-ink); color: var(--text-invert); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .route-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
}
