:root {
  --ng-primary: var(--wh-primary, #2AABEE);
  --ng-secondary: var(--wh-secondary, #00D2FF);
  --ng-bg: var(--wh-bg, #050a14);
  --ng-surface: var(--wh-surface, #0e1525);
  --ng-text: var(--wh-text, #ffffff);
  --ng-muted: var(--wh-muted, #94a3b8);
  --ng-on-primary: var(--on-primary, #ffffff);
  --ng-bg-deep: var(--wh-primary-deep, #02050c);
  --ng-bg-soft: var(--wh-primary-soft, #111d33);
  --ng-border: rgba(255, 255, 255, 0.1);
  --ng-border-strong: rgba(255, 255, 255, 0.2);
  --ng-shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.6);
  --ng-shadow-card: 0 16px 36px rgba(0, 0, 0, 0.4);
  --ng-radius-xl: 30px;
  --ng-radius-lg: 22px;
  --ng-radius-md: 14px;
  --ng-radius-pill: 999px;
  --ng-hero-grad-a: var(--ng-bg-soft);
  --ng-hero-grad-b: var(--ng-bg);
  --ng-hero-grad-c: var(--ng-bg-deep);
  --ng-footer-bg-top: var(--ng-bg-deep);
  --ng-footer-bg-bottom: var(--ng-bg);
  --ng-cta-grad-a: var(--ng-primary);
  --ng-cta-grad-b: var(--ng-secondary);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--ng-bg);
  color: var(--ng-text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  mask-image: radial-gradient(circle at 50% 10%, black 15%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 10%, black 15%, transparent 90%);
  z-index: -1;
  pointer-events: none;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ng-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.ng-kicker,
.ng-hero-tag,
.ng-footer-kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ng-muted);
}

.ng-page h1,
.ng-page h2,
.ng-page h3 {
  margin: 0;
  font-family: "Avenir Next", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: -0.02em;
}

.ng-page p {
  margin: 0;
}

.ng-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--ng-radius-pill);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease, filter 250ms ease;
}

.ng-btn:hover {
  transform: translateY(-2px);
}

.ng-btn-primary {
  background: linear-gradient(130deg, var(--ng-cta-grad-a), var(--ng-cta-grad-b));
  color: var(--ng-on-primary);
  border: 1px solid transparent;
  box-shadow: 0 12px 24px rgba(42, 171, 238, 0.25);
}

.ng-btn-primary:hover {
  box-shadow: 0 16px 32px rgba(42, 171, 238, 0.45);
  filter: brightness(1.1);
}

.ng-btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--ng-border);
  color: var(--ng-text);
}

.ng-btn-ghost:hover {
  border-color: var(--ng-border-strong);
}

.ng-inline-link {
  color: var(--ng-primary);
  font-weight: 700;
}

.ng-inline-link:hover {
  text-decoration: underline;
}

.ng-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(5, 10, 20, 0.85);
  border-bottom: 1px solid var(--ng-border);
}

.ng-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.ng-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ng-brand img {
  width: 140px;
  height: auto;
}

.ng-brand span {
  font-size: 0.78rem;
  color: var(--ng-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ng-nav {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.ng-nav-link {
  font-size: 0.92rem;
  color: var(--ng-muted);
  font-weight: 600;
  padding: 8px 0;
  position: relative;
}

.ng-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--ng-primary);
  transition: transform 180ms ease;
}

.ng-nav-link:hover,
.ng-nav-link.is-active {
  color: var(--ng-text);
}

.ng-nav-link:hover::after,
.ng-nav-link.is-active::after {
  transform: scaleX(1);
}

.ng-header-cta {
  margin-left: 10px;
}

.ng-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 68px;
  background: radial-gradient(circle at 84% 12%, var(--ng-hero-grad-a) 0%, transparent 48%), linear-gradient(145deg, var(--ng-hero-grad-b) 0%, var(--ng-hero-grad-c) 100%);
}

.ng-hero-layout {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 40px;
  align-items: center;
}

.ng-hero-copy {
  display: grid;
  gap: 18px;
}

.ng-hero-copy h1 {
  font-size: clamp(2.35rem, 5.5vw, 4.25rem);
  line-height: 1.02;
  max-width: 18ch;
}

.ng-hero-lead {
  max-width: 58ch;
  color: var(--ng-muted);
  font-size: 1.08rem;
}

.ng-hero-main-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ng-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ng-store-badge {
  min-width: 220px;
  border-radius: 18px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(14, 21, 37, 0.6);
  color: #ffffff;
  border: 1px solid rgba(42, 171, 238, 0.3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(42, 171, 238, 0.08);
  font-weight: 700;
  backdrop-filter: blur(10px);
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 250ms ease, background 250ms ease, border-color 250ms ease;
  text-decoration: none;
}

.ng-store-badge:hover {
  background: rgba(42, 171, 238, 0.12);
  border-color: rgba(42, 171, 238, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(42, 171, 238, 0.2), inset 0 0 20px rgba(42, 171, 238, 0.15);
  transform: translateY(-3px);
}

.ng-store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ng-primary);
  transition: all 250ms ease;
  flex-shrink: 0;
}

.ng-store-badge:hover .ng-store-icon {
  background: var(--ng-primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(42, 171, 238, 0.4);
}

.ng-store-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.ng-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.ng-store-text span {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.ng-store-text small {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ng-secondary);
  margin-bottom: 2px;
  transition: color 250ms;
}

.ng-store-badge:hover .ng-store-text small {
  color: #fff;
}

.ng-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ng-hero-links a {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e6ebf3;
  border-bottom: 1px solid transparent;
}

.ng-hero-links a:hover {
  color: var(--ng-secondary);
  border-bottom-color: currentColor;
}

.ng-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ng-muted);
  font-size: 0.83rem;
}

.ng-proof-row span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ng-border);
  background: rgba(255, 255, 255, 0.02);
}

