/* ==========================================================================
   CellBridge China — shared stylesheet
   ========================================================================== */

:root {
  --navy-950: #061224;
  --navy-900: #0a1a33;
  --navy-800: #102a4c;
  --navy-700: #16375f;
  --navy-600: #1d4876;
  --teal-600: #0e7c86;
  --teal-500: #14a3a3;
  --teal-100: #e4f4f3;
  --teal-50:  #f1faf9;
  --gold-500: #c9922a;
  --gold-100: #faf0dd;
  --ink-900: #111826;
  --ink-700: #33415a;
  --ink-500: #5b6b85;
  --ink-300: #9aa7bd;
  --line-200: #e4e9f1;
  --line-100: #eef1f6;
  --bg-50: #f7f9fc;
  --white: #ffffff;
  --ok-600: #1b8a5a;
  --warn-600: #b4530d;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 51, 0.06), 0 1px 1px rgba(10, 26, 51, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 26, 51, 0.08);
  --shadow-lg: 0 20px 48px rgba(10, 26, 51, 0.14);
  --maxw: 1180px;
  --font-head: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; color: var(--ink-700); }
.lede { font-size: 1.2rem; color: var(--ink-700); }
ul, ol { color: var(--ink-700); padding-left: 1.3em; }
li { margin-bottom: 0.45em; }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
section { padding: 72px 0; }
section.tight { padding: 44px 0; }
.bg-tint { background: var(--bg-50); }
.bg-teal-tint { background: var(--teal-50); }
.bg-navy { background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 100%); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #c7d3e6; }
.divider { height: 1px; background: var(--line-200); border: 0; margin: 0; }

/* ---- Top utility bar ---- */
.topbar {
  background: var(--navy-950);
  color: #9fb0cc;
  font-size: 0.82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #cfdcf0; text-decoration: none; }
.topbar .topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .topbar-links span.ph-note { color: #6f80a0; }

/* ---- Navbar ---- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  flex: none;
}
.brand .word { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; line-height: 1; }
.brand .word small { display: block; font-weight: 600; font-size: 0.6rem; letter-spacing: 0.14em; color: var(--teal-500); margin-top: 3px; }
.navlinks { display: flex; align-items: center; gap: 28px; }
.navlinks a {
  color: #d7e0ef; text-decoration: none; font-size: 0.93rem; font-weight: 600;
  padding: 8px 2px; border-bottom: 2px solid transparent;
}
.navlinks a:hover, .navlinks a.active { color: #fff; border-bottom-color: var(--teal-500); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-500); color: var(--navy-950) !important;
  padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 0.9rem;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.25); color: #fff; border-radius: 8px; padding: 8px 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; font-weight: 700; font-size: 0.97rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--teal-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--teal-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold-500); color: #2b1c02; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-navy { background: transparent; border-color: var(--navy-700); color: var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-900); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.03rem; }

/* ---- Hero ---- */
.hero { padding: 72px 0 0; position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-bottom: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; font-weight: 800;
  color: var(--teal-500); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--teal-500); display: inline-block; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: #93a4c2; }
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; color: #d7e0ef; font-size: 0.92rem; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,0.12); }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li .ico { color: var(--teal-500); font-weight: 900; }

/* ---- Stat strip ---- */
.stat-strip { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,0.08); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { padding: 30px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,0.08); }
.stat-item:first-child { border-left: 0; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; }
.stat-label { font-size: 0.82rem; color: #9fb0cc; margin-top: 4px; }

/* ---- Section header ---- */
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Cards / grids ---- */
.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-200); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }
.card .tag {
  display: inline-block; background: var(--teal-100); color: var(--teal-600);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--navy-900);
  color: var(--teal-500); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 16px; font-weight: 800;
}
.card.elevated { box-shadow: var(--shadow-md); border-color: transparent; }
.card-link { color: var(--teal-600); font-weight: 700; text-decoration: none; font-size: 0.92rem; display: inline-flex; gap: 6px; align-items: center; }
.card-link:hover { text-decoration: underline; }

.audience-card { border-top: 4px solid var(--teal-500); text-align: left; }
.audience-card .role { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); font-weight: 800; margin-bottom: 8px; }

