/* ============================================================
   3D漫画 · h7427.cn
   浅灰蓝科技规格风 / 单页静态站
   ============================================================ */

:root {
  --bg: #f2f5f8;
  --ink: #1c2733;
  --muted: #5b6b7c;
  --primary: #3d5a80;
  --primary-dark: #2b4162;
  --accent: #ff8a3d;
  --line: #dbe3ea;
  --card: #ffffff;
  --radius: 12px;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #1a2430;
  box-shadow: 0 10px 22px rgba(255, 138, 61, .32);
}
.btn-primary:hover { background: #ff9a56; }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: #b9c8d8;
}
.btn-ghost:hover { background: #e7eef5; }

.btn-light {
  background: var(--accent);
  color: #182330;
  box-shadow: 0 12px 26px rgba(255, 138, 61, .3);
}
.btn-light:hover { background: #ff9d5f; }

.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 6px; }

/* ---------- 头部 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  box-shadow: 0 3px 8px rgba(61, 90, 128, .18);
}
.brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-txt strong {
  font-size: 18px;
  letter-spacing: .02em;
}
.brand-txt em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .22em;
  color: #8b9bab;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
}
.nav a {
  color: #3c4a59;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.head-act {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 34px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: #eef3f8;
  background-image:
    radial-gradient(900px 420px at 82% 12%, rgba(255, 138, 61, .1), transparent 65%),
    linear-gradient(to right, rgba(61, 90, 128, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(61, 90, 128, .07) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 58px;
  padding: 66px 0 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, .18);
}

.hero h1 {
  font-size: clamp(54px, 7vw, 86px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero h1::after {
  content: "";
  display: block;
  width: 74px;
  height: 6px;
  margin-top: 18px;
  background: var(--accent);
  border-radius: 3px;
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  color: var(--primary);
}

.hero-lead {
  margin-top: 14px;
  max-width: 34em;
  color: var(--muted);
  font-size: 15.5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid #cfdae5;
  max-width: 470px;
}
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dt {
  font-size: 12.5px;
  color: #6d7d8e;
  letter-spacing: .04em;
}
.hero-stats dd {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.hero-stats dd small {
  font-size: 12px;
  font-weight: 600;
  color: #8a9aab;
  margin-left: 4px;
}

.hero-figure {
  position: relative;
  width: min(400px, 100%);
  margin-left: auto;
}

.hero-cover {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #c6d3e0;
  border-radius: 4px;
  box-shadow: 20px 20px 0 rgba(61, 90, 128, .13);
}
.hero-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.spec-card {
  position: absolute;
  left: -52px;
  bottom: -34px;
  width: 252px;
  padding: 15px 18px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  box-shadow: 0 18px 38px rgba(28, 39, 51, .16);
}
.spec-k {
  font-size: 10px;
  letter-spacing: .18em;
  color: #8b9bab;
  margin-bottom: 8px;
}
.spec-card dl { margin: 0; }
.spec-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px dashed #e6ecf2;
  font-size: 12.5px;
}
.spec-card dl > div:last-child { border-bottom: 0; }
.spec-card dt { color: #7b8b9b; }
.spec-card dd { margin: 0; font-weight: 700; color: #2c3b4b; }
.spec-card dd.ok { color: #c96324; }

/* ---------- 规格条 ---------- */
.strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 26px;
  border-left: 1px solid #e6ecf2;
}
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-n {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.strip-n small {
  font-size: 14px;
  font-weight: 600;
  color: #93a2b1;
  margin-left: 3px;
}
.strip-t {
  font-size: 12.5px;
  color: #6d7d8e;
  letter-spacing: .04em;
}

/* ---------- 区块头 ---------- */
.sec-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.sec-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 10px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
}
.sec-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 46em;
}
.sec-head--tight { margin-bottom: 32px; }

