:root {
    --primary: #111827;
    --primary-soft: #1f2937;
    --accent: #4f46e5;
    --accent-light: #6366f1;
    --accent-soft: rgba(79, 70, 229, 0.08);
    --accent-glow: rgba(79, 70, 229, 0.25);
    --teal: #0d9488;
    --bg: #eef1f8;
    --bg-elevated: #ffffff;
    --card-bg: linear-gradient(160deg, #ffffff 0%, #f8f7ff 55%, #f3f0ff 100%);
    --card-header-bg: linear-gradient(180deg, rgba(79, 70, 229, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
    --card-body-bg: rgba(255, 255, 255, 0.72);
    --card-border: rgba(79, 70, 229, 0.14);
    --card-shadow: 0 8px 32px rgba(79, 70, 229, 0.08), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    --card-submit-bg: linear-gradient(160deg, #ffffff 0%, #f5f3ff 50%, #ede9fe 100%);
    --card-query-bg: linear-gradient(160deg, #ffffff 0%, #f0fdfa 50%, #ecfdf5 100%);
    --panel-bg: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    --panel-info-bg: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
    --about-card-bg: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --text: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --success: #059669;
    --success-bg: #ecfdf5;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --error: #dc2626;
    --error-bg: #fef2f2;
    --info: #2563eb;
    --info-bg: #eff6ff;
    --radius: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
    --shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
    --shadow-lg: 0 20px 50px rgba(17, 24, 39, 0.1);
    --header-h: 72px;
    --content-w: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand-link { text-decoration: none; color: inherit; }

.brand-logo-img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 20px var(--accent-glow);
}

.brand-text h1 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.brand-text p {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}

.header-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 20px;
}

.header-nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 4px 0;
    white-space: nowrap;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--accent);
    background: none;
}

.header-nav a.nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    margin-left: 4px;
    font-size: 13px;
}

.header-nav a.nav-cta:hover {
    background: var(--accent-light);
    color: #fff;
}

.header-member {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.section-head.anchor-target {
    padding: 4px 0;
    border-radius: var(--radius-sm);
}

.section-head.anchor-target::before {
    inset: -8px -4px;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 45%, #312e81 100%);
    color: #fff;
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 90% 10%, rgba(99, 102, 241, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 90%, rgba(13, 148, 136, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #a5b4fc;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero-label::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 8px #34d399;
}

.hero h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero .lead {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
}

.hero-btn-primary {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.hero-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-cards {
    display: grid;
    gap: 12px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    backdrop-filter: blur(8px);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.hero-stat strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-stat span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

/* ── Page layout ── */
/* ── 服务入口卡片 ── */
.portal-section {
    padding: 48px 0 8px;
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.portal-inner {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section-head--compact {
    margin-bottom: 28px;
}

.section-head--compact h2 {
    font-size: 20px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portal-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.25s;
    box-shadow: var(--shadow-sm);
    min-height: 128px;
}

.portal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.portal-card--about:hover {
    background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: rgba(79, 70, 229, 0.35);
}

.portal-card--submit:hover {
    background: linear-gradient(145deg, #ede9fe 0%, #ddd6fe 100%);
    border-color: rgba(79, 70, 229, 0.4);
}

.portal-card--contact:hover {
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
    border-color: rgba(37, 99, 235, 0.35);
}

.portal-card--register:hover {
    background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
    border-color: rgba(234, 88, 12, 0.4);
}

.portal-card--privacy:hover {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: rgba(100, 116, 139, 0.35);
}

.portal-card--terms:hover {
    background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 100%);
    border-color: rgba(13, 148, 136, 0.35);
}

.portal-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.portal-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.portal-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
}

.portal-card--about {
    background: linear-gradient(145deg, #fff 0%, #f5f3ff 100%);
    border-color: rgba(79, 70, 229, 0.2);
}
.portal-card--about .portal-card-icon { background: linear-gradient(135deg, #4f46e5, #6366f1); }

.portal-card--submit {
    background: linear-gradient(145deg, #fff 0%, #ede9fe 100%);
    border-color: rgba(79, 70, 229, 0.25);
}
.portal-card--submit .portal-card-icon { background: linear-gradient(135deg, #6366f1, #818cf8); }

.portal-card--contact {
    background: linear-gradient(145deg, #fff 0%, #eff6ff 100%);
    border-color: rgba(37, 99, 235, 0.2);
}
.portal-card--contact .portal-card-icon { background: linear-gradient(135deg, #2563eb, #3b82f6); }

.portal-card--register {
    background: linear-gradient(145deg, #fff 0%, #fff7ed 100%);
    border-color: rgba(234, 88, 12, 0.25);
}
.portal-card--register .portal-card-icon { background: linear-gradient(135deg, #ea580c, #f97316); }
.portal-card--register .portal-card-title { color: #c2410c; }

.portal-card--privacy {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border-color: rgba(100, 116, 139, 0.2);
}
.portal-card--privacy .portal-card-icon { background: linear-gradient(135deg, #475569, #64748b); }

.portal-card--terms {
    background: linear-gradient(145deg, #fff 0%, #f0fdfa 100%);
    border-color: rgba(13, 148, 136, 0.2);
}
.portal-card--terms .portal-card-icon { background: linear-gradient(135deg, #0d9488, #14b8a6); }

.portal-section.anchor-target::before {
    inset: -6px;
    border-radius: var(--radius);
}

.page-main {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 40px 24px 64px;
}

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

.contact-info-card .card-body p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.6;
}

.contact-info-card .card-body p:last-child { margin-bottom: 0; }

.contact-info-card strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.card-icon--register { background: #fff7ed; color: #ea580c; }

.card--register { max-width: 520px; margin: 0 auto; }

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

.section-head h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

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

.layout-workspace {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.layout-main { display: flex; flex-direction: column; gap: 24px; }

.layout-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

/* ── Cards ── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s, background 0.25s, border-color 0.25s;
}

.card:hover {
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12);
    background: linear-gradient(160deg, #f8f7ff 0%, #ede9fe 55%, #e0e7ff 100%);
    border-color: rgba(79, 70, 229, 0.28);
    transform: translateY(-2px);
}

.card:hover .card-header {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.1) 0%, rgba(237, 233, 254, 0.45) 100%);
}

.card:hover .card-body {
    background: rgba(237, 233, 254, 0.28);
}

.card--submit {
    background: var(--card-submit-bg);
    border-color: rgba(79, 70, 229, 0.18);
}

.card--submit:hover {
    background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%);
    border-color: rgba(79, 70, 229, 0.32);
}

.card--submit:hover .card-header {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.12) 0%, rgba(221, 214, 254, 0.5) 100%);
}

.card--submit:hover .card-body {
    background: rgba(221, 214, 254, 0.32);
}

.card--query {
    background: var(--card-query-bg);
    border-color: rgba(13, 148, 136, 0.18);
}

.card--query:hover {
    background: linear-gradient(160deg, #f0fdfa 0%, #ccfbf1 50%, #99f6e4 100%);
    border-color: rgba(13, 148, 136, 0.32);
}

.card--query:hover .card-header {
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.12) 0%, rgba(204, 251, 241, 0.55) 100%);
}

.card--query:hover .card-body {
    background: rgba(204, 251, 241, 0.35);
}

.card--contact {
    background: var(--card-bg);
}

.card--contact:hover {
    background: linear-gradient(160deg, #ffffff 0%, #eff6ff 50%, #dbeafe 100%);
    border-color: rgba(37, 99, 235, 0.28);
}

.card--contact:hover .card-header {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(219, 234, 254, 0.5) 100%);
}

.card--contact:hover .card-body {
    background: rgba(219, 234, 254, 0.3);
}

.card-header {
    padding: 22px 28px;
    background: var(--card-header-bg);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: background 0.25s;
}

.card--query .card-header {
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
}

.card-body {
    padding: 28px;
    background: var(--card-body-bg);
    transition: background 0.25s;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.card-icon--submit { background: var(--accent-soft); color: var(--accent); }
.card-icon--query { background: #ecfdf5; color: var(--teal); }

.card-header-text h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
}

.card-header-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}

.forms-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ── Forms ── */
.form-group { margin-bottom: 22px; }

.form-group:last-of-type { margin-bottom: 0; }

label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input[type="text"]:hover,
select:hover,
textarea:hover { background: #fff; }

input[type="text"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-soft);
}

textarea { resize: vertical; min-height: 96px; }

.upload-zone {
    border: 2px dashed rgba(79, 70, 229, 0.25);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(237, 233, 254, 0.5) 100%);
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
    position: relative;
}

.upload-zone:hover,
.upload-zone:focus-within {
    border-color: var(--accent-light);
    background: var(--accent-soft);
}

.upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-zone-icon {
    font-size: 28px;
    margin-bottom: 8px;
    opacity: 0.7;
}

.upload-zone-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.upload-zone-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-agree {
    padding: 16px;
    background: #f9fafb;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.agree-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    cursor: pointer;
}

.agree-label input { margin-top: 4px; accent-color: var(--accent); }
.agree-label a { color: var(--accent); font-weight: 500; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: #fff;
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: none;
}

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

.btn-success {
    background: var(--success);
    color: #fff;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-success:hover { background: #047857; }

.btn-block { width: 100%; }

/* ── Progress ── */
.progress-wrap { margin-top: 14px; display: none; }

.progress-container {
    height: 8px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 999px;
    transition: width 0.25s ease;
}

.progress-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    font-variant-numeric: tabular-nums;
    display: none;
}

/* ── Alerts & panels ── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: var(--success-bg); color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: var(--error-bg); color: #991b1b; border: 1px solid #fecaca; }

.panel {
    background: var(--panel-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.04);
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.panel:hover {
    background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: rgba(79, 70, 229, 0.22);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
}

.panel--info {
    background: var(--panel-info-bg);
    border-color: rgba(37, 99, 235, 0.15);
    border-left: 3px solid var(--info);
}

.panel--info:hover {
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
    border-color: rgba(37, 99, 235, 0.28);
}

.panel-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-title::before {
    content: "";
    width: 3px;
    height: 14px;
    background: var(--accent);
    border-radius: 2px;
}

.panel--warn {
    border-left: 3px solid var(--warning);
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
    border-color: rgba(217, 119, 6, 0.2);
}

.panel--warn:hover {
    background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 100%);
    border-color: rgba(217, 119, 6, 0.35);
}
.panel--warn .panel-title { color: var(--warning); }
.panel--warn .panel-title::before { background: var(--warning); }

.panel ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.panel li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
    line-height: 1.55;
}

.panel li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.panel--warn li::before { content: "·"; color: var(--warning); }

.notice-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.notice-item:last-child { border-bottom: none; padding-bottom: 0; }
.notice-item:first-child { padding-top: 0; }

.notice-item h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.notice-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
}

.tips-box p {
    font-size: 13px;
    color: #78350f;
    margin-bottom: 8px;
    line-height: 1.55;
}

.tips-box p:last-child { margin-bottom: 0; }

/* ── Order result ── */
.order-result {
    margin-top: 24px;
    padding: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(236, 253, 245, 0.8) 100%);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-md);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.order-result h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.order-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.order-grid p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.order-grid strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.order-grid .full { grid-column: 1 / -1; }

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-processing { background: #dbeafe; color: #1d4ed8; }
.status-completed { background: #d1fae5; color: #065f46; }

.success-box {
    display: none;
    margin-top: 20px;
    padding: 18px;
    background: var(--success-bg);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-sm);
    color: #065f46;
}

.success-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }

/* ── About & contact ── */
.section-block { margin-top: 48px; }

/* ── 锚点跳转高亮提醒 ── */
.anchor-target {
    position: relative;
    scroll-margin-top: calc(var(--header-h) + 16px);
    border-radius: calc(var(--radius) + 4px);
}

.anchor-target::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    background: transparent;
    box-shadow: none;
}

.anchor-target > * {
    position: relative;
    z-index: 1;
}

.anchor-target.anchor-flash::before {
    animation: anchorHighlight 2.4s ease-out forwards;
}

@keyframes anchorHighlight {
    0% {
        opacity: 0;
        background: transparent;
        box-shadow: 0 0 0 0 transparent;
    }
    12% {
        opacity: 1;
        background: rgba(254, 249, 195, 0.92);
        box-shadow:
            0 0 0 3px rgba(250, 204, 21, 0.55),
            0 8px 32px rgba(250, 204, 21, 0.25);
    }
    35% {
        opacity: 1;
        background: rgba(224, 231, 255, 0.75);
        box-shadow:
            0 0 0 2px rgba(99, 102, 241, 0.35),
            0 4px 20px rgba(99, 102, 241, 0.12);
    }
    70% {
        opacity: 0.5;
        background: rgba(237, 233, 254, 0.4);
        box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15);
    }
    100% {
        opacity: 0;
        background: transparent;
        box-shadow: none;
    }
}

.card.anchor-target {
    overflow: visible;
}

.card.anchor-target::before {
    inset: -4px;
    border-radius: calc(var(--radius) + 4px);
}

#submit.anchor-target.anchor-flash::before,
#query.anchor-target.anchor-flash::before {
    animation-duration: 2s;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-card {
    background: var(--about-card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s, background 0.25s, border-color 0.25s;
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(79, 70, 229, 0.1);
    background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: rgba(79, 70, 229, 0.28);
}

.about-card:nth-child(2) {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
    border-color: rgba(13, 148, 136, 0.14);
}

.about-card:nth-child(2):hover {
    background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 100%);
    border-color: rgba(13, 148, 136, 0.28);
}

.about-card:nth-child(3) {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border-color: rgba(37, 99, 235, 0.14);
}

.about-card:nth-child(3):hover {
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
    border-color: rgba(37, 99, 235, 0.28);
}

.about-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 8px;
}

.about-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.about-card a { color: var(--accent); text-decoration: none; font-weight: 500; }
.about-card a:hover { text-decoration: underline; }

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.qr-item {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: box-shadow 0.2s, transform 0.2s, background 0.25s, border-color 0.25s;
}

.qr-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: rgba(79, 70, 229, 0.25);
}

.qr-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.qr-item img {
    max-width: 160px;
    max-height: 160px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

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

/* ── Footer ── */
.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0;
}

.footer-inner {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 40px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.footer-brand {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.65;
    max-width: 360px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    text-align: center;
}

/* ── Legal pages ── */
.page-main--legal { max-width: 760px; padding-top: 48px; }

.legal-doc {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 40px 44px;
    box-shadow: var(--shadow);
}

.legal-doc h1 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.legal-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.legal-doc h2 { font-size: 16px; font-weight: 700; margin: 28px 0 10px; }
.legal-doc p, .legal-doc li { font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
.legal-doc ul { padding-left: 22px; }
.legal-doc a { color: var(--accent); }

/* ══════════════════════════════════════
   Auth pages — 科技风
   ══════════════════════════════════════ */
.auth-page {
    min-height: 100vh;
    background: #050810;
    color: #e2e8f0;
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
    overflow-x: hidden;
}

.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, #0c1929 0%, #050810 55%, #020408 100%);
}

.auth-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: authOrbFloat 12s ease-in-out infinite;
}

.auth-orb--1 {
    width: 420px;
    height: 420px;
    background: #0891b2;
    top: -120px;
    right: -80px;
}

.auth-orb--2 {
    width: 360px;
    height: 360px;
    background: #4f46e5;
    bottom: -100px;
    left: -60px;
    animation-delay: -6s;
}

@keyframes authOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.05); }
}

.auth-topbar {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #f1f5f9;
    font-size: 14px;
    font-weight: 600;
}

.auth-topbar-logo-img {
    height: 32px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}

.auth-topbar-logo {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.auth-topbar-link {
    font-size: 13px;
    color: rgba(148, 163, 184, 0.9);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 8px;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.auth-topbar-link:hover {
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.15);
}

.auth-main {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
}

.auth-panel {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.auth-panel--wide { max-width: 520px; }

.auth-panel--row {
    max-width: 920px;
}

.auth-form-row {
    display: grid;
    grid-template-columns: 1.35fr 1.15fr 1fr 1fr;
    gap: 14px;
    align-items: end;
}

.auth-form-row--login {
    grid-template-columns: 1.4fr 1.2fr 1fr;
}

.auth-field-hint--block {
    display: block;
    margin: -6px 0 14px;
}

.auth-form-row--secondary {
    grid-template-columns: 1fr;
    margin-top: 4px;
}

.auth-field--grow {
    max-width: 100%;
}

@media (max-width: 900px) {
    .auth-panel--row { max-width: 440px; }
    .auth-form-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

.auth-panel-border {
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.7), rgba(59, 130, 246, 0.4), rgba(6, 182, 212, 0.2));
    opacity: 0.85;
    animation: authBorderPulse 4s ease-in-out infinite;
}

@keyframes authBorderPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.auth-panel-inner {
    position: relative;
    background: linear-gradient(180deg, #1e3a5f 0%, #152a45 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 19px;
    padding: 36px 32px 32px;
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.15) inset,
        0 24px 64px rgba(0, 0, 0, 0.45);
}

.auth-head {
    text-align: center;
    margin-bottom: 28px;
}

.auth-icon-wrap {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.2);
}

.auth-icon-wrap--cyan { border-color: rgba(34, 211, 238, 0.4); }

.auth-icon {
    width: 26px;
    height: 26px;
    color: #22d3ee;
}

.auth-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #22d3ee;
    margin-bottom: 10px;
    opacity: 0.85;
}

.auth-head h1 {
    font-size: 24px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.auth-head p {
    font-size: 13px;
    color: #b8c5d6;
    line-height: 1.6;
}

.auth-alert {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid;
}

.auth-alert--error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.auth-alert--success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.auth-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

.auth-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input-wrap:focus-within {
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
}

.auth-input-prefix {
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border-right: 1px solid #e2e8f0;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.auth-input {
    flex: 1;
    border: none;
    background: #ffffff;
    padding: 13px 14px;
    font-size: 15px;
    color: #0f172a;
    font-family: inherit;
    outline: none;
    min-width: 0;
}

.auth-input::placeholder {
    color: #94a3b8;
}

.auth-input--full {
    width: 100%;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #b8c5d6;
    line-height: 1.55;
    cursor: pointer;
}

.auth-check input {
    margin-top: 3px;
    accent-color: #06b6d4;
}

.auth-check a {
    color: #22d3ee;
    text-decoration: none;
}

.auth-check a:hover { text-decoration: underline; }

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    margin-top: 4px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.12em;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(6, 182, 212, 0.35);
    transition: transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
}

.auth-submit svg {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.45);
}

.auth-submit:active { transform: translateY(0); }

.auth-submit--solo { margin-top: 8px; }

.auth-switch {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #b8c5d6;
}

.auth-switch a {
    color: #22d3ee;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.auth-switch a:hover { text-decoration: underline; }

.auth-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px 24px 28px;
    font-size: 12px;
    color: #475569;
}

.auth-footer a {
    color: #64748b;
    text-decoration: none;
}

.auth-footer a:hover { color: #22d3ee; }

.auth-footer-dot { margin: 0 8px; opacity: 0.5; }

@media (max-width: 768px) {
    .auth-panel-inner { padding: 28px 22px 24px; }
    .auth-form-grid { grid-template-columns: 1fr; }
    .auth-main { min-height: auto; padding-top: 12px; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .layout-workspace { grid-template-columns: 1fr; }
    .layout-aside { position: static; }
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .forms-row { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .portal-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 14px 16px;
    }

    .header-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .hero { padding: 40px 0 48px; }
    .page-main { padding: 28px 16px 48px; }
    .card-body { padding: 20px; }
    .order-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .legal-doc { padding: 28px 22px; }
}


.footer-beian {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer-beian:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}
