:root {
  --bg: #f4f8fc;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-strong: #ffffff;
  --panel-border: rgba(16, 78, 140, 0.12);
  --line: rgba(24, 103, 181, 0.16);
  --text: #10233d;
  --muted: #5f7693;
  --primary: #1098d5;
  --primary-strong: #0a5f9d;
  --accent: #14b889;
  --shadow: 0 18px 44px rgba(20, 61, 103, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(16, 152, 213, 0.07), transparent 22%),
    radial-gradient(circle at top left, rgba(16, 152, 213, 0.09), transparent 30%),
    radial-gradient(circle at top right, rgba(20, 184, 137, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #eef5fb 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 78, 140, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 78, 140, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

body.suppliers-page {
  background:
    linear-gradient(180deg, #fbfdff 0%, #f7fbff 48%, #fdfefe 100%);
}

body.suppliers-page::before {
  opacity: 0.42;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 72%);
}

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

.container {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(16, 78, 140, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 152, 213, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(16, 152, 213, 0.1);
  color: var(--text);
}

.hero,
.page-hero {
  padding: 5.5rem 0 3rem;
}

.suppliers-page .page-hero {
  padding-bottom: 2rem;
}

.suppliers-page .page-hero .container {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3));
  border-radius: 28px;
}

.hero {
  padding-top: 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  min-height: 540px;
}

.hero-copy {
  max-width: 780px;
  padding-right: 0.5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(20, 184, 137, 0.2);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.hero-text,
.page-intro,
.feature-card p,
.metric-card p,
.prose-card p,
.supplier-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text,
.page-intro {
  max-width: 42rem;
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

.about-intro {
  max-width: 52rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 2% 6% 10%;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(16, 152, 213, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(239, 248, 255, 0.68));
  border: 1px solid rgba(16, 78, 140, 0.08);
  box-shadow: var(--shadow);
}

.hero-visual-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--panel-border);
  box-shadow: 0 16px 34px rgba(16, 78, 140, 0.09);
}

.visual-platform {
  inset: 10% 4% auto auto;
  width: 250px;
  height: 170px;
  border-radius: 32px;
  padding: 1rem;
}

.visual-platform-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.visual-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.visual-line {
  display: block;
  width: 70px;
  height: 10px;
  border-radius: 999px;
  background: rgba(16, 152, 213, 0.12);
}

.visual-platform-body {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 78px;
  margin-top: 1.6rem;
}

.visual-column {
  width: 38px;
  height: 72px;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, rgba(16, 152, 213, 0.18), rgba(16, 184, 137, 0.24));
}

.visual-column.short {
  height: 50px;
}

.visual-wave {
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 18px;
  border-top: 3px solid rgba(16, 152, 213, 0.32);
  border-radius: 999px;
}

.wave-one {
  bottom: 1.4rem;
}

.wave-two {
  bottom: 0.75rem;
  left: 2rem;
  right: 2rem;
  border-top-color: rgba(20, 184, 137, 0.28);
}

.visual-turbine {
  left: 8%;
  top: 22%;
  width: 180px;
  height: 240px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 247, 255, 0.95));
}

.turbine-head {
  position: absolute;
  left: 50%;
  top: 72px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 999px;
  background: var(--primary-strong);
}

.turbine-blade {
  position: absolute;
  left: 50%;
  top: 81px;
  width: 66px;
  height: 12px;
  margin-left: -6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 152, 213, 0.9), rgba(16, 184, 137, 0.5));
  transform-origin: 6px 6px;
}

.blade-a {
  transform: rotate(12deg);
}

.blade-b {
  transform: rotate(132deg);
}

.blade-c {
  transform: rotate(252deg);
}

.turbine-pole {
  position: absolute;
  left: 50%;
  top: 88px;
  bottom: 34px;
  width: 8px;
  margin-left: -4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16, 78, 140, 0.88), rgba(16, 152, 213, 0.34));
}

.visual-grid {
  right: 10%;
  bottom: 7%;
  width: 230px;
  height: 150px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 249, 255, 0.9));
}

.grid-node,
.grid-link {
  position: absolute;
}

.grid-node {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 7px rgba(16, 152, 213, 0.1);
}

.node-a { left: 28px; top: 34px; }
.node-b { left: 104px; top: 24px; }
.node-c { left: 162px; top: 68px; }
.node-d { left: 84px; top: 102px; }

.grid-link {
  height: 3px;
  background: rgba(16, 78, 140, 0.28);
  transform-origin: left center;
  border-radius: 999px;
}

.link-ab {
  left: 42px;
  top: 42px;
  width: 68px;
  transform: rotate(-8deg);
}

.link-bc {
  left: 118px;
  top: 36px;
  width: 58px;
  transform: rotate(36deg);
}

.link-cd {
  left: 95px;
  top: 95px;
  width: 78px;
  transform: rotate(-24deg);
}

.hero-visual-label {
  position: absolute;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(16, 78, 140, 0.34);
  text-transform: uppercase;
}

.label-one {
  left: 12%;
  bottom: 18%;
}

.label-two {
  right: 12%;
  top: 16%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 152, 213, 0.2);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.hero-card,
.feature-card,
.search-panel,
.supplier-card,
.prose-card,
.metric-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.4rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.92));
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.metric-card {
  padding: 1.25rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92));
}

.metric-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.4rem;
}

