
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #8b5cf6;
    --text-primary: #0b0b0c;
    --text-secondary: #5f6368;
    --text-light: #8b8f96;
    --border-color: #ebebeb;
    --card-background: #ffffff;
    --background-color: #ffffff;
}
body {
    font-family: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
    background: #ffffff !important;
    color: var(--text-primary) !important;
    -webkit-font-smoothing: antialiased;
}
.navbar {
    background: rgba(255, 255, 255, .82) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: none !important;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.navbar-brand { color: #111 !important; font-weight: 650 !important; }
.navbar-menu a { color: var(--text-secondary) !important; font-size: 14px; font-weight: 500; }
.navbar-menu a:hover { color: var(--text-primary) !important; }
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}
.main-content { padding-top: 96px !important; background: #fff !important; }
.content-container { max-width: 860px !important; margin: 0 auto !important; }
h1, h2, h3 { color: var(--text-primary) !important; letter-spacing: -.02em; }
h1 { font-weight: 700 !important; }
.section {
    background: #fff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 18px !important;
    padding: 26px 28px !important;
    margin-bottom: 16px !important;
    box-shadow: none !important;
}
.section h2 { font-size: 20px !important; margin-bottom: 12px !important; }
.section p, .section li { color: #3f3f46 !important; font-size: 15px !important; line-height: 1.85 !important; }
.important-note {
    background: #f6f6f7 !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    color: #35353a !important;
}
.back-button {
    display: inline-flex !important;
    align-items: center;
    background: #111113 !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    margin-top: 8px;
}
.footer { background: #fafafa !important; border-top: 1px solid var(--border-color) !important; box-shadow: none !important; }
.footer a { color: var(--text-secondary) !important; }
.footer-bottom { color: var(--text-light) !important; }

@media (prefers-color-scheme: dark) {
    body { background: #0b0b0c !important; color: #f4f4f5 !important; }
    .navbar { background: rgba(11, 11, 12, .84) !important; border-bottom-color: #202024 !important; }
    .navbar-brand, .navbar-menu a:hover { color: #f4f4f5 !important; }
    .navbar-menu a { color: #a1a1aa !important; }
    .main-content { background: #0b0b0c !important; }
    h1, h2, h3 { color: #f4f4f5 !important; }
    .section {
        background: #141416 !important;
        border-color: #26262a !important;
    }
    .section p, .section li { color: #c9c9cf !important; }
    .important-note { background: #141416 !important; border-color: #26262a !important; color: #d4d4d8 !important; }
    .back-button { background: #f4f4f5 !important; color: #0b0b0c !important; }
    .footer { background: #0f0f10 !important; border-top-color: #26262a !important; }
    .footer a { color: #a1a1aa !important; }
}

.content-container,
.main-content .content-container {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}
@media (prefers-color-scheme: dark) {
    .main-content, .content-container { background: #0b0b0c !important; }
    .content-container h1, .content-container h2, .content-container h3 { color: #f4f4f5 !important; }
    .content-container { border: 0 !important; }
}

@media (prefers-color-scheme: dark) {
    .important-note, .important-note * {
        color: #d4d4d8 !important;
    }
    .important-note {
        background: #141416 !important;
        border: 1px solid #26262a !important;
    }
    .important-note strong, .important-note b { color: #f4f4f5 !important; }
}

.navbar-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; }
.navbar-toggle span { display: block; height: 2px; width: 100%; background: var(--text-primary); border-radius: 2px; }
.navbar-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
@media (max-width: 900px) {
    .navbar .container { height: 58px; }
    .navbar-toggle { display: flex; }
    .navbar-menu {
        display: none;
        position: absolute;
        top: 58px; left: 12px; right: 12px;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        background: rgba(255,255,255,.97);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0,0,0,.12);
    }
    .navbar-menu.open { display: flex; }
    .navbar-menu a { padding: 12px; border-radius: 10px; }
    .main-content { padding: 84px 0 32px !important; }
    .content-container { padding: 0 16px !important; }
    .section { padding: 20px 18px !important; border-radius: 16px !important; }
    .section h2 { font-size: 18px !important; }
    .section p, .section li { font-size: 14px !important; line-height: 1.8 !important; }
    h1 { font-size: 24px !important; }
    .back-button { width: 100%; justify-content: center; }
    .footer-content { flex-direction: column; text-align: center; gap: 14px; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 900px) and (prefers-color-scheme: dark) {
    .navbar-menu { background: rgba(20,20,22,.97); border-color: #26262a; }
    .navbar-toggle span { background: #f4f4f5; }
}