/* ========================================
   贵州新宸智能科技 官网样式
   ======================================== */

/* 设计变量 */
:root {
  --bg-primary: #0a1628;
  --bg-secondary: #0d1b2a;
  --bg-tertiary: #0d2137;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --accent: #4fc3f7;
  --accent-secondary: #26c6da;
  --accent-tertiary: #80cbc4;
  --success: #66bb6a;
  --warning: #fc5c7d;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  --border: rgba(79, 195, 247, 0.2);
  --border-accent: rgba(79, 195, 247, 0.25);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* 重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-stack);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-secondary); }

img { max-width: 100%; display: block; }

/* 通用板块 */
.section {
  padding: 80px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.section-full {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  text-align: center;
}

.section-title.left {
  text-align: left;
}

/* 背景变体 */
.bg-secondary { background: var(--bg-secondary); }

/* ========================================
   导航
   ======================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.site-nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(8px);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
}
.nav-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    padding: 16px 24px;
    gap: 12px;
  }
  .site-nav { padding: 12px 16px; }
}

/* ========================================
   Hero 首屏
   ======================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
  text-align: center;
  padding: 120px 24px 60px;
}
.hero-inner { max-width: 680px; }
.hero-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-desc strong { color: var(--text-primary); }
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  color: var(--bg-primary);
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; color: var(--bg-primary); }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label { font-size: 12px; color: var(--text-muted); }

@media (max-width: 767px) {
  #hero { padding: 100px 16px 48px; min-height: auto; }
  .hero-title { font-size: 24px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-num { font-size: 20px; }
}

/* ========================================
   板块② 公司概述
   ======================================== */
.hl-accent { color: var(--accent); }
.about-desc {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 20px;
}
.about-location {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   板块③ 行业洞察
   ======================================== */
.insights-lead {
  text-align: center;
  font-size: 14px;
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.changes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
.change-card {
  background: rgba(79, 195, 247, 0.06);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius-md);
}
.change-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}
.change-card p {
  font-size: 13px;
  line-height: 1.6;
}

.compare-wrapper {
  margin-bottom: 24px;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-table th {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13px;
  text-align: left;
}
.col-old { background: rgba(252, 92, 125, 0.1); color: var(--warning); }
.col-new { background: rgba(79, 195, 247, 0.1); color: var(--accent); }
.compare-table td {
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0.7;
}

.insights-data-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px;
  background: rgba(38, 198, 218, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--accent-secondary);
  font-weight: 600;
}
.insights-conclusion {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 767px) {
  .changes-grid { grid-template-columns: 1fr; }
  .insights-data-bar { flex-direction: column; align-items: center; gap: 8px; }
}

/* ========================================
   板块④ 核心能力
   ======================================== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap-card {
  background: linear-gradient(180deg, rgba(79, 195, 247, 0.08) 0%, transparent 100%);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-lg);
}
.cap-icon { font-size: 28px; margin-bottom: 8px; }
.cap-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.cap-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.cap-card ul {
  list-style: none;
  font-size: 13px;
  line-height: 1.7;
}
.cap-card li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 6px;
}
.cap-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.cap-strategy { border-color: rgba(79, 195, 247, 0.2); }
.cap-strategy h3 { color: var(--accent); }
.cap-tech { border-color: rgba(38, 198, 218, 0.2); }
.cap-tech h3 { color: var(--accent-secondary); }
.cap-resource { border-color: rgba(128, 203, 196, 0.2); }
.cap-resource h3 { color: var(--accent-tertiary); }

@media (max-width: 767px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* ========================================
   板块⑤ 战略框架
   ======================================== */
.diag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.diag-card {
  background: rgba(79, 195, 247, 0.06);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.diag-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.diag-abbr {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}
.diag-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.steps-section { text-align: center; }
.steps-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.steps-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.step-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 120px;
}
.step-num {
  display: block;
  font-size: 10px;
  opacity: 0.6;
  margin-bottom: 2px;
}
.step-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
}
.step-cn {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.7;
}
.step-1 { background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); color: var(--bg-primary); }
.step-2 { background: linear-gradient(135deg, var(--accent-secondary), #00acc1); color: var(--bg-primary); }
.step-3 { background: linear-gradient(135deg, #00acc1, #00897b); color: #fff; }
.step-4 { background: linear-gradient(135deg, #00897b, #26a69a); color: #fff; }
.step-5 { background: linear-gradient(135deg, #26a69a, var(--success)); color: #fff; }
.step-arrow { color: var(--accent); font-size: 18px; }
.steps-note {
  font-size: 13px;
  color: var(--text-muted);
}

.steps-detail {
  max-width: 680px;
  margin: 24px auto 16px;
  text-align: left;
}
.step-detail-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.step-detail-row:last-child { border-bottom: none; }
.step-detail-step {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: var(--bg-primary);
  font-size: 12px;
  font-weight: 700;
}
.step-detail-body h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.step-detail-body p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.step-detail-label {
  color: var(--accent-secondary);
  font-weight: 600;
  margin-right: 4px;
}

@media (max-width: 767px) {
  .diag-grid { grid-template-columns: 1fr 1fr; }
  .steps-flow { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .step-item { min-width: 0; width: 80%; }
}

/* ========================================
   板块⑥ 四大产品
   ======================================== */
.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.prod-card {
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: var(--radius-lg);
}
.prod-icon { font-size: 24px; margin-bottom: 8px; }
.prod-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(79, 195, 247, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.prod-tag-2 { color: var(--accent-secondary); background: rgba(38, 198, 218, 0.1); }
.prod-tag-3 { color: var(--accent-tertiary); background: rgba(128, 203, 196, 0.1); }
.prod-tag-4 { color: var(--success); background: rgba(102, 187, 106, 0.1); }
.prod-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.prod-card ul {
  list-style: none;
  font-size: 12px;
  line-height: 1.7;
}
.prod-card li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}
.prod-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 767px) {
  .prod-grid { grid-template-columns: 1fr; }
}

/* ========================================
   板块⑦ 两大方案
   ======================================== */
.adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.adv-card {
  background: linear-gradient(180deg, rgba(79, 195, 247, 0.06) 0%, transparent 100%);
  border: 1px solid var(--border-accent);
  padding: 24px;
  border-radius: var(--radius-lg);
}
.adv-card-2 {
  background: linear-gradient(180deg, rgba(38, 198, 218, 0.06) 0%, transparent 100%);
  border-color: rgba(38, 198, 218, 0.25);
}
.adv-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.adv-tag-2 { color: var(--accent-secondary); }
.adv-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.adv-items { margin-bottom: 16px; }
.adv-item { margin-bottom: 14px; }
.adv-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.adv-card-2 .adv-item h4 { color: var(--accent-secondary); }
.adv-item p {
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.6;
}
.adv-fit {
  font-size: 11px;
  color: var(--accent-secondary);
  opacity: 0.6;
  border-top: 1px solid rgba(79, 195, 247, 0.1);
  padding-top: 10px;
}
.adv-card-2 .adv-fit { border-color: rgba(38, 198, 218, 0.15); }

@media (max-width: 767px) {
  .adv-grid { grid-template-columns: 1fr; }
}

/* ========================================
   板块⑧ 落地案例
   ======================================== */
.case-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.case-tag {
  background: rgba(79, 195, 247, 0.08);
  border: 1px solid var(--border);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.case-card {
  border: 1px solid rgba(79, 195, 247, 0.12);
  padding: 18px;
  border-radius: var(--radius-md);
}
.case-header {
  margin-bottom: 12px;
}
.case-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.case-industry {
  font-size: 11px;
  color: var(--text-muted);
}
.case-section { margin-bottom: 8px; }
.case-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 3px;
}
.case-pain { color: var(--warning); }
.case-action { color: var(--accent-secondary); }
.case-result-label { color: var(--success); }
.case-section p, .case-result p {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.6;
}
.case-result {
  background: rgba(102, 187, 106, 0.06);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.case-result p {
  color: var(--success);
  font-weight: 600;
  opacity: 1;
}

@media (max-width: 767px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ========================================
   板块⑨ 联系我们
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-stack);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; }
.btn-submit {
  width: 100%;
  margin-top: 4px;
}

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.qr-item {
  text-align: center;
}
.qr-item img {
  margin: 0 auto 6px;
  border-radius: var(--radius-sm);
}
.qr-item span {
  font-size: 11px;
  color: var(--text-muted);
}

.company-info {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}
.company-info p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========================================
   底部
   ======================================== */
.site-footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-note {
  font-size: 11px;
  margin-top: 6px;
  opacity: 0.5;
}

@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ========================================
   结语
   ======================================== */
.conclusion-section {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
}
.conclusion-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
}
