:root {
  --bg: #f5f8fb;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-2: #f1f5f9;
  --border: #e3e9f1;
  --border-strong: #c9d5e3;
  --text: #0f172a;
  --text-dim: #4b5b70;
  --text-mute: #8b9bb0;
  --danger: #dc2626;
  --warning: #b45309;
  --success: #059669;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
  --maxw: 1180px;
  --header-h: 68px;
  --header-bg: rgba(255, 255, 255, 0.85);
  --strip-bg: rgba(255, 255, 255, 0.6);
  --footer-bg: rgba(255, 255, 255, 0.7);
  --overlay: rgba(15, 23, 42, 0.05);
  --overlay-soft: rgba(15, 23, 42, 0.03);
  --grid-color: rgba(13, 148, 136, 0.045);
  --term-bar-bg: linear-gradient(180deg, #f7fafc, #eef3f8);
  --code-bg: #fbfdff;
  --code-text: #334155;
  --code-dim: #94a3b8;
  --notice-bg: #f8fbff;
  --progress-bg: #e8eef5;
  --input-placeholder: #a3b1c6;
  --mask: rgba(15, 23, 42, 0.4);
}

html[data-theme="dark"] {
  --bg: #070b12;
  --bg-soft: #0a1018;
  --panel: #0e1520;
  --panel-2: #121b28;
  --border: #1c2838;
  --border-strong: #2b3d55;
  --text: #e7eef7;
  --text-dim: #9aabc0;
  --text-mute: #64748b;
  --danger: #f87171;
  --warning: #fbbf24;
  --success: #34d399;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(7, 11, 18, 0.82);
  --strip-bg: rgba(255, 255, 255, 0.015);
  --footer-bg: rgba(255, 255, 255, 0.015);
  --overlay: rgba(255, 255, 255, 0.06);
  --overlay-soft: rgba(255, 255, 255, 0.03);
  --grid-color: rgba(45, 212, 191, 0.035);
  --term-bar-bg: linear-gradient(180deg, #101826, #0b121b);
  --code-bg: #060a10;
  --code-text: #cbd5e1;
  --code-dim: #64748b;
  --notice-bg: rgba(255, 255, 255, 0.03);
  --progress-bg: #0a111b;
  --input-placeholder: #4b5b70;
  --mask: rgba(3, 6, 11, 0.72);
}

html[data-accent="teal"] {
  --accent-l: #0d9488;
  --accent-2-l: #0284c7;
  --accent-soft-l: rgba(13, 148, 136, 0.08);
  --accent-line-l: rgba(13, 148, 136, 0.32);
  --accent-d: #2dd4bf;
  --accent-2-d: #38bdf8;
  --accent-soft-d: rgba(45, 212, 191, 0.12);
  --accent-line-d: rgba(45, 212, 191, 0.35);
  --on-accent-d: #04211c;
}

html[data-accent="blue"] {
  --accent-l: #2563eb;
  --accent-2-l: #0ea5e9;
  --accent-soft-l: rgba(37, 99, 235, 0.08);
  --accent-line-l: rgba(37, 99, 235, 0.3);
  --accent-d: #60a5fa;
  --accent-2-d: #38bdf8;
  --accent-soft-d: rgba(96, 165, 250, 0.12);
  --accent-line-d: rgba(96, 165, 250, 0.35);
  --on-accent-d: #0b1220;
}

html[data-accent="violet"] {
  --accent-l: #7c3aed;
  --accent-2-l: #c026d3;
  --accent-soft-l: rgba(124, 58, 237, 0.08);
  --accent-line-l: rgba(124, 58, 237, 0.3);
  --accent-d: #a78bfa;
  --accent-2-d: #e879f9;
  --accent-soft-d: rgba(167, 139, 250, 0.12);
  --accent-line-d: rgba(167, 139, 250, 0.35);
  --on-accent-d: #1a102e;
}

html[data-accent="amber"] {
  --accent-l: #b45309;
  --accent-2-l: #d97706;
  --accent-soft-l: rgba(180, 83, 9, 0.08);
  --accent-line-l: rgba(180, 83, 9, 0.3);
  --accent-d: #fbbf24;
  --accent-2-d: #f59e0b;
  --accent-soft-d: rgba(251, 191, 36, 0.12);
  --accent-line-d: rgba(251, 191, 36, 0.35);
  --on-accent-d: #271a02;
}

html[data-accent="rose"] {
  --accent-l: #be123c;
  --accent-2-l: #e11d48;
  --accent-soft-l: rgba(190, 18, 60, 0.08);
  --accent-line-l: rgba(190, 18, 60, 0.3);
  --accent-d: #fb7185;
  --accent-2-d: #f472b6;
  --accent-soft-d: rgba(251, 113, 133, 0.12);
  --accent-line-d: rgba(251, 113, 133, 0.35);
  --on-accent-d: #2b0a12;
}

html {
  --accent: var(--accent-l);
  --accent-2: var(--accent-2-l);
  --accent-soft: var(--accent-soft-l);
  --accent-line: var(--accent-line-l);
  --on-accent: #ffffff;
}

html[data-theme="dark"] {
  --accent: var(--accent-d);
  --accent-2: var(--accent-2-d);
  --accent-soft: var(--accent-soft-d);
  --accent-line: var(--accent-line-d);
  --on-accent: var(--on-accent-d);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(800px 520px at 0% 0%, var(--accent-soft), transparent 55%),
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.2px;
}

p {
  margin: 0 0 14px;
}

::selection {
  background: var(--accent-soft);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
}

.section.tight {
  padding: 52px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2 {
  font-size: 30px;
}

.section-head p {
  color: var(--text-dim);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.brand:hover {
  color: var(--text);
}

.brand .brand-icon {
  width: 30px;
  height: 30px;
}

.brand span em {
  font-style: normal;
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.main-nav a {
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 9px;
  font-weight: 500;
  transition: all 0.18s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: var(--overlay);
}

.main-nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

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

.theme-switch {
  position: relative;
  margin-right: -12px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.18s ease;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.theme-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 218px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 14px;
  display: none;
  z-index: 80;
}

.theme-menu.open {
  display: block;
}

.theme-menu .group > span {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 8px;
}

.theme-menu .group + .group {
  margin-top: 12px;
}

.theme-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.theme-modes button {
  padding: 7px 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-dim);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.theme-modes button:hover {
  border-color: var(--border-strong);
}

.theme-modes button.active {
  border-color: var(--accent-line);
  color: var(--accent);
  background: var(--accent-soft);
}

.theme-colors {
  display: flex;
  gap: 10px;
}

.theme-colors button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--sw);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease;
}

.theme-colors button:hover {
  transform: scale(1.12);
}

.theme-colors button.active {
  border-color: var(--panel);
  box-shadow: 0 0 0 2px var(--text-mute);
}

.user-chip {
  position: relative;
}

.user-chip > button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.18s ease;
}

.user-chip > button:hover {
  border-color: var(--border-strong);
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 176px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 6px;
  display: none;
}

.user-menu.open {
  display: block;
}

.user-menu a,
.user-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: 0;
  background: none;
  color: var(--text-dim);
  border-radius: 7px;
  font: inherit;
  cursor: pointer;
}

.user-menu a:hover,
.user-menu button:hover {
  background: var(--overlay);
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  padding: 7px 10px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  box-shadow: 0 10px 24px var(--accent-line);
}

.btn-primary:hover {
  color: var(--on-accent);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px var(--accent-line);
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--panel);
}

.btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.btn-ghost {
  color: var(--text-dim);
  background: none;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--overlay);
}

.btn-danger {
  border-color: rgba(220, 38, 38, 0.35);
  color: var(--danger);
  background: rgba(220, 38, 38, 0.06);
}

.btn-danger:hover {
  border-color: rgba(220, 38, 38, 0.55);
}

.btn-danger-solid {
  border-color: var(--danger);
  color: #ffffff;
  background: var(--danger);
}

.btn-danger-solid:hover {
  border-color: #b91c1c;
  background: #b91c1c;
  color: #ffffff;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 9px;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  background: var(--overlay-soft);
}

.badge-accent {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.badge-warning {
  color: var(--warning);
  border-color: var(--warning);
  background: var(--overlay-soft);
}

.badge-success {
  color: var(--success);
  border-color: var(--success);
  background: var(--overlay-soft);
}

.badge-danger {
  color: var(--danger);
  border-color: var(--danger);
  background: var(--overlay-soft);
}

.hero {
  padding: 84px 0 66px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 22px;
  color: var(--text);
}

.hero-stats div span {
  font-size: 13px;
  color: var(--text-mute);
}

.terminal {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--term-bar-bg);
}

.terminal-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-bar i:nth-child(1) {
  background: #f87171;
}

.terminal-bar i:nth-child(2) {
  background: #fbbf24;
}

.terminal-bar i:nth-child(3) {
  background: #34d399;
}

.terminal-bar span {
  margin-left: 8px;
  font-size: 12.5px;
  color: var(--text-mute);
  font-family: Consolas, "Courier New", monospace;
}

.terminal pre {
  margin: 0;
  padding: 20px 22px 24px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--code-text);
  overflow-x: auto;
  background: var(--code-bg);
  min-height: 244px;
}

