/* ============================================================
   NKCAI 海外仓官网  ·  设计系统
   纯静态 · 无构建依赖
   ============================================================ */

:root {
  /* 品牌色 */
  --brand-900: #0a2540;
  --brand-800: #0e3a63;
  --brand-700: #124f86;
  --brand-600: #1665a6;
  --brand-500: #1e7fc4;
  --brand-100: #e6f1fa;
  --accent-500: #ff7a29;   /* 橙色强调 */
  --accent-600: #ef6a12;
  --teal-500: #17b3a3;

  /* 中性色 */
  --ink-900: #0f1b2d;
  --ink-700: #33415c;
  --ink-500: #5b6b85;
  --ink-300: #9aa7bd;
  --line: #e5eaf1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-dark: #0a2540;

  /* 版式 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1160px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, .06), 0 1px 2px rgba(10, 37, 64, .04);
  --shadow: 0 10px 30px rgba(10, 37, 64, .08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .14);
  --t: .22s cubic-bezier(.4, 0, .2, 1);
}

/* -------------------- reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-600); }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: .3em 0; }

/* -------------------- layout -------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .eyebrow { color: var(--brand-500); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--ink-500); font-size: 17px; margin-bottom: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 12px;
}

/* -------------------- buttons -------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; transition: all var(--t); white-space: nowrap;
}
.btn--primary { background: var(--accent-500); color: #fff; box-shadow: 0 8px 20px rgba(255, 122, 41, .32); }
.btn--primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 122, 41, .4); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: #fff; color: var(--brand-800); }
.btn--outline { background: #fff; color: var(--brand-700); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand-500); color: var(--brand-600); transform: translateY(-2px); }

/* -------------------- header / nav -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink-900); }
.brand:hover { color: var(--ink-900); }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-600), var(--teal-500));
  display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 800;
}
.brand .logo-sub { font-size: 12px; font-weight: 500; color: var(--ink-300); letter-spacing: .18em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-700); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-600); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink-900); margin: 5px 0; transition: var(--t); }

/* -------------------- hero -------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #1665a6 0%, transparent 60%),
              linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 55%, #0c3157 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 76px; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.15; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--accent-500); }
.hero .lead { color: #cfe0f0; font-size: 18px; max-width: 540px; }
.hero .eyebrow { color: #7fc0ec; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .num { font-size: 30px; font-weight: 800; color: #fff; }
.hero-stats .lbl { font-size: 13px; color: #9dbdd8; }

/* hero 插画卡片 */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px; padding: 22px; backdrop-filter: blur(6px);
}
.hero-card .row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; background: rgba(255, 255, 255, .12); flex: none; }
.hero-card .row b { color: #fff; display: block; font-size: 15px; }
.hero-card .row small { color: #9dbdd8; }

/* -------------------- cards / grid -------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all var(--t); height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .card-ic {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 18px; background: var(--brand-100); color: var(--brand-600);
}
.card h3 { font-size: 19px; }
.card p { color: var(--ink-500); font-size: 15px; margin-bottom: 0; }

/* 优势 · 带编号 */
.feature { display: flex; gap: 16px; }
.feature .n {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand-600), var(--teal-500));
}
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--ink-500); font-size: 15px; margin: 0; }

