:root {
  --brand: #0b84d8;
  --brand-dark: #0663a6;
  --brand-soft: #e8f4fd;
  --ink: #0f1c2e;
  --muted: #55657a;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --navy: #0b1a2c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 28, 46, .06), 0 8px 24px rgba(15, 28, 46, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.5) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; color: var(--ink); }
.mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, #22b0f0, var(--brand-dark)); color: #fff; font-size: .95rem; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--muted); font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--bg-alt); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .btn { color: #fff; margin-left: 8px; }
.nav .btn:hover { color: #fff; background: var(--brand-dark); }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--ink); content: ""; }
.menu-btn span { top: 19px; }
.menu-btn span::before { top: -6px; left: 0; }
.menu-btn span::after { top: 6px; left: 0; }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; font-weight: 600; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--brand); transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: .92rem; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-light { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* hero */
.hero { background: radial-gradient(1000px 420px at 85% -10%, #d6ecfc 0, transparent 60%), linear-gradient(180deg, #f3f9fe, #fff); padding: 84px 0 72px; }
.hero-sub { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.hero-sub h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 22ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 20px; display: flex; flex-direction: column; gap: 14px; font-weight: 600; }
.tile svg { width: 34px; height: 34px; }
.t2, .t4 { transform: translateY(22px); }
.t1 svg { stroke: #0b84d8; } .t2 svg { stroke: #12a37a; } .t3 svg { stroke: #e0752d; } .t4 svg { stroke: #7a55d6; }
.nf { min-height: 50vh; border: 0; }

/* icons */
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; margin-bottom: 16px; }
.ic svg { width: 24px; height: 24px; }

/* sections */
.sec { padding: 76px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 680px; margin-bottom: 36px; }
.sec-head p { color: var(--muted); }
.band { background: var(--navy); color: #dbe6f2; }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.promo strong { color: #fff; }
.badge { display: inline-block; background: #22b0f0; color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; margin-right: 6px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; }
.more { font-weight: 600; }

/* lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b84d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks.cols { columns: 3 240px; column-gap: 32px; }
.ticks.cols li { break-inside: avoid; }

/* products */
.prod { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); }
.prod:first-child { padding-top: 0; }
.prod:last-child { border-bottom: 0; }
.prod p { color: var(--muted); }
.prod-logo { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; color: #7a55d6; }
.prod-logo svg { width: 44px; height: 44px; }
.prod-logo strong { color: var(--ink); }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shots2 { grid-template-columns: repeat(2, 1fr); }
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.shot img { width: 100%; }
.split .shot { max-width: 400px; justify-self: center; }
.shot figcaption { padding: 12px 16px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }

/* solutions */
.stack { display: grid; gap: 28px; }
.row { display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.row p { color: var(--muted); max-width: 75ch; }

/* about */
.stat-box { display: grid; gap: 16px; }
.stat-box div { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 26px; display: flex; align-items: baseline; gap: 14px; }
.stat-box strong { font-size: 2.2rem; color: var(--brand); line-height: 1; min-width: 80px; }
.stat-box span { color: var(--muted); }
.note { margin-top: 28px; font-weight: 500; }

/* contact */
.office h2 { font-size: 1.3rem; margin-bottom: 1em; }
.li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink) !important; }
.li svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 3px; }
.li small { color: var(--muted); }

/* prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p, .prose li { color: #2c3a4d; }
.prose li { margin-bottom: .5em; }

/* cta */
.cta { background: linear-gradient(120deg, var(--brand-dark), #1aa0e6); color: #fff; padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; color: #d9eefc; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.foot { background: var(--navy); color: #a9b8c9; padding: 56px 0 24px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.foot h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.foot a, .foot span { display: block; color: #a9b8c9; padding: 3px 0; overflow-wrap: anywhere; }
.foot a:hover { color: #fff; }
.foot p { margin-top: 14px; max-width: 34ch; }
.foot .brand-light, .foot .brand-light:hover { display: inline-flex; color: #fff; padding: 0; }
.foot .brand-light .mark { display: inline-grid; color: #fff; padding: 0; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* responsive */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .grid3, .shots { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 48px; }
  .sec { padding: 56px 0; }
  .grid3, .grid2, .shots, .shots2, .foot-grid { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 1fr; gap: 16px; }
  .prod img { max-width: 200px; }
  .row { grid-template-columns: 1fr; padding: 24px; gap: 0; }
  .hero-art { gap: 12px; }
  .tile { padding: 18px 16px; }
}
