:root {
    --primary: #818cf8;
    --accent: #c084fc;
    --bg: #1e1b4b;
    --text: #e0e7ff;
    --card-bg: rgba(129, 140, 248, 0.08);
    --border-light: rgba(224, 231, 255, 0.12);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.25);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
    background-image: radial-gradient(rgba(192, 132, 252, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
}

.navbar {
    background: rgba(30, 27, 75, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.8rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text) !important;
    letter-spacing: 2px;
    font-family: 'Noto Serif SC', serif;
    transition: transform 0.3s;
}

.navbar-brand:hover {
    transform: scale(1.04);
}

.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    margin: 0 0.6rem;
    position: relative;
    opacity: 0.85;
    transition: all 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent) !important;
}

.navbar-toggler {
    border: 1px solid var(--border-light);
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(224, 231, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero 关键词标签云 */
.hero-section {
    padding: 5.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero-tagcloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.2rem;
    margin-bottom: 2.2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tag-item {
    font-size: 1.05rem;
    padding: 0.35rem 1.2rem;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    background: rgba(129, 140, 248, 0.12);
    color: var(--text);
    animation: floatTag 4s ease-in-out infinite;
    transition: all 0.3s;
}

.tag-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(129, 140, 248, 0.35);
}

.tag-item:nth-child(2n) { animation-delay: 0.5s; }
.tag-item:nth-child(3n) { animation-delay: 1s; }
.tag-item:nth-child(4n) { animation-delay: 1.5s; }

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

.hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 20%, var(--accent) 70%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.btn-hero {
    padding: 0.8rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 4px 20px rgba(192, 132, 252, 0.3);
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(192, 132, 252, 0.5);
}

/* 区块通用 */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.section-desc {
    color: var(--text);
    opacity: 0.75;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

/* 特色标签页 */
.features-section {
    background: rgba(15, 12, 60, 0.5);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.nav-tabs {
    border-bottom: 2px solid var(--border-light);
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 0.5rem 1.8rem;
    font-weight: 500;
    color: var(--text);
    opacity: 0.7;
    transition: all 0.3s;
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    opacity: 1;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(129, 140, 248, 0.4);
}

.tab-content {
    padding: 1.5rem 0 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(129, 140, 248, 0.2);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 对比表格 */
.compare-section {
    background: transparent;
}

.compare-table {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.compare-table table {
    width: 100%;
    margin-bottom: 0;
}

.compare-table th {
    background: rgba(129, 140, 248, 0.2);
    color: var(--text);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--border-light);
}

.compare-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:hover td {
    background: rgba(192, 132, 252, 0.08);
}

/* FAQ 手风琴 */
.faq-section {
    background: rgba(15, 12, 60, 0.4);
    border-top: 1px solid var(--border-light);
}

.accordion-item {
    background: transparent;
    border: 1px solid var(--border-light) !important;
    border-radius: 8px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: rgba(129, 140, 248, 0.1);
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.2rem 1.5rem;
    transition: all 0.3s;
    font-family: 'Noto Serif SC', serif;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.2), rgba(192, 132, 252, 0.2));
    color: var(--accent);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background: rgba(15, 12, 60, 0.4);
    padding: 1.2rem 1.5rem;
    color: var(--text);
    opacity: 0.9;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 2.5rem;
    max-width: 800px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.3);
}

.timeline-year {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.timeline-content {
    background: var(--card-bg);
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

/* CTA 区块 */
.cta-section {
    text-align: center;
    padding: 4.5rem 0;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(129, 140, 248, 0.15));
}

/* 友情链接 */
.friend-links {
    border-top: 1px solid var(--border-light);
    padding: 2.5rem 0 1.5rem;
    background: rgba(15, 12, 60, 0.5);
}

.friend-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
    opacity: 0.8;
}

/* 页脚 */
.footer {
    background: rgba(10, 8, 45, 0.8);
    border-top: 1px solid var(--border-light);
    padding: 2.5rem 0 1.5rem;
    text-align: center;
}

.footer a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
    margin: 0 0.8rem;
}

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

/* 滚动动效 */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    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; }

/* 响应式 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .section-padding {
        padding: 3.5rem 0;
    }
    .navbar-brand {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero-tagcloud {
        gap: 0.5rem 0.6rem;
    }
    .tag-item {
        font-size: 0.9rem;
        padding: 0.3rem 1rem;
    }
}

/* --- 子页面追加 --- */
/* 只针对联系页的独特布局微调，不改变全局设计令牌 */
        .contact-hero {
            padding-top: 5rem;
            padding-bottom: 2rem;
        }
.contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
        }
.contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
.contact-card {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: 1.2rem;
            padding: 2rem 1.5rem;
            height: 100%;
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(4px);
        }
.contact-card h3 {
            color: var(--accent);
            font-weight: 700;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: .6rem;
            border-bottom: 1px dashed var(--border-light);
            padding-bottom: .75rem;
        }
.contact-card h3 i {
            color: var(--primary);
            font-size: 1.5rem;
            width: 2rem;
        }
.contact-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.contact-list li {
            padding: .65rem 0;
            border-bottom: 1px solid rgba(224,231,255,0.08);
            display: flex;
            align-items: center;
            gap: .8rem;
            color: var(--text);
            font-weight: 400;
        }
.contact-list li i {
            color: var(--primary);
            width: 1.4rem;
            text-align: center;
            font-size: 1rem;
        }
.contact-list li:last-child {
            border-bottom: none;
        }
.btn-bananacontact {
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 2rem;
            padding: .65rem 1.8rem;
            font-weight: 600;
            transition: all .2s;
            display: inline-block;
            text-decoration: none;
        }
.btn-bananacontact:hover {
            background: var(--accent);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(192,132,252,0.25);
        }
.response-time {
            background: rgba(129, 140, 248, 0.12);
            border-radius: 2rem;
            padding: .3rem 1rem;
            font-size: .8rem;
            color: var(--text);
            border: 1px solid var(--border-light);
        }
.social-links a {
            color: var(--text);
            font-size: 1.4rem;
            margin-right: 1.2rem;
            transition: .2s;
        }
.social-links a:hover {
            color: var(--accent);
        }
.map-placeholder {
            background: rgba(129,140,248,0.03);
            border-radius: 1rem;
            border: 1px dashed var(--border-light);
            padding: 1.2rem;
            color: var(--text);
            opacity: .8;
        }
/* 确保任何bootstrap组件都不会出现白底 */
        .accordion-item, .card, .list-group-item {
            background: transparent !important;
            color: var(--text) !important;
            border-color: var(--border-light) !important;
        }
.form-control {
            background: rgba(0,0,0,0.25);
            color: var(--text);
            border-color: var(--border-light);
        }
.form-control:focus {
            background: rgba(0,0,0,0.3);
            color: var(--text);
            border-color: var(--accent);
            box-shadow: none;
        }
.form-control::placeholder {
            color: rgba(224, 231, 255, 0.5);
        }
.form-label {
            color: var(--text);
        }

/* --- 子页面追加 --- */
/* 关于页面专属补充样式 */
        .about-hero {
            padding: 80px 0 40px;
        }
.about-hero .hero-title {
            font-size: 2.5rem;
            margin-bottom: 16px;
        }
.about-hero .hero-subtitle {
            max-width: 700px;
            margin: 0 auto;
        }
.about-story {
            padding: 40px 0;
        }
.about-story .story-card {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: 16px;
            padding: 28px;
            margin-bottom: 24px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.about-story .story-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-sm);
        }
.about-story .story-icon {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 16px;
        }
.about-story h3 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
        }
.about-story p {
            color: rgba(224, 231, 255, 0.75);
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 0;
        }
.about-timeline {
            padding: 40px 0;
        }
.timeline-item:last-child {
            border-left-color: transparent;
        }
.timeline-dot {
            position: absolute;
            left: -9px;
            top: 26px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--primary);
            border: 3px solid var(--bg);
        }
.timeline-text {
            color: rgba(224, 231, 255, 0.75);
            font-size: 0.95rem;
            line-height: 1.7;
        }
.about-stats {
            padding: 40px 0;
        }
.stat-box {
            text-align: center;
            padding: 28px 16px;
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: 16px;
            transition: transform 0.3s ease;
        }
.stat-box:hover {
            transform: scale(1.03);
        }
.stat-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 6px;
        }
.stat-label {
            font-size: 0.9rem;
            color: rgba(224, 231, 255, 0.7);
            margin-bottom: 0;
        }
.about-cta {
            padding: 40px 0 60px;
        }
.cta-card {
            background: linear-gradient(135deg, rgba(129, 140, 248, 0.15), rgba(192, 132, 252, 0.15));
            border: 1px solid var(--border-light);
            border-radius: 20px;
            padding: 40px 32px;
            text-align: center;
        }