/* -------------------- 流程步骤 -------------------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 26px 84px;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 26px; top: 24px; font-size: 22px; font-weight: 800; color: var(--brand-500);
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-500); font-size: 15px; }

/* -------------------- 对比表 -------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
table.compare th, table.compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
table.compare thead th { background: var(--brand-900); color: #fff; font-weight: 600; }
table.compare thead th.hl { background: var(--accent-500); }
table.compare tbody th { color: var(--ink-900); font-weight: 600; background: var(--bg-soft); }
table.compare td.good { color: #16855c; font-weight: 600; }
table.compare td.bad { color: #b4443a; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }

/* -------------------- CTA 区块 -------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  border-radius: 22px; padding: 54px; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: #d3e4f2; max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; }

/* -------------------- 知识列表 -------------------- */
.article-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: all var(--t); height: 100%;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card .thumb { height: 132px; display: grid; place-items: center; font-size: 44px; color: #fff; }
.article-card .body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.article-card .tag { font-size: 12px; color: var(--brand-500); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.article-card h3 { font-size: 18px; margin: 8px 0 8px; }
.article-card p { color: var(--ink-500); font-size: 14px; flex: 1; }
.article-card .more { font-weight: 600; font-size: 14px; color: var(--brand-600); margin-top: 8px; }

/* -------------------- 文章正文 -------------------- */
.article-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 54px 0; }
.article-hero .eyebrow { color: var(--brand-500); }
.article-hero h1 { font-size: clamp(28px, 4vw, 42px); max-width: 800px; }
.article-hero p { color: var(--ink-500); font-size: 18px; max-width: 760px; margin-bottom: 0; }
.article-meta { color: var(--ink-300) !important; font-size: 14px !important; margin-top: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose table.compare th, .prose table.compare td { font-size: 14.5px; }

/* 职业时间线 */
.timeline { position: relative; margin: 12px 0 0; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -27px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-500); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--brand-500);
}
.timeline-item.now::before { background: var(--accent-500); box-shadow: 0 0 0 1.5px var(--accent-500); }
.timeline-year { font-size: 13px; font-weight: 700; color: var(--brand-500); letter-spacing: .04em; }
.timeline-item h3 { font-size: 18px; margin: 3px 0 3px; }
.timeline-role { font-size: 14px; color: var(--accent-600); font-weight: 600; margin: 0 0 6px; }
.timeline-item p { color: var(--ink-500); font-size: 15px; margin: 0; }

/* 关注公众号 */
.follow-card {
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; margin-top: 16px;
}
.follow-card .qr { width: 180px; height: auto; border-radius: var(--radius-sm); flex: none; background: #fff; border: 1px solid var(--line); display: block; }
.follow-card .qr-placeholder {
  width: 148px; height: 148px; border-radius: var(--radius-sm); flex: none;
  border: 2px dashed var(--ink-300); display: grid; place-items: center; text-align: center;
  color: var(--ink-300); font-size: 13px; line-height: 1.5; background: #fff;
}
.follow-card .follow-name { font-size: 22px; font-weight: 800; color: var(--ink-900); margin: 0 0 6px; }
.follow-card .follow-body { flex: 1; min-width: 220px; }
.follow-card .follow-body p { color: var(--ink-500); font-size: 15px; margin: 0 0 14px; }
.breadcrumb { font-size: 14px; color: var(--ink-300); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-500); }
.prose { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; padding-top: .4em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-700); font-size: 16.5px; }
.prose ul { padding-left: 1.2em; }
.prose blockquote {
  margin: 1.5em 0; padding: 4px 22px; border-left: 4px solid var(--accent-500);
  background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-700);
}
.prose .callout {
  display: flex; gap: 14px; background: var(--brand-100); border: 1px solid #cfe3f5;
  border-radius: var(--radius); padding: 18px 20px; margin: 1.6em 0;
}
.prose .callout .ic { font-size: 22px; flex: none; }
.prose .callout p { margin: 0; font-size: 15px; }

/* FAQ 折叠 */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--brand-500); font-weight: 400; transition: var(--t); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--ink-500); font-size: 15px; }

/* -------------------- 联系表单 -------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-100); color: var(--brand-600); display: grid; place-items: center; font-size: 20px; flex: none; }
.contact-info b { display: block; color: var(--ink-900); }
.contact-info span { color: var(--ink-500); font-size: 15px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-900); margin: 0 0 6px; }
.form .field { margin-bottom: 18px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; color: var(--ink-900); transition: border-color var(--t); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-500); }
.form textarea { resize: vertical; min-height: 96px; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 13px; color: var(--ink-300); text-align: center; margin: 14px 0 0; }

/* -------------------- 页脚 -------------------- */
.site-footer { background: var(--bg-dark); color: #a9bfd6; padding: 60px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand .logo-sub { color: #7f96b0; }
.footer-desc { font-size: 14px; color: #8fa6bf; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 9px 0; }
.site-footer a { color: #a9bfd6; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; color: #7f96b0; }
.footer-bottom a { color: #7f96b0; }

/* -------------------- utilities -------------------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* -------------------- 响应式 -------------------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 460px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-cta { display: none; }
  .brand { font-size: 18px; gap: 8px; }
  .brand .logo-sub { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 4px; box-shadow: var(--shadow);
  }
  .nav-links.open li { margin: 0; }
  .nav-links.open a { display: block; padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--bg-soft); }
  .nav-links.open a:last-child { border-bottom: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 24px; }
  .hero-stats { gap: 24px; }
  .footer-top { grid-template-columns: 1fr; }
}