.ng-hero-media {
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ng-hero-halo {
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ng-secondary) 0%, var(--ng-primary) 40%, transparent 75%);
  filter: blur(90px);
  opacity: 0.35;
  animation: ng-pulse-glow 6s infinite alternate ease-in-out;
}

@keyframes ng-pulse-glow {
  0% { opacity: 0.3; transform: scale(0.95); }
  100% { opacity: 0.55; transform: scale(1.05); }
}

.ng-hero-image {
  position: relative;
  width: min(680px, 100%);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.42));
}

.ng-section {
  padding: 84px 0;
}

.ng-section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.ng-section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.85rem);
  line-height: 1.08;
  max-width: 18ch;
}

.ng-section-head p {
  color: var(--ng-muted);
  max-width: 62ch;
}

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

.ng-feature-card {
  background: rgba(14, 21, 37, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(42, 171, 238, 0.15);
  border-radius: var(--ng-radius-lg);
  padding: 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 14px;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.ng-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(42, 171, 238, 0.4);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 20px rgba(42, 171, 238, 0.15);
}

.ng-feature-card img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 10, 16, 0.7);
}

.ng-feature-card h3 {
  font-size: 1.25rem;
}

.ng-feature-card p {
  color: var(--ng-muted);
}

.ng-contrast-band {
  background: linear-gradient(145deg, var(--ng-bg-deep), var(--ng-bg));
}

.ng-contrast-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ng-contrast-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ng-radius-lg);
  padding: 20px;
  display: grid;
  gap: 12px;
  transition: background 300ms ease, border-color 300ms ease;
}

.ng-contrast-card:hover {
  background: rgba(42, 171, 238, 0.04);
  border-color: rgba(42, 171, 238, 0.25);
}

.ng-contrast-card img {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ng-contrast-card h3 {
  font-size: 1.2rem;
}

.ng-contrast-card p {
  color: var(--ng-muted);
}

.ng-blog-strip {
  padding-top: 76px;
}

.ng-article-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.ng-article-card {
  border-radius: var(--ng-radius-md);
  border: 1px solid rgba(42, 171, 238, 0.12);
  background: rgba(14, 21, 37, 0.5);
  backdrop-filter: blur(8px);
  padding: 18px;
  display: grid;
  gap: 10px;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.ng-article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(42, 171, 238, 0.35);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(42, 171, 238, 0.1);
}

.ng-article-card h3 {
  font-size: 1.08rem;
}

.ng-article-card p {
  color: var(--ng-muted);
}

.ng-richtext-section {
  padding-top: 24px;
}

.ng-richtext {
  display: grid;
  gap: 14px;
}

.ng-richtext h2,
.ng-richtext h3 {
  margin-top: 20px;
}

.ng-richtext p,
.ng-richtext li {
  color: #d8dee8;
}

.ng-richtext a {
  color: var(--ng-secondary);
}

.ng-richtext ul,
.ng-richtext ol {
  margin: 0;
  padding-left: 20px;
}

.ng-download-hero,
.ng-list-hero,
.ng-article-hero {
  padding: 76px 0 56px;
  background: radial-gradient(circle at 50% 10%, rgba(42, 171, 238, 0.1) 0%, transparent 60%), linear-gradient(145deg, var(--ng-bg-deep), var(--ng-bg));
  position: relative;
  overflow: hidden;
}

.ng-download-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.ng-download-layout h1,
.ng-list-hero h1,
.ng-article-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.06;
  margin: 12px 0 10px;
}

