/* ============================================================
   小刘网络授权中心 · 站点样式
   ============================================================ */

:root {
    --bg: #060a16;
    --bg-2: #0a1122;
    --surface: rgba(16, 24, 46, 0.72);
    --surface-solid: #0f1730;
    --surface-2: rgba(255, 255, 255, 0.035);
    --line: rgba(148, 168, 255, 0.14);
    --line-strong: rgba(148, 168, 255, 0.26);
    --text: #e9eefc;
    --text-soft: #c3cce6;
    --muted: #8f9cbf;
    --primary: #5b7cfa;
    --primary-2: #8a5cff;
    --cyan: #3ddad7;
    --gold: #f2c66d;
    --green: #3ddc97;
    --danger: #ff6b81;
    --radius-lg: 24px;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px rgba(3, 7, 20, 0.55);
    --font: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Courier New", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

h1, h2, h3, p, ul, ol {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

code {
    font-family: var(--mono);
}

.hidden {
    display: none !important;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* ---------- 背景 ---------- */

.aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(1200px 700px at 80% -10%, rgba(91, 124, 250, 0.18), transparent 60%),
        radial-gradient(900px 600px at 5% 20%, rgba(138, 92, 255, 0.14), transparent 60%),
        linear-gradient(180deg, #060a16 0%, #070c1a 40%, #050813 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: float 18s ease-in-out infinite;
}

.orb-1 {
    width: 460px;
    height: 460px;
    top: -160px;
    left: -120px;
    background: rgba(91, 124, 250, 0.4);
}

.orb-2 {
    width: 380px;
    height: 380px;
    top: 18%;
    right: -140px;
    background: rgba(138, 92, 255, 0.34);
    animation-delay: -6s;
}

.orb-3 {
    width: 320px;
    height: 320px;
    bottom: -160px;
    left: 38%;
    background: rgba(61, 218, 215, 0.2);
    animation-delay: -12s;
}

.grid-layer {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(30px, 40px, 0) scale(1.06); }
}

/* ---------- 页头 ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(6, 10, 22, 0.62);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--line);
    background: rgba(6, 10, 22, 0.86);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(91, 124, 250, 0.38);
}

.brand-mark.small {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 16px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 16px;
    letter-spacing: 0.5px;
}

.brand-text small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 18px;
}

.main-nav a {
    color: var(--text-soft);
    font-size: 14px;
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    transition: width 0.25s ease;
}

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

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* ---------- 按钮 ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
    white-space: nowrap;
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 30px rgba(91, 124, 250, 0.32);
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 16px 38px rgba(112, 105, 255, 0.44);
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-soft);
}

.btn-ghost:hover:not(:disabled) {
    border-color: rgba(148, 168, 255, 0.45);
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 10px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
}

.link-btn {
    border: none;
    background: none;
    color: var(--primary);
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-btn:hover {
    color: #8fa4ff;
}

.icon-btn {
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text-soft);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}

/* ---------- 用户标识 ---------- */

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.user-chip:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.07);
}

.avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(91, 124, 250, 0.9), rgba(138, 92, 255, 0.9));
    font-size: 13px;
    font-weight: 700;
}

.user-chip-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.user-chip-text strong {
    font-size: 13px;
}

.user-chip-text small {
    font-size: 10px;
    color: var(--muted);
}

/* ---------- 首屏 ---------- */

.hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 60px;
    padding: 92px 0 76px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 600;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 0 rgba(61, 218, 215, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 218, 215, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(61, 218, 215, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 218, 215, 0); }
}

.hero h1 {
    margin: 20px 0 20px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    font-weight: 800;
}

.grad-text {
    background: linear-gradient(100deg, #8fa4ff 0%, #b18cff 45%, #57e0dc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    max-width: 540px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
    color: var(--text-soft);
    font-size: 13px;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.check {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    color: #061018;
    background: linear-gradient(135deg, var(--cyan), var(--green));
}

/* ---------- 首屏可视化 ---------- */

.hero-visual {
    position: relative;
    perspective: 1200px;
}

.visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    background: linear-gradient(160deg, rgba(20, 30, 58, 0.9), rgba(10, 16, 34, 0.94));
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(3deg);
    transition: transform 0.5s ease;
    animation: rise 0.8s ease both;
}

.visual-card:hover {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-6px);
}

.visual-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.visual-dots {
    display: inline-flex;
    gap: 5px;
}

.visual-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.visual-dots i:first-child { background: #ff6b81; }
.visual-dots i:nth-child(2) { background: var(--gold); }
.visual-dots i:last-child { background: var(--green); }

.visual-title {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--green);
    border: 1px solid rgba(61, 220, 151, 0.3);
    background: rgba(61, 220, 151, 0.08);
}

.live-badge i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}

.visual-body {
    padding: 18px;
}

