:root {
  --blue: #1a6ff5;
  --cyan: #12b3ff;
  --orange: #ff8a3d;
  --orange-light: #ffb27a;
  --ink: #1f2430;
  --muted: #5d6475;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fd;
  --radius: 16px;
  --grad: linear-gradient(120deg, var(--blue), var(--cyan));
  --grad-accent: linear-gradient(120deg, var(--orange), var(--orange-light));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Noto Sans TC", system-ui, -apple-system, "PingFang TC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .8em 1.6em;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(26, 111, 245, .6);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(26, 111, 245, .7); }
.btn-sm { padding: .5em 1.2em; font-size: .95rem; }
.btn-ghost { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn-light { background: #fff; color: var(--blue); box-shadow: none; }

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .5em;
}
.eyebrow.light { color: var(--orange-light); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 34px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav-menu a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(18, 179, 255, .18), transparent 70%),
    radial-gradient(500px 360px at 95% 90%, rgba(255, 138, 61, .16), transparent 70%),
    linear-gradient(180deg, #f5f9ff, #fff);
}
.hero-bg::after {
  content: "";
  position: absolute;
  right: -60px; top: 50%;
  width: 360px; height: 520px;
  transform: translateY(-50%) skewX(-22deg);
  background: var(--grad-accent);
  border-radius: 40px;
  opacity: .12;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: .01em; }
.lead { font-size: 1.15rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 56px; }
.stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 48px; }
.stats strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--blue); }
.stats span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }

/* Mission */
.mission-card {
  position: relative;
  padding: 48px 110px 48px 40px;
  border-radius: 24px;
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(26, 111, 245, .55);
}
.mission-tag { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.mission-text { color: #fff; font-size: 1.45rem; font-weight: 700; line-height: 1.6; margin: 12px 0 0; }
.mission-bar {
  position: absolute; right: 28px; bottom: -30px;
  width: 56px; height: 160px;
  background: var(--grad-accent);
  border-radius: 14px;
  transform: skewX(-22deg);
  opacity: .9;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -24px rgba(31, 36, 48, .3); }
.icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad);
  margin-bottom: 20px;
}
.icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value { border-top: 3px solid var(--line); padding-top: 24px; position: relative; }
.value::before {
  content: ""; position: absolute; top: -3px; left: 0;
  width: 64px; height: 3px; background: var(--grad-accent);
}
.num { font-size: 2.5rem; font-weight: 900; color: var(--blue); opacity: .2; line-height: 1; display: block; margin-bottom: 12px; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.benefit { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.benefit p { margin: 0; font-size: .95rem; }

/* Contact */
.contact { background: linear-gradient(135deg, #0f4fc4, var(--blue) 50%, var(--cyan)); color: #fff; }
.contact p { color: rgba(255, 255, 255, .85); }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 28px 0 32px; }
.contact-list dt { color: rgba(255, 255, 255, .7); }
.contact-list dd { margin: 0; font-weight: 500; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5); background: rgba(255, 255, 255, .1); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-logo { height: 28px; width: auto; }
.site-footer p { margin: 0; font-size: .85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .cards, .values { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 12px; text-align: center; border: 0; }
  .brand img { height: 26px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 72px 0; }
  .stats { gap: 28px; }
  .mission-card { padding: 36px 90px 36px 28px; }
}
