:root {
  --bg: #050505;
  --surface: #121212;
  --surface2: #1a1a1a;
  --border: #262626;

  --brand: #10b981;
  --brandHover: #059669;
  --brandSoft: rgba(16, 185, 129, 0.1);
  --accent: #3b82f6;

  --text: #ffffff;
  --muted: #a1a1aa;
  --subtle: #71717a;

  --shadow: 0 0 30px rgba(16, 185, 129, 0.1);
  --shadowSm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);

  --radiusCard: 24px;
  --radiusBtn: 14px;
  --container: 1280px;
  --navH: 88px;
  --gap: 48px;
  --gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  --glow: 0 0 20px rgba(16, 185, 129, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--navH);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--brandHover);
}

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

.ww-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.ww-main {
  display: block;
}

.ww-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 12px;
  border-radius: var(--radiusBtn);
  background: #0b1220;
  color: #ffffff;
  z-index: 9999;
}

.ww-skip:focus {
  left: 16px;
  top: 16px;
}

.ww-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--navH);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.ww-header__inner {
  height: var(--navH);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.ww-brand__logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.ww-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ww-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ww-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 500;
  transition: all 0.2s ease;
}

.ww-link:hover {
  background: var(--brandSoft);
  color: var(--brand);
}

.ww-nav__toggle {
  display: none;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radiusBtn);
  padding: 10px 10px;
  cursor: pointer;
  color: var(--text);
}

.ww-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ww-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radiusBtn);
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  white-space: nowrap;
}

.ww-btn--primary {
  border: none;
  background: var(--gradient);
  color: #000000;
  box-shadow: var(--glow);
}

.ww-btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

/* 商业化下载按钮动效 */
.ww-btn--download-pulse {
  position: relative;
  overflow: hidden;
}

.ww-btn--download-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.ww-btn--download-pulse:hover::after {
  left: 100%;
  transition: 0.5s;
}

.ww-btn--ghost {
  background: transparent;
}

.ww-btn--block {
  width: 100%;
}

.ww-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brandSoft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.ww-h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ww-h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.ww-h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.ww-lead {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.ww-muted {
  color: var(--muted);
}

.ww-subtle {
  color: var(--subtle);
}

.ww-text-sm {
  font-size: 14px;
}

.ww-section {
  padding: 56px 0;
}

.ww-section--alt {
  background: var(--surface);
}

.ww-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(740px 300px at 50% 0%, rgba(34, 158, 217, 0.16), transparent 60%),
    linear-gradient(180deg, #ffffff, #ffffff);
}

.ww-hero__inner {
  text-align: center;
}

.ww-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 26px;
  align-items: center;
}

.ww-hero__copy {
  text-align: left;
}

.ww-hero__meta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--subtle);
  font-size: 13px;
}

.ww-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.ww-hero__actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ww-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.ww-mt-10 {
  margin-top: 10px;
}

.ww-mt-12 {
  margin-top: 12px;
}

.ww-mt-16 {
  margin-top: 16px;
}

.ww-mt-28 {
  margin-top: 28px;
}

.ww-hero__shot {
  margin: 34px auto 0;
  max-width: 980px;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ffffff;
}

.ww-hero__shot img {
  width: 100%;
  height: auto;
}

.ww-phone {
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ffffff;
}

.ww-phone__inner {
  padding: 10px;
  background: linear-gradient(180deg, #ffffff, var(--surface));
}

.ww-phone__inner img {
  border-radius: 18px;
  border: 1px solid var(--border);
}

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

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

.ww-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radiusCard);
}

.ww-card__inner {
  padding: 18px 18px;
}

.ww-product {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ww-product__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brandSoft);
  color: var(--brandHover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: 0 0 auto;
}

.ww-product__body {
  flex: 1 1 auto;
  min-width: 0;
}

.ww-product__name {
  font-weight: 750;
  margin: 0;
}

.ww-product__desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.ww-product__actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ww-feature {
  display: grid;
  gap: 10px;
}

.ww-feature__emoji {
  font-size: 22px;
}

.ww-feature__t {
  font-weight: 750;
}

.ww-feature__d {
  color: var(--muted);
  font-size: 14px;
}

.ww-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--subtle);
}

.ww-breadcrumb a {
  color: var(--muted);
}

.ww-breadcrumb a:hover {
  color: var(--brandHover);
}

.ww-breadcrumb__sep {
  opacity: 0.6;
}

