:root {
  color-scheme: light;
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-blue: #edf5ff;
  --surface-warm: #fff8ec;
  --ink: #11233b;
  --muted: #5f6f83;
  --dim: #8b98aa;
  --line: #dbe6f4;
  --primary: #1e63d6;
  --primary-dark: #16499f;
  --teal: #0aa39a;
  --gold: #d89a25;
  --shadow: 0 24px 70px rgba(30, 99, 214, 0.14);
  --soft-shadow: 0 16px 44px rgba(17, 35, 59, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(30, 99, 214, 0.14), transparent 28rem),
    radial-gradient(circle at 84% 10%, rgba(10, 163, 154, 0.14), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #ffffff 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Segoe UI", sans-serif;
  line-height: 1.75;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 230, 244, 0.74);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav,
.hero,
.trust-strip,
.section,
.contact,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  font-size: 0.86rem;
  box-shadow: 0 14px 30px rgba(30, 99, 214, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: -5px;
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #30465f;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 28px rgba(30, 99, 214, 0.2);
}

.nav-menu .nav-cta:hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: 46px;
  align-items: center;
  min-height: 720px;
  padding: 70px 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(2.8rem, 5.8vw, 5.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.4vw, 3.05rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.4;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.about-story p,
.ceo-card p,
.team-overview p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 680px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 660px;
  margin-top: 38px;
}

.hero-tags span {
  min-width: 116px;
  padding: 14px 20px;
  border: 1px solid rgba(30, 99, 214, 0.16);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px rgba(17, 35, 59, 0.08);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 245, 255, 0.84)),
    radial-gradient(circle at 70% 20%, rgba(10, 163, 154, 0.16), transparent 18rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.hero-visual::before {
  width: 250px;
  height: 250px;
  right: -72px;
  top: -72px;
  background: rgba(30, 99, 214, 0.12);
}

.hero-visual::after {
  width: 170px;
  height: 170px;
  left: -48px;
  bottom: 54px;
  background: rgba(10, 163, 154, 0.12);
}

.visual-card {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.visual-card.main {
  right: 28px;
  bottom: 34px;
  left: 28px;
  padding: 28px;
}

.visual-card.main strong {
  display: block;
  margin: 8px 0 12px;
  font-size: 1.62rem;
  line-height: 1.25;
}

.visual-card.main p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-label {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-card.mini {
  display: grid;
  gap: 4px;
  width: 178px;
  padding: 20px;
}

.visual-card.mini.top {
  top: 38px;
  right: 38px;
}

.visual-card.mini.bottom {
  top: 154px;
  left: 38px;
}

.visual-card.mini b {
  color: var(--primary);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.visual-card.mini span {
  color: var(--muted);
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: -20px;
  padding-bottom: 62px;
}

.trust-strip article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.trust-strip span {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
}

.trust-strip strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 1.1rem;
}

.trust-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: 68px 0;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 36px;
}

.section-heading.center {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}

.about-story,
.about-panel,
.service-grid article,
.process-line article,
.contact {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.about-story {
  padding: 34px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 0;
}

.mission-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff, rgba(237, 245, 255, 0.72)),
    #ffffff;
}

.mission-grid span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mission-grid h3 {
  margin-top: 12px;
}

.mission-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-panel {
  padding: 34px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(30, 99, 214, 0.96), rgba(10, 163, 154, 0.9)),
    var(--primary);
}

.about-panel span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.about-panel ul {
  padding-left: 20px;
  margin: 24px 0 0;
}

.about-panel li + li {
  margin-top: 10px;
}

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

.service-grid article {
  min-height: 238px;
  padding: 28px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--surface-blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-grid p,
.process-line p {
  margin-bottom: 0;
  color: var(--muted);
}

.team-showcase {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: stretch;
}

.ceo-card,
.team-overview {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.ceo-card {
  display: grid;
  gap: 24px;
  align-content: start;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 236, 0.86)),
    #ffffff;
}

.team-overview {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 245, 255, 0.84)),
    #ffffff;
}

.ceo-card span,
.team-overview span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ceo-card h3,
.team-overview h3 {
  margin: 12px 0 8px;
  font-size: 1.65rem;
}

.ceo-card strong {
  display: block;
  color: var(--teal);
  font-size: 1rem;
}

.ceo-card p,
.team-overview p {
  margin-bottom: 0;
}

.team-stats {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.team-stats div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(17, 35, 59, 0.06);
}

.team-stats strong {
  display: block;
  color: var(--primary);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.team-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

blockquote {
  margin: 26px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  color: var(--ink);
  background: var(--surface-warm);
  font-weight: 900;
}

.client-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
}

.client-marquee::before,
.client-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  pointer-events: none;
  content: "";
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(245, 248, 255, 0));
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(245, 248, 255, 0));
}

