/* 通用样式 */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #185abc;
    --accent-color: #4285f4;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --text-color: #343a40;
    --text-light: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --nav-font: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    --fancy-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glow-effect: 0 0 10px rgba(26, 115, 232, 0.4);
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 76px; /* 为固定导航栏留出空间 */
}

body.dark-mode {
    --light-bg: #1a1a1a;
    --dark-bg: #121212;
    --text-color: #e0e0e0;
    --text-light: #aaaaaa;
    background-color: var(--dark-bg);
    color: var(--text-color);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 600;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: var(--fancy-transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
}

body.dark-mode .navbar {
    background-color: rgba(33, 37, 41, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--fancy-transition);
    position: relative;
}

.logo-text:hover {
    transform: scale(1.02);
    text-shadow: 0 0 15px rgba(26, 115, 232, 0.3);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--fancy-transition);
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--fancy-transition);
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(26, 115, 232, 0.2);
}

.nav-link:hover::after {
    width: 100%;
    opacity: 1;
}

body.dark-mode .nav-link {
    color: var(--white) !important;
}

body.dark-mode .nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-item {
    transition: var(--fancy-transition);
}

.nav-item:hover {
    transform: scale(1.05);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dropdown-item {
    transition: var(--fancy-transition);
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

body.dark-mode .dropdown-menu {
    background-color: rgba(33, 37, 41, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dropdown-item {
    color: var(--white);
}

body.dark-mode .dropdown-item:hover {
    background-color: rgba(247, 37, 133, 0.1);
    color: var(--accent-color);
}

.navbar-scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

body.dark-mode .navbar-scrolled {
    background-color: rgba(33, 37, 41, 0.98) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
}

/* 主横幅样式 */
.hero-section {
    height: 400px;
    min-height: 350px;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #134e6f 0%, #1e3a8a 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 15l-5.878 3.09 1.123-6.545L.489 6.91l6.572-.955L10 0l2.939 5.955 6.572.955-4.756 4.635 1.123 6.545z' fill='rgba(255, 255, 255, 0.08)' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-particles::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 16l-6-6h4V4h4v6h4l-6 6zm-6 4v-2h12v2H6z' fill='rgba(255, 255, 255, 0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.slide-content {
    height: 400px;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 3;
}

.slide-content .container {
    position: relative;
    z-index: 4;
}

.slide-content h1,
.slide-content p {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.slide-content .btn-primary {
    padding: 0.8rem 2rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.4);
    transition: var(--fancy-transition);
    border: none;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.slide-content .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--fancy-transition);
    z-index: -1;
}

.slide-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.5);
}

.slide-content .btn-primary:hover::before {
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* 平台展示部分 */
.platform-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

body.dark-mode .platform-section {
    background-color: #1a1a1a;
}

.platform-slider-container {
    position: relative;
    padding: 0 40px;
    margin-top: 40px;
}

.platform-swiper {
    overflow: hidden;
    padding: 20px 0;
}

.platform-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--fancy-transition);
    height: 100%;
    margin: 10px;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.platform-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.platform-item p {
    margin-bottom: 0;
    color: var(--text-color);
    font-weight: 500;
}

body.dark-mode .platform-item {
    background-color: #2a2a2a;
}

body.dark-mode .platform-item p {
    color: var(--white);
}

.platform-swiper-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.platform-swiper-button-prev,
.platform-swiper-button-next {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.platform-swiper-button-prev {
    left: 0;
}

.platform-swiper-button-next {
    right: 0;
}

.platform-swiper-button-prev:hover,
.platform-swiper-button-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

body.dark-mode .platform-swiper-button-prev,
body.dark-mode .platform-swiper-button-next {
    background-color: #2a2a2a;
    color: var(--white);
}

body.dark-mode .platform-swiper-button-prev:hover,
body.dark-mode .platform-swiper-button-next:hover {
    background-color: var(--primary-color);
}

/* 功能特点部分 */
.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

body.dark-mode .feature-card {
    background-color: #2a2a2a;
}

/* 下载部分 */
.download-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.download-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.version-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 20px;
}

/* 不支持系统的卡片样式 */
.disabled-card {
    opacity: 0.7;
    position: relative;
    background-color: #f8f9fa;
}

.disabled-card:hover {
    transform: translateY(-5px);
}

.disabled-notice {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #6c757d;
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 20px;
}

.btn-notify {
    background-color: transparent;
    border: 1px solid #6c757d;
    color: #6c757d;
    cursor: default;
}

.btn-notify:hover {
    background-color: #f8f9fa;
    color: #5a6268;
}

body.dark-mode .disabled-card {
    background-color: #2a2a2a;
    opacity: 0.5;
}

body.dark-mode .btn-notify {
    border-color: #adb5bd;
    color: #adb5bd;
}

body.dark-mode .btn-notify:hover {
    background-color: #343a40;
    color: #ced4da;
}

.download-note {
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
}

body.dark-mode .download-card {
    background-color: #2a2a2a;
}

/* 使用教程部分 */
.tutorial-section {
    background-color: #f9fafb;
    padding: 80px 0;
}

body.dark-mode .tutorial-section {
    background-color: #1a1a1a;
}

.tutorial-tabs {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    overflow: hidden;
}

body.dark-mode .tutorial-tabs {
    background-color: #2a2a2a;
}

.nav-tabs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-tabs .nav-link {
    color: var(--text-color);
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    transition: var(--fancy-transition);
    background-color: transparent;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom: 2px solid var(--primary-color);
}

body.dark-mode .nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .nav-tabs .nav-link {
    color: var(--white);
}

body.dark-mode .nav-tabs .nav-link.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.tutorial-content {
    padding: 20px 0;
}

.nav-pills {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: var(--border-radius);
    padding: 5px;
}

.nav-pills .nav-link {
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    transition: var(--fancy-transition);
    margin: 0 3px;
}

.nav-pills .nav-link:hover {
    color: var(--primary-color);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

body.dark-mode .nav-pills {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .nav-pills .nav-link {
    color: var(--white);
}

body.dark-mode .nav-pills .nav-link.active {
    background-color: var(--accent-color);
}

.tutorial-steps {
    margin-top: 30px;
}

.tutorial-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.tutorial-step:last-child {
    margin-bottom: 0;
}

.tutorial-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 45px;
    left: 20px;
    width: 2px;
    height: calc(100% - 10px);
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

body.dark-mode .tutorial-step:not(:last-child)::after {
    background-color: rgba(255, 255, 255, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 20px;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.step-image {
    margin-top: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.platform-tutorial-content {
    padding: 20px;
    min-height: 400px;
}

.platform-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background-color: rgba(26, 115, 232, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .empty-icon {
    background-color: rgba(66, 133, 244, 0.1);
}

.platform-empty-state h3 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.platform-empty-state p {
    color: var(--text-light);
    max-width: 500px;
}

/* 联系部分 */
.contact-info {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info ul li i {
    color: var(--primary-color);
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1.5rem;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.qrcode-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.qrcode-img {
    max-width: 200px;
    margin: 0 auto;
}

.feedback-form {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

body.dark-mode .contact-info,
body.dark-mode .qrcode-section,
body.dark-mode .feedback-form {
    background-color: #2a2a2a;
}

/* 页脚 */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* 版本历史卡片样式 */
.version-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--fancy-transition);
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.version-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.version-badge.latest {
    background-color: var(--primary-color);
    color: var(--white);
}

.version-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.version-header h3 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.version-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.version-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.version-content ul li {
    margin-bottom: 10px;
    padding-left: 5px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.feature-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.feature-tag.new {
    background-color: #4CAF50;
    color: white;
}

.feature-tag.improved {
    background-color: #2196F3;
    color: white;
}

.feature-tag.fixed {
    background-color: #FF9800;
    color: white;
}

.feature-tag.note {
    background-color: #9E9E9E;
    color: white;
}

body.dark-mode .version-card {
    background-color: #2a2a2a;
}

body.dark-mode .version-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .version-content ul li {
    color: var(--text-color);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-section,
    .slide-content {
        height: 500px;
        min-height: 500px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        left: 80px;
        transform: translateX(0);
        top: -30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: 80px;
    }
}

@media (max-width: 767.98px) {
    .platform-item,
    .feature-card,
    .download-card,
    .tips-card {
        margin-bottom: 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* 动画 */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 深色模式开关 */
#theme-toggle {
    cursor: pointer;
}

/* 导航栏特效样式 */
.nav-ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(26, 115, 232, 0.2);
    transform: scale(0);
    animation: nav-ripple 0.6s linear;
    pointer-events: none;
    z-index: -1;
}

@keyframes nav-ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.nav-link {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        max-width: 80%;
        overflow: hidden;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .nav-link {
        padding: 0.7rem 0 !important;
        margin: 0.3rem 0;
    }
    
    .nav-link::after {
        height: 1px;
    }
}

/* 文本选择样式 */
::selection {
    background-color: var(--primary-color);
    color: white;
}

body.dark-mode ::selection {
    background-color: var(--accent-color);
}

/* Logo 文本特效 */
.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.navbar-brand:hover::before {
    transform: scale(1);
}

body.dark-mode .navbar-brand::before {
    background: radial-gradient(circle, rgba(247, 37, 133, 0.2) 0%, rgba(247, 37, 133, 0) 70%);
}

.logo-text span {
    display: inline-block;
    transition: var(--fancy-transition);
}

.logo-text:hover span {
    animation: colorPulse 2s infinite alternate;
}

@keyframes colorPulse {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(30deg);
    }
}

/* 联系我们部分 */
.contact-section {
    background-color: #f9fafb;
}

body.dark-mode .contact-section {
    background-color: #1a1a1a;
}

.contact-info {
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

body.dark-mode .contact-info {
    background-color: #2a2a2a;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(26, 115, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-method h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.contact-method p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.qrcode-container {
    margin-top: 10px;
}

.qrcode {
    max-width: 150px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-card {
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

body.dark-mode .contact-card {
    background-color: #2a2a2a;
}

.contact-card h3 {
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

.contact-form .form-label {
    color: var(--text-color);
    font-weight: 500;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.75rem 1rem;
    border-color: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(26, 115, 232, 0.25);
}

body.dark-mode .contact-form .form-control,
body.dark-mode .contact-form .form-select {
    background-color: #333;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

body.dark-mode .contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* 页脚样式 */
.footer {
    background-color: #18202a;
    color: rgba(255, 255, 255, 0.7);
}

.footer-main {
    padding: 70px 0 40px;
}

.footer-brand h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-brand h3 span {
    font-weight: 400;
    opacity: 0.8;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-links ul li a:hover::before {
    left: 5px;
}

.footer-newsletter h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form .input-group {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 5px;
}

.newsletter-form .form-control {
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    border-radius: var(--border-radius);
    box-shadow: none !important;
    font-weight: 500;
}

.footer-bottom {
    background-color: #131a23;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #fff;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

@media (max-width: 767.98px) {
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 15px;
    }
    
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .footer-links,
    .footer-newsletter {
        margin-top: 30px;
    }
}

/* 使用教程部分 - 机构选项卡 */
.tutorial-institutions-slider {
    position: relative;
    padding: 0 40px;
}

.institutions-swiper {
    overflow: hidden;
    padding: 10px 0;
}

.institution-tab {
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 10px 15px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.institution-tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.institution-tab:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.05);
}

.institutions-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.institutions-prev,
.institutions-next {
    width: 30px;
    height: 30px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    pointer-events: auto;
}

.institutions-prev:hover,
.institutions-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.institution-content-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.institution-content {
    display: none;
}

.institution-content.active {
    display: block;
}

body.dark-mode .institution-tab {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

body.dark-mode .institution-tab:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .institution-content-container {
    background-color: #2a2a2a;
}

body.dark-mode .institutions-prev,
body.dark-mode .institutions-next {
    background-color: #2a2a2a;
    color: var(--white);
}

body.dark-mode .institutions-prev:hover,
body.dark-mode .institutions-next:hover {
    background-color: var(--primary-color);
}

/* 版本历史轮播样式 */
.version-slider-container {
    position: relative;
    padding: 0 40px;
    margin-bottom: 20px;
}

.version-swiper {
    overflow: hidden;
    padding: 20px 0;
}

.version-card {
    height: 100%;
    min-height: 300px;
}

.version-swiper-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.version-swiper-button-prev,
.version-swiper-button-next {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    pointer-events: auto;
}

.version-swiper-button-prev:hover,
.version-swiper-button-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.version-swiper-pagination {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.version-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--text-light);
    opacity: 0.5;
    margin: 0 5px;
    border-radius: 50%;
    display: inline-block;
}

.version-swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

body.dark-mode .version-swiper-button-prev,
body.dark-mode .version-swiper-button-next {
    background-color: #2a2a2a;
    color: var(--white);
}

body.dark-mode .version-swiper-button-prev:hover,
body.dark-mode .version-swiper-button-next:hover {
    background-color: var(--primary-color);
}

/* 使用条款部分 */
.terms-section {
    background-color: #f9fafb;
}

body.dark-mode .terms-section {
    background-color: #1a1a1a;
}

.terms-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    height: 100%;
    transition: var(--transition);
}

.terms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.terms-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.terms-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(26, 115, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.terms-header h3 {
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-color);
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.terms-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.terms-list li:last-child {
    margin-bottom: 0;
}

.terms-agreement {
    padding: 20px;
    background-color: rgba(26, 115, 232, 0.05);
    border-radius: var(--border-radius);
}

body.dark-mode .terms-card {
    background-color: #2a2a2a;
}

body.dark-mode .terms-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .terms-agreement {
    background-color: rgba(66, 133, 244, 0.05);
}

/* 联系我们部分样式 */
.contact-methods-container {
    margin-bottom: 40px;
}

.contact-method-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-method-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-method-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.contact-method-card p {
    color: #666;
    margin-bottom: 15px;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.qrcode {
    max-width: 120px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.social-icons-large {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.social-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.contact-help {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-help a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-help a:hover {
    text-decoration: underline;
}

/* 深色模式样式 */
body.dark-mode .contact-method-card {
    background-color: #2a2d35;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .contact-method-card h4 {
    color: #e1e1e1;
}

body.dark-mode .contact-method-card p {
    color: #b0b0b0;
}

body.dark-mode .contact-help {
    background-color: #2a2d35;
}

body.dark-mode .qrcode {
    border-color: #444;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-method-card {
        padding: 20px 15px;
    }
    
    .social-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
} 