.terminal pre.typing::after {
  content: "▍";
  margin-left: 1px;
  color: var(--accent);
  animation: terminal-blink 1s steps(2, start) infinite;
}

@keyframes terminal-blink {
  50% {
    opacity: 0;
  }
}

.terminal pre .g {
  color: var(--accent);
}

.terminal pre .b {
  color: var(--accent-2);
}

.terminal pre .dim {
  color: var(--code-dim);
}

.terminal pre .ok {
  color: var(--success);
}

.float-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: -26px;
  margin-left: 42px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
  width: fit-content;
}

.float-card .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px var(--overlay);
}

.float-card b {
  color: var(--text);
}

.float-card span {
  color: var(--text-mute);
  font-size: 13px;
}

.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--strip-bg);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px 0;
  text-align: center;
}

.strip-inner div strong {
  display: block;
  color: var(--accent);
  font-size: 15px;
}

.strip-inner div span {
  font-size: 13px;
  color: var(--text-mute);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: all 0.22s ease;
}

.feature-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-weight: 800;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.step h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13.5px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: all 0.22s ease;
}

.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.price-card.popular {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), var(--panel) 55%);
  box-shadow: 0 0 0 1px var(--accent-line), var(--shadow);
}

.price-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  white-space: nowrap;
}

.price-tag.muted {
  background: var(--panel-2);
  color: var(--text-mute);
  border: 1px solid var(--border-strong);
}

.price-card h3 {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.price-num {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 4px;
}

.price-num b {
  font-size: 34px;
  letter-spacing: -0.5px;
}

.price-num span {
  color: var(--text-mute);
  font-size: 14px;
}

.price-note {
  color: var(--text-mute);
  font-size: 13px;
  margin-bottom: 18px;
  min-height: 22px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.price-features svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
  margin-top: 4px;
}

.addon-banner {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(120deg, var(--accent-soft), var(--overlay-soft));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 26px;
}

.addon-banner h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.addon-banner p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

th {
  color: var(--text-mute);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--overlay-soft);
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: var(--accent-soft);
}

td.hl {
  color: var(--accent);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  margin: 0 auto 30px;
  max-width: 900px;
}

.faq-bar button {
  border: 1px solid transparent;
  background: none;
  color: var(--text-dim);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.faq-bar button:hover {
  color: var(--text);
  background: var(--overlay);
}

.faq-bar button.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

details.faq {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}

details.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

details.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

details.faq[open] summary::after {
  content: "−";
}

details.faq p {
  color: var(--text-dim);
  font-size: 14px;
  padding-bottom: 16px;
  margin: 0;
}

.cta-banner {
  background: linear-gradient(120deg, var(--accent-soft), var(--overlay-soft));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 46px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 28px;
}

.cta-banner p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 26px;
}

.page-hero {
  padding: 66px 0 30px;
  text-align: center;
}

.page-hero h1 {
  font-size: 38px;
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 7px;
}

.input,
select.input,
textarea.input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 11px 14px;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input:focus {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.input::placeholder {
  color: var(--input-placeholder);
}

.form-hint {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-top: 6px;
}

.auth-wrap {
  min-height: calc(100vh - var(--header-h) - 90px);
  display: grid;
  place-items: center;
  padding: 56px 20px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: 24px;
  margin-bottom: 6px;
  text-align: center;
}

.auth-card .sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 24px;
}

.tabs button {
  background: none;
  border: 0;
  color: var(--text-dim);
  font: inherit;
  font-weight: 600;
  padding: 9px;
  border-radius: 7px;
  cursor: pointer;
}

.tabs button.active {
  background: var(--panel);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.auth-alt {
  text-align: center;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-mute);
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.dash-head h1 {
  margin: 0 0 4px;
  font-size: 26px;
}

.dash-head p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.info-list {
  display: grid;
  gap: 13px;
  margin: 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.info-list dt {
  color: var(--text-mute);
}

.info-list dd {
  margin: 0;
  color: var(--text);
  text-align: right;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: var(--progress-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 14px 0 8px;
}

.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  border: 1px solid var(--border-strong);
  background: var(--notice-bg);
  color: var(--text-dim);
}

.notice svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--panel);
}

.stepper button {
  width: 40px;
  height: 42px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.stepper button:hover {
  background: var(--overlay);
  color: var(--accent);
}

.stepper button[disabled] {
  color: var(--text-mute);
  opacity: 0.5;
  cursor: not-allowed;
}

.stepper span {
  min-width: 54px;
  text-align: center;
  font-weight: 700;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 42px;
}

.plan-options {
  display: grid;
  gap: 12px;
}

.plan-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.18s ease;
  background: var(--panel);
}

.plan-option:hover {
  border-color: var(--border-strong);
}

