﻿:root {
  --navy-950: #07111f;
  --navy-900: #0a1930;
  --blue-800: #064baf;
  --blue-600: #0878e6;
  --cyan-400: #20d6ff;
  --green-400: #37e7a0;
  --amber-400: #f5b64b;
  --ink: #142033;
  --muted: #627083;
  --line: #dbe6f1;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --glass: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 70px rgba(4, 21, 47, 0.2);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(7, 17, 31, 0.88);
  border-bottom: 1px solid rgba(32, 214, 255, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  width: 86px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(8, 120, 230, 0.22));
}

.brand-text {
  display: grid;
  gap: 1px;
  color: #fff;
  line-height: 1.18;
  white-space: nowrap;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 900;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan-400), var(--green-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 10px 16px;
  color: #07111f;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan-400), var(--green-400));
  box-shadow: 0 12px 30px rgba(32, 214, 255, 0.2);
}

.site-nav .nav-cta::after {
  display: none;
}

.member-menu {
  position: relative;
}

.member-menu-trigger {
  min-height: 42px;
  padding: 9px 14px;
  color: #07111f;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan-400), var(--green-400));
  box-shadow: 0 12px 30px rgba(32, 214, 255, 0.2);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.member-menu-trigger::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 10px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.member-menu.is-open .member-menu-trigger::after {
  transform: translateY(4px) rotate(225deg);
}

.member-menu-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 7px;
  border: 1px solid rgba(32, 214, 255, 0.24);
  border-radius: 10px;
  background: #07111f;
  box-shadow: var(--shadow);
}

.member-menu-panel[hidden] {
  display: none;
}

.site-nav .member-menu-panel a,
.member-menu-panel button {
  display: block;
  width: 100%;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.site-nav .member-menu-panel a:hover,
.member-menu-panel button:hover {
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan-400), var(--green-400));
}

.site-nav .member-menu-panel a::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.tech-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 28%, rgba(32, 214, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0b2146 56%, #042e70 100%);
}

.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  align-items: center;
  justify-content: start;
  min-height: calc(100vh - 124px);
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.scan-grid {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(32, 214, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 214, 255, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 78%);
}


.top-market-ticker {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(32, 214, 255, 0.14);
  background: #07111f;
}

.ticker-label {
  margin-right: 14px;
  color: var(--cyan-400);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.tradingview-widget-container {
  position: relative;
  min-width: 0;
  height: 42px;
  overflow: hidden;
}

.tradingview-widget-container::after {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 38px;
  height: 42px;
  content: "";
  pointer-events: none;
  background: #07111f;
}

.tradingview-widget-container__widget {
  height: 42px;
}

.tradingview-widget-copyright {
  display: none !important;
}

.tech-hero::after,
.page-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -1px;
  left: -8vw;
  height: 140px;
  content: "";
  background: linear-gradient(90deg, rgba(32, 214, 255, 0.2), rgba(55, 231, 160, 0.14), rgba(245, 182, 75, 0.12));
  clip-path: polygon(0 46%, 30% 10%, 62% 52%, 100% 18%, 100% 100%, 0 100%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan-400);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tech-hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy,
.page-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan-400), var(--green-400));
  box-shadow: 0 16px 34px rgba(32, 214, 255, 0.22);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-strip h2,
.contact-page h2,
.form-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  background: var(--paper);
}

