:root {
  --brand-deep: #0A4D8C;
  --brand: #1E88E5;
  --ink: #0F1B2D;
  --ink-2: #36475F;
  --muted: #6B7A90;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --line: #E3E9F2;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.04), 0 2px 8px rgba(15, 27, 45, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 27, 45, 0.08);
  --max-w: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, "Segoe UI",
          system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-cn {
  font-weight: 700;
  font-size: 17px;
  color: var(--brand-deep);
  letter-spacing: 0.5px;
}
.brand-en {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.5px;
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.nav-links a:hover { color: var(--brand-deep); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 104px 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 360px at 88% -10%, rgba(30, 136, 229, 0.14), transparent 60%),
    radial-gradient(700px 320px at -10% 120%, rgba(10, 77, 140, 0.08), transparent 60%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 820px;
}

.headline {
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 22px;
  color: var(--ink);
}
.headline .hl {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 0 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand-deep);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 77, 140, 0.22);
}
.btn-primary:hover {
  background: #083E73;
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-header {
  max-width: 760px;
  margin: 0 0 44px;
}
.section-header h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}
.section-header .lede {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0;
}

/* ---------- Business cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 136, 229, 0.35);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(30, 136, 229, 0.10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: 0.2px;
}
.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- Approach (two-column) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.col-text h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin: 0 0 16px;
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.col-text p {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0 0 20px;
  line-height: 1.8;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullets li {
  position: relative;
  padding: 14px 0 14px 22px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
}
.bullets li:last-child { border-bottom: none; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.bullets strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}

.col-visual { display: flex; justify-content: center; }
.visual-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 320 / 280;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 28px;
  overflow: hidden;
}
.vc-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}
.vc-dot-1 { width: 180px; height: 180px; background: #4FC3F7; top: -40px; right: -40px; }
.vc-dot-2 { width: 220px; height: 220px; background: #0A4D8C; bottom: -60px; left: -50px; opacity: 0.35; }
.vc-dot-3 { width: 90px; height: 90px; background: #1E88E5; bottom: 40px; right: 30px; opacity: 0.4; }

/* ---------- About ---------- */
.about-inner { max-width: 760px; }
.about-prose p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 16px;
  line-height: 1.8;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-inner { max-width: 760px; }
.contact-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.contact-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-list dt {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.contact-list dd {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink);
}
.contact-list dd a { color: var(--brand-deep); }
.contact-list dd a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0A1F36;
  color: #B8C5D8;
  padding: 28px 0;
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.footer-inner p { margin: 0; color: #8FA5C2; }

/* ---------- Reveal animation (progressive enhancement only) ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .contact-list > div { grid-template-columns: 96px 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13.5px; }
  .brand-en { display: none; }
  .nav { height: 58px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { justify-content: center; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
}
