:root {
  --ink: #172024;
  --muted: #647176;
  --line: #dfe6e8;
  --paper: #f7f9f8;
  --white: #ffffff;
  --teal: #0f8d83;
  --teal-dark: #075c5f;
  --amber: #d49a2a;
  --graphite: #1d2a2d;
  --shadow: 0 18px 50px rgba(23, 32, 36, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans TC",
    "Microsoft JhengHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 24, 26, 0.8), rgba(15, 24, 26, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-logo {
  width: 74px;
  height: 48px;
  border-radius: 6px;
  object-fit: contain;
  background: #e6e6e4;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

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

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.6vw, 30px);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  align-items: center;
  padding: 132px clamp(20px, 5vw, 72px) 76px;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/network-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 15, 17, 0.86) 0%, rgba(6, 15, 17, 0.58) 42%, rgba(6, 15, 17, 0.22) 100%),
    linear-gradient(180deg, rgba(6, 15, 17, 0.2) 55%, rgba(247, 249, 248, 0.98) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #65d7cc;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(58px, 9vw, 120px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 800;
}

.button.primary {
  color: #071415;
  background: #8ee3da;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-status {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 72px);
  bottom: 28px;
  display: flex;
  max-width: min(720px, calc(100% - 40px));
  flex-wrap: wrap;
  gap: 10px;
}

.hero-status span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(10, 18, 19, 0.46);
  font-size: 13px;
  font-weight: 700;
}

.section,
.section-band {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section {
  background: var(--paper);
}

.section-band {
  background: var(--white);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid,
.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.intro p,
.platform p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

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

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

.service-card {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 32, 36, 0.03);
}

.service-card p,
.timeline p {
  color: var(--muted);
}

.icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #dff4f0;
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.platform {
  background: var(--graphite);
  color: var(--white);
}

.platform p {
  color: rgba(255, 255, 255, 0.72);
}

.signal-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.signal-panel div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 84px;
  padding: 20px 24px;
}

.signal-panel div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-panel strong {
  color: var(--amber);
  font-size: 22px;
}

.signal-panel span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  border-top: 2px solid var(--teal);
  padding: 30px 22px 0 0;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal-dark);
  font-weight: 900;
}

.contact {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background: #ecebea;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.contact-info,
.contact-form {
  display: grid;
  gap: 24px;
}

.form-status {
  margin: -12px 0 0;
  border-left: 4px solid var(--teal-dark);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.form-status[hidden] {
  display: none;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.2;
}

.office-detail {
  display: grid;
  gap: 12px;
  border-top: 1px solid #777;
  padding-top: 28px;
}

.office-detail strong {
  font-size: 18px;
}

.office-detail p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.contact-map {
  width: 100%;
  height: 324px;
  margin-top: 10px;
  border: 0;
  background: #d9ddde;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form label span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 15px 18px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  outline: none;
}

.contact-form input {
  min-height: 52px;
}

.contact-form textarea {
  min-height: 182px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3a6;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal-dark);
}

.form-submit {
  justify-self: start;
  min-height: 54px;
  margin-top: 22px;
  border: 1px solid #7a8082;
  border-radius: 999px;
  padding: 12px 28px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-submit:hover {
  border-color: var(--teal-dark);
  color: var(--white);
  background: var(--teal-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: #101719;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    padding-top: 14px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 116px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 15, 17, 0.88), rgba(6, 15, 17, 0.52)),
      linear-gradient(180deg, rgba(6, 15, 17, 0.06) 55%, rgba(247, 249, 248, 0.98) 100%);
  }

  .hero-status {
    left: 20px;
    right: 20px;
  }

  .intro-grid,
  .platform-grid,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .timeline {
    gap: 28px;
  }

  .timeline li {
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 62px;
    height: 42px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    min-height: 94vh;
    padding-bottom: 118px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .signal-panel div {
    grid-template-columns: 52px 1fr;
    padding: 18px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }
}
