:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --background-color: #ffffff;
    --text-color: #333333;
    --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: #1a1a1a;
    --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: var(--navbar-height);
}

/* Navigation */
.navbar {
    background-color: var(--background-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.5rem;
    color: var(--text-color);
}

.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;
}

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

.hero-section h1 {
    color: var(--text-color);
    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(--section-bg);
    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);
}

.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);
}

.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: var(--primary-color);
    font-size: 1.5rem;
}

.benefit-card h3 {
    color: var(--text-color);
    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);
}

.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;
    }

    .hero-section img {
        margin-top: 2rem;
    }

    .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);
    padding: 25px;
    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: #2563eb;
  color: white;
}

.btn-primary-main:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

/* 浅色风格按钮 - 明亮主题 */
.btn-light-main {
  background-color: #f8fafc;
  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: #3b82f6;
    color: #f8fafc;
  }
  
  [data-theme="dark"]  .btn-primary-main:hover {
    background-color: #2563eb;
    box-shadow: 0 6px 12px rgba(59, 130, 246, 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;
}