:root {
  --bg-color: #050813;
  --bg-elevated: rgba(12, 18, 38, 0.9);
  --bg-elevated-soft: rgba(17, 25, 54, 0.82);
  --primary-color: #4fe1b9;
  --primary-soft: rgba(79, 225, 185, 0.15);
  --accent-color: #8b5cff;
  --accent-soft: rgba(139, 92, 255, 0.2);
  --danger-color: #ff4d6a;
  --text-main: #f6f7ff;
  --text-sub: #a8b0d4;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.65);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --blur-strong: 26px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #15192b 0, #020412 55%, #000 100%);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

.page {
  position: relative;
  min-height: 100vh;
  color: var(--text-main);
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.gradient-layer {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at top left, #1b2b4e 0, transparent 55%),
    radial-gradient(circle at top right, #1a2239 0, transparent 55%),
    radial-gradient(circle at bottom, #050916 0, #020412 60%, #000 100%);
  filter: saturate(1.25);
}

.noise-layer {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1600 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='4' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.7;
}

.glow-1 {
  background: #0ceab5;
  top: -160px;
  left: -60px;
}

.glow-2 {
  background: #7f54ff;
  bottom: -220px;
  right: -80px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.92),
    rgba(2, 6, 23, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, #52f1c1, #248f6e 50%, #0b1527 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(99, 232, 192, 0.52),
    0 10px 36px rgba(19, 247, 194, 0.45);
}

.logo-symbol {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #020617;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-en {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-zh {
  font-size: 11px;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  position: relative;
  transition: color 0.18s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.18s ease;
}

.nav-links a:hover {
  color: #e2e8f0;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  border-radius: 999px;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #020617;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow:
    0 0 0 1px rgba(148, 236, 215, 0.7),
    0 12px 40px rgba(22, 255, 204, 0.45);
}

.nav-cta:hover {
  filter: brightness(1.05);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.hero-text h1 {
  margin: 14px 0 16px;
  font-size: 40px;
  line-height: 1.1;
}

.hero-text h1 span:first-child {
  display: block;
  font-weight: 600;
}

.hero-gradient {
  display: inline-block;
  background: linear-gradient(120deg, #f9fafb, #9ae6ff, #7ef6cc);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #a5b4fc;
  background: linear-gradient(
    90deg,
    rgba(79, 70, 229, 0.4),
    rgba(14, 116, 144, 0.3)
  );
  border: 1px solid rgba(129, 140, 248, 0.6);
}

.hero-tagline::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #bbf7d0, #22c55e, #166534);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.4);
}

.hero-subtitle {
  margin: 0 0 24px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}

.hero-download {
  margin-bottom: 20px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 180px;
  text-decoration: none;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #020617;
  box-shadow:
    0 0 0 1px rgba(109, 230, 198, 0.9),
    0 18px 55px rgba(45, 212, 191, 0.5);
}

.btn.outline {
  background: radial-gradient(
    circle at 0 0,
    rgba(56, 189, 248, 0.16),
    rgba(15, 23, 42, 0.9)
  );
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.9);
}

.btn-label {
  font-size: 14px;
}

.btn-sub {
  font-size: 11px;
  opacity: 0.8;
}

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

.btn.primary:hover {
  filter: brightness(1.04);
}

.btn.outline:hover {
  border-color: rgba(148, 163, 184, 0.7);
}

.download-tip {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(148, 163, 184, 0.9);
}

.hero-metas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.meta-item {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.16),
    rgba(15, 23, 42, 0.92)
  );
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-label {
  color: #e5e7eb;
  font-weight: 500;
}

.meta-value {
  color: #9ca3af;
}

.hero-visual {
  position: relative;
}

.device-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  background: radial-gradient(
      circle at top left,
      rgba(34, 197, 235, 0.5),
      transparent 60%
    ),
    radial-gradient(circle at bottom right, rgba(52, 211, 153, 0.4), #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.device-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pill {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
}

.pill-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-right: 6px;
  background: radial-gradient(circle at 30% 30%, #bbf7d0, #22c55e, #15803d);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.45);
}

.pill-dark {
  border-color: rgba(129, 140, 248, 0.7);
}

.device-screen {
  border-radius: 20px;
  padding: 16px 16px 14px;
  background: radial-gradient(circle at top, #020617, #020617 45%, #000 100%);
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.9),
    0 24px 60px rgba(15, 23, 42, 0.9);
}

.table-stats {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.pot {
  display: flex;
  flex-direction: column;
}

.pot-label {
  font-size: 11px;
  color: #9ca3af;
}

.pot-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pot-sub {
  font-size: 11px;
  color: #6b7280;
}

.winrate {
  flex: 1;
}

.winrate-label {
  font-size: 11px;
  color: #9ca3af;
}

.winrate-bar {
  margin: 5px 0 6px;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(30, 64, 175, 0.8);
}

.winrate-fill {
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80, #a3e635);
  box-shadow:
    0 0 16px rgba(34, 197, 94, 0.8),
    0 0 36px rgba(190, 242, 100, 0.8);
}

.winrate-value {
  font-size: 13px;
  color: #bbf7d0;
  font-weight: 500;
}

.cards-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cards {
  display: flex;
  gap: 6px;
}

.card {
  width: 38px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  background: radial-gradient(circle at 0 0, #0f172a, #020617 65%);
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.96),
    inset 0 0 0 1px rgba(15, 23, 42, 0.9);
}

.card-primary {
  border-color: rgba(45, 212, 191, 0.8);
  background: radial-gradient(circle at 0 0, #0f172a, #0f172a 40%, #22c55e 115%);
  color: #ecfdf5;
  box-shadow:
    0 10px 30px rgba(22, 163, 74, 0.9),
    0 0 24px rgba(74, 222, 128, 0.8);
}

.card-ghost {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.45);
  color: #4b5563;
}

.cards.community .card:nth-child(1),
.cards.community .card:nth-child(2) {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow:
    0 10px 28px rgba(37, 99, 235, 0.9),
    0 0 26px rgba(56, 189, 248, 0.8);
}

.cards-label {
  font-size: 11px;
  color: #6b7280;
}

.range-matrix {
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 0, #020617, #020617 55%, #000 100%);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.range-score {
  font-size: 11px;
  color: #bef264;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(190, 242, 100, 0.5);
  background: rgba(39, 39, 42, 0.9);
}

.range-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
}

.range-cell {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: radial-gradient(circle, rgba(55, 65, 81, 0.95), #020617 80%);
}

.range-cell.hot {
  background: radial-gradient(circle, #4ade80, #166534 85%);
  box-shadow:
    0 0 10px rgba(52, 211, 153, 0.9),
    0 0 24px rgba(132, 204, 22, 0.8);
}

.range-cell.warm {
  background: radial-gradient(circle, #facc15, #854d0e 85%);
  box-shadow:
    0 0 12px rgba(234, 179, 8, 0.7),
    0 0 24px rgba(251, 191, 36, 0.7);
}

.range-cell.cool {
  background: radial-gradient(circle, #38bdf8, #075985 85%);
  box-shadow:
    0 0 9px rgba(56, 189, 248, 0.9),
    0 0 22px rgba(59, 130, 246, 0.8);
}

.floating-badge {
  position: absolute;
  right: -10px;
  bottom: -40px;
  transform: translateY(-12px);
  padding: 10px 14px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, #22c55e, #0f172a 60%);
  color: #ecfdf5;
  font-size: 11px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  box-shadow:
    0 0 0 1px rgba(190, 242, 100, 0.4),
    0 20px 50px rgba(22, 163, 74, 0.9);
}

.badge-title {
  font-weight: 600;
}

.badge-sub {
  opacity: 0.9;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 12px;
}

.section-header {
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.section-header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
}

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

.feature-card {
  padding: 16px 16px 14px;
  border-radius: var(--radius-lg);
  background: radial-gradient(
    circle at 0 0,
    rgba(56, 189, 248, 0.18),
    rgba(15, 23, 42, 0.96)
  );
  border: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(var(--blur-strong));
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature-card p {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-sub);
}

.feature-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  color: #cbd5f5;
}

.feature-card li + li {
  margin-top: 4px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: radial-gradient(circle at 0 0, #c4f1f9, #0ea5e9);
  box-shadow:
    0 0 0 1px rgba(8, 47, 73, 0.7),
    0 16px 40px rgba(8, 47, 73, 0.95);
}

.feature-icon-2 {
  background: radial-gradient(circle at 0 0, #fecaca, #fb7185);
  box-shadow:
    0 0 0 1px rgba(127, 29, 29, 0.7),
    0 16px 40px rgba(127, 29, 29, 0.95);
}

.feature-icon-3 {
  background: radial-gradient(circle at 0 0, #fef3c7, #facc15);
  box-shadow:
    0 0 0 1px rgba(133, 77, 14, 0.7),
    0 16px 40px rgba(133, 77, 14, 0.95);
}

.screens-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: radial-gradient(
    circle at 0 0,
    rgba(79, 70, 229, 0.28),
    rgba(15, 23, 42, 0.96)
  );
  border: 1px solid rgba(129, 140, 248, 0.4);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.96);
  overflow-x: auto;
  overflow-y: hidden;
}

.screens-wrapper::-webkit-scrollbar {
  height: 6px;
}

.screens-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.screens-wrapper::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.55);
  border-radius: 999px;
}

.mobile-strip {
  display: inline-flex;
  gap: 14px;
  padding-bottom: 6px;
  min-width: 100%;
}

.mobile-card {
  flex: 0 0 180px;
  border-radius: 22px;
  padding: 10px 10px 9px;
  background: radial-gradient(
    circle at 0 0,
    rgba(56, 189, 248, 0.35),
    rgba(15, 23, 42, 0.96)
  );
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-card img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 18px;
  object-fit: cover;
  background: radial-gradient(circle at 0 0, #020617, #000);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.95),
    0 18px 40px rgba(15, 23, 42, 1);
}

.mobile-caption {
  font-size: 11px;
  color: var(--text-sub);
  text-align: center;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
}

.section-block {
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  background: radial-gradient(
    circle at 0 0,
    rgba(15, 23, 42, 0.95),
    rgba(2, 6, 23, 0.96)
  );
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.95);
}

.section-block h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.section-block h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.section-block p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-sub);
}

.bullet-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: #e5e7eb;
}

.bullet-list li + li {
  margin-top: 4px;
}

.highlight-block {
  background: radial-gradient(
    circle at 0 0,
    rgba(248, 250, 252, 0.05),
    rgba(15, 23, 42, 0.98)
  );
  border-color: rgba(248, 250, 252, 0.2);
}

.faq-list {
  border-radius: var(--radius-lg);
  padding: 10px 16px 12px;
  background: radial-gradient(
    circle at 0 0,
    rgba(79, 70, 229, 0.23),
    rgba(15, 23, 42, 0.96)
  );
  border: 1px solid rgba(129, 140, 248, 0.55);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.98);
}

.faq-list details + details {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  color: #e5e7eb;
}

.faq-list p {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--text-sub);
}