.visual-row {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 13px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
}

.visual-row.done {
    border-color: rgba(61, 220, 151, 0.16);
}

.visual-row.active {
    border-color: rgba(91, 124, 250, 0.35);
    background: rgba(91, 124, 250, 0.08);
}

.visual-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 13px;
    color: var(--green);
    background: rgba(61, 220, 151, 0.1);
}

.visual-row.active .visual-icon {
    color: #9fb0ff;
    background: rgba(91, 124, 250, 0.16);
}

.visual-row strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

.visual-row small {
    color: var(--muted);
    font-size: 11px;
}

.visual-row em {
    font-style: normal;
    font-size: 10px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 8px;
}

.visual-row.done em {
    color: var(--green);
    border-color: rgba(61, 220, 151, 0.3);
}

.visual-row.active em {
    color: #aab8ff;
    border-color: rgba(91, 124, 250, 0.4);
}

.visual-meter {
    height: 4px;
    margin: 16px 2px 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.visual-meter span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    animation: meter 3.2s ease-in-out infinite;
}

@keyframes meter {
    0%, 100% { width: 68%; }
    50% { width: 78%; }
}

.visual-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px 2px;
    font-size: 11px;
    color: var(--muted);
}

.visual-foot b {
    color: var(--text-soft);
    font-size: 12px;
}

.visual-foot span:last-child {
    margin-left: auto;
    color: var(--gold);
    font-family: var(--mono);
}

.float-tag {
    position: absolute;
    padding: 7px 13px;
    border-radius: 10px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-soft);
    border: 1px solid var(--line-strong);
    background: rgba(13, 20, 40, 0.92);
    box-shadow: 0 14px 30px rgba(3, 7, 20, 0.5);
    animation: bob 5s ease-in-out infinite;
}

.float-tag-a {
    top: -18px;
    right: 22px;
    color: var(--cyan);
}

.float-tag-b {
    bottom: -16px;
    left: -18px;
    color: var(--gold);
    animation-delay: -2.5s;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(26px) rotateY(-5deg); }
    to { opacity: 1; transform: translateY(0) rotateY(-5deg); }
}

/* ---------- 区块 ---------- */

.section {
    padding: 78px 0;
}

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 46px;
}

.section-head h2 {
    margin: 12px 0 12px;
    font-size: clamp(26px, 3.4vw, 36px);
    letter-spacing: -0.3px;
}

.section-head p {
    color: var(--muted);
    font-size: 14px;
}

/* ---------- 价格卡片 ---------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.skeleton-card {
    height: 430px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.03) 20%, rgba(255, 255, 255, 0.07) 40%, rgba(255, 255, 255, 0.03) 60%);
    background-size: 220% 100%;
    animation: shimmer 1.6s linear infinite;
}

@keyframes shimmer {
    to { background-position: -220% 0; }
}

.tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(170deg, rgba(22, 32, 62, 0.72), rgba(10, 16, 34, 0.86));
    box-shadow: 0 18px 40px rgba(3, 7, 20, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    animation: rise 0.7s ease both;
}

.tier-card:nth-child(2) { animation-delay: 0.08s; }
.tier-card:nth-child(3) { animation-delay: 0.16s; }

.tier-card:hover {
    transform: translateY(-8px);
    border-color: var(--line-strong);
    box-shadow: 0 26px 60px rgba(3, 7, 20, 0.55);
}

.tier-card.recommended {
    border-color: rgba(138, 92, 255, 0.5);
    background: linear-gradient(170deg, rgba(56, 46, 108, 0.55), rgba(14, 18, 40, 0.92));
    box-shadow: 0 24px 60px rgba(94, 74, 200, 0.28);
}

.tier-card.recommended::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(138, 92, 255, 0.85), rgba(61, 218, 215, 0.5), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.tier-card.master {
    border-color: rgba(242, 198, 109, 0.32);
}

.tier-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tier-head h3 {
    font-size: 19px;
    letter-spacing: 0.5px;
}

.tier-badge {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    color: #dcd2ff;
    background: rgba(138, 92, 255, 0.18);
    border: 1px solid rgba(138, 92, 255, 0.4);
}

.tier-card.master .tier-badge {
    color: #ffe3a6;
    background: rgba(242, 198, 109, 0.12);
    border-color: rgba(242, 198, 109, 0.36);
}

.tier-tagline {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12.5px;
    min-height: 22px;
}

.tier-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 22px 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px dashed var(--line);
}

.tier-price .currency {
    font-size: 20px;
    color: var(--text-soft);
}

.tier-price .amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    background: linear-gradient(180deg, #fff, #b9c6ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tier-card.master .tier-price .amount {
    background: linear-gradient(180deg, #fff4d6, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
}

.tier-price .unit {
    margin-left: 4px;
    font-size: 12px;
    color: var(--muted);
}

.tier-features {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 26px;
    flex: 1;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: var(--text-soft);
}

.tier-features li::before {
    content: "✓";
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    border-radius: 50%;
    font-size: 10px;
    color: var(--cyan);
    background: rgba(61, 218, 215, 0.12);
}

.tier-card .btn {
    width: 100%;
}

/* ---------- 流程 ---------- */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.process-card {
    position: relative;
    padding: 26px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
}

