* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #076ce0;
    --primary-dark: #0657b0;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --bg-dark: #060927;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #076ce0 0%, #0a1628 100%);
    --gradient-hero: linear-gradient(180deg, #060927 0%, #0a1628 50%, #0f1f3a 100%);
    --font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.announcement-banner {
    background: linear-gradient(90deg, rgba(7, 108, 224, 0.2), rgba(7, 108, 224, 0.1));
    border-bottom: 1px solid rgba(7, 108, 224, 0.3);
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

.announcement-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-banner-close {
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
}

.announcement-banner-close:hover {
    color: var(--text-primary);
}

.announcement-banner.hidden {
    display: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(7, 108, 224, 0.8), rgba(138, 43, 226, 0.8));
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 4px 20px rgba(7, 108, 224, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    padding-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    margin-right: 12px;
}

.logo-text {
    font-size: 23px;
    font-weight: 700;
    color: #ffffff;
}

.logo-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    padding: 0 30px;
    flex-grow: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-links a:hover {
    color: #cf93d9;
    background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
    display: flex;
    gap: 15px;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    outline: none;
    font-family: 'Microsoft YaHei', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: 1px solid rgba(7, 108, 224, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(7, 108, 224, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.btn-large {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
}

.btn-cta {
    background: white;
    color: #076ce0;
    font-weight: 600;
    padding: 15px 40px;
    font-size: 16px;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 4px 0;
    transition: all 0.3s;
}

.section-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(7, 108, 224, 0.5);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    background-image: url('../images/hero-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.rain {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3));
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 23px;
    color: #dedede;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-content h1 {
    font-size: 39px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #e2e2e2;
}

.hero-desc {
    font-size: 17px;
    color: #a9a9a9;
    line-height: 25px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.features-highlight {
    padding: 80px 0;
    background: rgba(6, 9, 39, 1);
    background-image: url('../images/features-bg.png');
    background-repeat: repeat;
    background-size: cover;
}

.features-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 14px;
    color: #dedede;
    line-height: 1.8;
}

.ai-platform {
    padding: 80px 0;
    background: rgba(6, 9, 39, 1);
}

.ai-platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.ai-platform-left {
    position: relative;
}

.ai-platform-left::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(7, 108, 224, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.ai-platform-left h2 {
    font-size: 47px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 30px;
    line-height: 1.2;
}

.ai-platform-left p {
    font-size: 17px;
    color: #dedede;
    line-height: 1.8;
    margin-bottom: 50px;
}

.ai-platform-right {
    position: relative;
}

.ai-platform-right .ai-platform-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/ai-platform-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.8;
}

.ai-platform-right h3 {
    font-size: 23px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.ai-platform-right p {
    font-size: 16px;
    color: #a9a9a9;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.ai-platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.ai-platform-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-platform-card h4 {
    font-size: 23px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 15px;
}

.ai-platform-card p {
    font-size: 16px;
    color: #a9a9a9;
    margin-bottom: 0;
}

.digital-human {
    padding: 80px 0;
    background: rgba(6, 9, 39, 1);
}

.digital-human-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.digital-human-left {
    position: relative;
}

.digital-human-left h2 {
    font-size: 47px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 30px;
    line-height: 1.2;
}

.digital-human-left p {
    font-size: 17px;
    color: #dedede;
    line-height: 1.8;
    margin-bottom: 50px;
}

.digital-human-right {
    position: relative;
}

.digital-human-right .digital-human-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/digital-human-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.8;
}

.digital-human-right h3 {
    font-size: 23px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.digital-human-right p {
    font-size: 16px;
    color: #a9a9a9;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.digital-human-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.digital-human-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.digital-human-card h4 {
    font-size: 23px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 15px;
}

.digital-human-card p {
    font-size: 16px;
    color: #a9a9a9;
    margin-bottom: 0;
}

.courses {
    padding: 80px 0;
    background: rgba(6, 9, 39, 1);
    background-image: url('../images/courses-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

.courses h2 {
    font-size: 39px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 20px;
    line-height: 1.3;
}

.courses p {
    font-size: 17px;
    color: #a9a9a9;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.course-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.course-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 15px;
}

.course-card p {
    font-size: 16px;
    color: #a9a9a9;
    margin-bottom: 0;
    text-align: left;
    max-width: none;
}

.cta {
    padding: 80px 0;
    background: rgba(6, 9, 39, 1);
    text-align: center;
}

.cta h2 {
    font-size: 39px;
    font-weight: 700;
    color: #dedede;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.cta p {
    font-size: 17px;
    color: #dedede;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.download {
    padding: 100px 0;
    text-align: center;
    background: rgba(6, 9, 39, 1);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.download-btn:hover {
    transform: translateY(-5px);
    border-color: rgba(7, 108, 224, 0.3);
}

.download-btn i {
    font-size: 36px;
}

.download-btn.ios i {
    color: #ffffff;
}

.download-btn.android i {
    color: #4285f4;
}

.download-btn.h5 i {
    color: var(--primary-color);
}

.download-info {
    text-align: left;
}

.download-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

.download-subtitle {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.changelog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.changelog-link:hover {
    color: #0a84ff;
}

.contact {
    padding: 100px 0;
    background: rgba(6, 9, 39, 1);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.footer {
    background: rgba(6, 9, 39, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

.footer-logo img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    margin-right: 12px;
}

.footer-logo span {
    font-size: 21px;
    font-weight: 600;
}

.footer-logo-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-left: 8px;
    font-style: italic;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(7, 108, 224, 0.2);
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.footer-info a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-info a:hover {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.announcement-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.announcement-dialog {
    background: rgba(15, 20, 40, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

.announcement-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 18px;
    font-weight: 600;
}

.announcement-dialog-close-btn {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 20px;
    transition: color 0.3s;
}

.announcement-dialog-close-btn:hover {
    color: var(--text-primary);
}

.announcement-dialog-body {
    padding: 24px;
}

.announcement-dialog-body p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

#downloadPasswordInput {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

#downloadPasswordInput:focus {
    border-color: var(--primary-color);
}

#downloadPasswordInput::placeholder {
    color: var(--text-muted);
}

#downloadPasswordError {
    color: #f56c6c;
    font-size: 12px;
    margin-top: 8px !important;
    display: none;
}

#changelogContent {
    max-height: 400px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.announcement-dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
}

.announcement-dialog-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.announcement-dialog-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.announcement-dialog-btn.primary {
    background: var(--primary-color);
    color: white;
}

.announcement-dialog-btn.primary:hover {
    background: var(--primary-dark);
}

@media (max-width: 992px) {
    .ai-platform-content,
    .digital-human-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-highlight-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ai-platform-grid,
    .digital-human-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .ai-platform-left h2,
    .digital-human-left h2 {
        font-size: 36px;
    }

    .cta h2,
    .courses h2 {
        font-size: 32px;
    }

    .nav-wrapper {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 15px;
    }

    .nav-links {
        padding: 10px 0;
        gap: 15px;
    }

    .nav-actions {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .ai-platform-left h2,
    .digital-human-left h2 {
        font-size: 28px;
    }

    .cta h2,
    .courses h2 {
        font-size: 28px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-subtitle {
        display: none;
    }
}