* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1d2433;
  background: #f4f7fb;
  line-height: 1.75;
}
.container { width: min(1120px, 92%); margin: 0 auto; }
.header {
  background: rgba(15, 27, 53, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.logo { color: #fff; font-weight: 800; letter-spacing: .2px; }
.logo span { color: #87d2ff; margin-left: 4px; }
nav a { color: #dce7ff; text-decoration: none; margin-left: 18px; font-size: 14px; }
.logo-wrap { display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; }
.dropdown { position: relative; display: inline-block; margin-left: 18px; }
.dropbtn { margin-left: 0; display: inline-block; }
.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid #dbe8ff;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15,27,53,.18);
  z-index: 99;
  overflow: hidden;
}
.dropdown-content a {
  display: block;
  color: #1d2433;
  margin-left: 0;
  padding: 10px 12px;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #eef3ff;
}
.dropdown-content a:last-child { border-bottom: 0; }
.dropdown-content a:hover { background: #f3f8ff; color:#0d3a85; }
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content { display: block; }
.logo-wrap span { color: #87d2ff; }
.logo-img { height: 48px; width: auto; display:block; background:#fff; border-radius:4px; padding:2px; }

.hero { background: linear-gradient(140deg, #0f2650 0%, #1f4f92 100%); color: #fff; padding: 86px 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: stretch; }
.tag { color: #b8d8ff; font-weight: 700; margin-bottom: 12px; letter-spacing: .2px; }
h1 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 16px; line-height: 1.2; letter-spacing: .2px; }
.subtitle { color: #d9e8ff; max-width: 680px; }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 22px; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.16); }
.hero-card h3 { margin-top: 0; }
.hero-card ul { margin: 0; padding-left: 18px; }
.hero-media { padding: 0; overflow: hidden; background: #163d73; }
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.card-image { width:100%; height: 240px; object-fit: cover; border-radius: 8px; }
.btn { display: inline-block; margin-top: 18px; background: #2e86ff; color: #fff; text-decoration: none; padding: 11px 18px; border-radius: 999px; font-weight: 700; box-shadow: 0 8px 18px rgba(46,134,255,.28); }
.section { padding: 72px 0; }
.section h2 { margin-top: 0; font-size: 32px; letter-spacing: .2px; }
.alt { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.card { background: #f9fbff; border: 1px solid #dfe9fb; border-radius: 16px; padding: 20px; box-shadow: 0 10px 24px rgba(17,45,89,.05); }
ul { padding-left: 18px; }
.card h3 { margin-top: 12px; margin-bottom: 6px; color: #0d3a85; }
.text-link { color:#0d3a85; text-decoration:none; }
.text-link:hover { text-decoration:underline; }
.service-thumb { width:100%; aspect-ratio: 16 / 9; height:auto; object-fit:contain; background:#0356A6; border-radius:12px; border:1px solid #dbe8ff; display:block; padding:6px; }
.platform-box { display: flex; justify-content: space-between; gap: 20px; align-items: end; background: #fff; border: 1px solid #dfe9fb; padding: 24px; border-radius: 16px; box-shadow: 0 10px 24px rgba(17,45,89,.05); }
.contact-box { background: #f9fbff; border: 1px solid #dfe9fb; border-radius: 16px; padding: 18px; box-shadow: 0 10px 24px rgba(17,45,89,.05); }
.footer { padding: 24px 0; background: #0f1b35; color: #bfd0f5; text-align: center; }

.about-hero {
  background: linear-gradient(135deg, #0f1b35, #1c3f7a);
  color: #fff;
  padding: 54px 0 44px;
}
.subpage .about-hero {
  position: sticky;
  top: 62px;
  z-index: 9;
}
.about-hero h1 { margin: 0 0 8px; }
.about-hero p { margin: 0; color: #d9e8ff; max-width: 760px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  margin-top: 24px;
}
.about-main {
  background: #fff;
  border: 1px solid #dbe8ff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(16, 36, 75, 0.06);
}
.about-main h2 {
  margin: 22px 0 8px;
  color: #0d3a85;
  font-size: 24px;
}
.about-main h2:first-of-type { margin-top: 0; }
.about-main p { margin: 0 0 8px; }
.about-main ul { margin-top: 8px; }

.about-side {
  display: grid;
  gap: 16px;
  align-content: start;
}
.info-card {
  background: #fff;
  border: 1px solid #dbe8ff;
  border-radius: 12px;
  padding: 16px;
}
.info-card h3 { margin: 0 0 10px; color: #0d3a85; }
.info-card p, .info-card li { font-size: 14px; }
.info-card ul { margin: 0; }
.about-image {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  height: 220px;
}
.detail-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.financial-section { padding-top: 52px; padding-bottom: 52px; }
.fin-intro { margin-bottom: 16px; }
.fin-quote {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.32;
  color: #0d3a85;
  margin-bottom: 18px;
  letter-spacing: .2px;
}
.fin-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}
.fin-media-wrap {
  background: #fff;
  border: 1px solid #dfe9fb;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 8px 18px rgba(17,45,89,.06);
}
.fin-media {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.badge {
  font-size: 12px;
  background: #eef5ff;
  color: #194998;
  border: 1px solid #d2e4ff;
  border-radius: 999px;
  padding: 4px 10px;
}

.payroll-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
.payroll-image-wrap {
  background: #f8fbff;
  border: 1px solid #dfe9fb;
  border-radius: 12px;
  padding: 8px;
}
.payroll-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.payroll-services li {
  font-size: 17px;
  line-height: 1.7;
}
.service-list-large li {
  font-size: 17px;
  line-height: 1.7;
}
.ecommerce-detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  margin-bottom: 18px;
  border: 1px solid #dbe8ff;
}
.annual-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: start;
}
.consulting-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}
.consulting-main {
  background: #fff;
  border: 1px solid #dfe9fb;
  border-radius: 14px;
  padding: 18px 20px;
}
.consulting-side { display: grid; gap: 12px; }
.consulting-image-card {
  background: #fff;
  border: 1px solid #dfe9fb;
  border-radius: 14px;
  padding: 8px;
}
.consulting-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.consulting-note {
  background: #f8fbff;
  border: 1px solid #dfe9fb;
  border-radius: 12px;
  padding: 12px 14px;
  color: #204a8f;
  font-weight: 600;
}

.contact-form { display: grid; gap: 10px; }
.contact-form label { font-size: 14px; font-weight: 600; color: #1d3666; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d6e4fb;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #5b95ea;
  box-shadow: 0 0 0 3px rgba(91,149,234,.15);
}

@media (max-width: 860px) {
  .hero-grid, .cards, .about-grid, .fin-layout, .payroll-services, .annual-layout, .consulting-layout { grid-template-columns: 1fr; }
  .subpage .about-hero { top: 88px; }
  .nav { flex-direction: column; align-items: flex-start; gap: 10px; }
  nav { display: flex; flex-wrap: wrap; gap: 10px; }
  nav a { margin-left: 0; font-size: 13px; background: rgba(255,255,255,.08); padding: 6px 10px; border-radius: 999px; }
  .hero { padding: 46px 0; }
  h1 { font-size: clamp(24px, 7vw, 34px); }
  .section { padding: 40px 0; }
  .section h2 { font-size: 24px; }
  .platform-box { flex-direction: column; align-items: flex-start; }
  .service-thumb { aspect-ratio: 4 / 3; }
  .about-image { height: 180px; }
}

@media (max-width: 480px) {
  .container { width: 94%; }
  .logo-img { height: 38px; }
  .logo-wrap span { font-size: 16px; }
  .btn { width: 100%; text-align: center; }
  .card { padding: 14px; }
  .hero-card { border-radius: 10px; }
}
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #0f1b35;
  color: #eaf1ff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.cookie-consent__text { font-size: 14px; max-width: 980px; }
.cookie-consent__actions { display: flex; gap: 8px; }
.cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-btn--primary { background: #2e86ff; color: #fff; }
.cookie-btn--secondary { background: #e7eefc; color: #173b77; }

@media (max-width: 860px) {
  .cookie-consent { flex-direction: column; align-items: flex-start; }
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-link {
  color: #e3ecff;
  text-decoration: none;
  font-size: 13px;
}
.footer-link:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .footer-row { flex-direction: column; align-items: flex-start; }
}

/* Privacy pages */
.privacy-doc {
  background: #ffffff;
  border: 1px solid #dfe9fb;
  border-radius: 14px;
  padding: 20px 22px;
  line-height: 1.8;
  color: #1f2d45;
  box-shadow: 0 8px 20px rgba(16,36,75,.05);
  white-space: pre-wrap;
}
.privacy-doc h2 {
  margin-top: 22px;
  margin-bottom: 10px;
  color: #0d3a85;
  font-size: 24px;
}
.privacy-doc p { margin: 0 0 12px; }
.privacy-doc ul { margin: 0 0 12px; padding-left: 20px; }
.privacy-doc li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .privacy-doc { padding: 16px; }
  .privacy-doc h2 { font-size: 21px; }
}
.privacy-main-title {
  font-weight: 900;
  letter-spacing: .2px;
}
.wechat-box { margin-top: 12px; }
.wechat-qr {
  width: 190px;
  max-width: 100%;
  border: 1px solid #dfe9fb;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}
.flag-icon {
  width: 18px;
  height: 12px;
  vertical-align: -2px;
  border-radius: 2px;
  margin-right: 2px;
}
/* compact language dropdown */
.lang-switch .dropdown-content {
  min-width: 92px;
  width: 92px;
}
.lang-switch .dropdown-content a {
  padding: 8px 10px;
  text-align: center;
}
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