.ng-download-lead,
.ng-list-hero p {
  color: var(--ng-muted);
  max-width: 58ch;
}

.ng-check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ng-check-list li {
  position: relative;
  padding-left: 24px;
  color: #dbe2ef;
}

.ng-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ng-primary);
}

.ng-download-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ng-download-visual {
  position: relative;
}

.ng-download-visual::before {
  content: "";
  position: absolute;
  inset: 12% 12% 18% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ng-secondary) 0%, transparent 66%);
  filter: blur(70px);
  opacity: 0.25;
}

.ng-download-visual img {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
}

.ng-desktop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ng-platform-card,
.ng-post-card,
.ng-aside-card,
.ng-article-main {
  background: rgba(14, 21, 37, 0.5);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(42, 171, 238, 0.15);
  border-radius: var(--ng-radius-lg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.ng-platform-card:hover,
.ng-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 171, 238, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(42, 171, 238, 0.15);
}

.ng-platform-card {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.ng-platform-card h3 {
  font-size: 1.28rem;
}

.ng-platform-card p {
  color: var(--ng-muted);
}

.ng-list-shell {
  padding-top: 38px;
}

.ng-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.ng-post-grid {
  display: grid;
  gap: 16px;
}

.ng-post-card {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.ng-post-card h2 {
  font-size: 1.34rem;
}

.ng-post-card p {
  color: var(--ng-muted);
}

.ng-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ng-muted);
}

.ng-post-meta time {
  padding-right: 10px;
  border-right: 1px solid var(--ng-border);
}

.ng-list-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.ng-aside-card {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.ng-aside-card h3,
.ng-aside-card h2 {
  font-size: 1.1rem;
}

.ng-aside-card p {
  color: var(--ng-muted);
}

.ng-pagination {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ng-article-wrap {
  padding-top: 34px;
}

.ng-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.ng-article-main {
  padding: 28px;
}

.ng-article-cover {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ng-article-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.ng-download-side img {
  border-radius: 14px;
  margin-bottom: 4px;
}

.ng-related-list {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 8px;
}

.ng-related-list li {
  color: var(--ng-muted);
}

.ng-related-list a:hover {
  color: var(--ng-secondary);
}

.ng-footer {
  margin-top: 80px;
  padding: 56px 0 24px;
  background: linear-gradient(180deg, var(--ng-footer-bg-top) 0%, var(--ng-footer-bg-bottom) 100%);
  border-top: 1px solid var(--ng-border);
}

.ng-footer-cta {
  margin-bottom: 28px;
  padding: 24px;
  border-radius: var(--ng-radius-xl);
  border: 1px solid var(--ng-border-strong);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ng-footer-cta h2 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.ng-footer-cta p {
  margin-top: 10px;
  color: var(--ng-muted);
  max-width: 58ch;
}

.ng-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ng-footer-brand {
  display: grid;
  gap: 12px;
}

.ng-footer-brand img {
  width: 136px;
  height: auto;
}

.ng-footer-grid h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #dce4f1;
}

.ng-footer-grid a {
  display: block;
  margin: 7px 0;
  color: var(--ng-muted);
  font-size: 0.92rem;
}

.ng-footer-grid a:hover {
  color: var(--ng-secondary);
}

.ng-footer-meta {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--ng-border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ng-muted);
  font-size: 0.82rem;
}

@media (max-width: 1060px) {
  .ng-header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
    min-height: auto;
  }

  .ng-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .ng-header-cta {
    margin-left: auto;
  }

  .ng-hero-layout,
  .ng-download-layout,
  .ng-list-layout,
  .ng-article-layout,
  .ng-feature-grid,
  .ng-contrast-layout,
  .ng-article-strip,
  .ng-footer-grid,
  .ng-desktop-grid {
    grid-template-columns: 1fr;
  }

  .ng-hero {
    padding-top: 54px;
  }

  .ng-hero-media {
    min-height: 420px;
  }

  .ng-hero-image,
  .ng-download-visual img {
    width: min(520px, 92%);
  }

  .ng-list-aside,
  .ng-article-side {
    position: static;
  }

  .ng-footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .ng-shell {
    width: min(1180px, calc(100% - 28px));
  }

  .ng-btn {
    width: 100%;
  }

  .ng-store-actions,
  .ng-hero-main-actions,
  .ng-download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ng-store-badge {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .ng-proof-row span {
    width: 100%;
  }

  .ng-article-main {
    padding: 20px;
  }

  .ng-footer-meta {
    flex-direction: column;
  }
}
