/* Multi-page company website styles */
:root {
  --bg: #061024;
  --bg-2: #0a1730;
  --panel: #101f3b;
  --panel-2: #142642;
  --line: rgba(0, 212, 255, 0.16);
  --text: #edf6ff;
  --muted: #a8b8cf;
  --soft: #70819a;
  --brand: #00d4ff;
  --brand-2: #7a5cff;
  --grad: linear-gradient(135deg, #00d4ff, #7a5cff);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans TC", "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(0, 212, 255, 0.14), transparent 34rem),
    radial-gradient(circle at bottom left, rgba(122, 92, 255, 0.12), transparent 30rem),
    var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 16, 36, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.mark {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background: url("../img/logo.png") center / contain no-repeat;
  filter: drop-shadow(0 8px 18px rgba(0, 212, 255, 0.18));
}

.brand strong,
.brand span {
  display: block;
  line-height: 1.2;
}

.brand span {
  margin-top: 3px;
  color: var(--soft);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.brand .mark {
  margin-top: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
  background: rgba(0, 212, 255, 0.08);
}

.nav-links a.cta {
  color: #04162d;
  background: var(--grad);
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.22);
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(0, 212, 255, 0.07);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
}

.btn-primary {
  color: #04162d;
  background: var(--grad);
  box-shadow: 0 14px 34px rgba(0, 212, 255, 0.28);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.03);
}

.hero-card,
.feature-card,
.content-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(16, 31, 59, 0.96), rgba(20, 38, 66, 0.86));
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 34px;
}

.hero-card h3 {
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.stat-list {
  display: grid;
  gap: 12px;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.stat-list li:last-child {
  border-bottom: none;
}

.stat-list strong {
  color: var(--brand);
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--muted);
  font-size: 1.02rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  padding: 28px;
  transition: 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.42);
}

.feature-card .num {
  display: inline-block;
  margin-bottom: 18px;
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.feature-card p,
.feature-card li,
.content-panel p,
.content-panel li {
  color: var(--muted);
}

.feature-card ul,
.content-panel ul {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  list-style: none;
}

.feature-card li,
.content-panel li {
  position: relative;
  padding-left: 18px;
}

.feature-card li::before,
.content-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.content-panel {
  padding: 34px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.row {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.row:last-child {
  border-bottom: none;
}

.row strong {
  color: var(--text);
}

.row span {
  color: var(--muted);
}

.footer {
  margin-top: 72px;
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(3, 8, 20, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
  gap: 34px;
}

.footer h4 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
}

.footer p,
.footer a,
.footer span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a,
.footer span {
  padding: 4px 0;
}

.footer a:hover {
  color: var(--brand);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--soft);
  font-size: 0.82rem;
  text-align: center;
}

.contact-box {
  display: grid;
  gap: 14px;
}

.contact-box a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  background: rgba(6, 16, 36, 0.72);
  font: inherit;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding: 64px 0 42px;
  }

  .hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* ===== 圖片與產品卡片 ===== */
.img-card {
  background: linear-gradient(160deg, rgba(16, 31, 59, 0.96), rgba(20, 38, 66, 0.86));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.img-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.42);
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.15);
}

.img-card-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.img-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.img-card:hover .img-card-img img {
  transform: scale(1.05);
}

.img-card-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.img-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--text);
}

.img-card-content p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  flex: 1;
}

.img-card-content .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.img-card-content .tags span {
  font-size: 0.82rem;
  color: var(--brand);
  background: rgba(0, 212, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.02em;
}

/* ===== 文章內文排版 ===== */
.article {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

.article .article-meta {
  margin-bottom: 28px;
  color: var(--soft);
  font-size: 0.9rem;
}

.article h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.4;
  margin: 40px 0 14px;
}

.article p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.article .lead {
  color: var(--text);
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.article-back {
  display: inline-flex;
  margin-top: 16px;
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .brand span span {
    display: none;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .hero-card,
  .feature-card,
  .content-panel {
    padding: 24px;
  }
}
