:root {
    --primary: #4f46e5;
    --accent: #7c3aed;
    --bg: #f5f3ff;
    --text: #1e1b4b;
    --radius: 8px;
    --shadow-sm: 0 2px 8px rgba(79, 70, 229, 0.08);
    --shadow-md: 0 8px 30px rgba(79, 70, 229, 0.12);
    --border-light: rgba(79, 70, 229, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 吸顶导航 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(245, 243, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i {
    color: var(--accent);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-toggler {
    border: none;
    color: var(--primary);
}

/* Hero 区 */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text);
    opacity: 0.75;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.8;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -80px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: -40px;
    left: -30px;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* 双色块布局 */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg);
    position: relative;
}

.split-left, .split-right {
    padding: 60px 4rem;
}

.split-left {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 0 var(--radius) var(--radius) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-left h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.split-left p {
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* 特色卡片 */
.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.7;
    line-height: 1.6;
    margin: 0;
}

/* 区块通用 */
.section-block {
    padding: 80px 0;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    color: var(--text);
    line-height: 1.3;
}

/* 长文介绍 */
.long-form {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text);
}

.long-form h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    color: var(--primary);
}

.long-form p {
    margin-bottom: 1.8rem;
    opacity: 0.85;
}

.long-form .highlight {
    background: linear-gradient(120deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    padding: 0 6px;
    border-radius: 4px;
    font-weight: 500;
}

/* 手风琴 */
.accordion-item {
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: white;
    color: var(--text);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-body {
    background: white;
    color: var(--text);
    opacity: 0.8;
    line-height: 1.8;
    padding: 1.25rem 1.5rem 1.5rem;
    font-size: 0.95rem;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 70px 0;
    border-radius: var(--radius);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-section p {
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-light-custom {
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.btn-light-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: var(--accent);
}

/* 页脚 */
.footer {
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 60px 0 30px;
    color: var(--text);
}

.footer h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.footer a {
    color: var(--text);
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

.friend-links {
    background: rgba(79, 70, 229, 0.03);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.friend-links h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary);
}

/* 滚动渐显动画 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* 图片懒加载占位 */
.img-placeholder {
    background: linear-gradient(135deg, #e0d9ff 0%, #d5ccff 100%);
    border-radius: var(--radius);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
}

@media (max-width: 991px) {
    .split-section {
        grid-template-columns: 1fr;
    }
    
    .split-left {
        border-radius: 0;
        padding: 40px 2rem;
    }
    
    .split-right {
        padding: 40px 2rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .section-block {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .split-left h2 {
        font-size: 2rem;
    }
}

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .about-hero {
            position: relative;
            padding: 100px 0 60px;
            background: linear-gradient(135deg, var(--bg) 0%, #ede9fe 100%);
            overflow: hidden;
        }
.about-hero .container {
            position: relative;
            z-index: 2;
        }
.about-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--text);
            line-height: 1.2;
            margin-bottom: 20px;
        }
.about-hero p.lead {
            font-size: 1.15rem;
            color: rgba(30, 27, 75, 0.75);
            max-width: 720px;
            margin-bottom: 30px;
        }
.about-meta {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
            margin-top: 20px;
        }
.about-meta span {
            font-size: 0.9rem;
            color: var(--primary);
            font-weight: 500;
        }
.about-meta i {
            margin-right: 6px;
        }
.story-section {
            padding: 70px 0;
            background: #ffffff;
        }
.story-section .container {
            max-width: 960px;
        }
.story-section h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 12px;
        }
.story-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
.story-section p {
            font-size: 1.05rem;
            line-height: 1.9;
            color: rgba(30, 27, 75, 0.8);
            margin-bottom: 20px;
        }
.value-section {
            padding: 70px 0;
            background: var(--bg);
        }
.value-card {
            background: #ffffff;
            border-radius: var(--radius);
            padding: 30px;
            box-shadow: var(--shadow-sm);
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border-light);
        }
.value-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
.value-icon {
            width: 52px;
            height: 52px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.3rem;
            margin-bottom: 18px;
        }
.value-card h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 12px;
        }
.value-card p {
            font-size: 0.95rem;
            color: rgba(30, 27, 75, 0.7);
            line-height: 1.7;
            margin: 0;
        }
.workflow-section {
            padding: 70px 0;
            background: #ffffff;
        }
.workflow-section .container {
            max-width: 960px;
        }
.workflow-section h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 15px;
        }
.workflow-section .subtitle {
            color: rgba(30, 27, 75, 0.6);
            margin-bottom: 40px;
            font-size: 1rem;
        }
.workflow-item {
            display: flex;
            gap: 20px;
            margin-bottom: 35px;
            position: relative;
            padding-left: 20px;
            border-left: 3px solid var(--border-light);
        }
.workflow-item:last-child {
            margin-bottom: 0;
        }
.workflow-num {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--primary);
            min-width: 50px;
            opacity: 0.8;
        }
.workflow-content h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 8px;
        }
