:root {
  --bg: #07040d;
  --panel: #120817;
  --panel-2: #1a0b22;
  --ink: #fff7fb;
  --muted: #c7a9c8;
  --soft: #8e6d92;
  --line: rgba(255, 255, 255, 0.14);
  --red: #ff284f;
  --red-2: #b31234;
  --purple: #8b4dff;
  --violet: #5b1b80;
  --cyan: #42f5d7;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(120, 43, 160, 0.26), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(255, 40, 79, 0.18), transparent 30%),
    linear-gradient(180deg, #07040d 0%, #0d0713 52%, #07040d 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(7, 4, 13, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 19px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #e8c9e9;
  font-size: 15px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.mobile-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.mobile-menu nav {
  position: absolute;
  left: 5vw;
  right: 5vw;
  top: calc(100% + 10px);
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(12, 6, 18, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-menu nav a {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 8px;
}

.mobile-menu nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a:hover,
.footer-links a:hover,
.article-grid a:hover {
  color: var(--cyan);
}

.header-action,
.button,
.item-actions a,
.article-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.header-action {
  min-width: 124px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--purple));
  box-shadow: 0 12px 28px rgba(255, 40, 79, 0.24);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 4, 13, 0.98) 0%, rgba(7, 4, 13, 0.82) 38%, rgba(7, 4, 13, 0.18) 76%),
    linear-gradient(180deg, rgba(7, 4, 13, 0.08) 58%, #07040d 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 100% 42px,
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 42px 100%;
  mask-image: linear-gradient(90deg, #000 0%, transparent 74%);
}

.hero-content {
  width: min(900px, 90vw);
  margin-left: 5vw;
  padding: 116px 0 120px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(29px, 4vw, 46px);
  line-height: 1.16;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.28;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 30px;
  color: #edd6ef;
  font-size: 20px;
}

.hero-actions,
.item-actions,
.footer-links,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-width: 160px;
  padding: 0 22px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--purple));
  box-shadow: 0 18px 42px rgba(255, 40, 79, 0.26);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 650px;
  margin: 42px 0 0;
}

.hero-metrics div {
  min-height: 84px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(18, 8, 23, 0.72);
  box-shadow: inset 0 0 24px rgba(255, 40, 79, 0.04);
}

.hero-metrics dt {
  color: var(--muted);
  font-size: 13px;
}

.hero-metrics dd {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 900;
}

.hero-terminal {
  position: absolute;
  right: 5vw;
  bottom: 56px;
  width: min(330px, 36vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(10, 5, 15, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-terminal span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.hero-terminal strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 17px;
}

.hero-terminal p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: 92px 5vw;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading.compact {
  max-width: 880px;
}

.signal-band,
.compare,
.updates,
.faq {
  background:
    radial-gradient(circle at 80% 10%, rgba(139, 77, 255, 0.14), transparent 28%),
    rgba(7, 4, 13, 0.82);
}

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

.signal-grid article,
.download-grid article,
.plan-copy article,
.compare-grid article,
.article-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.028)),
    rgba(18, 8, 23, 0.76);
}

.signal-grid article,
.download-grid article,
.compare-grid article,
.article-grid article {
  padding: 28px;
}

.signal-grid span,
.article-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(255, 40, 79, 0.22);
  border: 1px solid rgba(255, 40, 79, 0.38);
}

.signal-grid p,
.download-grid p,
.plan-copy p,
.compare-grid p,
.article-grid p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.download,
.articles,
.topics {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 40, 79, 0.14), transparent 26%),
    #0a0610;
}

.download-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.download-grid article {
  display: flex;
  flex-direction: column;
  min-height: 270px;
}

.download-grid p {
  flex: 1;
}

.item-actions a {
  min-width: 112px;
  padding: 0 14px;
  color: #fff;
  background: rgba(139, 77, 255, 0.18);
  border: 1px solid rgba(139, 77, 255, 0.34);
}

.item-actions a:hover {
  border-color: rgba(66, 245, 215, 0.66);
}

.plans {
  background:
    linear-gradient(135deg, rgba(255, 40, 79, 0.12), rgba(91, 27, 128, 0.22)),
    #09050e;
}

.plan-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: stretch;
}

.node-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 40, 79, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.radar {
  position: absolute;
  inset: 32px;
  display: grid;
  place-items: center;
  opacity: 0.82;
}

