:root {
    --primary-color: #1890ff;
    --primary-color-hover: #40a9ff;
    --secondary-color: #096dd9;
    --background-color: #f0f2f5;
    --text-color: #000000d9;
    --white: #ffffff;
}

/* 基础样式保持不变 */

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    position: relative;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    animation: gradientAnimation 10s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% 300%;
    animation: gradientText 5s ease-in-out infinite, fadeInUp 1s ease;
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero .tagline {
    font-size: 24px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero .description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.features {
    padding: 80px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    padding: 0 50px;
}

.feature-content h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
}

.feature-image img{
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 530px; /* 设置固定宽度 */
    height: 330px; /* 设置固定高度 */
}


.feature-item:hover .feature-image-carousel {
    animation: carousel 15s infinite linear;
}

@media (max-width: 768px) {
    .feature-item, .feature-item.reverse {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .feature-content {
        padding: 0;
        margin-bottom: 30px;
    }

    .feature-content h2 {
        font-size: 28px;
    }

    .feature-content p {
        font-size: 16px;
    }

    .feature-image-wrapper {
        width: 100%;
    }
}

.gradient-text {
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% 300%;
    animation: gradientText 5s ease-in-out infinite;
    display: inline-block;
}

.offline-install {
    background-color: var(--white);
    padding: 100px 0;
    margin-top: 80px;
}

.offline-install h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.timeline-content code {
    background-color: #f0f0f0;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
}

.download-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.download-button:hover {
    background-color: var(--primary-color-hover);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

@media (max-width: 768px) {
    .offline-install h2 {
        font-size: 28px;
    }

    .offline-install li {
        font-size: 16px;
    }

    .download-button {
        width: 100%;
    }
}

.note {
    font-style: italic;
    color: #4a90e2; /* 浅蓝色 */
    /* 如果您更喜欢浅红色，可以使用下面的颜色代码 */
    /* color: #ff6b6b; */
    margin-top: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    background-color: rgba(74, 144, 226, 0.1); /* 浅蓝色背景 */
    /* 如果使用浅红色字体，可以使用下面的背景色 */
    /* background-color: rgba(255, 107, 107, 0.1); */
    border-radius: 5px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}