:root {
  --navy-950: #061526;
  --navy-900: #081a2f;
  --navy-800: #102b47;
  --navy-700: #163b5c;
  --slate-700: #43566d;
  --slate-600: #5d7085;
  --slate-500: #74879b;
  --slate-300: #cfdae3;
  --slate-200: #e1e8ee;
  --slate-100: #edf3f7;
  --white: #fff;
  --teal-600: #007c99;
  --teal-500: #0094b4;
  --teal-400: #16a8c4;
  --shadow: 0 18px 55px rgba(6, 21, 38, 0.08);
  --container: 1200px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy-900);
  background: var(--white);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--teal-600);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 21, 38, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(2, 12, 23, 0.2);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--teal-400), var(--teal-600));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.brand-text small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.19em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  color: var(--white);
}

.nav-cta {
  padding: 11px 23px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--teal-400);
  background: rgba(22, 168, 196, 0.16);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 46px;
  height: 46px;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--white);
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: currentcolor;
}

.hero {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 35%, rgba(0, 149, 182, 0.16), transparent 37%),
    linear-gradient(118deg, var(--navy-950) 0%, #07192c 42%, #0b2237 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(147, 181, 202, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 181, 202, 0.16) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(circle at 78% 45%, black 5%, transparent 64%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.91fr 1.09fr;
  align-items: center;
  gap: 58px;
  min-height: 770px;
  padding-top: 92px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 21px;
  color: var(--teal-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentcolor;
}

.hero h1 {
  margin-bottom: 23px;
  font-size: clamp(42px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.38;
}

.hero-description {
  max-width: 484px;
  margin-bottom: 42px;
  color: rgba(225, 232, 238, 0.82);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 29px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 7px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--teal-600);
  box-shadow: 0 15px 31px rgba(0, 124, 153, 0.3);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-500);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(207, 218, 227, 0.46);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  position: absolute;
  inset: -7% 6% 7% -4%;
  z-index: 0;
  content: "";
  border: 1px solid rgba(22, 168, 196, 0.25);
  border-radius: 55% 8% 55% 8%;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center right;
  border-radius: 5px 84px 5px 84px;
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.27);
}

.signal-card {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 31px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 205px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: rgba(7, 25, 44, 0.82);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(7px);
}

.signal-card strong,
.signal-card small {
  display: block;
}

.signal-card strong {
  font-size: 14px;
}

.signal-card small {
  margin-top: 2px;
  color: var(--slate-300);
  font-size: 12px;
}

.pulse {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-400);
}

.pulse::after {
  position: absolute;
  inset: -8px;
  content: "";
  border: 1px solid var(--teal-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  from {
    opacity: 1;
    transform: scale(0.5);
  }
  to {
    opacity: 0;
    transform: scale(1.25);
  }
}

.trust-strip {
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 110px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding-left: 37px;
  border-left: 1px solid #d4e0e7;
}

.trust-item:last-child {
  border-right: 1px solid #d4e0e7;
}

.trust-item strong {
  color: var(--navy-800);
  font-size: 17px;
}

.trust-item span {
  color: var(--slate-600);
  font-size: 14px;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
  margin-bottom: 14px;
}

.section-heading h2,
.about-copy h2,
.contact-intro h2 {
  margin-bottom: 17px;
  color: var(--navy-900);
  font-size: clamp(30px, 3vw, 36px);
  letter-spacing: 0.055em;
  line-height: 1.42;
}

.section-heading p,
.about-copy p,
.contact-intro p {
  color: var(--slate-600);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 240px;
  padding: 33px 30px 29px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #c3dae2;
  box-shadow: var(--shadow);
}

.service-icon {
  display: flex;
  width: 51px;
  height: 51px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--teal-600);
  border-radius: 8px;
  background: #edf7f9;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--navy-800);
  font-size: 20px;
  font-weight: 600;
}

.service-card p {
  margin-bottom: 0;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.8;
}