.radar::before,
.radar::after,
.radar span {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.radar::before {
  width: 92%;
  aspect-ratio: 1;
}

.radar::after {
  width: 64%;
  aspect-ratio: 1;
}

.radar span:nth-child(1) {
  width: 34%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 40, 79, 0.36), transparent 62%);
}

.radar span:nth-child(2) {
  width: 1px;
  height: 86%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent, rgba(66, 245, 215, 0.5), transparent);
}

.radar span:nth-child(3) {
  width: 86%;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 40, 79, 0.62), transparent);
}

.node-panel ul {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.node-panel li {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 0 10px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 4, 13, 0.56);
}

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

.plan-copy article {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
}

.plan-copy .featured {
  border-color: rgba(66, 245, 215, 0.34);
  box-shadow: 0 24px 70px rgba(66, 245, 215, 0.08);
}

.compare-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-grid article {
  min-height: 260px;
}

.update-list {
  display: grid;
  gap: 16px;
}

.update-item {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 40, 79, 0.08), rgba(139, 77, 255, 0.05)),
    rgba(18, 8, 23, 0.76);
}

.update-date {
  display: grid;
  align-content: start;
  gap: 10px;
}

.update-date time {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.update-date span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(66, 245, 215, 0.14);
  border: 1px solid rgba(66, 245, 215, 0.32);
}

.update-item h3,
.update-item h2 {
  margin-bottom: 8px;
}

.update-item h2 {
  font-size: 26px;
}

.update-item p,
.update-item li {
  color: var(--muted);
}

.update-item ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.section-actions {
  margin-top: 24px;
}

.article-page {
  background:
    radial-gradient(circle at 72% 0%, rgba(255, 40, 79, 0.18), transparent 30%),
    #08050d;
}

.article-main {
  width: min(900px, 90vw);
  margin: 0 auto;
  padding: 86px 0 98px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.article-meta span {
  padding: 6px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(255, 40, 79, 0.22);
  border: 1px solid rgba(255, 40, 79, 0.36);
}

.article-main h1 {
  max-width: 840px;
  font-size: clamp(34px, 5vw, 58px);
}

.article-summary {
  color: #ead1ec;
  font-size: 20px;
}

.article-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.article-details span {
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.article-body {
  margin-top: 42px;
  color: #e8d6ea;
  font-size: 18px;
}

.article-body h2 {
  margin-top: 42px;
  font-size: 30px;
}

.article-body p,
.article-body li {
  color: var(--muted);
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body li + li {
  margin-top: 8px;
}

.related-articles {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.related-articles h2 {
  font-size: 28px;
}

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

.related-grid a {
  display: grid;
  align-content: start;
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(18, 8, 23, 0.72);
}

.related-grid span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.related-grid strong {
  margin-top: 8px;
  color: #fff;
  line-height: 1.35;
}

.topic-page .article-grid {
  margin-top: 38px;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-cta a {
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--purple));
}

.article-cta a.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 22px 24px;
}

summary {
  cursor: pointer;
  color: #fff;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 5vw;
  color: rgba(255, 255, 255, 0.72);
  background: #050308;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
}

@media (max-width: 1100px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .main-nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-terminal {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(90vw, 520px);
    margin: -64px 0 72px 5vw;
  }

  .signal-grid,
  .download-grid,
  .plan-layout,
  .plan-copy,
  .compare-grid,
  .article-grid,
  .update-item,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .download-grid article,
  .plan-copy article {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    min-height: 76px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: 130px;
    white-space: nowrap;
  }

  .nav-wrap {
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content {
    padding: 72px 0 64px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 4, 13, 0.98) 0%, rgba(7, 4, 13, 0.86) 62%, rgba(7, 4, 13, 0.48) 100%),
      linear-gradient(180deg, rgba(7, 4, 13, 0.05) 58%, #07040d 100%);
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 30px;
  }

  .hero-metrics div {
    min-height: 68px;
    padding: 11px;
  }

  .hero-metrics dt {
    font-size: 12px;
  }

  .hero-metrics dd {
    font-size: 17px;
  }

  .node-panel ul {
    grid-template-columns: 1fr;
  }

  .hero-terminal {
    margin-top: -32px;
    margin-bottom: 56px;
  }

  .section {
    padding: 68px 5vw;
  }

  .site-footer {
    flex-direction: column;
  }
}