.process-num {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--cyan);
}

.process-card h3 {
    margin: 12px 0 8px;
    font-size: 16px;
}

.process-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

/* ---------- FAQ ---------- */

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 4px 22px;
    transition: border-color 0.25s ease;
}

.faq-item[open] {
    border-color: var(--line-strong);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 28px 16px 0;
    font-size: 14.5px;
    font-weight: 600;
    position: relative;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
    color: var(--muted);
    transition: transform 0.25s ease;
}

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

.faq-item p {
    padding: 0 0 18px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.85;
}

/* ---------- 页脚 ---------- */

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: rgba(4, 7, 16, 0.6);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand strong {
    display: block;
    font-size: 14px;
}

.footer-brand small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
}

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

/* ---------- 用户中心 ---------- */

.dashboard {
    padding: 64px 0 80px;
    min-height: calc(100vh - 76px);
}

.dash-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.dash-head h1 {
    margin: 10px 0 8px;
    font-size: clamp(26px, 3.4vw, 36px);
}

.dash-head p {
    color: var(--muted);
    font-size: 13.5px;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.panel {
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 18px 40px rgba(3, 7, 20, 0.3);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-head h2 {
    font-size: 17px;
}

.kv {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13.5px;
}

.kv:last-of-type {
    border-bottom: none;
}

.kv > span:first-child {
    width: 86px;
    flex-shrink: 0;
    color: var(--muted);
    font-size: 12.5px;
}

.kv strong {
    font-weight: 600;
    color: var(--text-soft);
    word-break: break-all;
}

.kv .mono {
    font-family: var(--mono);
    letter-spacing: 0.5px;
    color: var(--text);
}

.kv .icon-btn {
    margin-left: auto;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid var(--line);
    color: var(--muted);
}

.tag.ok {
    color: var(--green);
    border-color: rgba(61, 220, 151, 0.3);
    background: rgba(61, 220, 151, 0.08);
}

.tag.ok i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}

.tier-pill {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: #cfd8ff;
    background: rgba(91, 124, 250, 0.16);
    border: 1px solid rgba(91, 124, 250, 0.34);
}

.stack-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stack-form h3 {
    font-size: 14px;
    color: var(--text-soft);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    color: var(--text-soft);
}

.field > span:first-child,
.field-label {
    font-size: 12.5px;
    color: var(--muted);
}

.field input,
.code-row input,
.code-row input:focus {
    width: 100%;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    height: 46px;
    padding: 0 14px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: rgba(6, 10, 22, 0.6);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border-color: rgba(91, 124, 250, 0.65);
    background: rgba(10, 16, 34, 0.85);
    box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.14);
}

input::placeholder {
    color: rgba(143, 156, 191, 0.55);
}

.input-wrap {
    position: relative;
    display: block;
}

.input-wrap input {
    padding-right: 62px;
}

.eye-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 11px;
    padding: 5px 9px;
    border-radius: 7px;
}

.eye-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

.code-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 12px;
}

.code-row .btn {
    height: 46px;
    padding: 0 16px;
}

.form-error {
    min-height: 18px;
    margin: 8px 0 0;
    color: var(--danger);
    font-size: 12.5px;
}

.dash-tip {
    margin-top: 20px;
    padding: 18px 22px;
    border-radius: var(--radius);
    border: 1px dashed var(--line-strong);
    background: rgba(91, 124, 250, 0.06);
}

.dash-tip strong {
    font-size: 13px;
    color: var(--cyan);
}

.dash-tip p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12.5px;
}

/* ---------- 弹窗 ---------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.open {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 14, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    background: linear-gradient(170deg, rgba(22, 32, 62, 0.98), rgba(9, 14, 30, 0.99));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-card::-webkit-scrollbar,
.dashboard::-webkit-scrollbar {
    width: 8px;
}

.modal-card::-webkit-scrollbar-thumb,
.dashboard::-webkit-scrollbar-thumb {
    background: rgba(148, 168, 255, 0.2);
    border-radius: 8px;
}

.modal-narrow {
    width: min(440px, 100%);
}

.modal-card h2 {
    font-size: 21px;
    letter-spacing: 0.3px;
}

.modal-sub {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 14px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.07);
}

.modal-card form {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-foot {
    margin-top: 18px;
    text-align: center;
    font-size: 12.5px;
    color: var(--muted);
}

.no-close .modal-backdrop {
    cursor: not-allowed;
}

/* ---------- 结算 ---------- */

