:root {
  --bg: #0c0d10;
  --bg-alt: #12141a;
  --surface: #171a22;
  --surface-hover: #1d212b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --accent: #d8a85c;
  --accent-hover: #e5bb74;
  --accent-ink: #111216;
  --cool: #7ea6e0;
  --radius: 14px;
  --radius-sm: 9px;
  --max-w: 1080px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  line-height: 1.65;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(216, 168, 92, 0.12), transparent 65%),
    var(--bg);
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 5px;
  color: #e5e7eb;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 15px;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #8a6429);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 3px;
  border: 1.5px solid rgba(17, 18, 22, 0.78);
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--text-muted);
}

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

/* Hero */
.hero {
  padding: 92px 0 76px;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 auto 32px;
  max-width: 620px;
  font-size: 16px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.14s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.btn-block {
  width: 100%;
}

.platform-bar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12.5px;
  color: var(--text-muted);
}

.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* Sections */
.section {
  padding: 76px 0;
}

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

.section-head {
  margin-bottom: 38px;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.product-card:hover {
  border-color: var(--border-strong);
}

.card-visual {
  height: 176px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.visual-focus {
  background:
    radial-gradient(circle at 20% 25%, rgba(216, 168, 92, 0.18), transparent 55%),
    linear-gradient(160deg, #161922, #101218);
}

.visual-stack {
  width: 100%;
  max-width: 340px;
  display: grid;
  gap: 8px;
}

.layer {
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.layer-1 { width: 76%; }
.layer-2 { width: 84%; margin-left: 8%; }
.layer-3 { width: 92%; margin-left: 8%; }
.layer-result {
  width: 100%;
  background: rgba(216, 168, 92, 0.14);
  border-color: rgba(216, 168, 92, 0.36);
  color: #f4d6a1;
  font-weight: 600;
}

.visual-pixelshift {
  background:
    radial-gradient(circle at 80% 25%, rgba(126, 166, 224, 0.18), transparent 55%),
    linear-gradient(160deg, #151923, #101218);
}

.sensor-grid {
  position: relative;
  width: 240px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-frame {
  position: absolute;
  width: 150px;
  height: 88px;
  border-radius: 8px;
  border: 1px solid rgba(126, 166, 224, 0.28);
  background-image:
    linear-gradient(rgba(126, 166, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 166, 224, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}

.gf-1 { transform: translate(-12px, -8px); opacity: 0.45; }
.gf-2 { transform: translate(0, 0); opacity: 0.7; }
.gf-3 { transform: translate(12px, 8px); border-color: rgba(126, 166, 224, 0.55); }

.grid-badge {
  position: relative;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.86);
  border: 1px solid rgba(126, 166, 224, 0.4);
  color: #c8ddf9;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.badge-warm {
  background: rgba(216, 168, 92, 0.14);
  color: #ecc889;
  border: 1px solid rgba(216, 168, 92, 0.26);
}

.badge-cool {
  background: rgba(126, 166, 224, 0.14);
  color: #b7d2f8;
  border: 1px solid rgba(126, 166, 224, 0.26);
}

.version-pill {
  font-size: 12px;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.25;
}

.en-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 6px;
}

.card-summary {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.feature-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13.8px;
  color: #d1d5db;
}

.feature-list li {
  position: relative;
  padding-left: 16px;
}

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

.card-meta {
  margin-top: auto;
  padding-top: 14px;
  margin-bottom: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* Install */
.os-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.os-tab {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.os-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

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

/* License */
.license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

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

.license-card-featured {
  border-color: rgba(216, 168, 92, 0.34);
  background: linear-gradient(180deg, rgba(216, 168, 92, 0.06), var(--surface) 60%);
}

.license-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.license-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.license-card ul {
  margin: 0;
  padding-left: 18px;
  color: #d1d5db;
  font-size: 14px;
  display: grid;
  gap: 8px;
}

.purchase-bar {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.purchase-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.purchase-copy strong {
  font-size: 15px;
}

.purchase-copy span {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--text-dim);
  font-size: 18px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 860px) {
  .product-grid,
  .steps-grid,
  .license-grid {
    grid-template-columns: 1fr;
  }

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

  .nav {
    gap: 16px;
    font-size: 13px;
  }
}
