/* 江上科技 官网样式（深藏青 + 琥珀金 / 米黄） */
:root {
  /* 主色板 */
  --ink: #1A2B4A;       /* 深藏青主色 */
  --ink-2: #52647D;     /* 中藏青 */
  --ink-3: #8D9AAB;     /* 浅藏青 */
  --ink-4: #E8EEF6;     /* 极浅藏青 */
  --amber: #C8861A;     /* 琥珀金强调 */
  --amber-2: #8A5A1F;   /* 深琥珀 */
  --amber-3: #FBF6EC;   /* 极浅琥珀 */
  --gold-light: #E3B76B;
  --cream: #F2E8C9;
  --text: #252525;
  --sub: #5A6B7C;
  --line: #E3E8EF;
  --white: #FFFFFF;

  /* 兼容别名 */
  --brand: var(--amber);
  --brand-dark: var(--amber-2);
  --brand-soft: var(--amber-3);
  --gold: var(--amber);
  --muted: var(--sub);
  --bg: var(--white);
  --bg-soft: var(--ink-4);
  --bg-deep: var(--ink);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(26, 43, 74, .10);
  --shadow-lg: 0 20px 50px rgba(26, 43, 74, .16);
  --max: 1200px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans CN", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "SimSun", "STSong", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.32; margin: 0 0 12px; font-weight: 900; letter-spacing: .5px; }

p { margin: 0 0 12px; }

ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部公告 ---------- */
.notice {
  background: #12233E;
  color: var(--ink-3);
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
}
.notice span { color: var(--gold-light); }

/* ---------- 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 35, 62, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--gold-light) 100%);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
  font-family: var(--serif);
  box-shadow: 0 6px 16px rgba(200, 134, 26, .35);
}
.brand-text b { display: block; font-size: 17px; letter-spacing: 1px; color: var(--cream); font-family: var(--serif); }
.brand-text small { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: 3px; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  padding: 8px 14px; border-radius: 6px; font-size: 15px; color: var(--ink-4);
  transition: background .15s ease, color .15s ease;
}
.menu a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.menu a.active { color: var(--cream); font-weight: 700; background: rgba(200, 134, 26, .28); }
.nav-toggle { display: none; border: 1px solid rgba(255,255,255,.3); background: transparent; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.nav-toggle i { display: block; width: 18px; height: 2px; background: var(--cream); margin: 3px 0; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 30px; border-radius: 8px; font-size: 16px; font-weight: 700;
  font-family: inherit; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 8px 22px rgba(200, 134, 26, .35); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(200, 134, 26, .45); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-2); }
.btn-light { background: transparent; border: 1.5px solid rgba(255, 255, 255, .45); color: var(--ink-4); }
.btn-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- 区块 ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--ink-4); }
.section-deep { background: var(--ink); color: var(--ink-4); }
.section-deep h2, .section-deep h3 { color: var(--cream); }
.section-deep p { color: #C9D6E6; }

.eyebrow {
  display: inline-block; font-family: var(--serif); font-size: 13px; letter-spacing: 2px;
  color: var(--cream); background: var(--ink); padding: 5px 14px; border-radius: 8px;
  margin-bottom: 16px; font-weight: 700;
}
.section-deep .eyebrow { background: var(--amber); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 34px; font-weight: 900; letter-spacing: 1px; }
.section-head p { color: var(--sub); font-size: 16px; font-weight: 400; }
.section-deep .section-head p { color: #C9D6E6; }
.divider { width: 56px; height: 3px; background: var(--amber); border-radius: 3px; margin: 0 auto 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background: linear-gradient(135deg, var(--ink) 0%, #1e3a63 100%);
  padding: 92px 0 72px;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 320px;
  background: radial-gradient(closest-side, rgba(200, 134, 26, .20), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: 46px; font-weight: 900; letter-spacing: 1.5px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero .lead { font-size: 17px; color: #C9D6E6; max-width: 560px; margin-bottom: 26px; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span {
  font-size: 13px; color: #DCE6F2; border: 1px solid rgba(255, 255, 255, .28);
  padding: 5px 12px; border-radius: 6px; background: rgba(255, 255, 255, .05);
}
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-stats div b { display: block; font-size: 24px; color: var(--cream); font-family: var(--serif); }
.hero-stats div small { color: var(--ink-3); font-size: 13px; }

/* 终端卡片 */
.mock {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px; padding: 20px; box-shadow: var(--shadow-lg);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.mock-title { font-size: 14px; color: var(--ink-3); margin-bottom: 12px; }
.mock-line { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .12); margin-bottom: 10px; }
.mock-line.w60 { width: 60%; } .mock-line.w80 { width: 80%; } .mock-line.w45 { width: 45%; }
.mock-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 12px; }
.mock-chips span {
  font-size: 12px; padding: 4px 10px; border-radius: 6px;
  background: rgba(200, 134, 26, .28); color: var(--cream); border: 1px solid rgba(200, 134, 26, .45);
}
.mock-list li { font-size: 13px; color: #C9D6E6; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); display: flex; justify-content: space-between; }
.mock-list li:last-child { border-bottom: none; }
.mock-list b { color: var(--cream); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--amber); }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.card p { color: var(--sub); font-size: 15px; margin: 0; font-weight: 400; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--amber-3); color: var(--amber-2); margin-bottom: 14px;
}
.card .ico svg { width: 22px; height: 22px; }

