:root {
  --bg: #08090c; --card: #12141b; --card2: #171a22; --line: #232734; --line2: #2e3342;
  --fg: #e9ecf2; --dim: #8e97a8; --dim2: #6b7486;
  --acc: #ff5b35; --acc2: #ff8a3d; --blue: #5b8cff; --ok: #35c17e; --warn: #e8a33d; --err: #f0616d;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1100px 500px at 50% -180px, #1a1420 0%, var(--bg) 60%) no-repeat, var(--bg);
  color: var(--fg);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--dim); }
.mono { font-family: var(--mono); }

/* ---------- topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px);
  background: rgba(8,9,12,.72); border-bottom: 1px solid var(--line); }
.topbar .inner { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .2px; }
.brand .mk { width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--acc), #b04cff); display: grid; place-items: center;
  font-size: 13px; color: #fff; }
.brand small { color: var(--dim); font-weight: 400; font-size: 12px; margin-left: 4px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 7px 11px; border-radius: 8px; color: #c3cad8; font-size: 13.5px; }
.nav a:hover { background: #171a22; color: #fff; }
.topbar .spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line2); background: var(--card2); color: var(--fg);
  padding: 9px 15px; border-radius: 10px; font-size: 13.5px; cursor: pointer; white-space: nowrap;
  transition: .15s; font-family: inherit; }
.btn:hover { background: #1e2230; border-color: #394054; }
.btn.primary { background: linear-gradient(135deg, var(--acc), var(--acc2)); border: 0; color: #fff;
  font-weight: 600; box-shadow: 0 6px 22px -10px rgba(255,91,53,.9); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.block { width: 100%; padding: 12px 16px; font-size: 14.5px; }
.btn:disabled { opacity: .5; cursor: default; box-shadow: none; }

/* ---------- hero ---------- */
.hero { padding: 74px 0 46px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #ffb59f;
  border: 1px solid #3d241c; background: #1c1210; padding: 5px 11px; border-radius: 999px; }
.hero h1 { font-size: 46px; line-height: 1.18; margin: 18px 0 12px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #ff8a3d, #ff5b35 45%, #c86bff);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #a9b2c4; font-size: 16px; max-width: 620px; margin: 0 0 24px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .facts { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero .fact { font-size: 13px; color: var(--dim); }
.hero .fact b { color: var(--fg); font-weight: 600; }

/* ---------- sections ---------- */
section.block { padding: 44px 0; }
.sec-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.sec-head h2 { font-size: 22px; margin: 0; letter-spacing: -.2px; }
.sec-head span { color: var(--dim); font-size: 13px; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plans.single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.plan { background: linear-gradient(180deg, #151821, #11131a); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px;
  transition: .18s; position: relative; overflow: hidden; }
.plan:hover { transform: translateY(-2px); border-color: #3a4256; }
.plan .row { display: flex; align-items: center; gap: 8px; }
.plan h3 { font-size: 16.5px; margin: 0; }
.plan .sub { color: var(--dim); font-size: 12.5px; }
.plan .badge { font-size: 11px; color: #d7c7ff; border: 1px solid #3b2f57; background: #1b1730;
  padding: 2px 8px; border-radius: 999px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.plan .price b { font-size: 26px; letter-spacing: -.4px; }
.plan .price b small { font-size: 13px; color: var(--dim); font-weight: 400; }
.plan .off { color: var(--dim2); font-size: 12.5px; text-decoration: line-through; }

/* ---------- steps / faq ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.stepcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--card); }
.stepcard .n { width: 26px; height: 26px; border-radius: 8px; background: #1e2230; border: 1px solid var(--line2);
  display: grid; place-items: center; font-size: 12.5px; color: #c9d3e6; margin-bottom: 10px; }
.stepcard h4 { margin: 0 0 4px; font-size: 14.5px; }
.stepcard p { margin: 0; color: var(--dim); font-size: 13px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { padding: 15px 18px; cursor: pointer; font-size: 14px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--dim); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 18px 16px; color: var(--dim); font-size: 13.5px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 40px; color: var(--dim); font-size: 12.5px; }
footer .cols { display: flex; gap: 26px; flex-wrap: wrap; justify-content: space-between; }
footer a:hover { color: #fff; }
footer .fine { margin-top: 16px; color: var(--dim2); font-size: 11.5px; }

/* ---------- offer / order layout ---------- */
.page { padding: 30px 0 60px; }
.crumb { font-size: 12.5px; color: var(--dim); margin-bottom: 16px; }
.crumb a:hover { color: #fff; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.panel .hd { padding: 18px 20px 0; }
.panel .bd { padding: 16px 20px 20px; }
.panel + .panel { margin-top: 14px; }
.ptitle { font-size: 22px; margin: 0 0 6px; letter-spacing: -.3px; }
.psub { color: var(--dim); font-size: 13px; margin: 0 0 14px; }
.notice-box { border: 1px solid #3a2a1b; background: #1a1310; border-radius: 12px; padding: 13px 15px; }
.notice-box h4 { margin: 0 0 8px; font-size: 13px; color: #ffc9b5; }
.notice-box ul { margin: 0; padding-left: 18px; color: #cdbdb4; font-size: 12.8px; }
.notice-box li + li { margin-top: 5px; }
.plain-list { margin: 0; padding-left: 18px; color: var(--dim); font-size: 13px; }
.plain-list li + li { margin-top: 5px; }

/* form */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--dim); margin-bottom: 6px; }
.field label .req { color: var(--acc); margin-left: 3px; }
input[type=text], input[type=email], textarea, select {
  width: 100%; background: #0b0d12; color: var(--fg); border: 1px solid var(--line2);
  border-radius: 10px; padding: 10px 12px; font: 13.5px/1.5 inherit; outline: none; }
input:focus, textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255,91,53,.12); }
textarea { min-height: 96px; resize: vertical; font-family: var(--mono); font-size: 12px; }
.hint { color: var(--dim2); font-size: 11.5px; margin-top: 6px; }
.err { color: var(--err); font-size: 12.5px; min-height: 18px; margin-top: 4px; }

.pay-methods { display: grid; gap: 8px; }
.pay { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line2); border-radius: 10px;
  padding: 10px 12px; cursor: pointer; transition: .15s; background: #0f1118; }
.pay:hover { border-color: #394054; }
.pay.on { border-color: var(--acc); background: #1a1210; }
.pay .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #4a5162; flex: none; }
.pay.on .dot { border: 4px solid var(--acc); }
.pay .nm { font-size: 13.5px; }
.pay .nt { font-size: 11.5px; color: var(--dim); }

.pricebar { display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px dashed var(--line2); padding-top: 14px; margin-top: 4px; }
.pricebar .lbl { color: var(--dim); font-size: 12.5px; }
.pricebar .val { font-size: 24px; font-weight: 700; letter-spacing: -.4px; color: #fff; }
.pricebar .val small { font-size: 12.5px; color: var(--dim); font-weight: 400; }

/* order page */
.orderhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.code-chip { font-family: var(--mono); font-size: 12.5px; color: #cfd6e4; background: #171a22;
  border: 1px solid var(--line2); padding: 3px 9px; border-radius: 7px; }
.status-chip { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid #2f4d76;
  background: #101a2b; color: #9ecbff; }
.status-chip.paid { border-color: #1f5c40; background: #10281d; color: #b9f0d5; }
.status-chip.done { border-color: #1f5c40; background: #103024; color: #8effc6; }

.qrbox { border: 1px dashed var(--line2); border-radius: 12px; padding: 18px; text-align: center; background: #0d0f15; }
.qrbox .ph { width: 170px; height: 170px; margin: 0 auto 10px; border-radius: 10px;
  background: repeating-linear-gradient(45deg,#151922,#151922 8px,#1b202b 8px,#1b202b 16px);
  display: grid; place-items: center; color: var(--dim2); font-size: 12px; }
.qrbox .tm { font-family: var(--mono); font-size: 22px; color: #ffd0be; letter-spacing: 1px; }

/* timeline */
.tl { margin: 4px 0 0; }
.tl .row { display: flex; gap: 12px; }
.tl .bul { width: 18px; flex: none; display: flex; justify-content: center; position: relative; }
.tl .bul i { width: 9px; height: 9px; border-radius: 50%; background: #2a3140; margin-top: 6px; z-index: 1; }
.tl .bul::after { content: ""; position: absolute; top: 15px; bottom: -6px; width: 1px; background: #262d3a; }
.tl .row:last-child .bul::after { display: none; }
.tl .row.done .bul i { background: var(--ok); }
.tl .row.cur .bul i { background: var(--acc); box-shadow: 0 0 0 3px #2a1710; }
.tl .txt { padding-bottom: 12px; }
.tl .txt b { font-size: 13.5px; font-weight: 600; }
.tl .row.pending .txt b { color: #6b7486; font-weight: 500; }
.tl .txt span { display: block; color: var(--dim2); font-size: 11.5px; font-family: var(--mono); }

/* toast */
#toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(8px);
  background: #1b2029; border: 1px solid var(--line2); color: var(--fg); padding: 10px 16px;
  border-radius: 10px; font-size: 13px; opacity: 0; transition: .2s; pointer-events: none; z-index: 90; }
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.bad { border-color: #55242a; color: #ffb8bd; }
