/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Main container for entire page */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #161616;
    padding-top: 50px; /* Space for the fixed header */
}

body {
    background-color: #161616;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style-position: inside;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Make sure all sections use the same style pattern for consistency */
section, .version-selector, .download-area, .version-nav, .download-section {
    max-width: 1200px;
    margin: 0 auto;
}

/* 简单轮播图样式 */
.simple-carousel {
    position: relative;
    width: 100%;
    max-width: 580px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 62.5%; /* 保持16:10的比例 */
    overflow: hidden;
    background-color: #000; /* 黑色背景 */
}

/* 幻灯片基本样式 */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: none; /* 默认隐藏所有幻灯片 */
    opacity: 1 !important; /* 强制设置不透明度为1 */
    transform: none !important; /* 强制取消任何变换 */
}

/* 活动幻灯片简单显示 */
.slide.active {
    display: block !important; /* 强制显示当前幻灯片 */
    opacity: 1 !important;
    transform: none !important;
}

/* 轮播点样式 */
.global-carousel-dots {
    position: relative;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.global-carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.global-carousel-dots .dot.active {
    background-color: #19AF39;
}

.global-carousel-dots .dot:hover {
    background-color: #888;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #161616;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed !important; /* Ensure it's fixed with highest specificity */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: 50px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 24px;
    margin-right: 8px;
}

.logo span {
    font-weight: bold;
    color: #fff;
}

/* Navigation */
nav {
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: #ccc;
    font-size: 14px;
}

nav ul li.active a {
    color: #19AF39;
}

/* Header right section */
.header-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.login {
    color: #ccc;
    margin-right: 15px;
    font-size: 14px;
}

.signup {
    background-color: #19AF39;
    color: #000;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    padding: 50px 100px;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 5px;
    background: #19AF39;
    transform: translateX(-50%);
    display: none;
}

.hero-content {
    flex: 0.8;
    max-width: 450px;
    text-align: left;
    padding-right: 40px;
    margin-left: -100px;
}

.hero-content h1 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    color: #19AF39;
    text-align: left;
}

.hero-content h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #19AF39;
    margin-top: 15px;
    margin-left: 0;
}

.hero-content ol {
    margin-left: 0;
    margin-top: 40px;
    list-style-position: outside;
    padding-left: 20px;
    text-align: left;
}

.hero-content ol li {
    margin-bottom: 15px;
    font-size: 15px;
    color: #ccc;
    text-align: left;
    padding-right: 20px;
}

.hero-image {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    margin-right: -100px;
    position: relative;
}

/* Announcement Bar */
.announcement {
    background-color: #111;
    padding: 12px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.announcement-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.version-tag {
    background-color: rgba(255, 0, 0, 0.2);
    color: #f44;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 15px;
}

.announcement p {
    font-size: 14px;
    color: #ccc;
}

/* Download Section */
.download {
    display: flex;
    padding: 40px 30px;
    background-color: #0c0c0c;
}

.download-left {
    flex: 1;
    margin-right: 30px;
}

.download-tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    padding: 5px 15px;
    border-bottom: 2px solid transparent;
    color: #ccc;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

.tab.active {
    color: #19AF39;
    border-bottom: 2px solid #19AF39;
}

.download-box {
    display: flex;
    background-color: rgba(20, 20, 20, 0.5);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-icon {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(25,175,57,0.4) 0%, rgba(25,175,57,0.1) 60%, transparent 80%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 0;
    box-shadow: 0 0 15px rgba(25,175,57,0.3);
}

.download-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(25,175,57,0.5));
}

.download-box ol {
    margin-left: 10px;
}

.download-box ol li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #ccc;
}

