/* ============================================================
   上海思阙科技 · 撷光系列官网  全站样式
   主色：深蓝 #0f3d5c / 蓝 #1668a0 / 青 #0d9488
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #0f3d5c;
  --blue: #1668a0;
  --teal: #0d9488;
  --teal-light: #e6f6f4;
  --ink: #1f2937;
  --gray: #5b6b7a;
  --gray-light: #8294a5;
  --line: #e5ebf0;
  --bg: #f6f9fb;
  --shadow: 0 14px 34px rgba(15,61,92,.10);
  --radius: 14px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800;
}
.brand-name { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: .5px; line-height: 1.2; }
.brand-sub { font-size: 11.5px; color: var(--gray-light); letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; color: var(--gray); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff !important; padding: 8px 18px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(13,148,136,.25);
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 12px; font-size: 14px; color: var(--navy); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0f3d5c 0%, #1668a0 55%, #0d9488 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 460px; height: 460px; border-radius: 50%; background: rgba(255,255,255,.06);
}
.hero::before {
  content: ""; position: absolute; left: -100px; bottom: -160px;
  width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.05);
}
.hero-inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.hero.home { padding: 92px 0 100px; }
.hero.page { padding: 128px 0 60px; }
.hero-tag {
  display: inline-block; font-size: 13px; letter-spacing: 2px; opacity: .9;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 4px 16px;
  background: rgba(255,255,255,.08); margin-bottom: 22px;
}
.hero h1 { font-size: 42px; font-weight: 800; letter-spacing: 1px; margin-bottom: 16px; }
.hero .dot { color: #7fe3d8; }
.hero-sub { font-size: 19px; opacity: .94; font-weight: 300; margin-bottom: 10px; }
.hero-slogan { font-size: 15px; opacity: .82; letter-spacing: 1px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; border-radius: 999px; padding: 12px 30px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all .18s; border: 1px solid transparent;
}
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-solid { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; box-shadow: 0 6px 16px rgba(13,148,136,.22); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13,148,136,.3); }
.btn-line { background: #fff; color: var(--blue); border-color: var(--line); }
.btn-line:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- 区块 ---------- */
.section { padding: 74px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .kicker { font-size: 12.5px; letter-spacing: 3px; color: var(--teal); font-weight: 700; }
.section-head h2 { font-size: 28px; color: var(--navy); font-weight: 700; margin: 8px 0 10px; }
.section-head p { color: var(--gray); font-size: 15px; }
.section-head .bar { width: 46px; height: 3px; background: var(--teal); margin: 14px auto 0; border-radius: 2px; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 12px;
}
.stat b { display: block; font-size: 26px; color: var(--navy); font-weight: 800; }
.stat span { font-size: 13.5px; color: var(--gray); }

/* ---------- 分类入口 ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cat-card {
  position: relative; border-radius: 18px; padding: 40px 36px; color: #fff; overflow: hidden;
  min-height: 230px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .2s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-pc { background: linear-gradient(135deg,#1668a0,#0d9488); }
.cat-app { background: linear-gradient(135deg,#5b7186,#8fa3b5); }
.cat-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.cat-card p { font-size: 14.5px; opacity: .92; max-width: 380px; }
.cat-card .cat-foot { margin-top: 24px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.cat-card .cat-ic {
  width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px;
}
.cat-soon-tag { font-size: 12.5px; background: rgba(255,255,255,.2); padding: 3px 12px; border-radius: 999px; }

/* ---------- 购买流程 ---------- */
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: step; }
.pstep {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative;
}
.pstep::before {
  counter-increment: step; content: counter(step);
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg,var(--blue),var(--teal)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; margin-bottom: 16px;
}
.pstep h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 8px; }
.pstep p { font-size: 13.8px; color: var(--gray); }
.pstep:not(:last-child)::after {
  content: "→"; position: absolute; right: -17px; top: 34px;
  color: var(--teal); font-size: 20px; font-weight: 700; z-index: 2;
}