/* ---- Process / timeline ---- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: 26px 24px 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; background: var(--navy-900); color: var(--teal-500);
  font-family: var(--font-head); font-weight: 800; margin-bottom: 14px;
}
.step h4 { margin: 0 0 8px; font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-900); }
.step p { font-size: 0.93rem; margin-bottom: 0; }

.timeline-v { border-left: 3px solid var(--line-200); margin-left: 10px; padding-left: 28px; }
.timeline-v .tl-item { position: relative; padding-bottom: 34px; }
.timeline-v .tl-item:last-child { padding-bottom: 0; }
.timeline-v .tl-item::before {
  content: ''; position: absolute; left: -35px; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--teal-500);
}
.timeline-v .tl-day { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-600); margin-bottom: 4px; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line-200); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 640px; }
.data-table caption { text-align: left; padding: 14px 18px; font-weight: 700; background: var(--bg-50); border-bottom: 1px solid var(--line-200); color: var(--navy-900); }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-100); vertical-align: top; }
.data-table thead th { background: var(--navy-900); color: #fff; font-family: var(--font-head); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.data-table tbody tr:nth-child(even) { background: var(--bg-50); }
.data-table tbody tr:hover { background: var(--teal-50); }
.data-table td.highlight, .data-table th.highlight { background: var(--teal-50); }
.data-table .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.note-sm { font-size: 0.82rem; color: var(--ink-500); }

/* ---- FAQ accordion ---- */
.accordion { border-top: 1px solid var(--line-200); }
.acc-item { border-bottom: 1px solid var(--line-200); }
.acc-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy-900);
}
.acc-q .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); display: flex; align-items: center; justify-content: center; font-weight: 800; transition: transform .2s ease; }
.acc-item.open .acc-q .plus { transform: rotate(45deg); background: var(--teal-500); color: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.acc-a-inner { padding: 0 4px 22px; color: var(--ink-700); }
.acc-item.open .acc-a { max-height: 800px; }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-950), var(--teal-600));
  color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #dce8f5; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---- Badges / pills ---- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; background: var(--bg-50);
  border: 1px solid var(--line-200); color: var(--ink-700); font-size: 0.82rem; font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }
.callout {
  border-left: 4px solid var(--teal-500); background: var(--teal-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 24px 0;
}
.callout.warn { border-left-color: var(--gold-500); background: var(--gold-100); }
.callout h4 { margin: 0 0 6px; font-size: 1rem; }
.callout p:last-child { margin-bottom: 0; }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 0.82rem; color: var(--ink-500); padding: 18px 0 0; }
.breadcrumb a { color: var(--ink-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-600); }

/* ---- Page header (inner pages) ---- */
.page-header { padding: 36px 0 50px; }
.page-header .eyebrow { color: var(--teal-500); }

/* ---- Form ---- */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px; border: 1px solid var(--line-200); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-200); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink-900); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); }
.field .hint { font-size: 0.78rem; color: var(--ink-500); margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-500); margin: 14px 0; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-950); color: #9fb0cc; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #9fb0cc; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-brand p { color: #8192b3; font-size: 0.88rem; max-width: 300px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: #6f80a0;
}
.footer-bottom a { color: #8fa0c0; }
.disclaimer-strip { background: var(--navy-900); color: #8fa0c0; font-size: 0.78rem; padding: 14px 0; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.items-center { align-items: center; }
.small { font-size: 0.85rem; }
.muted { color: var(--ink-500); }
.k-value { font-family: var(--font-head); font-weight: 800; color: var(--navy-900); }

/* ---- Blog ---- */
.post-meta { font-size: 0.85rem; color: var(--ink-500); margin-bottom: 18px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { margin-bottom: 1.2em; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .navlinks { position: fixed; inset: 76px 0 0 0; background: var(--navy-900); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 4px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .navlinks.open { transform: translateX(0); }
  .navlinks a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { margin-top: 10px; }
  .nav-toggle { display: inline-flex; }
  .hero { padding-top: 40px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 48px 0; }
  .cta-banner { padding: 32px 22px; }
  .topbar .container { flex-direction: column; align-items: flex-start; }
}