.client-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: marquee 32s linear infinite;
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

.client-logo-card {
  position: relative;
  display: grid;
  width: 238px;
  min-height: 112px;
  place-items: center;
  padding: 24px 28px;
  overflow: hidden;
  border: 1px solid rgba(219, 230, 244, 0.92);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.9)),
    #ffffff;
  box-shadow: var(--soft-shadow);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.client-logo-card::before {
  position: absolute;
  inset: auto 32px 18px;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--teal));
  opacity: 0.72;
}

.client-logo-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow);
}

.client-logo-card img {
  display: block;
  max-width: 152px;
  max-height: 58px;
  object-fit: contain;
  filter: saturate(0.92);
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.client-logo-card:hover img {
  filter: saturate(1.08);
  transform: scale(1.04);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 11px));
  }
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  padding: 46px 28px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 36px;
  background:
    radial-gradient(circle at 10% 20%, rgba(30, 99, 214, 0.12), transparent 18rem),
    radial-gradient(circle at 90% 30%, rgba(10, 163, 154, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 245, 255, 0.84));
  box-shadow: var(--soft-shadow);
}

.process-line::before {
  position: absolute;
  top: 98px;
  right: 54px;
  left: 54px;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, rgba(30, 99, 214, 0.12), var(--primary), var(--teal), rgba(10, 163, 154, 0.12));
}

.process-line article {
  position: relative;
  z-index: 1;
  min-height: 238px;
  padding: 24px 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(17, 35, 59, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.process-line article:nth-child(even) {
  margin-top: 38px;
}

.process-line article::after {
  position: absolute;
  right: -16px;
  bottom: -44px;
  color: rgba(30, 99, 214, 0.06);
  content: "0" attr(data-step);
  font-size: 7.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.1em;
}

.process-line article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.process-line span {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  place-items: center;
  border: 5px solid #ffffff;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: 0 14px 28px rgba(30, 99, 214, 0.24);
  font-size: 1.08rem;
  font-weight: 900;
}

.process-line h3 {
  font-size: 1.04rem;
}

.process-line p {
  font-size: 0.94rem;
  line-height: 1.75;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 44px;
  align-items: center;
  margin-top: 74px;
  padding: 48px 52px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(18, 35, 59, 0.96), rgba(30, 99, 214, 0.9)),
    var(--primary-dark);
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.contact-box a {
  color: #ffffff;
}

.contact-box span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 500;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 44px;
  color: var(--dim);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .nav-menu a:hover {
    background: var(--surface-blue);
  }

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

  .hero,
  .about-layout,
  .team-showcase,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact {
    gap: 28px;
  }

  .hero {
    min-height: auto;
    gap: 34px;
  }

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

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

  .team-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .process-line {
    padding: 28px;
  }

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

  .process-line article,
  .process-line article:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .nav,
  .hero,
  .trust-strip,
  .section,
  .contact,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding: 48px 0;
  }

  .section {
    padding: 46px 0;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .trust-strip,
  .service-grid,
  .process-line,
  .mission-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
  }

  .hero-tags span {
    min-width: 0;
    padding: 11px 10px;
    font-size: 0.92rem;
  }

  .hero-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: auto;
    padding: 16px;
    border-radius: 30px;
  }

  .visual-card.main {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-column: 1 / -1;
    order: 3;
    padding: 20px;
  }

  .visual-card.mini {
    position: relative;
    width: auto;
    padding: 18px;
  }

  .visual-card.mini b {
    font-size: 2.45rem;
  }

  .visual-card.mini span {
    font-size: 0.95rem;
  }

  .visual-card.mini.top {
    top: auto;
    right: auto;
    order: 1;
  }

  .visual-card.mini.bottom {
    top: auto;
    left: auto;
    order: 2;
  }

  .about-story,
  .about-panel,
  .ceo-card,
  .team-overview,
  .process-line,
  .contact {
    padding: 24px;
  }

  .service-grid article {
    min-height: auto;
    padding: 22px;
    border-radius: 24px;
  }

  .service-grid span {
    margin-bottom: 18px;
    padding: 6px 11px;
  }

  .service-grid h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
  }

  .service-grid p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .team-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .team-stats strong {
    font-size: clamp(2.15rem, 13vw, 3.4rem);
  }

  .process-line {
    border-radius: 28px;
    gap: 14px;
  }

  .process-line article {
    min-height: auto;
    padding: 20px;
    border-radius: 24px;
  }

  .process-line article::after {
    right: -10px;
    bottom: -28px;
    font-size: 5rem;
  }

  .process-line span {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-width: 4px;
    border-radius: 14px;
  }

  .process-line h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
  }

  .process-line p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .site-footer {
    flex-direction: column;
  }
}
