@font-face {
  font-family: Space;
  src: url("/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url("/fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080e14;
  --panel: #101b24;
  --line: #293944;
  --text: #edf4f6;
  --muted: #aabcc7;
  --accent: #91e7d3;
  --max: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Space, "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  color: var(--muted);
  margin: 0 0 1.2em;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 0.65em;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(38px, 5.6vw, 76px);
  max-width: 950px;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  text-wrap: balance;
}
h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  max-width: var(--max);
  margin: auto;
  padding-inline: 28px;
}
.skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px;
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #080e14f5;
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
  min-height: 44px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
}
.brand small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
}
.nav-links a {
  padding-block: 12px;
}
.nav-links a:hover,
.footer a:hover {
  color: var(--accent);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.language {
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-weight: 500;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.button:hover {
  background: #1c2f3b;
  border-color: #78949c;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a2423;
}
.button.primary:hover {
  background: #b8f4e5;
}
.menu {
  display: none;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.hero {
  padding-block: 100px 82px;
  background: radial-gradient(ellipse at 100% 25%, #142b323f, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-grid h1 {
  font-size: clamp(39px, 4.8vw, 65px);
}
.lead {
  font-size: 20px;
  line-height: 1.8;
  max-width: 740px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 32px;
}
.tags span:before {
  content: "✓";
  color: var(--accent);
  margin-right: 7px;
}
.diagram {
  padding: 24px;
  border: 1px solid #34505a;
  border-radius: 12px;
  background: linear-gradient(145deg, #162832, #0a151d);
  box-shadow: 0 30px 80px #0004;
}
.diagram-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  font-size: 12px;
  color: var(--muted);
}
.diagram-head span:first-child {
  color: var(--accent);
}
.node {
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b151e;
  font-size: 15px;
  position: relative;
}
.node small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.node.focus {
  border-color: #75c9b7;
  background: #142c2b;
}
.connector {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent);
}
.node-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.diagram .tiny {
  margin: 18px 0 0;
}
.strip {
  border-block: 1px solid var(--line);
  padding-block: 20px;
}
.strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.section {
  padding-block: 80px;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 34px;
}
.section-head p {
  max-width: 440px;
  margin: 0;
}
.section-head h2 {
  max-width: 640px;
  margin-bottom: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #111e27, #0d161e);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.card p {
  font-size: 15px;
}
.card .link {
  margin-top: auto;
}
.card.service:hover {
  border-color: #567c82;
}
.number {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.08em;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  color: var(--accent);
  font-size: 14px;
}
.link:hover {
  text-decoration: underline;
}
.service:last-child {
  grid-column: span 2;
}
.service:last-child p {
  max-width: 650px;
}
.tiny {
  font-size: 13px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.step {
  border-top: 1px solid #4d6f79;
  padding-top: 20px;
}
.step h3 {
  font-size: 20px;
}
.step p {
  font-size: 14px;
}
.step .number {
  margin-bottom: 18px;
}
.callout {
  padding: 45px;
  background: #122823;
  border: 1px solid #365b51;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.callout h2 {
  font-size: 32px;
}
.callout p {
  margin: 0;
  max-width: 680px;
}
.callout .button {
  flex-shrink: 0;
}
.breadcrumb {
  padding-top: 25px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.page-hero {
  padding-block: 65px;
}
.page-hero h1 {
  font-size: clamp(36px, 4.7vw, 62px);
}
.prose {
  max-width: 800px;
}
.prose h2 {
  font-size: 30px;
  margin-top: 42px;
}
.prose p {
  line-height: 1.95;
}
.prose a:not(.button) {
  color: var(--accent);
  text-decoration: underline;
}
.prose li {
  color: var(--muted);
  margin-bottom: 10px;
}
ul,
ol {
  padding-left: 22px;
}
li {
  padding-left: 4px;
  margin-bottom: 8px;
}
.checklist {
  list-style: none;
  padding: 0;
  color: var(--muted);
}
.checklist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.checklist li:before {
  content: "↗";
  color: var(--accent);
  margin-right: 12px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
summary {
  font-size: 18px;
  min-height: 44px;
  align-content: center;
}
details p {
  max-width: 850px;
  margin: 14px 0 6px;
}
.footer {
  padding-block: 55px 30px;
  background: #060b10;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
}
.footer p {
  font-size: 14px;
  margin-top: 14px;
  max-width: 330px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px;
}
.footer-links a {
  padding: 8px 0;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.form-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 65px;
}
.form {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field.full {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #50616c;
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--text);
  background: #0b141c;
  min-height: 46px;
}
textarea {
  min-height: 145px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}
.field-error {
  color: #ffb3b3;
  font-size: 13px;
  margin: 5px 0 0;
}
.status {
  margin-top: 20px;
  font-size: 15px;
}
.status.error {
  color: #ffb3b3;
}
.status.success {
  color: var(--accent);
}
.notice {
  padding: 18px;
  border-left: 2px solid var(--accent);
  background: #11242a;
  margin-block: 20px;
  color: var(--muted);
  font-size: 14px;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 23px 0;
  font-size: 13px;
}
.consent input {
  width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  margin: 4px 0 0;
}
.consent a {
  text-decoration: underline;
  color: var(--accent);
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.demo {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  background: var(--panel);
  margin-bottom: 25px;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.demo-output {
  padding: 25px;
  background: #09141c;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 180px;
}
.demo-output p:last-child {
  margin: 0;
}
.badge {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding: 5px 9px;
  border: 1px solid #39594f;
  border-radius: 3px;
}
.demo select {
  margin-bottom: 18px;
}
.demo .button {
  margin-top: 10px;
}
.demo-output .reviewed {
  color: var(--accent);
}
.table-scroll {
  overflow-x: auto;
  margin-block: 25px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  text-align: left;
}
th,
td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--accent);
  font-weight: 500;
}
td {
  color: var(--muted);
}
.price {
  font-size: 35px;
  color: var(--text);
  margin: 15px 0;
}
.term-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}
.term-tabs button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: #152e2d;
}
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.cookie {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 30;
  max-width: 420px;
  padding: 22px;
  background: #172630;
  border: 1px solid #48636f;
  box-shadow: 0 10px 40px #0008;
  border-radius: 8px;
}
.cookie p {
  font-size: 14px;
}
.cookie .actions {
  margin-top: 14px;
}
.cookie[hidden] {
  display: none;
}
[hidden] {
  display: none !important;
}
.empty-hero {
  padding: 100px 0;
}
.optional {
  color: var(--muted);
  font-weight: 400;
}
.source-note {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 14px;
}
.arrow {
  color: var(--accent);
}
@media (min-width: 900px) {
  html[lang="zh-HK"] .hero-grid h1 {
    max-width: 660px;
    line-height: 1.3;
  }
}
@media (max-width: 1100px) {
  .nav-links {
    gap: 16px;
  }
  .nav-actions .button {
    display: none;
  }
  .hero-grid {
    gap: 35px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .wrap {
    padding-inline: 21px;
  }
  .nav {
    min-height: 76px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 20px;
  }
  .brand small {
    display: none;
  }
  .nav-actions {
    gap: 13px;
  }
  .menu {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 13px;
    min-height: 44px;
  }
  .nav-links {
    display: flex;
    width: 100%;
    padding-bottom: 20px;
    flex-wrap: wrap;
    order: 3;
  }
  .js .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .hero {
    padding-block: 55px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-grid h1 {
    font-size: 43px;
  }
  .lead {
    font-size: 18px;
  }
  .section {
    padding-block: 55px;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 20px;
  }
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
  .service:last-child {
    grid-column: auto;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .strip .wrap {
    flex-wrap: wrap;
    gap: 9px 22px;
  }
  .callout {
    padding: 28px;
    display: block;
  }
  .callout .button {
    margin-top: 22px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .form-layout,
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .form {
    padding: 23px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .page-hero {
    padding-block: 45px;
  }
  .demo {
    padding: 23px;
  }
  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
  h1 {
    overflow-wrap: anywhere;
  }
  .diagram {
    padding: 20px;
  }
  .node {
    font-size: 14px;
    padding: 13px;
  }
  .card {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* Motion layer: progressive enhancement; all content remains present without JavaScript. */
:root {
  --cyan: #76e7f4;
  --violet: #b6a6ff;
  --accent: #93efd9;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080e14;
}
.hero-grid {
  position: relative;
  z-index: 2;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora {
  position: absolute;
  filter: blur(65px);
  opacity: 0.3;
  will-change: transform;
  border-radius: 50%;
}
.aurora-one {
  width: 650px;
  height: 500px;
  background: radial-gradient(ellipse, #216e91, transparent 68%);
  right: -100px;
  top: -90px;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
.aurora-two {
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, #5545ad, transparent 65%);
  left: 12%;
  bottom: -350px;
  animation: aurora-drift 22s ease-in-out -9s infinite alternate-reverse;
}
.aurora-three {
  width: 420px;
  height: 380px;
  background: radial-gradient(ellipse, #2b9b84, transparent 65%);
  right: 18%;
  top: 18%;
  opacity: 0.17;
  animation: aurora-drift 15s ease-in-out -5s infinite alternate;
}
.tech-grid {
  position: absolute;
  inset: -80px;
  background-image:
    linear-gradient(#79dbe60d 1px, transparent 1px),
    linear-gradient(90deg, #79dbe60d 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(800px) rotateX(15deg);
  mask-image: linear-gradient(100deg, transparent, #000 75%);
  animation: grid-drift 28s linear infinite;
}
.orbit {
  position: absolute;
  border: 1px solid #79dbe615;
  border-radius: 50%;
  width: 820px;
  height: 820px;
  right: -180px;
  top: -130px;
  animation: orbit-turn 65s linear infinite;
}
.orbit:before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 15%;
  left: 15%;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--cyan);
}
.orbit-two {
  width: 670px;
  height: 670px;
  right: -105px;
  top: -55px;
  animation-duration: 45s;
  animation-direction: reverse;
}
.orbit-two:before {
  background: var(--violet);
  box-shadow: 0 0 20px var(--violet);
}
.signal {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a6fce8;
  box-shadow: 0 0 13px #76e7f4;
  animation: signal-rise 9s ease-in-out infinite;
}
.signal-one {
  right: 20%;
  bottom: 10%;
}
.signal-two {
  right: 44%;
  bottom: 5%;
  animation-delay: -3s;
}
.signal-three {
  right: 6%;
  bottom: 20%;
  animation-delay: -5s;
}
.text-spectrum {
  background: linear-gradient(
    105deg,
    #a9f5db 5%,
    #8ad8ff 40%,
    #c3b3ff 65%,
    #a9f5db 95%
  );
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: spectrum-shift 10s ease-in-out infinite;
}
.hero .eyebrow:before {
  box-shadow:
    0 0 0 5px #91e7d311,
    0 0 20px #91e7d377;
  animation: status-glow 3s ease-in-out infinite;
}
.hero .eyebrow {
  letter-spacing: 0.12em;
}
.diagram {
  position: relative;
  background: linear-gradient(140deg, #142735ec, #0a141ed9);
  backdrop-filter: blur(16px);
  border-color: #55849588;
  box-shadow:
    0 30px 80px #0004,
    0 0 60px #67d9f40d,
    inset 0 1px #c8eeff18;
  animation: diagram-float 7s ease-in-out infinite;
  transform-style: preserve-3d;
}
.diagram:before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: conic-gradient(
      from var(--border-angle),
      transparent 40%,
      #87eee28c 49%,
      #b2a5ff8c 51%,
      transparent 60%
    )
    border-box;
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: border-spin 10s linear infinite;
}
.diagram:after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(90deg, transparent, #9befff55, transparent);
  box-shadow: 0 0 15px #9befff55;
  animation: scan-line 8s ease-in-out infinite;
  pointer-events: none;
}
.diagram-head > span:first-child:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 10px var(--accent);
}
.node {
  background: linear-gradient(125deg, #102130, #0b1722);
  box-shadow: inset 0 1px #a6daea0a;
}
.node.focus {
  background: linear-gradient(115deg, #163731, #152939);
  border-color: #76d8ca77;
}
.ai-core {
  min-height: 88px;
  padding-left: 76px;
}
.core-symbol {
  position: absolute;
  left: 20px;
  top: 25px;
  width: 36px;
  height: 36px;
}
.core-symbol span {
  position: absolute;
  inset: 2px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  animation: core-turn 12s linear infinite;
}
.core-symbol span:nth-child(2) {
  inset: 8px;
  border-color: var(--violet);
  animation-direction: reverse;
  animation-duration: 8s;
}
.core-symbol span:nth-child(3) {
  inset: 14px;
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  box-shadow: 0 0 20px var(--accent);
}
.connector {
  position: relative;
  margin: auto;
  width: 1px;
  background: linear-gradient(#486d7899, #8ceadaaa, #486d7899);
  height: 33px;
}
.data-packet {
  position: absolute;
  width: 5px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--cyan);
  border-radius: 3px;
  left: -2px;
  animation: data-flow 2.8s ease-in-out infinite;
}
.connector:nth-of-type(2n) .data-packet {
  animation-delay: -1.2s;
}
.service-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.service-code svg {
  width: 32px;
  height: 32px;
  opacity: 0.8;
}
.card {
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}
.card:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    350px circle at var(--pointer-x, 50%) var(--pointer-y, 0%),
    #85e4ed0e,
    transparent 75%
  );
  pointer-events: none;
}
.card.service {
  border-top-color: #527381;
  background: linear-gradient(140deg, #132431, #0c151e 75%);
}
.card.service:hover {
  border-color: #7dbbc6;
  box-shadow:
    0 12px 45px #0004,
    0 0 28px #80e3e60a;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg)) translateY(-5px);
}
.service .number {
  color: var(--cyan);
}
.service:nth-child(2n) .number {
  color: var(--violet);
}
.button.primary {
  background: linear-gradient(105deg, #9debd1, #9ae8eb);
  border-color: #b9f7e5;
  box-shadow: 0 0 25px #91e7d317;
  position: relative;
  overflow: hidden;
}
.button.primary:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    #ffffff70 50%,
    transparent 80%
  );
  transform: translateX(-150%);
  transition: transform 0.6s;
}
.button.primary:hover:after {
  transform: translateX(150%);
}
.button.primary:hover {
  box-shadow: 0 0 28px #91e7d338;
}
.link span {
  transition: transform 0.2s;
}
.link:hover span {
  transform: translate(3px, -3px);
}
.callout {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, #23415a80, transparent 70%),
    linear-gradient(120deg, #142f2b, #111e30);
  border-color: #548b8580;
}
.callout:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -100px;
  border: 1px solid #92efde33;
  border-radius: 50%;
  pointer-events: none;
}
.step {
  position: relative;
}
.step:before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--accent);
  box-shadow: 0 0 12px #91e7d3;
  border-radius: 50%;
}
.page-hero {
  background: radial-gradient(ellipse at 85% 0%, #22345170, transparent 65%);
  border-bottom: 1px solid #29394470;
}
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready [data-reveal].revealed {
  opacity: 1;
  transform: none;
}
.hero-grid > div:first-child {
  animation: hero-enter 0.9s ease both;
}
.hero-grid > .diagram {
  animation:
    hero-enter 1.1s ease both,
    diagram-float 7s 1.1s ease-in-out infinite;
}
@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes border-spin {
  to {
    --border-angle: 360deg;
  }
}
@keyframes aurora-drift {
  from {
    transform: translate3d(-30px, -15px, 0) scale(0.95);
  }
  to {
    transform: translate3d(60px, 35px, 0) scale(1.12);
  }
}
@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes core-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes grid-drift {
  to {
    background-position: 60px 60px;
  }
}
@keyframes spectrum-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes diagram-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes data-flow {
  0% {
    transform: translateY(-13px);
    opacity: 0;
  }
  25%,
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(13px);
    opacity: 0;
  }
}
@keyframes scan-line {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15%,
  65% {
    opacity: 0.6;
  }
  90%,
  100% {
    transform: translateY(550px);
    opacity: 0;
  }
}
@keyframes signal-rise {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 0.7;
  }
  80% {
    transform: translateY(-320px);
    opacity: 0;
  }
}
@keyframes status-glow {
  50% {
    box-shadow:
      0 0 0 7px #91e7d307,
      0 0 25px #91e7d399;
  }
}
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 760px) {
  .orbit {
    width: 650px;
    height: 650px;
    right: -340px;
    top: 340px;
  }
  .orbit-two {
    width: 500px;
    height: 500px;
    right: -265px;
    top: 415px;
  }
  .aurora-one {
    right: -250px;
    top: 350px;
  }
  .tech-grid {
    mask-image: linear-gradient(180deg, transparent, #000);
  }
  .hero-grid h1 {
    font-size: 42px;
  }
  .diagram-head {
    font-size: 10px;
  }
  .diagram {
    backdrop-filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid > div:first-child,
  .hero-grid > .diagram,
  .aurora,
  .orbit,
  .signal,
  .tech-grid,
  .text-spectrum,
  .diagram:before,
  .diagram:after,
  .core-symbol span,
  .data-packet {
    animation: none !important;
  }
  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .diagram:after,
  .signal {
    display: none;
  }
  .card.service:hover {
    transform: none;
  }
  .button.primary:after {
    display: none;
  }
}
@media (max-width: 760px) {
  .nav-actions .menu {
    display: inline-flex;
  }
}
@media (max-width: 760px) {
  html[lang="zh-HK"] .hero-grid h1 {
    font-size: clamp(32px, 9.5vw, 42px);
    line-height: 1.4;
  }
}
.footer-links a { min-height: 44px; }
#enquiry-form > .button { margin: 0 8px 10px 0; }

/* Visual use cases: readable first, animated on demand. */
.usecase-hero { padding: 68px 0 36px; background: radial-gradient(ellipse at 80% 5%,#14344788,transparent 55%),radial-gradient(ellipse at 20% 60%,#28234266,transparent 55%); }
.usecase-hero h1 { font-size:clamp(36px,4.8vw,64px); }
.usecase-hero .lead { max-width:780px; }
.scene-jumps { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:32px 0 22px; }
.scene-jumps a { display:flex; gap:16px; align-items:center; border:1px solid #3b505e; background:#11212acc; padding:20px; border-radius:12px; transition:transform .2s,border-color .2s; }
.scene-jumps a:hover { transform:translateY(-4px); border-color:var(--accent); }
.scene-jumps svg { width:30px; height:30px; color:var(--accent); flex-shrink:0; }
.scene-jumps small { display:block; font-size:12px; color:var(--muted); letter-spacing:.12em; }
.scene-jumps b { margin-left:auto; color:var(--accent); }
.simulation-note { display:flex; gap:10px; align-items:center; font-size:14px; margin:0; }
.simulation-note svg { width:18px; height:18px; flex-shrink:0; color:var(--accent); }
.usecase-section { padding-top:30px; }
.usecase { --scene-accent:#91e7d3; border:1px solid #334853; border-radius:20px; background:linear-gradient(135deg,#13232c,#0c151e 60%); padding:32px; margin-bottom:48px; scroll-margin-top:110px; overflow:hidden; }
.usecase:nth-child(2) { --scene-accent:#c8b3ff; }
.usecase:nth-child(3) { --scene-accent:#87d6fa; }
.usecase-heading { display:flex; gap:22px; align-items:flex-start; margin-bottom:26px; }
.usecase-heading h2 { font-size:clamp(27px,3vw,38px); margin-bottom:12px; }
.usecase-heading p { margin:0; max-width:790px; }
.scene-number { display:flex; flex-direction:column; gap:12px; align-items:center; color:var(--scene-accent); font-size:15px; letter-spacing:.15em; padding:12px; border:1px solid #40525d; border-radius:12px; }
.scene-number svg { width:27px; height:27px; }
.scene-toolbar { display:flex; align-items:center; gap:18px; margin-bottom:26px; }
.scene-toolbar > span { color:var(--muted); font-size:14px; }
.scene-toolbar .scene-simulation { margin-left:auto; font-size:11px; letter-spacing:.12em; border:1px solid #415462; padding:4px 9px; border-radius:4px; }
.scene-play { min-width:174px; flex-shrink:0; }
.scene-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.scene-stage { min-width:0; position:relative; }
.scene-stage:not(:last-child)::after { content:'→'; position:absolute; right:-23px; top:52%; z-index:2; color:var(--scene-accent); font-size:25px; }
.scene-step { width:100%; display:flex; align-items:center; gap:10px; text-align:left; color:var(--muted); padding:0 0 14px; background:none; border:0; font-size:15px; min-height:58px; line-height:1.4; }
.scene-step span { display:grid; place-items:center; width:32px; height:32px; border:1px solid #526471; border-radius:50%; font-size:12px; flex-shrink:0; }
.is-current .scene-step { color:var(--scene-accent); }
.is-current .scene-step span { background:var(--scene-accent); color:#101923; border-color:var(--scene-accent); }
.scene-panel { background:#0b141d; border:1px solid #30434f; border-radius:12px; padding:18px; min-height:354px; height:calc(100% - 58px); transition:border-color .25s,box-shadow .25s; position:relative; }
.is-current .scene-panel { border-color:var(--scene-accent); box-shadow:0 0 25px color-mix(in srgb,var(--scene-accent) 10%,transparent); }
.scene-window { overflow:hidden; border:1px solid #304551; border-radius:9px; background:#12232e; }
.scene-window-bar { display:flex; align-items:center; gap:8px; padding:12px; border-bottom:1px solid #354957; font-size:11px; letter-spacing:.08em; color:#c6d5dd; }
.scene-window-bar svg { width:17px; height:17px; }
.scene-window-bar i { margin-left:auto; width:6px; height:6px; background:var(--scene-accent); border-radius:50%; }
.scene-window-body { padding:16px; font-size:15px; }
.scene-window-body h4 { font-size:17px; line-height:1.5; margin:10px 0; }
.scene-window-body p { color:#cfdae0; }
.scene-person { display:flex; align-items:center; gap:10px; margin-bottom:18px; font-size:12px; color:#c7d4df; }
.scene-person b { background:#414061; color:#e4daff; border-radius:50%; width:33px; height:33px; display:grid; place-items:center; }
.scene-bubble { background:#24434a; color:#edfaf8; padding:15px; border-radius:12px 12px 12px 0; line-height:1.8; }
.scene-message-lines { padding-top:26px; }
.scene-message-lines i { display:block; height:5px; width:75%; margin-bottom:10px; border-radius:6px; background:#344753; }
.scene-message-lines i:last-child { width:46%; }
.scene-brain { width:82px; height:82px; display:grid; place-items:center; margin:8px auto 14px; position:relative; color:var(--scene-accent); }
.scene-brain > svg { width:32px; height:32px; filter:drop-shadow(0 0 10px var(--scene-accent)); }
.scene-brain > span { position:absolute; inset:0; border:1px solid #526075; border-top:2px solid var(--scene-accent); border-radius:24px; transform:rotate(45deg); }
.scene-brain > span:nth-child(2) { inset:10px; transform:rotate(10deg); border-radius:16px; }
.scene-ai-label { text-align:center; font-size:11px; letter-spacing:.08em; color:var(--scene-accent); }
.scene-source { display:flex; align-items:center; gap:8px; background:#162b31; padding:12px; border-radius:7px; font-size:13px; }
.scene-source > svg { width:18px; height:18px; flex-shrink:0; color:var(--scene-accent); }
.scene-source small { display:block; color:#bdcfd5; font-size:11px; }
.scene-source > svg:last-child { margin-left:auto; }
.scene-panel blockquote { border-left:2px solid var(--scene-accent); padding-left:12px; margin:18px 0 0; font-size:14px; color:#c1d1d9; }
.scene-answer strong { color:var(--scene-accent); }
.scene-pill { display:inline-block; padding:5px 9px; border:1px solid #386252; background:#162f2b; color:#abf0d4; border-radius:5px; font-size:12px; line-height:1.5; }
.scene-pill.amber { border-color:#78602f; color:#f6d48c; background:#352b19; }
.scene-pill.violet { color:#ddceff; background:#2c2545; border-color:#685388; }
.scene-window-body .scene-footnote { margin:18px 0 0; font-size:12px; color:#aebfcb; }
.scene-invoice { background:#ecf0f3; color:#23323d; padding:22px 17px; border-radius:5px; transform:rotate(-2deg); box-shadow:5px 7px 0 #c5ccd330; position:relative; overflow:hidden; margin:10px 4px; }
.invoice-top { display:flex; align-items:center; gap:9px; font-size:10px; letter-spacing:.07em; }
.invoice-top svg { width:23px; height:23px; }
.scene-invoice h4 { font-size:18px; margin:22px 0 4px; }
.invoice-id { font-size:12px; color:#52616d; }
.invoice-row { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; margin-top:25px; font-size:12px; }
.invoice-rule { border-top:1px dashed #a2b1bc; margin-top:16px; }
.unclear-date { filter:blur(.7px); background:#fff2c7; }
.invoice-stamp { display:inline-block; border:1px solid #586779; color:#536174; font-size:10px; padding:3px 7px; margin-top:22px; }
.scan-beam { position:absolute; inset:0 0 auto; height:3px; background:#8058d4; box-shadow:0 0 30px 8px #9b76e64f; opacity:0; }
.scene-fields { margin:18px 0 12px; font-size:12px; }
.scene-fields div { display:flex; gap:8px; justify-content:space-between; padding:9px 0; border-bottom:1px solid #344552; }
.scene-fields dt { color:var(--muted); }
.scene-fields dd { margin:0; display:flex; align-items:center; gap:8px; }
.scene-fields svg { width:14px; height:14px; color:var(--accent); }
.scene-fields .field-warning { color:#f5d294; }
.scene-review { width:100%; padding:10px; font-size:13px; margin-top:12px; color:var(--scene-accent); }
.scene-review svg { width:18px; height:18px; }
.scene-window-body label { font-size:13px; }
.scene-window-body input { min-width:0; padding:9px; margin-top:9px; width:100%; font-size:15px; }
.scene-window-body .scene-review-status { margin:12px 0 0; font-size:12px; color:#f5d294; }
.scene-window-body .scene-review-status.reviewed { color:#a9f0cc; }
.scene-email-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:5px; font-size:11px; color:#aebfcb; }
.scene-tags { display:flex; flex-wrap:wrap; gap:7px; margin:22px 0; }
.scene-route { display:flex; flex-direction:column; gap:5px; font-size:12px; }
.scene-route span { color:#a7b5c0; padding:5px 12px; }
.scene-route strong { background:#163a49; border:1px solid #4988a3; padding:9px 12px; color:#b6e6ff; border-radius:6px; }
.scene-next { border-top:1px solid #3a4b59; padding-top:14px; font-size:13px; }
.scene-next strong { font-size:11px; letter-spacing:.04em; color:var(--scene-accent); }
.scene-next ul { margin:8px 0 0; padding-left:18px; }
.scene-caption { display:flex; align-items:flex-start; gap:18px; padding:18px 0; min-height:88px; }
.scene-caption-count { color:var(--scene-accent); font-size:12px; letter-spacing:.12em; flex-shrink:0; padding-top:4px; }
.scene-caption p { margin:0; font-size:14px; color:#c5d4dd; }
.scene-outcome { display:flex; align-items:center; gap:22px; justify-content:space-between; border-top:1px solid #334956; padding-top:24px; }
.scene-outcome > div > span { font-size:11px; color:var(--scene-accent); letter-spacing:.08em; }
.scene-outcome p { color:#e4eef3; font-size:17px; margin:8px 0 0; max-width:660px; }
.scene-outcome .button { font-size:13px; flex-shrink:0; }
.is-playing .is-current .scene-brain span { animation:scene-spin 4s linear infinite; }
.is-playing .is-current .scene-brain span:nth-child(2) { animation-direction:reverse; }
.is-playing .is-current .scene-window { animation:scene-arrive .45s ease-out; }
.is-playing .is-current .scan-beam { animation:scene-scan 2.8s ease-in-out infinite; }
.is-playing .is-current .scene-step span { animation:scene-pulse 1.5s ease-out infinite; }
@keyframes scene-spin { to { transform:rotate(405deg); } }
@keyframes scene-scan { 0% { opacity:0; transform:translateY(0); } 15%,85% { opacity:1; } 100% { opacity:0; transform:translateY(290px); } }
@keyframes scene-arrive { from { opacity:.4; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes scene-pulse { 50% { box-shadow:0 0 0 6px #a0ddf020; } }
@media(max-width:1050px) {
  .usecase { padding:24px; }
  .scene-flow { gap:18px; }
  .scene-stage:not(:last-child)::after { right:-18px; font-size:20px; }
  .scene-panel { padding:12px; }
  .scene-window-body { padding:12px; }
  .scene-outcome { align-items:flex-start; flex-direction:column; }
  .scene-toolbar .scene-simulation { display:none; }
}
@media(max-width:760px) {
  .usecase-hero { padding-top:38px; }
  .scene-jumps { gap:9px; grid-template-columns:1fr; margin:24px 0; }
  .scene-jumps a { padding:12px 16px; }
  .scene-jumps a > span { display:flex; gap:12px; align-items:center; }
  .scene-jumps svg { width:24px; height:24px; }
  .usecase { padding:20px 16px; border-radius:14px; }
  .usecase-heading { gap:12px; }
  .scene-number { padding:8px; font-size:12px; }
  .scene-number svg { width:22px; height:22px; }
  .usecase-heading h2 { font-size:27px; }
  .scene-toolbar { flex-wrap:wrap; gap:12px; }
  .scene-toolbar > span { font-size:13px; }
  .scene-flow { grid-template-columns:1fr; gap:28px; }
  .scene-stage:not(:last-child)::after { content:'↓'; top:auto; bottom:-31px; right:calc(50% - 8px); }
  .scene-panel { min-height:0; height:auto; padding:18px; }
  .scene-window-body { padding:18px; }
  .scene-brain { margin-top:14px; }
  .scene-invoice { max-width:300px; margin:10px auto; }
  .scene-caption { gap:12px; min-height:105px; }
  .scene-outcome .button { white-space:normal; }
}
@media(prefers-reduced-motion:reduce) {
  .usecase *, .scene-jumps a { animation:none!important; transition:none!important; }
}
@media(prefers-reduced-motion:no-preference) {
  .is-playing .scene-stage.is-current:not(:last-child)::after { animation:scene-arrow 1.2s ease-in-out infinite; }
  @keyframes scene-arrow { 50% { transform:translateX(4px); color:#fff; text-shadow:0 0 10px var(--scene-accent); } }
}
@media(max-width:760px) and (prefers-reduced-motion:no-preference) {
  .is-playing .scene-stage.is-current:not(:last-child)::after { animation-name:scene-arrow-down; }
  @keyframes scene-arrow-down { 50% { transform:translateY(4px); color:#fff; text-shadow:0 0 10px var(--scene-accent); } }
}
