@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
    --primary-color: #3B82F6; 
    --secondary-color: #60A5FA;
    --background-color: #F7F9FC; 
    --card-background-color: #FFFFFF;
    --text-color: #1F2937; 
    --secondary-text-color: #6B7280;
    --border-color: #E5E7EB;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --border-radius: 16px; 
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden; 
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.8;
    position: relative;
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F7F9FC, #E2E8F0);
    z-index: -2;
    overflow: hidden;
}

.parallax-bg::before, .parallax-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.1));
    animation: float 15s infinite ease-in-out;
}

.parallax-bg::before {
    width: 60vw;
    height: 60vw;
    top: -20vw;
    left: -20vw;
}

.parallax-bg::after {
    width: 40vw;
    height: 40vw;
    bottom: -15vw;
    right: -15vw;
    animation-delay: -7s;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-40px) translateX(20px) rotate(180deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

.container {
    max-width: 1100px; /* 恢复原始宽度 */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 0px; 
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 60px;
    margin-right: 12px; 
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 120px 0;
    background-color: transparent;
    min-height: 100vh; /* 占满整个屏幕高度 */
    display: flex;
    align-items: center;
    justify-content: center; /* 水平居中 */
}

.hero-content {
    text-align: center;
}

.hero-text {
    max-width: 750px;
    margin: 0 auto;
    text-align: center; /* 确保内部文字也居中 */
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-top: 15px;
    font-weight: 500;
}

.hero-subtitle strong {
    background: -webkit-linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 500px;
    margin: 0 auto; 
    text-align: center;
    color: var(--secondary-text-color);
    margin-top: 20px;
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    transform: scale(1.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 30px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-image: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 7px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background-color: var(--card-background-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.btn i {
    margin-left: 8px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: transparent;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 80px; 
    margin-top: 80px;
    perspective: 1500px; 
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: rotateY(-60deg) translateX(-150%);
}

/* 交错布局 */
.feature-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: rotateY(60deg) translateX(150%);
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    font-size: 4rem; /* 放大图标 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px; /* 增大图标背景尺寸 */
    height: 150px;
    border-radius: 30px;
    background-image: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-title {
    font-size: 2rem; /* 增大标题字号 */
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-description {
    color: var(--secondary-text-color);
}

/* Download Section */
.download {
    padding: 80px 0;
    text-align: center;
    background-color: transparent;
    position: relative;
}

.section-description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--secondary-text-color);
    font-size: 1.1rem;
}

.version-info {
    margin-top: 20px;
    color: var(--secondary-text-color);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--secondary-text-color);
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.8);
    margin-top: 60px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes subtle-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-text {
    opacity: 0;
}

.hero-text.is-visible {
    animation: subtle-fade-in-up 1.2s 0.2s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title, .download .container > * {
    opacity: 0;
}

.section-title.is-visible {
    animation: fadeInUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.download .container.is-visible > .section-title { animation: fadeInUp 0.8s 0.2s forwards cubic-bezier(0.16, 1, 0.3, 1); }
.download .container.is-visible > .section-description { animation: fadeInUp 0.8s 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1); }
.download .container.is-visible > .btn { animation: fadeInUp 0.8s 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1); }
.download .container.is-visible > .version-info { animation: fadeInUp 0.8s 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1); }


.animate-on-scroll.is-visible {
    opacity: 1;
    transform: rotateY(0) translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-item,
    .feature-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 30px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 20px;
    }
    
    .hero-image img {
        transform: scale(1);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-title {
        font-size: 1.4rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
        padding: 12px 28px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        height: 45px;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 80px 0;
    }

    .features {
        padding: 60px 0;
    }

    .download {
        padding: 60px 0;
    }

    .features-list {
        gap: 50px;
        margin-top: 50px;
    }

    .feature-icon {
        font-size: 2.5rem;
        width: 100px;
        height: 100px;
    }

    .version-info {
        font-size: 0.85rem;
    }

    .footer {
        font-size: 0.9rem;
        padding: 30px 0;
    }

    .nav-menu {
        display: none;
    }
}
