/* ---------- tokens ---------- */
:root {
  --bg: #080b12;
  --bg-alt: #0b0f18;
  --panel: #101725;
  --panel-2: #0d1420;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9eef7;
  --muted: #8b9ab0;
  --dim: #5d6b80;
  --accent: #4f8cff;
  --accent-2: #22d3ee;
  --accent-soft: rgba(79, 140, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--mono); font-size: 0.9em; color: var(--accent-2); }

.wrap {
  width: min(100% - 48px, var(--maxw));
  margin-inline: auto;
}
.wrap.narrow { width: min(100% - 48px, 780px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease,
              border-color 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061019;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(79, 140, 255, 0.38); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 11, 18, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-mark {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 3px;
  border: 1.5px solid rgba(0, 0, 0, 0.35);
}
.brand-text { font-size: 17px; letter-spacing: 0.02em; }
.brand-text em {
  font-style: normal;
  color: var(--dim);
  font-size: 12px;
  margin-left: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; color: var(--muted); }
.nav a { transition: color 0.2s ease; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text) !important;
  font-size: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover { background: var(--accent-soft); border-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 18px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-glow {
  position: absolute;
  top: -340px; left: 50%;
  width: 900px; height: 700px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(79, 140, 255, 0.22), transparent 70%),
    radial-gradient(closest-side, rgba(34, 211, 238, 0.14), transparent 72%);
  pointer-events: none;
  filter: blur(10px);
}
.hero-inner { position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 6px 14px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.grad {
  background: linear-gradient(100deg, #6ea8ff 10%, #22d3ee 55%, #7ef2c9 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-stats > div {
  background: rgba(13, 20, 32, 0.86);
  padding: 22px 24px;
}
.hero-stats dt { font-size: 13px; color: var(--dim); letter-spacing: 0.04em; }
.hero-stats dd {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: -0.02em;
}

/* ---------- section shell ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 650; }
.section-sub { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* ---------- billing switch ---------- */
.billing { display: flex; align-items: center; gap: 12px; }
.billing-label { font-size: 13px; color: var(--dim); letter-spacing: 0.04em; }
.switch {
  display: inline-flex;
  padding: 4px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.switch-btn {
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease, background 0.25s ease;
}
.switch-btn.is-active {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.9), rgba(34, 211, 238, 0.85));
  color: #061019;
  font-weight: 600;
}

/* ---------- toolbar ---------- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab.is-active {
  color: var(--text);
  border-color: rgba(79, 140, 255, 0.55);
  background: var(--accent-soft);
}
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dim); }
.sort select {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* ---------- product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.28s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 140, 255, 0.4);
  box-shadow: var(--shadow);
}
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 20px; font-weight: 620; }
.card-gpu {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--accent-2);
  font-family: var(--mono);
  letter-spacing: 0.01em;
}
.badge {
  flex: none;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(126, 242, 201, 0.12);
  color: #7ef2c9;
  border: 1px solid rgba(126, 242, 201, 0.3);
  white-space: nowrap;
}
.badge.is-new { background: rgba(34, 211, 238, 0.12); color: var(--accent-2); border-color: rgba(34, 211, 238, 0.3); }

.specs {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
}
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.specs li b {
  font-weight: 500;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  text-align: right;
}
.card-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.price { display: flex; align-items: baseline; gap: 4px; }
.price .cur { font-size: 15px; color: var(--muted); }
.price .num {
  font-size: 30px;
  font-weight: 650;
  font-family: var(--mono);
  letter-spacing: -0.03em;
}
.price .unit { font-size: 13px; color: var(--dim); margin-left: 2px; }
.price-was {
  font-size: 12.5px;
  color: var(--dim);
  text-decoration: line-through;
  margin-top: 2px;
}
.card .btn { padding: 10px 18px; font-size: 14px; }
.grid-note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--dim);
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature { background: var(--panel-2); padding: 30px 28px; }
.feature h3 { font-size: 17.5px; font-weight: 600; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* ---------- compare table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14.5px;
}
.compare-table th,
.compare-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.compare-table th {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.02);
}
.compare-table td:first-child { font-weight: 550; }
.compare-table td:nth-child(2) { font-family: var(--mono); color: var(--muted); }
.compare-table td:last-child { font-family: var(--mono); color: var(--accent-2); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(79, 140, 255, 0.05); }
.compare-table tr.is-hot td:first-child { color: var(--accent-2); }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 26px 24px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.steps h3 { margin-top: 12px; font-size: 17.5px; font-weight: 600; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  padding: 0 22px;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: rgba(79, 140, 255, 0.35); }
.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--dim);
  font-family: var(--mono);
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq details[open] summary::after { content: "−"; color: var(--accent-2); }
.faq details p {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg), #060910); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(26px, 3.4vw, 36px); }
.contact-copy > p { margin-top: 16px; color: var(--muted); font-size: 15.5px; max-width: 440px; }
.contact-list { margin-top: 30px; display: grid; gap: 12px; font-size: 15px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list span { color: var(--dim); width: 72px; flex: none; font-size: 14px; }
.contact-list a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.contact-list a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #0a1018;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #47536a; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.14);
}
.field input.is-error,
.field textarea.is-error { border-color: #f26d6d; }
.form-hint { min-height: 22px; font-size: 13.5px; color: var(--dim); }
.form-hint.is-ok { color: #7ef2c9; }
.form-hint.is-bad { color: #f28b8b; }
.form-hint a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: #05070c;
}
.footer-inner { display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.footer-note { color: var(--dim); font-size: 13px; }
.footer-copy { color: #3c4759; font-size: 12.5px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .wrap, .wrap.narrow { width: calc(100% - 36px); }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 18px 20px;
    background: rgba(8, 11, 18, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 11px 4px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { margin-top: 10px; text-align: center; border-radius: 999px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .hero-stats { margin-top: 44px; }
  .hero-stats dd { font-size: 20px; }
  .section-head { align-items: flex-start; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
