:root {
  --bg: #0b0f14;
  --bg-soft: #10161d;
  --paper: #131b23;
  --ink: #e8f1f5;
  --muted: #8a9ba8;
  --accent: #35e0c8;
  --accent-dim: #1c5f57;
  --amber: #ffcc66;
  --line: #22303c;
  --radius: 14px;
  --shell: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(700px 420px at 80% -6%, rgba(53, 224, 200, 0.13), transparent 62%),
    radial-gradient(560px 380px at 2% 30%, rgba(255, 204, 102, 0.06), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.28; font-weight: 700; }

.page-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 15, 20, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.primary-nav { margin-left: auto; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  color: var(--muted);
}

.primary-nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.primary-nav a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: rgba(53, 224, 200, 0.1);
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-download svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-download:hover {
  background: var(--accent);
  color: #04120f;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  padding: 60px 0 52px;
  overflow: hidden;
}

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

.hero-kicker {
  display: inline-block;
  font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: rgba(53, 224, 200, 0.07);
  border-radius: 6px;
  padding: 4px 11px;
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(38px, 5.4vw, 60px);
  letter-spacing: -0.02em;
  font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
}

.hero-subtitle {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 700;
  color: var(--accent);
}

.hero-lead {
  margin-top: 16px;
  max-width: 480px;
  color: var(--muted);
  font-size: 15.5px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 15.5px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--accent);
  color: #04120f;
  box-shadow: 0 10px 26px rgba(53, 224, 200, 0.24);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(53, 224, 200, 0.3);
}

.button-large { padding: 15px 30px; font-size: 16.5px; }

.text-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 2px;
}

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

.hero-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.hero-tags li {
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12.5px;
}

.hero-tags b { color: var(--amber); }

/* ---------- hero console ---------- */
.search-console {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #141d26, #0e151c);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}

.console-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2b3b48;
}

.console-top span:first-child { background: #ff6b6b; }
.console-top span:nth-child(2) { background: var(--amber); }
.console-top span:nth-child(3) { background: var(--accent); }

.console-top em {
  margin-left: auto;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.console-field {
  margin: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  background: rgba(53, 224, 200, 0.05);
}

.console-field b {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  padding: 1px 6px;
  flex: none;
}

.console-field p {
  font-size: 14px;
  font-family: "SFMono-Regular", Consolas, monospace;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-field i {
  margin-left: auto;
  flex: none;
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
}

.console-results {
  padding: 0 16px;
  display: grid;
  gap: 8px;
}

.console-results li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid transparent;
}

.console-results li:hover {
  border-color: var(--accent-dim);
  background: rgba(53, 224, 200, 0.06);
}

.console-results b {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: var(--amber);
  flex: none;
}

.console-results p {
  font-size: 13px;
  color: #c3d2dc;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-results em {
  margin-left: auto;
  flex: none;
  font-style: normal;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11.5px;
  color: var(--muted);
}

.console-foot {
  margin-top: 14px;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
}

/* ---------- section shared ---------- */
section { padding: 54px 0; }

.section-heading {
  max-width: 660px;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 8px;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(23px, 2.8vw, 31px);
  letter-spacing: -0.01em;
}

.section-heading p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.section-heading-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}

.section-heading-split > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}

/* ---------- features ---------- */
.features {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.rule-grid article {
  padding: 24px 20px;
  background: var(--bg-soft);
  transition: background 0.2s ease;
}

.rule-grid article:hover { background: #16202a; }

.rule-grid span {
  display: inline-block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.rule-grid h3 {
  margin: 10px 0 7px;
  font-size: 18px;
}

.rule-grid p {
  font-size: 13.8px;
  color: var(--muted);
}

/* ---------- shots ---------- */
.film-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.film-grid figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.film-grid figure:hover {
  border-color: var(--accent-dim);
  transform: translateY(-3px);
}

.film-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}

.film-grid figcaption {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 5px 3px;
  font-size: 13.5px;
  font-weight: 700;
}

.film-grid figcaption b {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  color: var(--accent);
}

.film-grid figcaption small {
  margin-left: auto;
  font-weight: 400;
  font-size: 11.5px;
  color: var(--muted);
}

.sample-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- faq ---------- */
.faq {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(53, 224, 200, 0.03), transparent 60%);
}

.faq-stack {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-stack details {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-soft);
  overflow: hidden;
}

.faq-stack details[open] { border-color: var(--accent-dim); }

.faq-stack summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

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

.faq-stack summary h3 {
  font-size: 15.5px;
  font-weight: 700;
  flex: 1;
}

.faq-stack summary i {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.faq-stack summary i::before,
.faq-stack summary i::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}

.faq-stack summary i::before {
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
}

.faq-stack summary i::after {
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  transition: transform 0.2s ease;
}

.faq-stack details[open] summary i::after { transform: scaleY(0); }

.faq-stack details > p {
  padding: 0 18px 16px;
  font-size: 14.2px;
  color: var(--muted);
  max-width: 720px;
}

/* ---------- reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.review-card p {
  font-size: 14px;
  color: #c6d4dd;
}

.review-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.review-meta b {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- steps ---------- */
.steps {
  border-top: 1px solid var(--line);
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step-row li {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.step-row li::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.step-row span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.step-row h3 {
  margin: 8px 0 6px;
  font-size: 18px;
}

.step-row p {
  font-size: 13.8px;
  color: var(--muted);
}

/* ---------- download ---------- */
.download { padding-bottom: 70px; }

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  border: 1px solid var(--accent-dim);
  border-radius: 16px;
  background:
    radial-gradient(420px 220px at 88% 10%, rgba(53, 224, 200, 0.16), transparent 70%),
    #10181f;
}

.download-copy { max-width: 520px; }

.download-copy .eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 10px;
}

.download-copy h2 {
  font-size: clamp(22px, 2.6vw, 29px);
}

.download-copy p:last-child {
  margin-top: 10px;
  font-size: 14.2px;
  color: var(--muted);
}

.download-act {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: none;
}

.download-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.download-notes li::before {
  content: "/ ";
  color: var(--accent);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #080c10;
  padding: 40px 0 46px;
}

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

.footer-brand strong {
  font-size: 17px;
  letter-spacing: 0.01em;
}

.footer-brand p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
  color: var(--muted);
}

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

.footer-meta {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

.footer-meta a {
  display: inline-block;
  margin-top: 6px;
  border-bottom: 1px dashed var(--line);
}

.disclaimer {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #63727e;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 32px; }
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 860px) {
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0d141a;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }

  .primary-nav.is-open { display: block; }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 15px;
  }

  .primary-nav ul li { width: 100%; }

  .primary-nav a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle { display: grid; }

  .hero { padding: 40px 0 38px; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .search-console { max-width: 520px; }

  .download-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-heading-split { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-heading-split > p { white-space: normal; }
}

@media (max-width: 560px) {
  .page-shell { padding: 0 18px; }
  .nav-shell { padding: 10px 18px; gap: 10px; }
  .nav-download span { display: none; }
  .nav-download { padding: 9px 12px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { gap: 14px; }
  .button { padding: 12px 20px; font-size: 15px; }
  .rule-grid { grid-template-columns: minmax(0, 1fr); }
  .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .step-row { grid-template-columns: minmax(0, 1fr); }
  .console-field { flex-wrap: wrap; }
  .console-field i { margin-left: 0; }
  .download-notes { flex-direction: column; gap: 6px; }
  section { padding: 44px 0; }
}