.ww-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.ww-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.ww-pn {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ww-sideLinks {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.ww-sideLink {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.ww-sideLink:hover {
  border-color: rgba(34, 158, 217, 0.26);
  background: rgba(34, 158, 217, 0.06);
}

.ww-sideLink__t {
  color: var(--text);
  font-weight: 650;
}

.ww-sideLink__d {
  color: var(--subtle);
  white-space: nowrap;
}

.ww-aside {
  position: sticky;
  top: calc(var(--navH) + 18px);
}

.ww-prose {
  color: var(--text);
}

.ww-prose h2,
.ww-prose h3 {
  margin: 18px 0 10px;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.ww-prose p {
  margin: 10px 0;
}

.ww-prose a {
  color: var(--brandHover);
  text-decoration: underline;
  text-decoration-color: rgba(34, 158, 217, 0.42);
  text-underline-offset: 3px;
}

.ww-prose ul,
.ww-prose ol {
  margin: 10px 0;
  padding-left: 18px;
}

.ww-news {
  display: grid;
  gap: 12px;
}

.ww-newsItem {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.ww-newsItem__img {
  width: 120px;
  height: 84px;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.ww-newsItem__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ww-newsItem__t {
  font-weight: 750;
  color: var(--text);
}

.ww-newsItem__t a:hover {
  color: var(--brandHover);
}

.ww-newsItem__meta {
  margin-top: 6px;
  color: var(--subtle);
  font-size: 12px;
}

.ww-newsItem__d {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.ww-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.ww-pagination a,
.ww-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  margin: 0 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
}

.ww-pagination .current,
.ww-pagination .active {
  border-color: rgba(34, 158, 217, 0.30);
  background: var(--brandSoft);
  color: var(--brandHover);
}

.ww-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.ww-footer__top {
  padding: 40px 0;
}

.ww-footer__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ww-footer__title {
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

.ww-footer__list {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
}

.ww-footer__list a {
  color: var(--muted);
}

.ww-footer__list a:hover {
  color: var(--brandHover);
}

.ww-subfooter {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--subtle);
}

/* Telegram-like */
.tg-hero {
  padding: 120px 0 80px;
  background: 
    radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.15), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(59, 130, 246, 0.05), transparent 40%);
  text-align: center;
}

.tg-hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.tg-hero__copy {
  max-width: 800px;
  text-align: center;
}

.tg-hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tg-shelf {
  padding: 40px 0;
  background: #000000;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tg-shelf__item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radiusCard);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tg-shelf__item:hover {
  border-color: var(--brand);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.tg-shelf__item strong {
  color: var(--text);
}

.tg-shelf__item span {
  color: var(--subtle);
  font-size: 12px;
}

.tg-platforms {
  padding: 40px 0;
}

.tg-platforms__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tg-platform {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radiusCard);
  transition: all 0.3s ease;
}

.tg-platform:hover {
  background: var(--surface2);
  border-color: var(--brand);
  box-shadow: var(--glow);
}

.tg-platform__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brandSoft);
  color: var(--brandHover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.tg-platform__t {
  font-weight: 750;
}

.tg-platform__d {
  color: var(--subtle);
  font-size: 12px;
}

.tg-features {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tg-features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tg-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radiusCard);
  transition: all 0.3s ease;
}

.tg-feature:hover {
  background: var(--surface2);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.tg-feature__emoji {
  font-size: 22px;
}

.tg-feature__t {
  margin-top: 8px;
  font-weight: 750;
}

.tg-feature__d {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.tg-news {
  padding: 40px 0;
}

.tg-news__list {
  display: grid;
  gap: 12px;
}

.tg-newsItem {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radiusCard);
  background: #000000;
}

.tg-newsItem__img {
  width: 120px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.tg-newsItem__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-newsItem__t {
  font-weight: 750;
  color: var(--text);
}

.tg-newsItem__t a:hover {
  color: var(--brandHover);
}

.tg-newsItem__meta {
  margin-top: 6px;
  color: var(--subtle);
  font-size: 12px;
}

.tg-newsItem__d {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.tg-testimonials {
  padding: 56px 0;
  background: var(--bg);
}

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

.tg-testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radiusCard);
}

.tg-testimonial__body {
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

.tg-testimonial__body::before {
  content: "“";
  font-size: 40px;
  color: var(--brandSoft);
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: -1;
}

.tg-testimonial__meta {
  margin-top: 16px;
  font-weight: 700;
  color: var(--brandHover);
  font-size: 14px;
  text-align: right;
}

.tg-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

@media (max-width: 980px) {
  .tg-testimonials__grid {
    grid-template-columns: 1fr;
  }
}

.tg-article__main {
  min-width: 0;
}

.tg-article__aside {
  position: sticky;
  top: calc(var(--navH) + 18px);
}

.tg-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radiusCard);
}

.tg-panel__inner {
  padding: 18px 18px;
}

@media (max-width: 980px) {
  :root {
    --navH: 66px;
  }

  body {
    padding-top: var(--navH);
  }

  .ww-brand {
    min-width: 140px;
  }

  .ww-nav__toggle {
    display: inline-flex;
  }

  .ww-menu {
    position: absolute;
    top: calc(var(--navH) - 1px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .ww-menu[aria-hidden="true"] {
    display: none;
  }

  .ww-hero__actions {
    justify-content: stretch;
  }

  .ww-hero__actions .ww-btn {
    flex: 1 1 auto;
  }

  .ww-grid3 {
    grid-template-columns: 1fr;
  }

  .ww-grid4 {
    grid-template-columns: 1fr;
  }

  .ww-hero__grid {
    grid-template-columns: 1fr;
  }

  .ww-hero__copy {
    text-align: center;
  }

  .ww-hero__copy .ww-actions {
    justify-content: center;
  }

  .ww-hero__meta {
    justify-content: center;
  }

  .ww-layout {
    grid-template-columns: 1fr;
  }

  .ww-aside {
    position: static;
    top: auto;
  }

  .ww-pn {
    grid-template-columns: 1fr;
  }

  .ww-newsItem {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .ww-newsItem__img {
    width: 120px;
    height: 84px;
  }

  .ww-footer__grid {
    grid-template-columns: 1fr;
  }

  .tg-hero__grid {
    grid-template-columns: 1fr;
  }

  .tg-hero__copy {
    text-align: center;
  }

  .tg-hero__meta {
    justify-content: center;
  }

  .tg-shelf__row {
    grid-template-columns: 1fr;
  }

  .tg-platforms__row {
    grid-template-columns: 1fr;
  }

  .tg-features__grid {
    grid-template-columns: 1fr;
  }

  .tg-article {
    grid-template-columns: 1fr;
  }

  .tg-article__aside {
    position: static;
    top: auto;
  }
}