/* ---------- 作品区 ---------- */
.works { padding: 84px 0 76px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.work:hover {
  transform: translateY(-4px);
  border-color: #b9c9d8;
  box-shadow: 0 18px 36px rgba(45, 66, 92, .12);
}

.work-cover {
  background: #e2e9f0;
  overflow: hidden;
}
.work-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}
.work:hover .work-cover img { transform: scale(1.03); }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--primary);
  background: rgba(255, 255, 255, .95);
  border: 1px solid #cfdae5;
  border-radius: 4px;
}
.badge-hot {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a2430;
}

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 16px;
}
.work-en {
  font-size: 10.5px;
  letter-spacing: .18em;
  color: #94a3b2;
}
.work h3 {
  font-size: 19px;
  margin: 5px 0 8px;
}
.work-desc {
  color: var(--muted);
  font-size: 13.8px;
  margin-bottom: 16px;
}
.work-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e2e9f0;
  font-size: 12.5px;
  color: #7b8b9b;
}
.work-foot a {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}
.work-foot a:hover { color: #d96f24; }

.work--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
}
.work--wide .work-cover { height: 100%; }
.work--wide .work-cover img {
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.work--wide .work-body {
  padding: 30px 34px;
  justify-content: center;
}
.work--wide h3 { font-size: 27px; margin: 6px 0 12px; }
.work--wide .work-desc { font-size: 15px; max-width: 54ch; }
.work--wide .work-foot {
  margin-top: 24px;
  justify-content: flex-start;
  gap: 28px;
  font-size: 13.5px;
}

/* ---------- 流程 ---------- */
.flow {
  padding: 70px 0 74px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-list li {
  padding: 0 32px;
  border-left: 1px solid #e6ecf2;
}
.flow-list li:first-child { border-left: 0; padding-left: 0; }
.flow-n {
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: #dde6ee;
  letter-spacing: -0.03em;
}
.flow-list h3 {
  font-size: 17.5px;
  margin: 14px 0 8px;
  color: var(--primary-dark);
}
.flow-list p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 画质对照表 ---------- */
.quality { padding: 84px 0; }

.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th {
  text-align: left;
  padding: 13px 18px;
  background: #eaf0f6;
  color: var(--primary);
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 700;
  white-space: nowrap;
}
.spec-table td {
  padding: 15px 18px;
  border-top: 1px solid #e8eef4;
  color: #34434f;
  vertical-align: middle;
}
.spec-table tbody tr:nth-child(even) { background: #fafcfe; }
.spec-table tbody tr:hover { background: #f3f7fb; }

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  background: #e9f0f7;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}
.tag-orange {
  background: #fff0e5;
  color: #c2601f;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 0 0 88px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 20px;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: #a9bed4;
  box-shadow: 0 12px 26px rgba(61, 90, 128, .08);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: #26364a;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  padding: 0 0 18px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px dashed #e6ecf2;
  padding-top: 14px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 68px 0;
  background-color: #22324a;
  background-image:
    radial-gradient(700px 300px at 88% 100%, rgba(255, 138, 61, .22), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  color: #e9f0f7;
  overflow: hidden;
}
.cta-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}
.cta-copy { max-width: 600px; }
.cta-eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 10px;
}
.cta h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  color: #fff;
}
.cta-copy p {
  margin-top: 12px;
  font-size: 14.5px;
  color: #b9c7d6;
}
.cta-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cta-link {
  font-size: 13.5px;
  color: #ffcfae;
  border-bottom: 1px solid rgba(255, 207, 174, .5);
  padding-bottom: 2px;
}
.cta-link:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- 页脚 ---------- */
.site-foot {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}
.foot-brand strong { font-size: 16px; }
.foot-brand p {
  margin-top: 2px;
  font-size: 12.5px;
  color: #7d8c9b;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13.5px;
  color: #4a5a69;
}
.foot-nav a:hover { color: var(--primary); }
.foot-bottom {
  margin-top: 26px;
  padding: 16px 0 24px;
  border-top: 1px solid #edf2f7;
  font-size: 12.3px;
  color: #82919f;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .spec-card { left: -18px; }
  .hero-grid { gap: 44px; }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 46px 0 64px;
  }
  .hero-figure {
    margin: 0 auto;
    width: min(380px, 100%);
  }
  .spec-card {
    position: static;
    width: 100%;
    margin-top: 16px;
    box-shadow: 0 12px 26px rgba(28, 39, 51, .1);
  }
  .hero-stats { max-width: none; }

  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .work--wide { grid-column: 1 / -1; grid-template-columns: 220px 1fr; }
  .work--wide .work-body { padding: 24px; }

  .flow-list { grid-template-columns: 1fr; gap: 28px; }
  .flow-list li { border-left: 0; padding: 0 0 0 18px; border-left: 2px solid #e6ecf2; }
  .flow-list li:first-child { padding-left: 18px; }

  .cta-in { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta-act { flex-direction: row; align-items: center; gap: 20px; }

  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(28, 39, 51, .1);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
    font-size: 15px;
    border-top: 0;
  }
  .nav a:last-child { border-bottom: 0; }
  .burger { display: inline-flex; }
  .head-in { min-height: 62px; gap: 12px; }
  .brand-txt em { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 52px; }
  .hero-lead { font-size: 15px; }
  .hero-stats { gap: 26px; }
  .hero-stats dd { font-size: 24px; }
  .hero-actions .btn { padding: 13px 24px; }

  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item { padding: 18px 16px; }
  .strip-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid #e6ecf2; }
  .strip-n { font-size: 26px; }

  .works { padding: 58px 0 56px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .work-body { padding: 12px 12px 12px; }
  .work-en { font-size: 9.5px; letter-spacing: .12em; }
  .work h3 { font-size: 16px; margin: 4px 0 6px; }
  .work-desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .work-foot { font-size: 11.5px; padding-top: 9px; gap: 6px; flex-wrap: wrap; }
  .badge { font-size: 10px; padding: 3px 7px; }
  .work--wide { grid-template-columns: 1fr; }
  .work--wide .work-cover img { aspect-ratio: 1 / 1; height: auto; }
  .work--wide .work-body { padding: 20px 18px 18px; }
  .work--wide h3 { font-size: 22px; }
  .work--wide .work-foot { margin-top: 16px; flex-wrap: wrap; gap: 12px; }

  .flow { padding: 54px 0; }
  .quality { padding: 58px 0; }

  .table-wrap { border: 0; background: transparent; overflow: visible; }
  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table td { display: block; width: 100%; }
  .spec-table thead { display: none; }
  .spec-table tr {
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 6px 14px;
  }
  .spec-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 9px 0;
    border-top: 1px dashed #e6ecf2;
    text-align: right;
  }
  .spec-table td:first-child { border-top: 0; }
  .spec-table td::before {
    content: attr(data-label);
    color: #7b8b9b;
    font-size: 12.5px;
    font-weight: 600;
    text-align: left;
    flex-shrink: 0;
  }

  .faq { padding-bottom: 58px; }
  .cta { padding: 52px 0; }
  .cta-act { flex-direction: column; align-items: flex-start; gap: 14px; }

  .foot-in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-nav { gap: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
