/* Stage 1 corporate site - bright blue/white business theme */
:root {
  --brand: #1b4dff;
  --brand-deep: #0b2fa8;
  --ink: #101828;
  --muted: #5a6b87;
  --line: #e3e9f2;
  --soft: #f5f8ff;
  --footer: #0b1836;
  --white: #ffffff;
  --container: 1160px;
  --header-h: 72px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 16px; overflow-wrap: break-word; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--white); color: var(--brand); padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(227, 233, 242, 0.9);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 24, 40, 0.08); }

.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, #5b8bff 100%);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.22);
}
.brand-text { font-size: 1.02rem; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.site-nav a {
  color: #344054; font-size: 0.94rem; font-weight: 500;
  padding: 8px 0; position: relative;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 2px; background: var(--brand); transition: right 0.2s ease;
}
.site-nav a:hover::after { right: 0; }

.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(520px, 72vh, 720px);
  display: flex; align-items: center; color: var(--white);
}
.hero-media {
  position: absolute; inset: 0;
  background: url("/images/hero-business-team.jpg") center 42% / cover no-repeat;
  transform: scale(1.02);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 22, 56, 0.92) 0%, rgba(9, 31, 76, 0.78) 45%, rgba(9, 31, 76, 0.30) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; max-width: 760px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.75rem; font-weight: 700; color: var(--brand); margin: 0 0 18px;
}
.eyebrow--light { color: #a9c4ff; }
.hero-title { color: var(--white); margin-bottom: 18px; }
.hero-tagline { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; color: #e8efff; margin-bottom: 14px; }
.hero-desc { font-size: 1.02rem; color: #c9d8f5; max-width: 620px; margin-bottom: 34px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 0.96rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary { background: var(--white); color: var(--brand-deep); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16); }
.btn-primary:hover { color: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }

/* ---------- sections ---------- */
.section { padding: 96px 0; scroll-margin-top: var(--header-h); }
.section--soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-desc { color: var(--muted); font-size: 1.02rem; }

/* ---------- announcements ---------- */
.announce-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.announce-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.03);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.announce-card:hover { border-color: #c7d7ff; box-shadow: 0 14px 32px rgba(27, 77, 255, 0.10); transform: translateY(-2px); }
.announce-card[open] { border-color: #c7d7ff; box-shadow: 0 14px 32px rgba(27, 77, 255, 0.10); }
.announce-card summary {
  list-style: none; cursor: pointer; padding: 30px 30px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.announce-card summary::-webkit-details-marker { display: none; }
.announce-card summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }
.announce-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag {
  background: #eaf0ff; color: var(--brand-deep);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase;
}
.announce-date { color: var(--muted); font-size: 0.82rem; }
.announce-title { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.announce-excerpt { color: var(--muted); font-size: 0.94rem; }
.announce-more { margin-top: 6px; color: var(--brand); font-size: 0.88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.chev {
  width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease;
}
.announce-card[open] .chev { transform: rotate(225deg) translateY(-2px); }
.announce-body { padding: 0 30px 30px; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 22px; color: #41506b; }
.announce-body p:last-child { margin-bottom: 0; }
.text-link { font-weight: 600; }

/* ---------- about ---------- */
.about-grid { display: block; }
.about-copy { max-width: 820px; margin-bottom: 44px; }
.about-copy .lead { font-size: 1.08rem; color: #344054; }
.about-copy p:not(.eyebrow) { color: var(--muted); }
.value-list { display: grid; gap: 16px; max-width: 980px; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 26px; display: grid; grid-template-columns: 42px 1fr; column-gap: 18px;
}
.value-index { font-size: 1.1rem; font-weight: 800; color: var(--brand); }
.value-body { min-width: 0; }
.value-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.value-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.value-card p + p { margin-top: 10px; }

/* ---------- privacy page ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line); padding: 72px 0 60px;
}
.page-hero h1 { margin-bottom: 14px; }
.page-meta { color: var(--muted); font-size: 0.92rem; margin: 0; }
.prose { padding-top: 64px; padding-bottom: 104px; }
.prose-inner { max-width: 820px; }
.prose .lead { font-size: 1.08rem; color: #344054; }
.prose h2 { font-size: 1.35rem; margin-top: 44px; margin-bottom: 12px; padding-top: 4px; }
.prose p { color: var(--muted); }
.contact-box {
  margin-top: 44px; padding: 26px 28px; border-radius: 14px;
  background: var(--soft); border: 1px solid var(--line);
}
.contact-box p { margin: 0 0 6px; }
.contact-box p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); color: #c8d3ea; padding: 68px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 52px;
}
.brand--footer { color: var(--white); margin-bottom: 16px; }
.brand--footer:hover { color: var(--white); }
.footer-tagline { color: #9fb0d0; font-size: 0.92rem; max-width: 280px; }
.footer-col h2 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; }
.footer-col p { font-size: 0.9rem; margin: 0 0 10px; color: #aebdd8; }
.footer-col a { color: #c8d3ea; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px; padding-bottom: 26px; }
.footer-bottom p { margin: 0; font-size: 0.84rem; color: #8294b6; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about-copy { margin-bottom: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .announce-grid { grid-template-columns: 1fr; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 18px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .nav-toggle {
    display: flex; flex: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 10px;
    background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 560px; }
  .hero::after { background: linear-gradient(90deg, rgba(7, 22, 56, 0.90) 0%, rgba(9, 31, 76, 0.68) 100%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .value-card { grid-template-columns: 34px 1fr; column-gap: 12px; padding: 20px; }
}

/* ---------- language switcher ---------- */
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.lang-switch {
  display: flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; padding: 5px 8px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; line-height: 1.2; color: var(--muted);
}
.lang-switch a:hover { color: var(--brand); background: var(--soft); }
body[data-lang="en"] .lang-en,
body[data-lang="zh-cn"] .lang-cn,
body[data-lang="zh-hant"] .lang-hant { color: var(--white); background: var(--brand); }
body[data-lang="en"] .lang-en:hover,
body[data-lang="zh-cn"] .lang-cn:hover,
body[data-lang="zh-hant"] .lang-hant:hover { color: var(--white); background: var(--brand-deep); }

@media (max-width: 760px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .lang-switch { padding: 2px; gap: 0; }
  .lang-switch a { min-width: 26px; padding: 5px 6px; font-size: 0.72rem; }
}
