:root {
  --bg: #0d1018; --bg2: #121622; --card: #171c2a; --line: #262d40; --text: #e9e6df; --text2: #a9adbb; --text3: #7a8091;
  --gold: #f0b429; --gold2: #ffd27a; --red: #ff7a6b; --green: #4fd49a;
  --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--gold2); }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

/* header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.brand img { width: 32px; height: 32px; border-radius: 6px; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: #d9d4c8; text-decoration: none; font-size: 15px; }
.top nav a:hover { color: #fff; }
.top nav a.btn-sm { padding: 6px 16px; border: 1px solid rgba(240, 180, 41, .6); border-radius: 6px; color: var(--gold2); }

/* hero */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-start; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9, 11, 18, .82) 0%, rgba(9, 11, 18, .55) 38%, rgba(9, 11, 18, 0) 66%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: 1; background: linear-gradient(transparent, var(--bg)); }
.hero-in { position: relative; z-index: 2; padding-top: clamp(130px, 19vh, 190px); }
.hero h1 { margin: 0; font-size: clamp(38px, 6vw, 64px); line-height: 1.15; letter-spacing: .01em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { max-width: 560px; margin: 18px 0 0; font-size: clamp(16px, 1.6vw, 19px); color: #d6d2c8; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 8px;
       font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #ffcf5c, #e9a51a); color: #1b1407; box-shadow: 0 8px 28px rgba(240, 170, 40, .28); }
.btn-gold:hover { box-shadow: 0 10px 34px rgba(240, 170, 40, .4); }
.btn-ghost { background: rgba(13, 16, 24, .55); color: var(--text); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.meta { margin-top: 14px; font-size: 14px; color: #b9b3a6; }

/* sections */
section { padding: 84px 0 0; }
.kicker { color: var(--gold); font-size: 14px; letter-spacing: .14em; font-weight: 700; margin: 0 0 8px; }
h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.3; }
.sub { margin: 0 0 34px; color: var(--text2); max-width: 680px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.card { background: linear-gradient(180deg, #1a2030, var(--card)); border: 1px solid var(--line); border-radius: 12px; padding: 24px 24px 22px; }
.card h3 { margin: 14px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text2); font-size: 15px; }
.ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(240, 180, 41, .1); border: 1px solid rgba(240, 180, 41, .25); }
.ico svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* screenshots */
.shots { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: start; }
.window { border-radius: 10px; overflow: hidden; border: 1px solid #2b3246; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); background: #15171c; }
.window .bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #1d2130; border-bottom: 1px solid #2b3246; font-size: 13px; color: var(--text2); }
.window .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4256; }
.window .bar i:first-child { background: #f0b429; }
.shots-side h3 { margin: 0 0 10px; font-size: 20px; }
.shots-side p { color: var(--text2); margin: 0 0 18px; }
.panel-pic { display: flex; gap: 22px; align-items: flex-start; margin: 28px 0 0; padding: 22px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.panel-pic img { width: 240px; flex: none; border-radius: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.panel-pic p { margin: 0; font-size: 15px; color: var(--text2); }
.panel-pic strong { color: var(--text); display: block; margin-bottom: 6px; }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { position: relative; padding-left: 26px; margin: 0 0 10px; color: var(--text2); }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) translateY(-50%); }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 20px; left: 24px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #1b1407; background: var(--gold); }
code { font-family: Consolas, "Cascadia Mono", monospace; background: rgba(255, 255, 255, .07); padding: 1px 6px; border-radius: 4px; color: var(--text); }

/* price */
.price { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.price .card { display: flex; flex-direction: column; padding: 30px; }
.price .card.main { border-color: rgba(240, 180, 41, .45); background: linear-gradient(180deg, #241f19, #191a22); }
.amount { font-size: 44px; font-weight: 800; line-height: 1.1; margin: 10px 0 4px; }
.amount small { font-size: 16px; font-weight: 400; color: var(--text2); margin-left: 6px; }
.price ul.ticks { margin: 18px 0 26px; flex: 1; }
.price .btn { width: 100%; }
#buy-msg, .msg-line { min-height: 1.6em; margin: 10px 0 0; font-size: 14px; color: var(--red); }

/* notes */
.notes { border-left: 3px solid var(--gold); background: var(--card); border-radius: 0 12px 12px 0; padding: 26px 30px; }
.notes ol { margin: 0; padding-left: 20px; }
.notes li { margin: 0 0 12px; color: var(--text2); }
.notes li:last-child { margin-bottom: 0; }
.notes li strong { color: var(--text); }
.notes li.warn strong { color: var(--red); }

footer { margin-top: 96px; padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--text3); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* thanks page */
.done { min-height: 100vh; display: grid; place-items: center; padding: 100px 0 60px; background: radial-gradient(1200px 500px at 50% -10%, #2a2233, var(--bg)); }
.done .card { width: min(560px, calc(100vw - 32px)); padding: 34px; text-align: center; }
.code { margin: 22px 0 8px; padding: 18px; border-radius: 10px; border: 1px dashed rgba(240, 180, 41, .55); background: rgba(240, 180, 41, .06);
        font: 700 clamp(20px, 5vw, 28px)/1.2 Consolas, "Cascadia Mono", monospace; letter-spacing: .06em; color: var(--gold2); word-break: break-all; }
.done ol { text-align: left; color: var(--text2); margin: 22px 0 0; padding-left: 22px; }

@media (max-width: 900px) {
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shots .window { max-width: 420px; }
}
@media (max-width: 640px) {
  .top nav a:not(.btn-sm) { display: none; }
  .grid3, .steps, .price { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .hero > img { object-position: 72% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(9, 11, 18, .78) 0%, rgba(9, 11, 18, .62) 55%, rgba(9, 11, 18, .35) 100%); }
  .hero-in { padding-top: 116px; padding-bottom: 120px; }
  .panel-pic { flex-direction: column; }
  section { padding-top: 64px; }
  .cta .btn { width: 100%; }
}
