*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #061820;
  color: #e6f7f4;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: min(1180px, 100% - 40px);
  margin: auto;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 24, 32, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 122px;
  height: auto;
}

.links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
  font-size: 14px;
}

.links a:hover,
.links a.active {
  color: #5eead4;
}

.menu {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.links.open {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 700;
  background: linear-gradient(135deg, #14b8a6, #0284c7);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.28);
  color: #fff;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Hero */
.hero-custom {
  position: relative;
  padding: 88px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 12% -10%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(620px 320px at 90% 0%, rgba(2, 132, 199, 0.16), transparent 55%),
    #061820;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: #7dd3c7;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #2dd4bf;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.eyebrow.gold {
  color: #fbbf24;
}

.hero-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  color: #9fb8b3;
  font-size: 16px;
  max-width: 540px;
}

.dash-board {
  background: linear-gradient(145deg, rgba(10, 40, 44, 0.95), rgba(6, 24, 32, 0.95));
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(45, 212, 191, 0.12);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.dash-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}

.icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #14b8a6, #0284c7);
  display: inline-grid;
  place-items: center;
  font-size: 14px;
}

.dash-live {
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
}

.dash-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.node-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}

.node-name {
  font-weight: 700;
  font-size: 14px;
}

.node-ping {
  color: #34d399;
  font-size: 13px;
  font-weight: 700;
}

.node-sub {
  font-size: 12px;
  color: #8aa8a2;
}

.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.metric-box {
  background: #07242a;
  border-radius: 10px;
  padding: 14px;
}

.metric-lbl {
  font-size: 12px;
  color: #8aa8a2;
  margin-bottom: 6px;
}

.metric-val {
  font-size: 18px;
  font-weight: 800;
}

.dash-btn-row {
  display: flex;
}

.dash-action {
  flex: 1;
  background: linear-gradient(135deg, #14b8a6, #0284c7);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Stats */
.stats-band {
  background: #0a2a30;
  border-block: 1px solid rgba(20, 184, 166, 0.18);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #5eead4;
  margin-bottom: 6px;
}

.stat-item span {
  font-size: 13px;
  color: #9fb8b3;
}

/* Sections */
.section {
  padding: 92px 0;
}

.section.alt {
  background: #0a2a30;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: #9fb8b3;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #0d3036;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 10px;
  padding: 28px;
  transition: 0.25s;
  min-width: 0;
  overflow-wrap: anywhere;
}

.card:hover {
  border-color: rgba(45, 212, 191, 0.4);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #14b8a6, #0284c7);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: #fff;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.card p {
  margin: 0;
  color: #9fb8b3;
  font-size: 14px;
}

/* Platforms */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.plat-card {
  background: #0d3036;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 8px;
  padding: 22px 16px;
  text-align: center;
  transition: 0.2s;
  display: block;
}

.plat-card:hover {
  border-color: #2dd4bf;
  transform: translateY(-2px);
}

.plat-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: #5eead4;
  display: grid;
  place-items: center;
}

.plat-icon svg {
  width: 22px;
  height: 22px;
}

.plat-name {
  font-weight: 800;
  margin-bottom: 4px;
}

.plat-desc {
  font-size: 12px;
  color: #8aa8a2;
}

/* FAQ */
.faq {
  max-width: 850px;
  margin: auto;
}

.faq details {
  background: #0d3036;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 10px;
  padding: 4px 18px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0 0 16px;
  color: #9fb8b3;
  font-size: 14.5px;
}

/* CTA band */
.band {
  padding: 56px 0;
  background:
    linear-gradient(120deg, rgba(6, 24, 32, 0.82), rgba(2, 132, 199, 0.35)),
    linear-gradient(135deg, #0a2a30, #0c4a6e);
  position: relative;
}

.band-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.band-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.band-inner p {
  margin: 0;
  color: #c7e8e2;
}

/* Footer */
.footer {
  padding: 58px 0 28px;
  background: #031016;
  border-top: 1px solid rgba(20, 184, 166, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 14px;
}

.footer-slogan {
  font-weight: 700;
  margin: 0 0 10px;
}

.footer p {
  color: #8aa8a2;
  font-size: 14px;
  margin: 0 0 8px;
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h4 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
}

.footer-col a {
  color: #8aa8a2;
  font-size: 14px;
}

.footer-col a:hover {
  color: #5eead4;
}

.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6b8580;
}

/* Download page */
.page-hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(600px 280px at 20% -20%, rgba(20, 184, 166, 0.2), transparent 60%),
    #061820;
  text-align: center;
}

.page-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}

.page-hero .lead {
  margin: 0 auto 22px;
  max-width: 640px;
}

.dl-block {
  scroll-margin-top: 90px;
}

.dl-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  background: #0d3036;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 16px;
}

.dl-row h3 {
  margin: 0 0 8px;
}

.dl-row p {
  margin: 0;
  color: #9fb8b3;
  font-size: 14px;
}

.meta {
  font-size: 13px;
  color: #7dd3c7;
  margin-top: 8px !important;
}

/* Responsive */
@media (max-width: 800px) {
  .menu {
    display: block;
  }

  .links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #061820;
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
    flex-direction: column;
    padding: 16px 20px 20px;
    gap: 14px;
  }

  .links.open {
    display: flex;
  }

  .hero-grid,
  .stats-grid,
  .grid,
  .grid-3,
  .platform-grid,
  .footer-grid,
  .band-inner,
  .dl-row,
  .dash-metrics {
    grid-template-columns: 1fr;
  }

  .band-inner {
    display: grid;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-custom,
  .section {
    padding: 56px 0;
  }

  .actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card,
  .plat-card {
    transition: none;
  }
}