.about {
  background: var(--slate-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.86fr;
  align-items: center;
  gap: 78px;
}

.about-copy .eyebrow {
  margin-bottom: 15px;
}

.about-copy p {
  margin-bottom: 17px;
  line-height: 1.9;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.audience-tags span {
  padding: 7px 19px;
  color: var(--teal-600);
  font-size: 14px;
  border: 1px solid #bedce3;
  border-radius: 999px;
  background: var(--white);
}

.company-card {
  padding: 39px 42px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 13px 43px rgba(22, 41, 57, 0.06);
}

.company-card h3 {
  margin-bottom: 25px;
  color: var(--navy-800);
  font-size: 21px;
}

.company-card dl {
  margin: 0;
}

.company-card dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 15px 0;
  border-bottom: 1px solid var(--slate-200);
  font-size: 14px;
}

.company-card dl div:last-child {
  border-bottom: 0;
}

.company-card dt {
  color: var(--slate-500);
}

.company-card dd {
  margin: 0;
  color: var(--navy-800);
}

.process {
  padding-bottom: 96px;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid::before {
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 1px;
  content: "";
  background: var(--slate-200);
}

.process-step {
  position: relative;
  text-align: center;
}

.step-number {
  position: relative;
  z-index: 1;
  display: flex;
  width: 73px;
  height: 73px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 27px;
  color: var(--teal-600);
  font-size: 18px;
  font-weight: 700;
  border: 1px solid var(--slate-200);
  border-radius: 50%;
  background: var(--white);
}

.process-step:first-child .step-number {
  color: var(--white);
  border-color: var(--teal-600);
  background: var(--teal-600);
}

.process-step h3 {
  margin-bottom: 11px;
  color: var(--navy-800);
  font-size: 20px;
}

.process-step p {
  max-width: 225px;
  margin: 0 auto;
  color: var(--slate-600);
  font-size: 14px;
}

.contact {
  padding: 0 0 92px;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: 72px;
  align-items: center;
  padding: 62px 74px;
  color: var(--white);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 95% 15%, rgba(22, 168, 196, 0.16), transparent 34%),
    var(--navy-900);
}

.contact-intro h2 {
  color: var(--white);
}

.contact-intro p {
  max-width: 535px;
  margin-bottom: 31px;
  color: rgba(225, 232, 238, 0.76);
}

.contact-details {
  padding: 18px 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(207, 218, 227, 0.14);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: rgba(207, 218, 227, 0.66);
  font-size: 14px;
}

.contact-row strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

a.contact-row:hover strong {
  color: var(--teal-400);
}

.site-footer {
  color: var(--white);
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(207, 218, 227, 0.09);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.footer-brand span,
.footer-inner p {
  margin: 4px 0 0;
  color: rgba(207, 218, 227, 0.55);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1023px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .header-inner {
    height: 74px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: var(--navy-900);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 15px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
    padding-top: 124px;
    padding-bottom: 72px;
  }

  .hero-content {
    max-width: 650px;
  }

  .hero-visual img {
    height: min(54vw, 450px);
  }

  .trust-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-top: 1px solid #d4e0e7;
  }

  .trust-item:last-child {
    border-top: 1px solid #d4e0e7;
    border-right: 0;
  }

  .trust-item {
    min-height: 95px;
  }

  .about-grid,
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .process-grid {
    gap: 44px 24px;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 639px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    display: none;
  }

  .site-nav {
    left: 16px;
    right: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    gap: 42px;
    padding-top: 112px;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: clamp(33px, 10vw, 40px);
    letter-spacing: 0.025em;
  }

  .hero-description {
    margin-bottom: 31px;
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-visual img {
    height: 270px;
    border-radius: 5px 48px 5px 48px;
  }

  .signal-card {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }

  .trust-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(3),
  .trust-item:last-child {
    min-height: 76px;
    padding-left: 19px;
    border-top: 1px solid #d4e0e7;
    border-right: 0;
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 35px;
    text-align: left;
  }

  .section-heading .eyebrow {
    justify-content: flex-start;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-intro h2 {
    font-size: 28px;
  }

  .service-card {
    min-height: auto;
    padding: 27px 25px;
  }

  .about-grid {
    gap: 36px;
  }

  .company-card {
    padding: 28px 23px;
  }

  .company-card dl div {
    grid-template-columns: 78px 1fr;
  }

  .process-grid {
    gap: 34px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    text-align: left;
  }

  .step-number {
    grid-row: span 2;
    width: 56px;
    height: 56px;
    margin: 0;
  }

  .process-step h3 {
    margin-top: 2px;
    margin-bottom: 4px;
  }

  .process-step p {
    max-width: none;
    margin: 0;
  }

  .contact {
    padding: 0 0 58px;
  }

  .contact-shell {
    width: 100%;
    padding: 46px 22px;
    border-radius: 0;
  }

  .contact-row {
    grid-template-columns: 58px 1fr;
    gap: 15px;
  }

  .contact-row strong {
    overflow-wrap: anywhere;
    font-size: 15px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    padding: 28px 0;
  }
}