.workflow-content p {
            font-size: 0.95rem;
            color: rgba(30, 27, 75, 0.7);
            line-height: 1.7;
            margin: 0;
        }
.commit-section {
            padding: 70px 0;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
        }
.commit-section h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 25px;
            color: #fff;
        }
.commit-section p {
            font-size: 1.05rem;
            line-height: 1.9;
            color: rgba(255, 255, 255, 0.9);
            max-width: 800px;
        }
.commit-list {
            list-style: none;
            padding: 0;
            margin: 25px 0 0;
        }
.commit-list li {
            padding: 8px 0;
            font-size: 1rem;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: rgba(255, 255, 255, 0.95);
        }
.commit-list i {
            color: #fff;
            margin-top: 5px;
            font-size: 0.9rem;
        }
.about-hero h1 {
                font-size: 2rem;
            }
.about-hero {
                padding: 80px 0 50px;
            }
.workflow-item {
                flex-direction: column;
                gap: 5px;
                padding-left: 15px;
            }
.workflow-num {
                font-size: 1.3rem;
            }

/* --- 子页面追加 --- */
/* 确保Bootstrap的卡片、表单等不会被默认白底影响 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .form-label, .input-group-text,
        .table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
        .nav-link, .navbar, .navbar-brand, .btn-light {
            background: var(--card-bg, transparent);
            color: var(--text);
            border-color: var(--border-light);
        }
.accordion-button::after {
            filter: none;
        }
.btn-outline-primary {
            border-color: var(--primary);
            color: var(--primary);
        }
.btn-outline-primary:hover {
            background: var(--primary);
            color: #fff;
        }
/* 本页卡片微调 */
        .guide-step {
            background: var(--card-bg, #fff);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 1.75rem 1.5rem;
            height: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.guide-step:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
.guide-step-icon {
            background: var(--primary);
            color: #fff;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            margin-bottom: 1rem;
        }
.tip-block {
            background: rgba(79, 70, 229, 0.04);
            border-left: 4px solid var(--primary);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 2rem 0;
        }
.badge-soft {
            background: rgba(79, 70, 229, 0.1);
            color: var(--primary);
            font-weight: 600;
            padding: 0.3rem 0.9rem;
            border-radius: 30px;
            font-size: 0.8rem;
            display: inline-block;
        }
.section-block h2 {
            font-weight: 700;
            letter-spacing: -0.02em;
        }
.long-form a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 4px;
        }

/* --- 子页面追加 --- */
/* 本页专属微调 —— 仅补充，不覆盖主站变量 */
        .legal-section {
            background: var(--bg);
        }
.legal-card {
            background: #ffffffcc;
            backdrop-filter: blur(4px);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            padding: 2rem;
            margin-bottom: 2rem;
        }
.legal-card h2, .legal-card h3 {
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.legal-card h2 i, .legal-card h3 i {
            color: var(--accent);
            font-size: 1.4rem;
        }
.legal-card p, .legal-card li {
            color: var(--text);
            font-size: 1rem;
            line-height: 1.75;
        }
.legal-card ul {
            padding-left: 1.5rem;
        }
.legal-highlight {
            background: rgba(79, 70, 229, 0.06);
            border-left: 4px solid var(--primary);
            padding: 1rem 1.25rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 1.5rem 0;
            font-weight: 500;
        }
.legal-card {
                padding: 1.25rem;
            }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
