:root {
  --navy-deep: #071E2E;
  --navy: #0B3046;
  --navy-soft: #13425E;
  --gold: #F4A938;
  --gold-deep: #C48625;
  --gold-soft: #FDF5E6;
  --bg: #F9F8F5;
  --surface: #FFFFFF;
  --ink: #111B24;
  --muted: #566573;
  --border: #E5E7EB;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "PingFang SC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* Sticky Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 48, 70, 0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 16px;
}
.brand-logo { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-btn {
  background: var(--navy); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 600 !important; font-size: 13.5px !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-btn:hover { background: var(--navy-soft); transform: translateY(-1px); }
@media (max-width: 760px) {
  .brand-logo img { height: 26px; }
  .nav-links a:not(.nav-btn) { display: none; }
}

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 15%, rgba(244, 169, 56, 0.16) 0%, transparent 45%),
              linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #0F3952 100%);
  color: #fff;
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: center;
}
@media (max-width: 860px) {
  .hero { padding: 56px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(244, 169, 56, 0.45);
  background: rgba(244, 169, 56, 0.1);
  color: #FCD58B; font-size: 12px; letter-spacing: 0.1em; font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 700; line-height: 1.2;
  letter-spacing: 0.02em; margin-bottom: 10px;
}
.hero-en {
  font-size: clamp(18px, 2.4vw, 24px); color: #F4A938; font-weight: 500;
  letter-spacing: 0.04em; margin-bottom: 22px;
}
.hero-quote {
  display: inline-block;
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 16px;
  font-size: 15px; color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}
.hero-quote span { color: rgba(255, 255, 255, 0.55); font-size: 13px; margin-left: 10px; }
.hero-desc {
  font-size: 15.5px; color: rgba(255, 255, 255, 0.78); max-width: 620px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all 0.2s ease; border: none;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #F8BC5B; transform: translateY(-1px); }
.btn-outline {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }

.hero-emblem-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px; padding: 34px 28px; text-align: center;
  backdrop-filter: blur(8px);
}
.hero-emblem-card img { width: 136px; height: auto; margin-bottom: 18px; opacity: 0.95; }
.hero-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; text-align: left;
}
.metric {
  background: rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 12px 14px;
}
.metric .m-val { font-size: 16px; font-weight: 700; color: #FCD58B; }
.metric .m-lbl { font-size: 12px; color: rgba(255, 255, 255, 0.68); margin-top: 2px; }

/* Sections */
section { padding: 72px 0; scroll-margin-top: 72px; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 18px; margin-bottom: 34px;
}
.sec-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--gold-deep); text-transform: uppercase; margin-bottom: 6px;
}
.section-header h2 { font-size: clamp(24px, 3.2vw, 34px); color: var(--navy); font-weight: 700; }
.section-header p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* Business Cards Grid */
.biz-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
@media (max-width: 780px) { .biz-grid { grid-template-columns: 1fr; } }
.biz-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 48, 70, 0.08);
  border-color: rgba(244, 169, 56, 0.55);
}
.biz-card.hidden { display: none; }
.biz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.biz-num {
  font-size: 12px; font-weight: 700; color: var(--gold-deep);
  background: var(--gold-soft); padding: 4px 11px; border-radius: 999px;
}
.biz-en-tag { font-size: 12px; color: #7B8A97; font-weight: 600; letter-spacing: 0.03em; }
.biz-card h3 { font-size: 20px; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.biz-zh { font-size: 14.5px; color: var(--ink); margin-bottom: 10px; }
.biz-en { font-size: 13.2px; color: var(--muted); line-height: 1.6; }

/* Featured W212 Incubation Card */
.biz-card.featured-w212 {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #FFFDF8 0%, #FFFFFF 100%);
}
.w212-strip {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid #F0E7D5;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.w212-thumb {
  width: 84px; height: 58px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
  border: 1px solid rgba(11, 48, 70, 0.1);
}
.w212-info { flex: 1; min-width: 180px; }
.w212-info strong { display: block; font-size: 13.5px; color: var(--navy); }
.w212-info span { font-size: 12px; color: var(--muted); }
.w212-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: #FCD58B; text-decoration: none;
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: background 0.2s;
}
.w212-link:hover { background: var(--navy-soft); }

/* Brand Ethos */
.ethos-section { background: var(--navy-deep); color: #fff; }
.ethos-box {
  display: grid; grid-template-columns: 0.42fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 780px) { .ethos-box { grid-template-columns: 1fr; gap: 24px; } }
.ethos-brand {
  text-align: center; padding: 28px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}
.ethos-brand img { width: 120px; height: auto; margin-bottom: 14px; }
.ethos-brand p { font-size: 13px; color: #FCD58B; letter-spacing: 0.08em; }
.ethos-text h2 { font-size: 28px; margin-bottom: 16px; color: #fff; }
.ethos-zh { font-size: 16.5px; color: rgba(255, 255, 255, 0.92); margin-bottom: 14px; }
.ethos-en { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.75; }

/* Contact Section */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
}
.contact-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.contact-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.channel-list { display: grid; gap: 12px; }
.channel-item {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 15px 18px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--bg); text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.channel-item:hover { border-color: var(--gold); background: #FFFDF8; }
.ch-left strong { display: block; font-size: 15px; color: var(--navy); }
.ch-left span { font-size: 13px; color: var(--muted); }
.ch-pill {
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--navy); color: #fff;
}
.ch-pill.green { background: #1A8D4F; }
.ch-pill.wechat { background: #07C160; }

.office-list { list-style: none; display: grid; gap: 14px; }
.office-list li {
  padding-bottom: 14px; border-bottom: 1px solid #F0F2F4; font-size: 14px;
}
.office-list li:last-child { border-bottom: none; padding-bottom: 0; }
.office-list .lbl {
  display: block; font-size: 12px; font-weight: 700; color: var(--gold-deep);
  letter-spacing: 0.05em; margin-bottom: 3px;
}

/* Footer */
footer {
  background: #051521; color: rgba(255, 255, 255, 0.65);
  padding: 36px 0; font-size: 13px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links button {
  background: none; border: none; color: rgba(255, 255, 255, 0.65);
  font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.footer-links button:hover { color: #FCD58B; }

/* Modal for Legal Notices */
.modal {
  position: fixed; inset: 0; background: rgba(7, 30, 46, 0.72);
  display: none; align-items: center; justify-content: center; z-index: 999; padding: 20px;
}
.modal.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; max-width: 580px; width: 100%;
  padding: 28px 26px; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.modal-box h4 { font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.modal-box p { font-size: 14px; color: var(--muted); margin-bottom: 18px; line-height: 1.7; }
.modal-close {
  background: var(--navy); color: #fff; border: none; padding: 9px 20px;
  border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer;
}