.cta-card h3 {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
.cta-card p {
            color: rgba(224, 231, 255, 0.7);
            margin-bottom: 20px;
        }
.content-section {
            padding: 30px 0 40px;
        }
.content-card {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: 16px;
            padding: 28px;
            margin-bottom: 24px;
        }
.content-card h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 16px;
        }
.content-card p {
            color: rgba(224, 231, 255, 0.75);
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 12px;
        }
.content-card ul {
            color: rgba(224, 231, 255, 0.75);
            font-size: 0.95rem;
            line-height: 1.8;
            padding-left: 20px;
        }
.content-card li {
            margin-bottom: 6px;
        }

/* --- 子页面追加 --- */
/* 隐私政策页专属样式 */
        .privacy-section {
            padding: 60px 0;
        }
.privacy-section .section-title {
            margin-bottom: 30px;
        }
.privacy-block {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 24px;
        }
.privacy-block h2 {
            color: var(--primary);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--border-light);
        }
.privacy-block h3 {
            color: var(--accent);
            font-size: 1.15rem;
            font-weight: 600;
            margin-top: 20px;
            margin-bottom: 12px;
        }
.privacy-block p {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 16px;
            font-size: 0.95rem;
        }
.privacy-block ul, .privacy-block ol {
            color: var(--text);
            padding-left: 20px;
            margin-bottom: 16px;
        }
.privacy-block li {
            margin-bottom: 8px;
            line-height: 1.7;
            font-size: 0.95rem;
        }
.privacy-block .highlight-box {
            background: rgba(192, 132, 252, 0.08);
            border-left: 4px solid var(--accent);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            margin: 20px 0;
        }
.privacy-block .highlight-box p {
            margin-bottom: 0;
            font-size: 0.9rem;
        }
.privacy-updated {
            color: var(--text);
            opacity: 0.7;
            font-size: 0.85rem;
            margin-bottom: 30px;
        }
.privacy-contact {
            background: rgba(129, 140, 248, 0.12);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 30px;
            margin-top: 30px;
        }
.privacy-contact h3 {
            color: var(--primary);
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 16px;
        }
.privacy-contact p {
            color: var(--text);
            line-height: 1.7;
            font-size: 0.95rem;
        }
.privacy-contact a {
            color: var(--accent);
            text-decoration: none;
            font-weight: 500;
        }
.privacy-contact a:hover {
            text-decoration: underline;
        }

/* --- 子页面追加 --- */
/* 免责声明页面专属样式 */
        .disclaimer-hero {
            padding: 100px 0 60px;
            background: linear-gradient(135deg, rgba(129,140,248,0.15) 0%, rgba(192,132,252,0.1) 100%);
            border-bottom: 1px solid var(--border-light);
        }
.disclaimer-hero h1 {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 1rem;
        }
.disclaimer-hero p {
            color: rgba(224, 231, 255, 0.7);
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
        }
.disclaimer-section {
            padding: 50px 0;
            border-bottom: 1px solid var(--border-light);
        }
.disclaimer-section:last-child {
            border-bottom: none;
        }
.disclaimer-section h2 {
            color: var(--primary);
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
            padding-left: 20px;
        }
.disclaimer-section h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            bottom: 8px;
            width: 4px;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            border-radius: 4px;
        }
.disclaimer-section h3 {
            color: var(--text);
            font-size: 1.2rem;
            font-weight: 600;
            margin: 1.5rem 0 1rem;
        }
.disclaimer-section p {
            color: rgba(224, 231, 255, 0.75);
            line-height: 1.8;
            margin-bottom: 1rem;
        }
.disclaimer-section ul {
            color: rgba(224, 231, 255, 0.75);
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
.disclaimer-section ul li {
            margin-bottom: 0.5rem;
            line-height: 1.7;
        }
.disclaimer-section strong {
            color: var(--primary);
            font-weight: 600;
        }
.disclaimer-box {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 25px 30px;
            margin: 20px 0;
        }
.disclaimer-box p {
            margin-bottom: 0;
        }
.disclaimer-updated {
            color: rgba(224, 231, 255, 0.5);
            font-size: 0.9rem;
            text-align: center;
            padding: 30px 0;
            border-top: 1px solid var(--border-light);
            margin-top: 40px;
        }
.disclaimer-hero h1 {
                font-size: 1.8rem;
            }
.disclaimer-section h2 {
                font-size: 1.3rem;
            }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.form-select { background-color:rgba(0,0,0,.35) !important; color:#e0e7ff !important; border-color:rgba(255,255,255,.12) !important; }
.accordion-header { background:transparent !important; }
