
        :root {
            --primary: #6366f1;
            --primary-light: #818cf8;
            --secondary: #ec4899;
            --accent: #06b6d4;
            --success: #10b981;
            --warning: #f59e0b;
            --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
            --gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
            --gradient-3: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --radius: 16px;
            --radius-lg: 24px;
        }
        
        [data-theme="light"] {
            --bg: #fafbfc;
            --bg-card: #ffffff;
            --bg-elevated: #ffffff;
            --bg-glass: rgba(255,255,255,0.8);
            --text: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --shadow: 0 4px 24px rgba(0,0,0,0.06);
            --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        [data-theme="dark"] {
            --bg: #08090d;
            --bg-card: rgba(255,255,255,0.03);
            --bg-elevated: #0f1117;
            --bg-glass: rgba(15,17,23,0.85);
            --text: #f1f5f9;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --border: rgba(255,255,255,0.08);
            --border-light: rgba(255,255,255,0.04);
            --shadow: 0 4px 24px rgba(0,0,0,0.3);
            --shadow-lg: 0 20px 40px rgba(0,0,0,0.5);
        }
        
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            transition: background var(--transition), color var(--transition);
        }
        
        .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
        
         
        .bg-effects {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }
        .bg-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            animation: float 25s ease-in-out infinite;
        }
        .bg-orb-1 { width: 600px; height: 600px; background: rgba(99,102,241,0.15); top: -200px; left: -100px; }
        .bg-orb-2 { width: 500px; height: 500px; background: rgba(236,72,153,0.1); bottom: 20%; right: -100px; animation-delay: -8s; }
        .bg-orb-3 { width: 400px; height: 400px; background: rgba(6,182,212,0.08); top: 50%; left: 30%; animation-delay: -15s; }
        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(50px, -50px) scale(1.1); }
            66% { transform: translate(-30px, 30px) scale(0.95); }
        }
        .bg-grid {
            position: absolute;
            inset: 0;
            background-image: radial-gradient(var(--border-light) 1px, transparent 1px);
            background-size: 40px 40px;
            mask: radial-gradient(ellipse at center, black 20%, transparent 70%);
        }
        
         
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 16px 0;
            transition: all var(--transition);
        }
        .nav.scrolled {
            background: var(--bg-glass);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            padding: 12px 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }
        .logo-icon {
            width: 44px;
            height: 44px;
            background: var(--gradient-1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 16px rgba(99,102,241,0.4);
            flex-shrink: 0;
        }
        .logo-icon.has-logo {
            background: transparent;
            box-shadow: none;
        }
        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 12px;
        }
        .logo-icon svg { width: 24px; height: 24px; color: white; }
        .logo-text { font-size: 1.25rem; font-weight: 700; color: var(--text); }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--bg-card);
            padding: 6px;
            border-radius: 100px;
            border: 1px solid var(--border);
        }
        .nav-links.custom-menu {
            display: none;
            padding: 0;
            border: none;
            background: none;
        }
        .nav-links.custom-menu:not(:empty) {
            display: flex;
        }
        .nav-links.custom-menu .nav-link {
            background: var(--bg-card);
            border: 1px solid var(--border);
        }
        .nav-link {
            padding: 7px 10px;
            border-radius: 100px;
            font-size: 0.84rem;
            font-weight: 500;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all var(--transition);
            white-space: nowrap;
        }
        .nav-link:hover { color: var(--text); background: var(--border-light); }
        .nav-actions { display: flex; align-items: center; gap: 12px; }
        .theme-btn {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            transition: all var(--transition);
            flex-shrink: 0;
        }
        .theme-btn:hover { color: var(--text); border-color: var(--primary); }
        .theme-btn svg { width: 20px; height: 20px; }
        .nav-login-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 42px;
            padding: 0 16px;
            border-radius: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            transition: all var(--transition);
            flex-shrink: 0;
            white-space: nowrap;
            box-sizing: border-box;
        }
        .nav-login-btn:hover { color: var(--text); border-color: var(--primary); }
        [data-theme="light"] .icon-sun { display: none; }
        [data-theme="dark"] .icon-moon { display: none; }
        
         
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all var(--transition);
            text-decoration: none;
        }
        .btn-primary {
            background: var(--gradient-1);
            color: white;
            box-shadow: 0 4px 20px rgba(99,102,241,0.4);
        }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,0.5); }
        .btn-secondary {
            background: var(--bg-card);
            color: var(--text);
            border: 1px solid var(--border);
        }
        .btn-secondary:hover { border-color: var(--primary); background: var(--bg-elevated); }
        .btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: 14px; }
        .btn-xl { padding: 18px 40px; font-size: 1.05rem; border-radius: 16px; }
        
         
        .footer {
            background: #0a0b0f;
            padding: 80px 0 40px;
            color: #94a3b8;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr repeat(4, 1fr);
            gap: 60px;
            margin-bottom: 60px;
        }
        .footer-brand .logo-text { color: white; }
        .footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; }
        .footer-heading { color: white; font-weight: 600; margin-bottom: 20px; }
        .footer-links { display: flex; flex-direction: column; gap: 12px; }
        .footer-links a {
            color: #64748b;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color var(--transition);
        }
        .footer-links a:hover { color: white; }
        .footer-bottom {
            padding-top: 40px;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            font-size: 0.85rem;
        }
        .footer-bottom a { color: #64748b; text-decoration: none; }
        .footer-bottom a:hover { color: white; }
        
         
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            padding: 10px;
            cursor: pointer;
            color: var(--text);
            border-radius: 8px;
            transition: all var(--transition);
            flex-shrink: 0;
            min-width: 44px;
            min-height: 44px;
            align-items: center;
            justify-content: center;
        }
        .mobile-menu-btn:hover {
            background: var(--border-light);
        }
        .mobile-menu-btn svg {
            width: 22px;
            height: 22px;
        }
        .mobile-menu {
            display: none;
            position: fixed;
            inset: 0;
            background: var(--bg);
            z-index: 1001;
            padding: 80px 20px 40px;
            flex-direction: column;
            gap: 12px;
            overflow-y: auto;
        }
        .mobile-menu.active { display: flex; }
        .mobile-menu .nav-link {
            font-size: 1rem;
            padding: 14px 20px;
            text-align: center;
            border-radius: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            transition: all var(--transition);
        }
        .mobile-custom-menu {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
        }
        .mobile-custom-menu:empty {
            display: none;
        }
        .mobile-custom-menu .nav-link {
            font-size: 1rem;
            padding: 14px 20px;
            text-align: center;
            border-radius: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            transition: all var(--transition);
            display: block;
        }
        .mobile-menu .nav-link:hover,
        .mobile-custom-menu .nav-link:hover {
            background: var(--bg-elevated);
            border-color: var(--primary);
        }
        .mobile-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 10px;
            cursor: pointer;
            color: var(--text);
            transition: all var(--transition);
            min-width: 44px;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .mobile-close:hover {
            background: var(--bg-elevated);
            border-color: var(--primary);
        }
        .mobile-close svg {
            width: 20px;
            height: 20px;
        }
        

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
    .footer-brand { grid-column: 1 / -1; }
    .nav-links { display: none !important; }
    .mobile-menu-btn { display: flex; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .nav { padding: 10px 0; }
    .nav.scrolled { padding: 8px 0; }
    .nav-inner { gap: 6px; }
    .logo { gap: 6px; flex: 1; min-width: 0; }
    .logo-icon { width: 32px; height: 32px; border-radius: 8px; }
    .logo-icon svg { width: 18px; height: 18px; }
    .logo-text { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
    .mobile-menu-btn { min-width: 40px; min-height: 40px; padding: 8px; }
    .theme-btn { width: 32px; height: 32px; border-radius: 8px; }
    .theme-btn svg { width: 16px; height: 16px; }
    .nav-actions { gap: 6px; }
    .nav-login-btn { height: 32px; padding: 0 12px; font-size: 0.8rem; border-radius: 8px; }
    .nav-actions .btn { padding: 8px 12px; font-size: 0.85rem; border-radius: 10px; }
    .footer { padding: 48px 0 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* 子页内容区 */
.home-submain {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}
.home-submain .page-hero { margin-bottom: 28px; }
.home-submain .page-hero h1 {
    font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px;
}
.home-submain .page-hero p { color: var(--text-secondary); font-size: 1.05rem; }
.home-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.home-card h2 { font-size: 1.2rem; margin-bottom: 14px; }
.home-card h3 { font-size: 1.05rem; margin: 22px 0 10px; }
.home-card p + p { margin-top: 12px; }
.home-card ul, .home-card ol { padding-left: 1.25em; margin: 10px 0; color: var(--text-secondary); }
.home-card li { margin: 6px 0; }
.home-muted { color: var(--text-muted); font-size: 0.9rem; }
.home-contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.home-contact-item {
    border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: var(--bg-elevated);
}
.home-contact-item strong { display: block; margin-bottom: 6px; }
.home-contact-item span, .home-contact-item a { color: var(--text-secondary); font-size: 0.92rem; word-break: break-all; }
.home-kv { list-style: none; padding: 0; }
.home-kv li {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 12px 0; border-bottom: 1px solid var(--border);
}
.home-kv li:last-child { border-bottom: 0; }
.home-kv span { color: var(--text-secondary); }
.home-ok { color: #059669; }
.home-bad { color: #dc2626; }
.home-timeline { border-left: 2px solid rgba(99,102,241,.35); margin-left: 8px; padding-left: 20px; }
.home-timeline-item { position: relative; margin-bottom: 22px; }
.home-timeline-item::before {
    content: ''; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,.2);
}
.home-timeline-item time { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 4px; }
.home-timeline-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.nav-link.active { color: var(--text); background: var(--border-light); }
