:root {
  --bg: #f4f6f8;
  --ink: #121820;
  --muted: #5a6573;
  --line: #d7dde6;
  --surface: #ffffff;
  --deep: #0b1c2c;
  --deep-2: #123048;
  --accent: #1a6bb5;
  --accent-2: #0e8f6d;
  --accent-soft: #e8f1fa;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans TC", sans-serif;
  --display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Serif SC", "Noto Serif TC", "Songti SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.65;
  background: var(--bg);
  min-height: 100vh;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1.1rem, 4vw, 3rem);
  background: rgba(11, 28, 44, 0.92);
  backdrop-filter: blur(10px);
  color: #e8eef6;
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
}
.brand img {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
}
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.brand-text small {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(232, 238, 246, 0.65);
  font-weight: 500;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}
nav a {
  color: rgba(232, 238, 246, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
nav a:hover { color: #fff; }

.lang {
  display: inline-flex;
  border: 1px solid rgba(232, 238, 246, 0.28);
  border-radius: 2px;
  overflow: hidden;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(232, 238, 246, 0.75);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.32rem 0.5rem;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  background: #fff;
  color: var(--deep);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.9rem;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 2px;
}
.btn-nav:hover { filter: brightness(1.08); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  color: #eef3f8;
  background:
    linear-gradient(105deg, rgba(11, 28, 44, 0.88) 0%, rgba(11, 28, 44, 0.55) 48%, rgba(18, 48, 72, 0.35) 100%),
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(26, 107, 181, 0.35), transparent 55%),
    linear-gradient(160deg, #0b1c2c 0%, #123048 50%, #0a1622 100%);
  padding: clamp(3.2rem, 7vw, 5.5rem) clamp(1.1rem, 4vw, 3rem) clamp(4rem, 9vw, 6.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
  pointer-events: none;
  animation: griddrift 18s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -12rem;
  bottom: -18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 143, 109, 0.22), transparent 65%);
  pointer-events: none;
  animation: glow 10s ease-in-out infinite alternate;
}

@keyframes griddrift {
  from { transform: translateY(0); }
  to { transform: translateY(64px); }
}
@keyframes glow {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  to { transform: translate3d(-4%, -3%, 0) scale(1.08); opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.88);
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: #fff;
  max-width: 16em;
}

.tagline {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(232, 238, 246, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.25rem;
  background: #fff;
  color: var(--deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 2px;
}
.btn:hover { background: #e8eef6; color: var(--deep); }
.btn:visited { color: var(--deep); }
.btn.primary,
.btn.primary:visited {
  background: var(--accent);
  color: #fff;
}
.btn.primary:hover { filter: brightness(1.08); background: var(--accent); color: #fff; }
.btn.ghost,
.btn.ghost:visited {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn.dark,
.btn.dark:visited {
  background: var(--deep);
  color: #fff;
}
.btn.dark:hover { background: var(--deep-2); color: #fff; }

.text-link,
.text-link:visited {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}
.text-link:hover { color: #fff; border-bottom-color: #fff; }

/* Hero CTAs must stay readable on dark background */
.hero .btn.ghost,
.hero .btn.ghost:visited,
.hero .btn.ghost:hover,
.hero .text-link,
.hero .text-link:visited,
.hero .text-link:hover {
  color: #fff;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 68rem;
  margin: -2.2rem auto 0;
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line);
}
.trust article {
  padding: 1.35rem 1.1rem;
  border-right: 1px solid var(--line);
  text-align: center;
}
.trust article:last-child { border-right: 0; }
.trust strong {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.trust span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.block {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 3rem);
}
.block.tint {
  background: var(--surface);
  border-block: 1px solid var(--line);
  max-width: none;
  padding-inline: max(clamp(1.1rem, 4vw, 3rem), calc((100% - 68rem) / 2 + clamp(1.1rem, 4vw, 3rem)));
}
.block.deep {
  background: var(--deep);
  color: #e8eef6;
  max-width: none;
  padding-inline: max(clamp(1.1rem, 4vw, 3rem), calc((100% - 68rem) / 2 + clamp(1.1rem, 4vw, 3rem)));
}
.block.deep .block-head p,
.block.deep .support-grid p { color: rgba(232, 238, 246, 0.75); }
.block.deep h2,
.block.deep h3 { color: #fff; }

.block-head {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}
.block-head .kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.block.deep .block-head .kicker { color: #7eb7ea; }

h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.block-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product-grid a {
  display: block;
  background: var(--surface);
  padding: 1.45rem 1.2rem 1.55rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}
.product-grid a:hover {
  background: var(--accent-soft);
}
.product-grid .idx {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.product-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--deep);
}
.product-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.solution-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 54rem;
}
.solution-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.solution-list li:last-child { border-bottom: 1px solid var(--line); }
.solution-list strong {
  color: var(--ink);
  font-weight: 700;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.support-grid article {
  border-top: 2px solid rgba(255,255,255,0.28);
  padding-top: 1rem;
}
.support-grid h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}
.support-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.facts {
  width: 100%;
  max-width: 42rem;
  border-collapse: collapse;
}
.facts th,
.facts td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 0.8rem 0.85rem 0;
  border-top: 1px solid var(--line);
}
.facts th {
  width: 7.5rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}
.facts td { font-weight: 650; }

.section-cta { margin: 1.75rem 0 0; }

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 68rem;
}

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 2px;
  box-shadow: none;
}
.float-cta:hover { filter: brightness(1.08); }

footer {
  background: #08141f;
  color: rgba(232, 238, 246, 0.68);
  padding: 1.35rem clamp(1.1rem, 4vw, 3rem);
  font-size: 0.88rem;
}
.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner span:first-child {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(232, 238, 246, 0.7);
  text-decoration: none;
}
.footer-links a:hover { color: #fff; }

@media (max-width: 980px) {
  .product-grid,
  .trust,
  .support-grid { grid-template-columns: 1fr 1fr; }
  .trust { margin-top: 0; border-left: 0; border-right: 0; }
  .trust article:nth-child(2) { border-right: 0; }
  .trust article:nth-child(1),
  .trust article:nth-child(2) { border-bottom: 1px solid var(--line); }
  .solution-list li { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (max-width: 720px) {
  nav { display: none; }
  .product-grid,
  .trust,
  .support-grid { grid-template-columns: 1fr; }
  .trust article { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust article:last-child { border-bottom: 0; }
  .hero { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
  }
}