/* ---------- 通用卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  background: #fff; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-name { font-size: 19px; color: var(--navy); font-weight: 700; }
.card-no { font-size: 12.5px; color: var(--gray-light); letter-spacing: 1px; margin-top: 2px; }
.card-desc { font-size: 14.2px; color: var(--gray); margin-bottom: 14px; }
.card-feats { margin: 14px 0; }
.card-feats li {
  font-size: 13.8px; color: var(--gray); padding-left: 22px; position: relative; margin-bottom: 7px;
}
.card-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- 徽章 ---------- */
.badge { font-size: 12px; padding: 4px 12px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.badge-free { background: var(--teal-light); color: var(--teal); }
.badge-paid { background: #fef0e6; color: #d9730d; }
.badge-soon { background: #eef1f4; color: #8294a5; }

/* ---------- 理念/优势 ---------- */
.philosophy { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.phil {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
}
.phil-ic {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 16px;
  background: linear-gradient(135deg,var(--blue),var(--teal)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800;
}
.phil h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.phil p { font-size: 13.6px; color: var(--gray); }

/* ---------- 提示框 ---------- */
.note {
  background: var(--teal-light); border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0; padding: 18px 22px; font-size: 14.2px; color: #2c5f5b;
}
.note b { color: var(--navy); }
.note.warn { background: #fef6e9; border-left-color: #e0a32e; color: #7a5a1e; }

/* ---------- 表格 ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.2px; min-width: 520px; }
table th { background: var(--navy); color: #fff; text-align: left; padding: 13px 18px; font-weight: 600; white-space: nowrap; }
table td { padding: 13px 18px; border-top: 1px solid var(--line); color: var(--gray); vertical-align: top; }
table tr:nth-child(even) td { background: #fafcdd05; }
table b { color: var(--ink); }

/* ---------- 步骤（帮助页） ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal);
  border-radius: 0 0 var(--radius) var(--radius); padding: 24px 22px;
}
.step h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 13.6px; color: var(--gray); }

/* ---------- 下载卡片 ---------- */
.dl-card {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 18px;
  background: #fff; transition: box-shadow .2s;
}
.dl-card:hover { box-shadow: var(--shadow); }
.dl-info h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.dl-info p { font-size: 14px; color: var(--gray); margin-bottom: 10px; }
.dl-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--gray-light); }
.dl-meta span { background: var(--bg); padding: 3px 12px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 22px; font-size: 15px; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 14px; font-family: inherit;
}
.faq-q .arrow { transition: transform .2s; color: var(--teal); font-size: 20px; }
.faq-item.open .faq-q .arrow { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; font-size: 14px; color: var(--gray); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a { padding: 0 22px; }
.faq-item.open .faq-a { padding: 0 22px 18px; }

/* ---------- 关于/联系 ---------- */
.about-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; max-width: 860px; margin: 0 auto;
}
.fact-list { margin-top: 26px; }
.fact { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.fact:last-child { border-bottom: none; }
.fact .k { color: var(--gray); white-space: nowrap; }
.fact .v { color: var(--navy); font-weight: 600; text-align: right; }
.contact { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.contact-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.contact-item b { font-size: 14.5px; color: var(--navy); display: block; margin-bottom: 8px; }
.contact-item p { font-size: 13.8px; color: var(--gray); }
.contact-item .mail { font-size: 17px; color: var(--teal); font-weight: 700; }

/* CTA 横幅 */
.cta-band {
  background: linear-gradient(135deg,#0f3d5c,#0d9488); color: #fff;
  border-radius: 18px; padding: 48px 40px; text-align: center;
}
.cta-band h2 { font-size: 26px; margin-bottom: 12px; }
.cta-band p { opacity: .9; margin-bottom: 26px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: #c3d2de; padding: 56px 0 26px; font-size: 14px; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px;
}
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer .brand-desc { font-size: 13px; color: #93a9ba; margin-top: 14px; line-height: 1.9; }
.footer a { display: block; color: #c3d2de; margin-bottom: 9px; font-size: 13.5px; transition: color .15s; }
.footer a:hover { color: #7fe3d8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #93a9ba;
}
.footer-bottom a { display: inline; color: #93a9ba; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .stats, .process, .philosophy, .steps { grid-template-columns: repeat(2,1fr); }
  .pstep:not(:last-child)::after { display: none; }
  .grid, .grid-3, .cat-grid, .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0;
    border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    display: none; box-shadow: 0 12px 24px rgba(15,61,92,.08);
  }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 11px 0; width: 100%; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero.home { padding: 60px 0 68px; }
  .hero.page { padding: 104px 0 46px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 54px 0; }
  .stats, .process, .philosophy, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cat-card { min-height: 0; padding: 32px 26px; }
  .about-card { padding: 26px 22px; }
  .dl-card { padding: 22px; }
}
