:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --background-color: #ffffff;
    --text-color: #333333;
    --navbar-color: #ffffff;
    --navbar-height: 70px;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --section-bg: #ffffff;
    --icon-bg: rgba(74, 108, 247, 0.1);
}

[data-theme="dark"] {
    --primary-color: #6c8eff;
    --secondary-color: #adb5bd;
    --background-color: #000000;
    --navbar-color: #0f0f0f;
    --text-color: #ffffff;
    --card-bg: #2d2d2d;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --section-bg: #1a1a1a;
    --icon-bg: rgba(108, 142, 255, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: calc(var(--navbar-height) - 4px);
}

/* Navigation */
.navbar {
    background-color: var(--navbar-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.logo-img:hover {
    transform: scale(1.1);
}

.brand-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
}

[data-theme="dark"] .logo-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #b93bf6;
    text-shadow: 0 0 15px rgba(185, 59, 246, 0.6), 0 0 30px rgba(185, 59, 246, 0.4);
    letter-spacing: 1px;
    background: linear-gradient(135deg, #b93bf6 0%, #d17cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

/* Theme Toggle */
.theme-toggle {
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 42px;
    margin-right: 15px;
}
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Language Selector */
.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 5px;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(rgba(185, 59, 246, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 59, 246, 0.15) 1px, transparent 1px), linear-gradient(135deg, rgba(20, 0, 40, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
    background-size: 40px 40px;
}

/* Hero Section */
.hero-section {
    padding: 100px 0 80px;
    background-color: var(--background-color);
}

.hero-section h1 {
    /*color: var(--text-color);*/
    color: #b93bf6;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features Section */
.features-section {
    background-color: var(--section-bg);
    transition: background-color 0.3s ease;
}

.feature-card {
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--background-color);
    transition: background-color 0.3s ease;
    padding: 100px 0;
}

.benefit-card {
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .benefit-card {
    /*border-color: rgba(255, 255, 255, 0.1);*/
        background: rgba(20, 0, 30, 0.6);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(185, 59, 246, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .benefit-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    box-shadow: rgba(147, 47, 195, 0.216) 0px 7px 23px 0px;
    border-color: rgba(185, 59, 246, 0.4);
}

.benefits-title {
    color: #d17cff;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-icon i {
    color: #d17cff !important;
    font-size: 1.5rem;
}

.benefit-card h4 {
    color: #d17cff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--background-color);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .footer {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer h5 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links a {
    color: var(--secondary-color);
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

    .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .btn {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .feature-card, .benefit-card {
        margin-bottom: 1.5rem;
    }

    .benefits-section {
        padding: 60px 0;
    }
    
    .benefit-card {
        margin-bottom: 1.5rem;
    }
}

/* Content Sections */
.content-section {
    padding: 100px 0;
    background-color: var(--section-bg);
    transition: all 0.3s ease;
}

.content-section.bg-light {
    background-color: var(--background-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .content-section.bg-light {
    background-color: var(--background-color);
    border-color: rgba(255, 255, 255, 0.1);
}

.content-section h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.content-section p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.content-section ul {
    margin-bottom: 2rem;
}

.content-section ul li {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.content-section ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.content-image {
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--card-bg);
}

[data-theme="dark"] .content-image {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: var(--card-bg);
}

.content-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .content-image:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* 添加内容卡片样式 */
.content-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .content-card {
    border-color: rgba(255, 255, 255, 0.1);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .content-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* 添加内容图标样式 */
.content-icon {
    width: 60px;
    height: 60px;
    background-color: var(--icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.content-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

@media (max-width: 767.98px) {
    .content-section {
        padding: 60px 0;
    }
    
    .content-section .row {
        flex-direction: column;
    }
    
    .content-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .content-image {
        margin-top: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .content-section p {
        font-size: 1rem;
    }
    
    .content-card {
        margin-bottom: 1.5rem;
    }
}

/* Navigation Dropdown Styles */
.navbar-nav .dropdown-menu {
    background-color: var(--background-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    min-width: 200px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar-nav .dropdown-menu {
    background-color: var(--background-color);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-divider {
    border-color: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

[data-theme="dark"] .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* 鼠标悬停时显示下拉菜单 */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

/* 移动端适配 */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding-left: 1rem;
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
    }
} 

.top-banner {
    margin-top: 100px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    background: #fdfdfd;
    border-radius: 10px;
}

.nrd-offical-logo a {
    text-decoration: none;
}

.nrd-offical-logo img {
    margin-right: 3px;
    width: 26px;
    height: 26px;
    border-radius: 5%;
}

.nrd-offical-logo img:hover {
    transform: scale(1.05);
}

/* 基础按钮样式 */
.btn_main {
  display: inline-block;
  padding: 16px 42px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  margin: 8px;
}

/* 蓝色风格按钮 - 明亮主题 */
.btn-primary-main {
  background-color: #b93bf6;
  color: white;
}

.btn-primary-main:hover {
  background-color: #b93bf6;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(130, 21, 160, 0.3);
}

.btn-primary-main:active {
  background-color: #9c2ad4 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(130, 21, 160, 0.3);
}

/* 浅色风格按钮 - 明亮主题 */
.btn-light-main {
  background-color: #b93bf6;
  color: #1e293b;
}

.btn-light-main:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(241, 245, 249, 0.3);
}

/* 暗色主题适配 */

  /* 蓝色风格按钮 - 暗色主题 */
  [data-theme="dark"]  .btn-primary-main {
    background-color: #b93bf6;
    color: #f8fafc;
  }
  
  [data-theme="dark"]  .btn-primary-main:hover {
    background-color: #b93bf6;
    box-shadow: 0 6px 12px rgba(246, 59, 231, 0.3);
  }
  
  /* 浅色风格按钮 - 暗色主题 */
[data-theme="dark"]  .btn-light-main {
    background-color: #334155;
    color: #f8fafc;
  }
  
 [data-theme="dark"] .btn-light-main:hover {
    background-color: #475569;
    box-shadow: 0 6px 12px rgba(71, 85, 105, 0.3);
  }


/* 响应式调整 */
@media (max-width: 768px) {
  .btn {
    padding: 14px 24px;
    font-size: 16px;
  }
}

.main-hide {
    display: none;
}
        /* 星星样式 */
        .star {
            position: absolute;
            background-color: #b93bf6;
            border-radius: 50%;
            box-shadow: 0 0 8px 3px rgba(185, 59, 246, 0.6);
            animation: twinkle 4s infinite ease-in-out;
        }

        .star::before, .star::after {
            content: '';
            position: absolute;
            background-color: #b93bf6;
            border-radius: 50%;
        }

        /* 五星样式 */
        .star-five {
            position: absolute;
            width: 0;
            height: 0;
            border-right: 12px solid transparent;
            border-bottom: 8px solid #b93bf6;
            border-left: 12px solid transparent;
            transform: rotate(35deg);
            filter: drop-shadow(0 0 6px rgba(185, 59, 246, 0.6));
            animation: twinkle 5s infinite ease-in-out;
        }

        .star-five:before {
            content: '';
            position: absolute;
            width: 0;
            height: 0;
            border-right: 4px solid transparent;
            border-bottom: 9px solid #b93bf6;
            border-left: 4px solid transparent;
            top: -6px;
            left: -7px;
            transform: rotate(-35deg);
        }

        .star-five:after {
            content: '';
            position: absolute;
            width: 0;
            height: 0;
            border-right: 12px solid transparent;
            border-bottom: 8px solid #b93bf6;
            border-left: 12px solid transparent;
            top: 0;
            left: -12px;
            transform: rotate(-70deg);
        }

        /* 星星动画 */
        @keyframes twinkle {
            0%, 100% { opacity: 0.4; transform: scale(0.8); }
            50% { opacity: 1; transform: scale(1.1); }
        }

        /* 浮动元素 */
        .floating-element {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, var(--primary-color), transparent 70%);
            opacity: 0.2;
            animation: float 20s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(40px, -25px) rotate(5deg); }
            50% { transform: translate(-30px, 20px) rotate(-5deg); }
            75% { transform: translate(20px, 25px) rotate(3deg); }
        }

        /* 连接线效果 */
        .connection-line {
            position: absolute;
            height: 1px;
            background: linear-gradient(90deg, transparent, #b93bf6, transparent);
            opacity: 0.3;
            animation: pulse 8s infinite ease-in-out;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.1; }
            50% { opacity: 0.5; }
        }