:root {
  --navy-900: #0d1b3e;
  --blue-700: #123a7a;
  --cyan-500: #17b7e6;
  --sky-100: #e9f3ff;
  --slate-800: #1e2a44;
  --slate-600: #42526d;
  --border-200: #d8e2f0;
  --white: #ffffff;
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--slate-800);
  background: var(--white);
  font-family: "Noto Sans TC", "Noto Sans SC", "PingFang TC", "PingFang SC",
    "Microsoft JhengHei", "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-200);
}

.utility-bar {
  background: rgba(13, 27, 62, 0.98);
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-wrap {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

.utility-note {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.utility-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.utility-link {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
}

.utility-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.utility-link-cta {
  border-color: rgba(23, 183, 230, 0.7);
  background: rgba(23, 183, 230, 0.14);
}

.utility-link-cta:hover {
  background: rgba(23, 183, 230, 0.24);
}

.nav-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(18, 58, 122, 0.2);
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--slate-600);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--blue-700);
}

.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
}

.lang-btn {
  border: 1px solid var(--border-200);
  background: var(--white);
  color: var(--slate-600);
  border-radius: 999px;
  min-width: 42px;
  padding: 0.38rem 0.65rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn.is-active {
  border-color: var(--blue-700);
  color: var(--white);
  background: var(--blue-700);
}

.utility-bar .lang-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
}

.utility-bar .lang-btn.is-active {
  border-color: rgba(23, 183, 230, 0.95);
  background: rgba(23, 183, 230, 0.24);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 183, 230, 0.2), transparent 45%),
    linear-gradient(150deg, #f8fcff 10%, #f1f7ff 45%, #edf5ff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("assets/generated/hk-ai-hero-victoria-harbour-dawn.png");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-subtitle {
  max-width: 60ch;
  color: var(--slate-600);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.66rem 1.12rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), #0f2f63);
  box-shadow: 0 8px 22px rgba(13, 27, 62, 0.22);
}

.btn-secondary {
  color: var(--blue-700);
  border-color: var(--blue-700);
  background: rgba(255, 255, 255, 0.8);
}

.hero-metrics {
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics li {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-200);
  border-radius: 12px;
  padding: 0.7rem;
}

.hero-metrics strong {
  display: block;
  color: var(--navy-900);
  font-size: 1rem;
}

.hero-metrics span {
  color: var(--slate-600);
  font-size: 0.86rem;
}

.hero-visual {
  min-height: 370px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(170deg, rgba(13, 27, 62, 0.28), rgba(18, 58, 122, 0.45)),
    url("assets/generated/hk-ai-hero-harbour-innovation-network.png") center / cover no-repeat;
  display: grid;
  align-items: end;
  padding: 1.1rem;
  box-shadow: 0 24px 48px rgba(13, 27, 62, 0.22);
}

.glass-panel {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(7, 18, 41, 0.5);
  color: #eaf5ff;
  backdrop-filter: blur(5px);
  padding: 0.95rem;
}

.panel-title {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.glass-panel ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.92rem;
  color: #d5e7ff;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--border-200);
  border-radius: 14px;
  padding: 1.1rem;
  background: var(--white);
  box-shadow: 0 7px 20px rgba(13, 27, 62, 0.06);
}

.card p {
  color: var(--slate-600);
}

.card-cta {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 750;
  color: var(--blue-700);
}

.card-cta::after {
  content: "→";
  font-weight: 800;
}

.card-cta:hover {
  text-decoration: underline;
}

.section-soft {
  background:
    linear-gradient(180deg, #f6faff 0%, #eef5ff 100%),
    url("assets/generated/hk-ai-hero-central-smart-grid.png") center / cover no-repeat;
  background-blend-mode: screen;
}

.card-soft {
  background: rgba(255, 255, 255, 0.9);
}

.trust-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.trust-body,
#trust p {
  color: var(--slate-600);
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border-200);
  border-radius: 14px;
  overflow: hidden;
}

.trust-list li {
  padding: 0.9rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--border-200);
  font-weight: 500;
}

.trust-list li:last-child {
  border-bottom: 0;
}

.testimonial-section {
  position: relative;
}

.testimonials-grid {
  margin-top: 1.6rem;
}

.testimonial-card {
  position: relative;
  padding-top: 1.45rem;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.55rem;
  left: 1rem;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(18, 58, 122, 0.16);
}

.quote {
  color: var(--slate-800);
  font-weight: 520;
}

.testimonial-name {
  margin-top: 1.05rem;
  font-weight: 760;
  color: var(--navy-900);
}

.testimonial-role {
  margin-top: 0.15rem;
  color: var(--slate-600);
  font-size: 0.9rem;
}

.section-cta {
  padding-top: 4rem;
}

.contact-wrap {
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid var(--border-200);
  background: linear-gradient(145deg, #ffffff 0%, #f4f9ff 100%);
}

.contact-wrap p {
  color: var(--slate-600);
}

.contact-mail {
  display: inline-flex;
  margin-top: 0.9rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--blue-700);
  border-bottom: 2px solid rgba(18, 58, 122, 0.3);
}

.site-footer {
  border-top: 1px solid var(--border-200);
  color: var(--slate-600);
  background: #fbfdff;
}

.mega-footer {
  padding-top: 2.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  padding-bottom: 2.2rem;
}

.footer-brand-block p {
  margin-top: 0.85rem;
  max-width: 52ch;
  color: var(--slate-600);
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--navy-900);
}

.footer-col a:not(.btn) {
  display: block;
  text-decoration: none;
  padding: 0.25rem 0;
  color: var(--slate-600);
  font-weight: 550;
}

.footer-col a:not(.btn):hover {
  color: var(--blue-700);
}

.footer-action-copy {
  color: var(--slate-600);
  margin: 0 0 0.85rem;
}

.footer-mail {
  width: 100%;
  justify-content: center;
  background: rgba(18, 58, 122, 0.06);
  border-color: rgba(18, 58, 122, 0.32);
}

.footer-mail:hover {
  background: rgba(18, 58, 122, 0.11);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-200);
}

.noscript-note {
  margin: 0 auto 1rem;
  width: min(100% - 2rem, 800px);
  padding: 0.8rem;
  border: 1px solid #ffe3a3;
  background: #fff9e6;
  color: #73520f;
  border-radius: 10px;
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .utility-note {
    display: none;
  }

  .utility-wrap {
    justify-content: flex-end;
  }

  .hero-grid,
  .trust-wrap {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 280px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-bottom: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