.metric-label {
  color: var(--primary-strong);
  font-size: 0.86rem;
}

.section {
  padding: 2rem 0 4rem;
}

.hero + .section {
  padding-top: 0;
}

.section-alt {
  padding-top: 0;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading-split {
  display: block;
}

.section-note {
  max-width: 720px;
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.stat-card {
  padding: 1.2rem 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-card strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.stat-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-heading-stats {
  margin-bottom: 1.75rem;
}

.feature-card,
.prose-card {
  padding: 1.5rem;
  border-radius: 24px;
}

.prose-card {
  line-height: 1.75;
}

.prose-card p {
  margin: 0.65rem 0 0;
}

.prose-card h2 + p,
.prose-card h3 + p {
  margin-top: 0.75rem;
}

.prose-card h2:not(:first-child),
.prose-card h3:not(:first-child) {
  margin-top: 2.8rem;
}

.prose-card h2,
.prose-card h3 {
  line-height: 1.25;
}

.prose-list {
  margin: 1rem 0 1.35rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.85;
}

.prose-list li + li {
  margin-top: 0.35rem;
}

.inline-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary-strong);
  font-weight: 700;
}

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.2rem;
  background: #0a66c2;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.mtic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.28rem;
  background: linear-gradient(135deg, #14b889, #1098d5);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.about-profile {
  display: block;
}

.about-profile-copy h2:first-of-type {
  margin-top: 3.2rem;
}

.about-prose {
  padding: 1.7rem;
}

.about-prose p {
  text-wrap: pretty;
}

.about-links {
  margin-top: 1.1rem;
}

.about-links p + p {
  margin-top: 0.55rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.page-shell {
  padding-bottom: 3rem;
}

.info-banner {
  margin-bottom: 1rem;
}

.info-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.info-banner a {
  color: var(--primary-strong);
  font-weight: 700;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.field span {
  font-weight: 600;
}

.field input,
.field select {
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.96);
  color: var(--text);
  outline: none;
}

.field input::placeholder {
  color: #89a1bc;
}

.field input:focus,
.field select:focus {
  border-color: rgba(16, 152, 213, 0.38);
  box-shadow: 0 0 0 4px rgba(16, 152, 213, 0.1);
}

.field select:disabled {
  color: #9aa9bd;
  background: rgba(240, 245, 251, 0.95);
  cursor: not-allowed;
}

.results-head {
  margin: 1.2rem 0;
  color: var(--muted);
}

.supplier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

.supplier-card {
  padding: 1.25rem;
  border-radius: 24px;
}

.supplier-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.supplier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
}

.supplier-company-type {
  flex: 0 0 auto;
  align-self: flex-start;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
}

.chip-primary {
  background: rgba(14, 44, 84, 0.11);
  color: #0e2c54;
}

.chip-secondary {
  background: rgba(16, 152, 213, 0.1);
  color: #0e79aa;
}

.chip-company {
  background: rgba(20, 184, 137, 0.11);
  color: #11795b;
}

.chip-company-local {
  background: rgba(20, 184, 137, 0.11);
  color: #11795b;
}

.chip-company-joint {
  background: rgba(20, 184, 137, 0.11);
  color: #11795b;
}

.chip-company-foreign {
  background: rgba(20, 184, 137, 0.11);
  color: #11795b;
}

.chip-company-default {
  background: rgba(20, 184, 137, 0.11);
  color: #11795b;
}

.supplier-name {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.supplier-description {
  text-align: justify;
  text-justify: inter-ideograph;
}

.supplier-meta {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.supplier-meta p {
  margin: 0;
  text-align: justify;
  text-justify: inter-ideograph;
}

.supplier-meta strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.supplier-website {
  color: var(--primary-strong);
}

.site-footer {
  border-top: 1px solid rgba(16, 78, 140, 0.08);
  padding: 1rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-block {
  max-width: 520px;
}

.footer-block-right {
  text-align: right;
}

.footer-title,
.footer-subtitle,
.footer-note,
.footer-link {
  margin: 0;
}

.footer-title {
  color: var(--text);
  font-weight: 800;
}

.footer-subtitle {
  margin-top: 0.25rem;
}

.footer-note {
  margin-top: 0.5rem;
  line-height: 1.7;
}

.footer-link {
  margin-top: 0.35rem;
}

.footer-link a {
  color: var(--primary-strong);
  font-weight: 700;
}

.footer-person-link {
  margin-left: 0.25rem;
  color: var(--text);
  font-weight: 800;
}

.footer-person-link .linkedin-icon {
  width: 1rem;
  height: 1rem;
  font-size: 0.62rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .stats-strip,
  .feature-grid,
  .supplier-grid,
  .search-panel,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .section-heading-split {
    display: block;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    min-height: 360px;
    margin-top: 1rem;
  }

  .footer-inner,
  .nav-bar {
      flex-direction: column;
      align-items: flex-start;
    }

  .footer-block-right {
    text-align: left;
  }
  }

@media (max-width: 640px) {
  .container {
    width: min(1200px, calc(100% - 2rem));
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-text span {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }

  h1 {
    font-size: 2.4rem;
  }

  .hero,
  .page-hero {
    padding-top: 4.5rem;
  }

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

  .visual-platform {
    width: 190px;
    height: 142px;
  }

  .visual-turbine {
    width: 132px;
    height: 188px;
  }

  .visual-grid {
    width: 170px;
    height: 124px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
