@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;
    --bg-primary: #0f0f14;
    --bg-secondary: #1a1a24;
    --bg-tertiary: #24243a;
    --bg-card: #1e1e2e;
    --text-primary: #e8e8f0;
    --text-secondary: #9898b0;
    --accent: #6c5ce7;
    --accent-hover: #7d6ff0;
    --accent-light: #6c5ce733;
    --success: #00c853;
    --error: #ff5252;
    --border: #2a2a3e;
    --radius: 12px;
    --radius-sm: 8px;
    font-family: 'DM Sans', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: radial-gradient(ellipse 68% 40% at 80% 0%, #25204c 0%, transparent 80%), var(--bg-primary); }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 2px solid #a29bfe; outline-offset: 3px; }
.shell { max-width: 1180px; margin: auto; padding: 0 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Space Grotesk', 'Microsoft YaHei', sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.brand svg { width: 27px; height: 27px; color: #a29bfe; }
.brand span { background: linear-gradient(135deg, var(--accent), #a29bfe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--border); }
.topbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.topbar nav a { padding: 9px 14px; color: var(--text-secondary); text-decoration: none; border-radius: var(--radius-sm); font-size: 14px; }
.topbar nav a:hover, .topbar nav a[aria-current=page] { color: var(--text-primary); background: var(--accent-light); }
.topbar .nav-action { color: #d9d3ff; border: 1px solid #594ab0; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; color: #b1a8ff; letter-spacing: .14em; text-transform: uppercase; font: 700 12px 'Space Grotesk', sans-serif; }
.eyebrow::before { content: ''; display: inline-block; width: 18px; height: 2px; background: #9f91ff; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { font-family: 'Space Grotesk', 'Microsoft YaHei', sans-serif; letter-spacing: -.045em; }
h1 { font-size: clamp(3.1rem, 7vw, 6.1rem); line-height: 1.07; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: 1.2rem; }
p { color: var(--text-secondary); line-height: 1.75; }
.gradient-text { background: linear-gradient(110deg, #a29bfe 5%, #6c5ce7 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 20px; border-radius: var(--radius-sm); background: var(--accent); border: 1px solid var(--accent); color: white; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.button.outline { color: var(--text-primary); background: var(--bg-tertiary); border-color: #484866; }
.button.outline:hover { background: #30304a; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 32px #0003; }
.field { display: block; color: var(--text-secondary); font-size: 14px; margin: 0 0 18px; }
.field input, .field select { width: 100%; margin-top: 7px; padding: 12px 14px; color: var(--text-primary); background: var(--bg-secondary); border: 1px solid #3b3b54; border-radius: var(--radius-sm); }
.field select { appearance: none; padding-right: 40px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #a29bfe 50%), linear-gradient(135deg, #a29bfe 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--text-primary); background: var(--bg-secondary); }
.field input:focus, .field select:focus { border-color: #8e7fff; outline: none; box-shadow: 0 0 0 3px var(--accent-light); }
.status { min-height: 23px; font-size: 14px; color: #a29bfe; }
.site-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding: 26px 0 32px; color: var(--text-secondary); font-size: 13px; }
.sprocket { height: 6px; background-image: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 14px); opacity: .4; }
@media (max-width: 680px) { .shell { padding: 0 18px; } .topbar { flex-direction: column; align-items: flex-start; } .topbar nav { width: 100%; } .topbar nav a { padding: 8px 10px; } .site-footer { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