.article-body {
  max-width: 780px;
  padding: 14px 16px 12px;
  border-radius: var(--radius-lg);
  background: radial-gradient(
    circle at 0 0,
    rgba(15, 23, 42, 0.98),
    rgba(2, 6, 23, 0.98)
  );
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.96);
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-sub);
}

.article-body p {
  margin: 0 0 10px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.footer {
  padding: 20px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: #9ca3af;
}

.footer-brand {
  font-weight: 500;
  color: #e5e7eb;
}

.footer-right a {
  color: #a5b4fc;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .floating-badge {
    right: 6px;
    bottom: -26px;
  }

  .section-split,
  .screens-wrapper,
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-inner {
    padding-inline: 16px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .device-card {
    border-radius: 22px;
  }

  .hero-metas {
    flex-direction: column;
  }

  .floating-badge {
    position: static;
    margin-top: 10px;
    transform: none;
  }
}


/* Template-specific background theme */
body {
  background: radial-gradient(circle at top, hsl(90, 65%, 16%) 0, hsl(115, 80%, 6%) 55%, #000 100%);
}

/* Template-specific button theme */
.nav-cta,
.btn.primary {
  background: linear-gradient(135deg, hsl(210, 82%, 58%), hsl(245, 82%, 62%));
  box-shadow:
    0 0 0 1px hsla(210, 90%, 80%, 0.7),
    0 14px 42px hsla(210, 80%, 45%, 0.55);
}

.btn.outline {
  border-color: hsla(245, 60%, 70%, 0.75);
  background: radial-gradient(circle at 0 0, hsla(245, 70%, 55%, 0.25), rgba(15, 23, 42, 0.96));
}