.intro p:last-child {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.services {
  color: #fff;
  background:
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(32, 214, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.service-card h3,
.timeline h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.service-card p {
  color: rgba(255, 255, 255, 0.68);
}

.solutions {
  background: var(--soft);
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.data-panel {
  padding: 18px;
  border: 1px solid rgba(8, 120, 230, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(12, 40, 78, 0.1);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row b {
  color: var(--blue-600);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 18px 20px 18px 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 16px;
  height: 16px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--green-400));
}

.process {
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline div {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-600);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(19, 42, 74, 0.07);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  color: #07111f;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--green-400));
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
}

.testing {
  color: #fff;
  background: linear-gradient(135deg, #07111f, #0a2d62);
}

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

.testing-grid article,
.testing-link {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(32, 214, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.testing-link {
  display: block;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.testing-link:hover {
  border-color: var(--cyan-400);
  background: rgba(32, 214, 255, 0.12);
  transform: translateY(-3px);
}

.testing-grid h3,
.testing-link h3 {
  margin: 0;
  font-size: 22px;
}

.testing-grid p,
.testing-link p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.testing-link span {
  display: block;
  margin-top: 24px;
  color: var(--green-400);
  font-size: 14px;
  font-weight: 900;
}

.testing-center-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: auto;
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(38px, 5vw, 68px);
}

.hero-top-three {
  position: relative;
  z-index: 2;
  padding: 20px;
  border: 1px solid rgba(32, 214, 255, 0.28);
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.68);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.hero-top-three-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.hero-top-three-head span {
  color: var(--cyan-400);
  font-size: 11px;
  font-weight: 900;
}

.hero-top-three-head h2 {
  margin: 2px 0 0;
  font-size: 22px;
}

.hero-top-three-head a {
  color: var(--green-400);
  font-size: 12px;
  font-weight: 900;
}

.hero-top-three ol {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-top-three li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-top-three li > b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #07111f;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--green-400));
}

.hero-top-three li:nth-child(1) > b { background: var(--amber-400); }
.hero-top-three li span { display: grid; min-width: 0; }
.hero-top-three li strong { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.hero-top-three li small { color: rgba(255, 255, 255, 0.58); font-size: 10px; }
.hero-top-three li em { color: var(--green-400); font-size: 15px; font-style: normal; font-weight: 900; }
.hero-top-three .top-three-loading { display: block; color: rgba(255, 255, 255, 0.65); text-align: center; }

.test-center {
  padding: clamp(54px, 7vw, 90px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 92% 12%, rgba(32, 214, 255, 0.1), transparent 28%),
    var(--soft);
}

.test-center-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 30px;
}

.test-center-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 46px);
}

.test-center-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.test-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.test-option {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(4, 21, 47, 0.08);
}

.test-option.featured {
  border-color: rgba(8, 120, 230, 0.38);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.test-option.featured:hover {
  border-color: var(--cyan-400);
  box-shadow: 0 24px 55px rgba(8, 120, 230, 0.16);
  transform: translateY(-5px);
}

.test-option-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #07111f, #0a2d62);
}

.test-option-art::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(32, 214, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 214, 255, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
}

.coin-art span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 66px;
  height: 78px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  background: linear-gradient(145deg, #0878e6, #064baf);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  font-size: 30px;
  font-weight: 900;
  transform: rotate(-6deg);
}

.coin-art span:nth-child(2) {
  color: #07111f;
  background: linear-gradient(145deg, var(--cyan-400), var(--green-400));
  transform: translateY(-10px);
}

.coin-art span:nth-child(3) {
  transform: rotate(6deg);
}

.pro-art {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  grid-template-rows: repeat(3, 44px);
  gap: 8px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(32, 214, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #07111f, #092a5d 58%, #120f35);
}

.pro-art::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(32, 214, 255, 0.24);
  border-radius: 18px;
  box-shadow: inset 0 0 28px rgba(32, 214, 255, 0.12);
}

.pro-chip {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 23px;
  font-style: normal;
  font-weight: 900;
}

.pro-chip.coin {
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.16), 0 10px 20px rgba(0, 0, 0, 0.22);
}

.pro-chip.btc { background: linear-gradient(145deg, #ffb13f, #f28a12); }
.pro-chip.eth { background: linear-gradient(145deg, #7e8bff, #4a5fd6); }
.pro-chip.usdt { background: linear-gradient(145deg, #3ce0b6, #13a984); }

.pro-chip.blocker {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.24) 0 5px, transparent 5px 10px),
    linear-gradient(145deg, #9aa6bb, #56617a);
}

.pro-chip.blocker::before {
  width: 18px;
  height: 18px;
  content: "";
  border-radius: 5px;
  background: #202943;
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.18);
}

.pro-badge,
.pro-combo {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
}

.pro-badge {
  top: 18px;
  left: 20px;
  padding: 6px 10px;
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan-400), var(--green-400));
  box-shadow: 0 8px 20px rgba(32, 214, 255, 0.2);
}

.pro-combo {
  right: 22px;
  bottom: 18px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(255, 122, 168, 0.92);
  font-size: 10px;
}

.pro-link {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 252px;
  height: 148px;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(67, 217, 163, .6));
  transform: translate(-50%, -50%);
}

.pro-link polyline {
  fill: none;
  stroke: var(--green-400);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pro-link circle {
  fill: var(--green-400);
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 2;
}

.speed-art span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--green-400);
  background: rgba(255, 255, 255, 0.08);
  font-size: 44px;
  font-weight: 900;
}

.path-art span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  color: #7b4d00;
  background: var(--amber-400);
  font-size: 30px;
  font-weight: 900;
}

.path-art i {
  z-index: 1;
  width: 58px;
  height: 34px;
  border-top: 4px solid var(--green-400);
  border-right: 4px solid var(--green-400);
}

.grid-art {
  display: grid;
  grid-template-columns: repeat(2, 48px);
  align-content: center;
}

.grid-art span {
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.digital-war-art img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.digital-war-art::after {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 35%;
  content: "";
  background: linear-gradient(transparent, rgba(3, 15, 31, 0.68));
}

.test-option-content {
  padding: 24px;
}

.test-status {
  display: none;
  padding: 4px 9px;
  color: var(--muted);
  border-radius: 99px;
  background: var(--soft);
  font-size: 11px;
  font-weight: 900;
}

.test-status.available {
  color: #075c3d;
  background: rgba(55, 231, 160, 0.2);
}

.test-option h3 {
  margin: 14px 0 8px;
  font-size: 23px;
}

.test-option p {
  min-height: 82px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.test-option strong {
  display: block;
  margin-top: 20px;
  color: var(--blue-600);
  font-size: 14px;
}

.coming-soon {
  opacity: 0.7;
}

.coming-soon strong {
  color: var(--muted);
}

.leaderboard-link {
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 900;
}

.leaderboard-page {
  min-height: calc(100vh - 78px);
  padding: clamp(42px, 7vw, 82px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 88% 10%, rgba(32, 214, 255, 0.12), transparent 26%),
    var(--soft);
}

.leaderboard-head,
.leaderboard-card {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.leaderboard-head h1 {
  margin: 5px 0 8px;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.1;
}

.leaderboard-head > p:last-of-type {
  color: var(--muted);
}

.leaderboard-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0;
}

.leaderboard-filters label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.leaderboard-filters select {
  min-width: 190px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.leaderboard-card {
  padding: clamp(14px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(4, 21, 47, 0.1);
}

.leaderboard-table-wrap {
  overflow-x: auto;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.leaderboard-table th {
  color: var(--muted);
  background: var(--soft);
  font-size: 11px;
}

.leaderboard-table tbody tr:last-child td {
  border-bottom: 0;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #07111f;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--green-400));
}

.difficulty-badge {
  display: inline-flex;
  padding: 4px 9px;
  color: var(--blue-800);
  border-radius: 99px;
  background: rgba(8, 120, 230, 0.1);
  font-size: 11px;
  font-weight: 900;
}

.leaderboard-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
}

.leaderboard-admin {
  max-width: 1180px;
  padding: 22px;
  margin: 0 auto 24px;
  border: 1px solid rgba(8, 120, 230, 0.22);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(4, 21, 47, 0.08);
}

.leaderboard-admin-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.leaderboard-admin-head h2 { margin: 0; }
.leaderboard-admin-fields { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)) auto; gap: 10px; align-items: end; }
.leaderboard-admin-fields label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 900; }
.leaderboard-admin-fields select, .leaderboard-admin-fields input { min-height: 44px; }
.rank-edit, .rank-delete { padding: 7px 9px; border: 0; border-radius: 6px; font-weight: 900; cursor: pointer; }
.rank-edit { color: #fff; background: var(--blue-600); }
.rank-delete { margin-left: 5px; color: #fff; background: #b42318; }

.network-hero {
  min-height: 390px;
}

.network-center {
  padding: clamp(54px, 7vw, 90px) clamp(20px, 5vw, 72px);
  background: var(--soft);
}

.network-tool,
.network-reserved {
  max-width: 1180px;
  margin: 0 auto;
}

.network-tool {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(8, 120, 230, 0.2);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.network-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.network-tool-head h2 {
  margin: 5px 0;
  font-size: clamp(28px, 4vw, 42px);
}

.network-tool-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.network-tool-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.bing-speed-link {
  color: var(--blue-800);
  border: 1px solid rgba(8, 120, 230, 0.24);
  background: #fff;
}

.network-run:disabled {
  cursor: wait;
  opacity: 0.7;
}

.network-progress {
  height: 7px;
  margin: 28px 0;
  overflow: hidden;
  border-radius: 99px;
  background: var(--soft);
}

.network-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400), var(--green-400));
  transition: width 280ms ease;
}

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

.speed-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.speed-summary div {
  display: grid;
  gap: 3px;
  padding: 20px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-800));
  text-align: center;
}

.speed-summary small {
  color: var(--cyan-400);
  font-size: 12px;
  font-weight: 900;
}

.speed-summary strong {
  font-size: clamp(18px, 3vw, 28px);
}

.speed-summary b {
  font: inherit;
}

.network-results article {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.network-result-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 7px;
  color: #fff;
  border-radius: 8px;
  background: var(--blue-600);
  font-weight: 900;
}

.network-results small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.network-results strong {
  font-size: 18px;
}

.network-results .network-ip {
  display: grid;
  gap: 3px;
  font-size: 12px;
}

.network-ip b {
  color: var(--ink);
  font: inherit;
  word-break: break-all;
}

.network-results .result-good {
  color: #07845b;
}

.network-results .result-bad {
  color: #c63c52;
}

.network-message {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.network-shortcut {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.speed-history {
  max-width: 1180px;
  margin: 70px auto 0;
}

.speed-history .test-center-heading button {
  padding: 8px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.speed-history-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.speed-history table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.speed-history th,
.speed-history td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.speed-history th {
  color: var(--muted);
  background: var(--soft);
  font-size: 11px;
}

.speed-history tbody tr:last-child td {
  border-bottom: 0;
}

.network-reserved {
  margin-top: 70px;
}

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

.network-option {
  display: block;
  min-height: 230px;
  padding: 25px;
  border: 1px dashed #b9c9d9;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
}

.external-network-option {
  border-style: solid;
  border-color: rgba(8, 120, 230, 0.26);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.external-network-option:hover {
  border-color: var(--cyan-400);
  box-shadow: 0 18px 38px rgba(8, 120, 230, 0.12);
  transform: translateY(-4px);
}

.network-option > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--cyan-400);
  border-radius: 10px;
  background: var(--navy-900);
  font-size: 24px;
  font-weight: 900;
}

.network-option small {
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 900;
}

.network-option h3 {
  margin: 8px 0;
  font-size: 21px;
}

.network-option p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, #08275b, #07111f);
}

.page-hero {
  min-height: 360px;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 74px);
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(50px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background: var(--soft);
}

.contact-aside,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(12, 40, 78, 0.1);
}

.contact-aside {
  align-self: start;
  padding: clamp(24px, 4vw, 38px);
}

.contact-aside .qr-panel:only-child {
  margin-top: 0;
}

.contact-info {
  display: grid;
  gap: 12px;
}

.contact-info a,
.contact-info p {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-info.light {
  margin-top: 24px;
}

.contact-info.light a,
.contact-info.light p {
  color: var(--ink);
  border-bottom-color: var(--line);
  font-size: 18px;
}

.contact-info span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 900;
}

.contact-info.light span {
  color: var(--blue-600);
}

.qr-panel {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(8, 120, 230, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eef8ff);
}

.qr-panel img {
  width: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-panel h3 {
  margin: 0;
  font-size: 22px;
}

.qr-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-form {
  padding: clamp(24px, 4vw, 42px);
}

.form-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.form-grid label,
.agree {
  display: grid;
  gap: 8px;
  color: #263347;
  font-weight: 900;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #cfdce9;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(8, 120, 230, 0.12);
}

.agree {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 700;
}

.agree input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.form-actions .secondary {
  color: var(--blue-800);
  border-color: rgba(8, 120, 230, 0.24);
  background: #fff;
}

.form-status {
  min-height: 28px;
  margin: 16px 0 0;
  color: var(--blue-800);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 78px;
}

.footer-brand span {
  display: grid;
  line-height: 1.2;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.footer-brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .tech-hero,
  .contact-page,
  .intro,
  .solution-layout,
  .testing-center-hero {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .testing-grid,
  .timeline,
  .test-option-grid,
  .network-results,
  .network-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 84px;
    height: 52px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(32, 214, 255, 0.18);
    border-radius: 8px;
    background: #07111f;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    padding: 13px 12px;
    color: #fff;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a::after {
    display: none;
  }

  .member-menu {
    display: grid;
  }

  .member-menu-trigger {
    width: 100%;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    text-align: left;
  }

  .member-menu-panel {
    position: static;
    min-width: 0;
    margin-top: 4px;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .tech-hero {
    min-height: auto;
    padding-top: 42px;
  }

  .testing-center-hero {
    gap: 22px;
    padding: 24px 20px 34px;
  }

  .testing-center-hero .page-hero-content .eyebrow {
    margin-bottom: 5px;
  }

  .testing-center-hero .page-hero-content h1 {
    font-size: 42px;
  }

  .testing-center-hero .page-hero-content > p {
    margin-top: 12px;
    font-size: 16px;
  }

  .testing-center-hero .hero-top-three {
    padding: 14px;
  }

  .testing-center-hero .hero-top-three-head {
    margin-bottom: 9px;
  }

  .testing-center-hero .hero-top-three li {
    padding: 8px;
  }

  .testing-center-hero .hero-top-three li > b {
    width: 28px;
    height: 28px;
  }

  .test-center {
    padding: 34px 20px 54px;
  }

  .test-center-heading {
    gap: 10px;
    margin-bottom: 18px;
  }


  .service-grid,
  .testing-grid,
  .timeline,
  .form-grid,
  .test-option-grid,
  .speed-summary,
  .network-results,
  .network-option-grid {
    grid-template-columns: 1fr;
  }

  .network-tool-head {
    align-items: stretch;
    flex-direction: column;
  }

  .network-tool-actions {
    flex-direction: column;
  }

  .network-run {
    width: 100%;
  }

  .bing-speed-link {
    width: 100%;
    text-align: center;
  }

  .test-center-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .leaderboard-filters {
    display: grid;
  }

  .leaderboard-filters select {
    width: 100%;
  }

  .leaderboard-admin-head { align-items: stretch; flex-direction: column; }
  .leaderboard-admin-fields { grid-template-columns: 1fr; }

  .test-option p {
    min-height: auto;
  }

  .service-card,
  .timeline div {
    min-height: auto;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-info a,
  .contact-info p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .qr-panel {
    grid-template-columns: 1fr;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 68px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .brand-text small {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