.plan-option.selected {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.plan-option .radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  flex: none;
  position: relative;
}

.plan-option.selected .radio {
  border-color: var(--accent);
}

.plan-option.selected .radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.plan-option .meta {
  flex: 1;
}

.plan-option .meta b {
  display: block;
  font-size: 15px;
}

.plan-option .meta span {
  color: var(--text-mute);
  font-size: 13px;
}

.plan-option .amount {
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}

.order-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 9px 0;
  color: var(--text-dim);
}

.summary-line.total {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 16px;
  color: var(--text);
  font-size: 15px;
}

.summary-line.total b {
  font-size: 26px;
  color: var(--accent);
}

.pay-methods {
  display: grid;
  gap: 10px;
  margin: 6px 0 20px;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  cursor: pointer;
  background: var(--panel);
  transition: all 0.18s ease;
}

.pay-method.selected {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.pay-method .radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  flex: none;
  position: relative;
}

.pay-method.selected .radio {
  border-color: var(--accent);
}

.pay-method.selected .radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.pay-method b {
  font-size: 14.5px;
}

.pay-method span {
  color: var(--text-mute);
  font-size: 12.5px;
  display: block;
}

.pay-method.disabled {
  opacity: 0.55;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 26px;
  align-items: start;
}

.steps-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.steps-bar div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-mute);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  background: var(--panel);
}

.steps-bar div b {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--overlay);
  color: var(--text-dim);
  font-size: 12px;
}

.steps-bar div.on {
  color: var(--text);
  border-color: var(--accent-line);
}

.steps-bar div.on b {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
}

.download-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
}

.download-card h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.download-card p {
  color: var(--text-dim);
  margin-bottom: 22px;
}

.file-meta {
  display: grid;
  gap: 11px;
}

.file-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 10px;
}

.file-meta div:last-child {
  border-bottom: 0;
}

.file-meta dt {
  color: var(--text-mute);
}

.file-meta dd {
  margin: 0;
  font-family: Consolas, monospace;
  font-size: 12.5px;
  color: var(--text);
  text-align: right;
  word-break: break-all;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
  padding: 44px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer h4 {
  font-size: 14px;
  margin-bottom: 14px;
}

.footer a {
  display: block;
  color: var(--text-dim);
  font-size: 13.5px;
  padding: 4px 0;
}

.footer a:hover {
  color: var(--accent);
}

.footer p {
  color: var(--text-mute);
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 13px;
}

.captcha-mask {
  position: fixed;
  inset: 0;
  background: var(--mask);
  backdrop-filter: blur(4px);
  display: none;
  place-items: center;
  z-index: 130;
  padding: 20px;
}

.captcha-mask.open {
  display: grid;
}

.captcha-card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.captcha-card.shake {
  animation: captcha-shake 0.3s ease;
}

@keyframes captcha-shake {
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}

.captcha-track {
  position: relative;
  height: 48px;
  margin-top: 14px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.captcha-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent-soft);
}

.captcha-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--text-mute);
  pointer-events: none;
}

.captcha-handle {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
}

.captcha-handle:active {
  cursor: grabbing;
}

.modal-mask {
  position: fixed;
  inset: 0;
  background: var(--mask);
  backdrop-filter: blur(4px);
  display: none;
  place-items: center;
  z-index: 100;
  padding: 20px;
}

.modal-mask.open {
  display: grid;
}

.modal {
  width: 100%;
  max-width: 460px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}

.modal h3 {
  font-size: 20px;
}

.modal p {
  color: var(--text-dim);
  font-size: 14px;
}

.modal .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.modal-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}

.modal-icon svg {
  width: 27px;
  height: 27px;
}

.toast-wrap {
  position: fixed;
  top: 84px;
  right: 22px;
  z-index: 200;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 240px;
  max-width: 360px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 13px 17px;
  font-size: 14px;
  box-shadow: var(--shadow);
  animation: toast-in 0.22s ease;
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.success {
  border-left-color: var(--success);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.muted {
  color: var(--text-mute);
}

.text-dim {
  color: var(--text-dim);
}

.mt-0 {
  margin-top: 0;
}

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

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mono {
  font-family: Consolas, "Courier New", monospace;
}

.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 0 0 16px;
  overflow-x: auto;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--code-text);
  white-space: pre;
  tab-size: 2;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 26px 0;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px;
    margin: 0;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-inner {
    gap: 14px;
  }

  .nav-toggle {
    order: 3;
  }

  .theme-switch {
    order: 2;
    margin-right: 0;
  }

  .header-actions {
    order: 1;
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

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

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    padding: 32px 22px;
  }

  .float-card {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .page-hero h1 {
    font-size: 29px;
  }
}