.checkout-summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.checkout-summary span {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
}

.checkout-summary strong {
    font-size: 16px;
}

.checkout-summary .price {
    color: var(--gold);
    font-family: var(--mono);
    font-size: 20px;
}

.field-label {
    display: block;
    margin-bottom: 10px;
}

.pay-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pay-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-soft);
    font-size: 13.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pay-method input {
    accent-color: var(--primary);
}

.pay-method.selected {
    border-color: rgba(91, 124, 250, 0.6);
    background: rgba(91, 124, 250, 0.1);
    color: var(--text);
}

.pay-method .pay-logo {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1677ff, #0a4fd8);
}

.pay-method[data-type="wxpay"] .pay-logo {
    background: linear-gradient(135deg, #2fbf5f, #12903f);
}

.hint {
    margin: 14px 0 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* ---------- 支付结果 ---------- */

.result-box {
    margin: 24px 0 18px;
    padding: 26px 18px;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}

.spinner {
    width: 34px;
    height: 34px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid rgba(148, 168, 255, 0.18);
    border-top-color: var(--primary);
    animation: spin 0.9s linear infinite;
}

.spinner.hidden {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.result-status {
    font-size: 15px;
    font-weight: 600;
}

.result-sub {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12.5px;
}

.credential-card {
    margin: 18px 0;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(61, 220, 151, 0.26);
    background: linear-gradient(160deg, rgba(30, 62, 58, 0.35), rgba(12, 22, 32, 0.5));
}

.credential-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.check-badge {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #061018;
    font-weight: 700;
    background: linear-gradient(135deg, var(--green), var(--cyan));
}

.credential-head strong {
    display: block;
    font-size: 14px;
}

.credential-head small {
    color: var(--muted);
    font-size: 12px;
}

.cred-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px dashed var(--line);
}

.cred-row span {
    width: 70px;
    flex-shrink: 0;
    color: var(--muted);
    font-size: 12px;
}

.cred-row code {
    flex: 1;
    font-size: 14px;
    color: #9ff3d6;
    word-break: break-all;
}

.cred-row .icon-btn {
    flex-shrink: 0;
}

.credential-card .btn {
    margin-top: 16px;
}

/* ---------- 引导 ---------- */

.onboard-card {
    width: min(500px, 100%);
}

.steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
}

.step {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    flex: 1;
}

.step i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    font-style: normal;
    font-size: 11px;
}

.step.active {
    color: var(--text);
}

.step.active i {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.step.done i {
    color: #061018;
    border-color: transparent;
    background: var(--green);
}

.onboard-card section {
    animation: fadeIn 0.35s ease;
}

.onboard-card section .btn-block {
    margin-top: 18px;
}

.onboard-card .field {
    margin-top: 18px;
}

.onboard-done {
    text-align: center;
    padding: 14px 0 6px;
}

.big-check {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 8px auto 18px;
    border-radius: 50%;
    font-size: 30px;
    color: #061018;
    background: linear-gradient(135deg, var(--green), var(--cyan));
    box-shadow: 0 0 0 12px rgba(61, 220, 151, 0.08);
    animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes pop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Toast ---------- */

.toast-stack {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    max-width: 360px;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: rgba(16, 24, 46, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    font-size: 13px;
    color: var(--text-soft);
    animation: toastIn 0.3s ease both;
}

.toast::before {
    content: "";
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--cyan);
}

.toast.error::before {
    background: var(--danger);
}

.toast.success::before {
    background: var(--green);
}

.toast.out {
    animation: toastOut 0.25s ease both;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateX(18px); }
}

/* ---------- 焦点与无障碍 ---------- */

:focus-visible {
    outline: 2px solid rgba(91, 124, 250, 0.8);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
    .hero {
        gap: 40px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 62px 0 56px;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .visual-card {
        transform: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }

    .tier-card {
        padding: 26px 22px;
    }

    .dash-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-inner {
        height: 66px;
        gap: 12px;
    }

    .brand-text small {
        display: none;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .header-actions {
        gap: 8px;
    }

    .user-chip-text {
        display: none;
    }

    .user-chip {
        padding: 5px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-points {
        gap: 12px 18px;
    }

    .section {
        padding: 56px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .dash-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard {
        padding: 40px 0 60px;
    }

    .modal {
        padding: 14px;
    }

    .modal-card {
        padding: 26px 20px;
        max-height: calc(100vh - 28px);
    }

    .pay-methods {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .toast-stack {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .toast {
        max-width: none;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 31px;
    }

    .tier-price .amount {
        font-size: 42px;
    }

    .checkout-summary {
        flex-direction: column;
        gap: 10px;
    }
}