.download-right {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(20, 20, 20, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 30%;
    text-align: center;
}

.platform img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.platform span {
    font-size: 14px;
    margin-bottom: 15px;
    color: #ccc;
}

.download-btn {
    background-color: #19AF39;
    color: #000;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
}

/* Main Feature Section */
.main-feature {
    padding: 60px 30px;
    text-align: center;
    background-color: #000;
    max-width: 1200px;
    margin: 0 auto;
}

.main-feature h2 {
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.main-feature h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #19AF39;
    margin: 20px auto 0;
}

.feature-video {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222;
    aspect-ratio: 16 / 9;
}

.feature-video img.video-placeholder {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.play-button:hover {
    background-color: rgba(25, 175, 57, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
    transition: all 0.3s ease;
}

.play-button img {
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
}

/* 视频播放器样式 */
#video-player {
    border-radius: 8px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Why Choose Us Section */
.why-choose {
    padding: 60px 30px;
    background-color: #000;
    text-align: center;
    background-image: linear-gradient(to bottom right, transparent, rgba(25, 175, 57, 0.05));
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose h2 {
    font-size: 28px;
    margin-bottom: 60px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    color: #fff;
}

.why-choose h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #19AF39;
    margin: 20px auto 0;
}

.advantage-cards {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 20px;
}

.advantage-card {
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: 8px;
    padding: 25px;
    flex: 1;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-header .icon {
    font-size: 24px;
    margin-right: 10px;
    color: #19AF39;
}

.card-header .title {
    font-size: 18px;
    font-weight: bold;
    color: #19AF39;
}

.card-tags {
    display: flex;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tag {
    background-color: rgba(25, 175, 57, 0.1);
    color: #19AF39;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Comments Section */
.comments {
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto 30px;
    background-image: url('/static/image/img/bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(25, 175, 57, 0.2);
}

.comments h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.comments h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #19AF39;
    margin: 10px auto 0;
}

.comments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    z-index: 1;
    border-radius: 8px;
}

.comment-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 10px 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
    cursor: grab;
    scroll-behavior: smooth;
}

.comment-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.comment-wrapper.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

.comment {
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 8px;
    padding: 12px;
    margin: 10px;
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    height: 80px;
    display: flex;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-clone {
    opacity: 1;
}

.comment:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(25, 175, 57, 0.5);
    background-color: rgba(25, 175, 57, 0.1);
}

.comment .icon {
    font-size: 18px;
    margin-right: 8px;
    flex-shrink: 0;
    color: #19AF39;
}

.comment p {
    font-size: 12px;
    color: #ccc;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.comment-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    z-index: 3;
    height: 20px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.indicator-dot:hover {
    transform: scale(1.2);
}

.indicator-dot.active {
    background-color: #19AF39;
    transform: scale(1.2);
}

/* Adjust comment width for mobile */
@media (max-width: 992px) {
    .comment {
        min-width: 180px;
        width: 180px;
        max-width: 180px;
    }
    
    .file-icon {
        margin-bottom: 20px;
        align-self: center;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .comments {
        padding: 20px 15px;
    }
    
    .comment {
        min-width: 160px;
        width: 160px;
        max-width: 160px;
        height: 70px;
    }
    
    .comment p {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
    
    .comment-indicators {
        margin-top: 15px;
    }
    
    .indicator-dot {
        width: 6px;
        height: 6px;
        margin: 0 3px;
    }
    
    .file-icon {
        width: 120px;
        height: 120px;
        margin-right: 0;
        margin-bottom: 20px;
        align-self: center;
    }
    
    .file-icon img {
        width: 70px;
        height: 70px;
    }
}

/* Pricing Section */
.pricing {
    padding: 60px 30px;
    background-color: #000;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing h2 {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.pricing h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #19AF39;
    margin: 15px auto 0;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background-color: rgba(20, 20, 20, 0.5);
    border-radius: 8px;
    padding: 30px;
    width: 45%;
    border: 1px solid rgba(25, 175, 57, 0.2);
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #19AF39;
}

.features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.feature-included::before {
    content: '✓';
    color: #19AF39;
    margin-right: 10px;
}

.feature-excluded::before {
    content: '✗';
    color: #f44;
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: #161616;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 24px;
    margin-right: 8px;
}

.footer-logo span {
    font-weight: bold;
    color: #fff;
}

.footer-tagline {
    font-size: 13px;
    color: #999;
    margin: 0;
    line-height: 1.5;
}

.footer-center {
    flex: 1;
    text-align: left;
    margin: 0 20px;
}

.footer-center h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-center h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: #19AF39;
}

.footer-links {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding-left: 0;
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
    text-decoration: none;
    display: block;
    text-align: left;
}

.footer-links a:hover {
    color: #19AF39;
}

.footer-right {
    flex: 1;
    text-align: right;
    align-self: flex-end;
    display: flex;
    justify-content: flex-end;
}

.copyright {
    font-size: 12px;
    color: #777;
    margin: 0;
    text-align: right;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
    }
    
    .footer-left, .footer-center {
        width: 100%;
        max-width: none;
        margin: 0 0 30px 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-center h4 {
        display: block;
        text-align: center;
    }
    
    .footer-center h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-right {
        width: 100%;
        text-align: right;
        justify-content: flex-end;
        margin-bottom: 0;
    }
    
    .copyright {
        text-align: right;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #19AF39;
    border-radius: 3px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .main-container {
        width: 100%;
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 40px;
    }
    
    .header-container {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding: 40px 30px;
        overflow: visible;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
        padding-right: 0;
        flex: 1;
        margin-left: 0;
    }
    
    .hero-image {
        justify-content: center;
        padding-left: 0;
        margin-right: 0;
        flex: 1;
    }
    
    .simple-carousel {
        max-width: 100%;
        width: 100%;
    }
    
    .carousel-items {
        padding-bottom: 56.25%; /* 16:9比例 */
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .download-section {
        padding: 30px 20px;
    }
    
    .download-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .os-card {
        flex: 0 0 48%;
        aspect-ratio: auto;
        padding: 25px 15px;
        max-width: none;
    }
    
    .advantage-cards {
        flex-direction: column;
    }
    
    .advantage-card {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .comment {
        width: calc(50% - 20px);
    }
    
    .pricing-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .pricing-card {
        width: 100%;
    }
    
    footer {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-right {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0;
        height: 45px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    body {
        padding-top: 0; /* Remove this since we use padding-top on main-container */
    }
    
    .main-container {
        padding-top: 45px; /* Match mobile header height */
    }
    
    nav ul {
        top: 45px; /* Align with bottom of header */
        display: none;
        position: fixed;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999; /* Just below the header */
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 30px;
    }
    
    .header-right {
        display: flex;
    }
    
    .language-switcher {
        margin-right: 10px;
    }
    
    .current-language {
        padding: 3px 8px;
    }
    
    .hero {
        padding: 30px 20px;
    }
    
    .download-section {
        flex-direction: column;
        padding: 20px 15px;
    }
    
    .download-left {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .download-right {
        width: 100%;
    }
    
    .os-card {
        flex: 0 0 100%;
        margin-bottom: 15px;
        aspect-ratio: auto;
        padding: 20px 10px 60px;
        max-width: none;
    }
    
    .comment {
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .carousel-indicators .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Animation and Hover Effects */
.download-btn:hover {
    background-color: #19AF39;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.platform:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(25, 175, 57, 0.1);
}

.play-button:hover {
    background-color: rgba(25, 175, 57, 0.8);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: rgba(25, 175, 57, 0.5);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.tab:hover {
    color: #19AF39;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #19AF39;
    transition: all 0.3s ease;
}

.login:hover {
    color: #fff;
    transition: all 0.3s ease;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section h2.animated::after {
    animation: fadeInUp 0.8s ease forwards;
}

.recommended {
    position: relative;
    border-color: rgba(0, 255, 0, 0.6) !important;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2) !important;
}

.recommended::before {
    content: '推荐';
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: #19AF39;
    color: #000;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 1;
}

/* V3版本下载区样式 */
.download-v3 {
    padding: 0;
    margin: 0;
    background-color: #111;
}

.download-v3 .download-tabs {
    display: flex;
    margin: 0;
    border-bottom: none;
    background-color: #000;
}

.download-v3 .tab {
    padding: 10px 25px;
    color: #aaa;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    position: relative;
}

.download-v3 .tab.active {
    color: #19AF39;
    border-bottom: 2px solid #19AF39;
}

.download-v3 .download-content {
    display: none;
    padding: 30px;
}

.download-v3 .download-content.active {
    display: flex;
}

.download-v3 .v3-left {
    display: flex;
    align-items: flex-start;
    margin-right: 25px;
    max-width: 220px;
}

.download-v3 .v3-icon {
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
    background: radial-gradient(circle, rgba(25,175,57,0.4) 0%, rgba(25,175,57,0.1) 60%, transparent 80%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(25,175,57,0.3);
}

.download-v3 .v3-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(25,175,57,0.5));
}

.download-v3 .v3-left ol {
    margin: 0;
    padding-left: 20px;
    list-style-position: outside;
}

.download-v3 .v3-left ol li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ccc;
}

.download-v3 .v3-left ol li::marker {
    color: #19AF39;
}

.download-v3 .v3-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-v3 .v3-platform {
    display: flex;
    align-items: center;
    background-color: rgba(20, 20, 20, 0.5);
    border-radius: 8px;
    padding: 15px 20px;
    border: 1px solid rgba(25, 175, 57, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.download-v3 .v3-platform:hover {
    border-color: rgba(25, 175, 57, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 175, 57, 0.1);
}

.download-v3 .v3-platform img {
    width: 35px;
    height: 35px;
    margin-right: 15px;
}

.download-v3 .v3-platform span {
    color: #19AF39;
    font-size: 14px;
    line-height: 1.5;
}

.download-v3 .v3-version {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #19AF39;
    color: #000;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* 媒体查询调整 */
@media (max-width: 992px) {
    .download-v3 .download-content.active {
        flex-direction: column;
    }
    
    .download-v3 .v3-left {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .download-v3 .v3-right {
        flex-direction: column;
    }
    
    .download-v3 .v3-platform {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .download-v3 .v3-platform {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .download-v3 .v3-platform img {
        margin: 10px 0;
    }
    
    .download-v3 .v3-version {
        position: static;
        display: block;
        margin-bottom: 10px;
    }
}

/* 下载区域样式 */
.download-section {
    background-color: #111;
    padding: 30px 20px;
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.download-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 360px;
    margin-right: 30px;
    margin-top: 20px;
}

.file-icon {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(25,175,57,0.4) 0%, rgba(25,175,57,0.1) 60%, transparent 80%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 0;
    box-shadow: 0 0 15px rgba(25,175,57,0.3);
}

.file-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(25,175,57,0.5));
}

.features-list {
    list-style-position: outside;
    padding-left: 20px;
    margin: 0;
}

.features-list li {
    color: #ccc;
    margin-bottom: 14px;
    font-size: 14px;
}

.features-list li::marker {
    color: #19AF39;
}

.download-right {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    max-width: 900px;
}

.os-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #181818;
    border-radius: 4px;
    border: 1px solid #19AF39;
    padding: 30px 10px 60px;
    position: relative;
    min-width: 140px;
    max-width: 170px;
    aspect-ratio: 1/1;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.os-card:hover {
    border-color: #19AF39;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 175, 57, 0.2);
    text-decoration: none;
}

.os-card:focus {
    outline: 2px solid #19AF39;
    outline-offset: 2px;
    text-decoration: none;
}

.os-card:visited {
    color: inherit;
    text-decoration: none;
}

.os-card.recommended {
    border: 1px solid #19AF39;
    box-shadow: 0 0 8px rgba(25, 175, 57, 0.3);
}

.version-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #c00;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: normal;
}

.recommended-tag {
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: #19AF39;
    color: #000;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: normal;
}

.os-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.os-name {
    color: #19AF39;
    font-size: 16px;
    margin-bottom: 5px;
}

.download-text {
    color: #19AF39;
    font-size: 14px;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .download-section {
        padding: 30px;
    }
    
    .download-left {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    
    .file-icon {
        margin-bottom: 20px;
        align-self: center;
        margin-right: 0;
    }
    
    .download-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .os-card {
        flex: 0 0 48%;
        aspect-ratio: auto;
        padding: 30px 15px 60px;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .download-section {
        flex-direction: column;
        padding: 20px;
    }
    
    .download-left {
        flex-direction: column;
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .file-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .download-right {
        width: 100%;
    }
    
    .os-card {
        flex: 0 0 100%;
        margin-bottom: 15px;
        aspect-ratio: auto;
        padding: 20px 10px 60px;
        max-width: none;
    }
}

/* Version selector and download area */
.version-nav {
    display: flex;
    background-color: #000;
    border-bottom: none;
    max-width: 1200px;
    margin: 0 auto;
}

.version-nav .version-option {
    padding: 10px 20px;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.version-nav .version-option.active {
    color: #19AF39;
    font-weight: bold;
    border-bottom: 2px solid #19AF39;
}

.download-area {
    background-color: #111;
    padding: 30px 20px;
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.left-column {
    width: 240px;
    margin-right: 30px;
    margin-top: 20px;
}

.file-icon-wrapper {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(25,175,57,0.4) 0%, rgba(25,175,57,0.1) 60%, transparent 80%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(25,175,57,0.3);
}

.file-icon-wrapper img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(25,175,57,0.5));
}

.features {
    list-style-position: outside;
    padding-left: 20px;
    margin: 0;
}

.features li {
    color: #ccc;
    margin-bottom: 14px;
    font-size: 14px;
}

.features li::marker {
    color: #19AF39;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    max-width: 900px;
}

.os-download-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #181818;
    border-radius: 4px;
    border: 1px solid #19AF39;
    padding: 30px 10px 20px;
    position: relative;
    min-width: 140px;
    max-width: 170px;
    aspect-ratio: 1/1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.os-download-card:hover {
    border-color: #19AF39;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 175, 57, 0.2);
}

.os-download-card:focus {
    outline: 2px solid #19AF39;
    outline-offset: 2px;
    text-decoration: none;
}

.os-download-card:visited {
    color: inherit;
    text-decoration: none;
}

.os-download-card.recommended {
    border: 1px solid #19AF39;
    box-shadow: 0 0 8px rgba(25, 175, 57, 0.3);
}

.version-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #c00;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: normal;
}

.recommended-tag {
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: #19AF39;
    color: #000;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: normal;
}

.os-download-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.download-text {
    display: flex;
    flex-direction: column;
}

.download-text span:first-child {
    color: #19AF39;
    font-size: 16px;
    margin-bottom: 5px;
}

.download-text span:last-child {
    color: #19AF39;
    font-size: 14px;
}

/* 添加响应式样式 */
@media (max-width: 768px) {
    .feature-video {
        max-width: 100%;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button img {
        width: 20px;
        height: 20px;
    }
}

/* Add full-page carousel styling */
body, html {
    height: 100%;
    overflow-x: hidden;
}

.main-container {
    max-width: 100%;
    margin: 0;
    background-color: #000000;
    min-height: 100vh;
    position: relative;
}

/* Make sure the hero section takes full height for the active slide */
#simple-carousel {
    height: auto;
    width: 100%;
}

#simple-carousel .carousel-inner {
    height: 0;
    padding-bottom: 62.5%; /* 保持16:10的比例 */
}

/* Global carousel dots for the hero section */
.global-carousel-dots {
    position: relative;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.global-carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.global-carousel-dots .dot.active {
    background-color: #19AF39;
}

.global-carousel-dots .dot:hover {
    background-color: #888;
}

.carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 580px;
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.login-modal-content {
    background-color: white;
    width: 100%;
    max-width: 700px;
    height: 520px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.login-content-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #c4dcff 0%, #84b6f4 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
}

.login-left::before {
    content: '';
    display: none;
}

.login-left h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 900;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    margin-top: 30px;
}

.app-logo {
    color: #19AF39;
    font-size: 34px;
    font-weight: 900;
    position: relative;
    z-index: 2;
    border: 2px solid #19AF39;
    padding: 10px 20px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.files-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

.files-image {
    width: 85%;
    max-width: 240px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.login-right {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.login-modal.active {
    display: flex;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background-color: #e0e0e0;
    color: #666;
}

.login-tabs {
    display: flex;
    margin-bottom: 40px;
    border-bottom: none;
}

.login-tab {
    flex: 0 0 auto;
    text-align: center;
    padding: 15px 30px 15px 0;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    margin-right: 30px;
    transition: all 0.3s ease;
}

.login-tab.active {
    color: #19AF39;
    font-weight: 900;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #19AF39;
    border-radius: 3px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 16px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #19AF39;
    outline: none;
    box-shadow: 0 0 0 2px rgba(25, 175, 57, 0.1);
}

.forgot-password {
    position: absolute;
    right: 0;
    top: 100%;
    font-size: 13px;
    color: #ff6666;
    margin-top: 8px;
    cursor: pointer;
}

.login-btn {
    background-color: #19AF39;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 40px;
    width: 100%;
    font-weight: 900;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(25, 175, 57, 0.3);
}

.login-btn:hover:not([disabled]) {
    background-color: #0f9f2a;
    box-shadow: 0 4px 8px rgba(25, 175, 57, 0.4);
    transform: translateY(-2px);
}

.login-btn:active:not([disabled]) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(25, 175, 57, 0.3);
}

.login-btn[disabled] {
    background-color: #90d9a2;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 768px) {
    .login-modal-content {
        width: 90%;
        height: auto;
        max-height: 90vh;
    }
    
    .login-content-wrapper {
        flex-direction: column;
    }
    
    .login-left {
        padding: 30px 20px;
    }
    
    .login-right {
        padding: 20px;
    }
    
    .login-form {
        padding: 0;
    }
}

@media (max-width: 500px) {
    .login-modal-content {
        width: 95%;
    }
    
    .login-left {
        display: none;
    }
}

/* Import Alibaba PuHui Font */
@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('https://cdn.jsdelivr.net/gh/alphasnow/aliyun-oss-cdn@1.6.0/fonts/AlibabaPuHuiTi-2-105-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.alibaba-font {
    font-family: 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
}

/* Registration form styles */
.form-container {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.verification-btn {
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    color: #19AF39;
    border: none;
    padding: 16px 15px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.verification-btn:hover {
    color: #0f9f2a;
}

.register-btn {
    background-color: #19AF39;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 40px;
    width: 100%;
    font-weight: 900;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(25, 175, 57, 0.3);
}

.register-btn:hover:not([disabled]) {
    background-color: #0f9f2a;
    box-shadow: 0 4px 8px rgba(25, 175, 57, 0.4);
    transform: translateY(-2px);
}

.register-btn:active:not([disabled]) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(25, 175, 57, 0.3);
}

.register-btn[disabled] {
    background-color: #90d9a2;
    cursor: not-allowed;
    box-shadow: none;
}

/* Registration success notification */
.register-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    z-index: 10;
}

.success-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-text {
    font-size: 18px;
    color: #333;
    text-align: center;
}

.footer-menu-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 40px 30px;
    text-align: center;
}

.footer-menu-simple h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    align-self: center;
}

.footer-menu-simple h4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: #19AF39;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.menu-links a {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
    display: block;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-right: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
}

.current-lang {
    display: flex;
    align-items: center;
    color: #E0E0E0;
    text-decoration: none;
    font-size: 14px;
}

.current-lang span {
    margin: 0 5px;
}

.login, .signup {
    display: flex;
    align-items: center;
    height: 100%;
}

.signup {
    background-color: #19AF39;
    color: #000;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    margin-left: 15px;
}

.globe-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='2' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.arrow-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-color: #19AF39; /* Green arrow */
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease-in-out;
}

.language-switcher:hover .arrow-icon {
    transform: rotate(-135deg) translateY(0px);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 110px;
    background-color: #1A1A1A; /* Darker background for dropdown */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 8px 0;
    margin-top: 8px; /* Space between button and dropdown */
}

.language-switcher:hover .language-dropdown {
    /* display: block; */  /* Commented out as we're using click instead of hover */
}

.language-option {
    display: block;
    padding: 10px 15px;
    color: #E0E0E0; /* Lighter gray for options */
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    text-align: center;
}

.language-option:hover {
    background-color: #2C2C2C; /* Slightly lighter on hover */
    color: #fff;
}

.language-option.active {
    color: #19AF39; /* Green for active language */
    font-weight: 500;
    background-color: transparent;
}

.language-option.active:hover {
    background-color: #2C2C2C; /* Consistent hover for active */
} 