.card-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.card-dark:hover { border-color: var(--amber); }
.card-dark h3 { color: var(--cream); }
.card-dark p { color: #C9D6E6; }
.card-dark .ico { background: rgba(200, 134, 26, .22); color: var(--gold-light); }

.num-card { position: relative; overflow: hidden; }
.num-card .num {
  position: absolute; right: 18px; top: 6px; font-size: 54px; font-weight: 900;
  color: rgba(200, 134, 26, .16); line-height: 1; font-family: var(--serif);
}

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 28px 24px; background: var(--ink); border: none; border-radius: 12px; }
.step .badge {
  width: 34px; height: 34px; border-radius: 10px; background: var(--amber); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; font-family: var(--serif);
}
.step h3 { font-size: 18px; color: var(--cream); font-weight: 700; }
.step p { color: #C9D6E6; font-size: 15px; margin: 0; font-weight: 400; }
.step:nth-child(2) { background: var(--amber); }
.step:nth-child(2) h3 { color: #fff; }
.step:nth-child(2) p { color: rgba(255, 255, 255, .88); }
.step:nth-child(2) .badge { background: var(--ink); }
.step::after {
  content: ""; position: absolute; right: -12px; top: 46px; width: 22px; height: 22px;
  border-top: 2px dashed #CBD7E6; border-right: 2px dashed #CBD7E6; transform: rotate(45deg);
}
.step:last-child::after { display: none; }

/* ---------- 链路 ---------- */
.flow { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.flow-node {
  flex: 1 1 180px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: 18px; text-align: center;
}
.flow-node b { display: block; color: var(--cream); margin-bottom: 6px; font-weight: 700; }
.flow-node span { font-size: 13px; color: #C9D6E6; }
.flow-arrow { align-self: center; color: var(--gold-light); font-size: 20px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
th { background: var(--ink); color: var(--cream); font-weight: 700; }
tbody tr:nth-child(even) td { background: #F8FAFD; }
tbody tr:last-child td { border-bottom: none; }
td.muted { color: var(--sub); }

/* ---------- 价格 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.price-card.highlight {
  border: 1.5px solid var(--amber); position: relative;
  background: linear-gradient(180deg, #FFFBF2 0%, #fff 60%);
  box-shadow: 0 12px 30px rgba(200, 134, 26, .16);
}
.price-card .tag {
  position: absolute; top: -12px; left: 24px; background: var(--ink); color: var(--cream);
  font-size: 12px; padding: 3px 14px; border-radius: 20px; font-family: var(--serif); font-weight: 700;
}
.price-card h3 { font-size: 18px; font-weight: 700; }
.price-card .amount { font-size: 34px; font-weight: 900; color: var(--ink); margin: 6px 0 4px; }
.price-card .amount small { font-size: 15px; font-weight: 500; color: var(--sub); }
.price-card .note { font-size: 13px; color: var(--amber-2); background: var(--amber-3); display: inline-block; padding: 2px 10px; border-radius: 6px; margin-bottom: 14px; }
.price-card ul { margin: 16px 0 22px; }
.price-card li { font-size: 14px; color: var(--sub); padding: 6px 0 6px 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }
.price-card .btn { margin-top: auto; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--ink); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(200, 134, 26, .14);
}
.field textarea { min-height: 96px; resize: vertical; }
.form-tip { font-size: 13px; color: var(--sub); margin-top: 10px; }
.form-msg { display: none; margin-top: 12px; font-size: 14px; color: var(--amber-2); background: var(--amber-3); padding: 10px 14px; border-radius: var(--radius-sm); }

/* ---------- 联系信息 ---------- */
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: none; }
.contact-list b { display: block; font-size: 15px; }
.contact-list span { color: var(--sub); font-size: 14px; }
.qr {
  width: 148px; height: 148px; border: 1px solid rgba(200, 134, 26, .3); border-radius: 14px;
  display: grid; place-items: center; background: var(--amber-3); color: var(--amber-2); font-size: 13px; text-align: center; padding: 10px;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--ink); color: var(--cream); text-align: center; border-radius: 20px; padding: 56px 32px;
  box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: 30px; font-weight: 900; letter-spacing: 1px; }
.cta p { color: #C9D6E6; max-width: 640px; margin: 0 auto 26px; font-weight: 400; }
.cta .btn-ghost { background: #fff; border-color: #fff; color: var(--ink); }
.cta .btn-ghost:hover { color: var(--amber-2); }

/* ---------- 页脚 ---------- */
.footer { background: #12233E; color: var(--ink-3); padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px; }
.footer h4 { color: var(--cream); font-size: 15px; margin-bottom: 14px; font-weight: 700; }
.footer ul li { padding: 5px 0; }
.footer ul a:hover { color: var(--gold-light); }
.footer .brand-text b { color: var(--cream); }
.footer .brand-text small { color: var(--ink-3); }
.footer p { color: var(--ink-3); }
.footer-bottom {
  margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3);
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- 备案信息 ---------- */
.icp {
  background: #0d1b30; color: var(--ink-3); font-size: 13px; padding: 14px 0 20px; text-align: center; line-height: 1.9;
}
.icp a { color: var(--ink-3); }

/* ---------- 提示条 ---------- */
.disclaimer {
  font-size: 13px; color: var(--amber-2); background: var(--amber-3);
  border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; padding: 12px 16px; margin-top: 18px;
}

/* ---------- 页头 ---------- */
.page-head {
  background: linear-gradient(135deg, var(--ink) 0%, #1e3a63 100%); color: var(--cream); padding: 60px 0 64px; text-align: center;
}
.page-head h1 { font-size: 36px; font-weight: 900; letter-spacing: 1.5px; }
.page-head p { color: #C9D6E6; max-width: 680px; margin: 0 auto; font-weight: 400; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 8px;
  background: var(--ink); color: var(--cream); border: none; cursor: pointer; display: none; z-index: 60;
  font-size: 18px; box-shadow: var(--shadow);
}
.to-top.show { display: block; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .g3, .g4, .price-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .step::after { display: none; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 48px; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 25px; }
  .page-head h1 { font-size: 27px; }
  .g2, .g3, .g4, .price-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 68px; background: #12233E;
    flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #DCE6F2; }
  .nav-toggle { display: block; }
  .nav { position: relative; }
  .flow-arrow { transform: rotate(90deg); }
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
