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

:root {
    --main-font: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --container-width-xl: 1400px;
    --container-width-lg: 1200px;
    --container-width-md: 960px;
    --container-width-sm: 720px;
    --container-padding: 2rem;
    --header-height: 70px;
    --section-padding-xl: 8rem;
    --section-padding-lg: 6rem;
    --section-padding-md: 4rem;
    --section-padding-sm: 3rem;
}

body {
    font-family: var(--main-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #333;
}

header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: var(--header-height);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

nav {
    max-width: var(--container-width-xl);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a73e8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1a73e8;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

nav ul li a:hover::before,
nav ul li a.active::before {
    visibility: visible;
    transform: scaleX(1);
}

nav ul li a:hover,
nav ul li a.active {
    color: #1a73e8;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1a73e8;
    transition: all 0.3s ease;
}

main {
    margin-top: 50px;
}

.hero {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    text-align: center;
    padding: var(--section-padding-xl) 2rem;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #1a73e8;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.features, .pricing, .download {
    padding: var(--section-padding-xl) 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.feature-card:hover {
    transform: none;
    box-shadow: none;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: #1a73e8;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-content h3 {
    color: #1a73e8;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #1a73e8;
    border-radius: 2px;
}

.feature-content p {
    color: #666;
    margin: 0 auto clamp(2rem, 4vw, 2.5rem);
    line-height: 1.8;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    text-align: center;
    max-width: min(600px, 90%);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-top: auto;
    width: 100%;
}

.feature-tag {
    background: #f0f7ff;
    color: #1a73e8;
    padding: clamp(0.7rem, 1.5vw, 1rem) clamp(1.2rem, 2.5vw, 2rem);
    border-radius: 25px;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: #1a73e8;
    color: #fff;
    transform: translateY(-2px);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-list li {
    color: #555;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list li::before {
    content: "✓";
    color: #1a73e8;
    margin-right: 0.5rem;
    font-weight: bold;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    padding: 1rem;
}

.price-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.price-card:hover {
    border-color: #1a73e8;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.price-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #1a73e8;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.price span {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
    margin-bottom: 8px;
}

.price-card ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    flex-grow: 1;
    width: 100%;
}

.price-card ul li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.feature-icon {
    color: #1a73e8;
    font-style: normal;
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

.buy-button {
    display: block;
    background: #1a73e8;
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin: auto auto 0;
    transition: all 0.3s ease;
    width: 80%;
    text-align: center;
    letter-spacing: 1px;
}

.buy-button:hover {
    background: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.hero-image {
    max-width: 900px;
    margin: 1rem auto;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.preview-image:hover {
    transform: scale(1.02);
}

.feature-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-screenshot:hover {
    transform: scale(1.02);
}

.img-container {
    width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.carousel-container {
    position: relative;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
    margin-bottom: 100px;
}

.carousel-track-container {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.carousel-track {
    position: relative;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.feature-content {
    display: flex;
    height: 100%;
    padding: 2rem;
    background: white;
    gap: 2rem;
}

.carousel-slide .img-container {
    flex: 2;
    height: 100%;
    padding: 1rem;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide .feature-screenshot {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: scale-down;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

.carousel-slide .feature-text {
    flex: 1;
    padding: 3rem;
    background: #f8f9fa;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-slide .feature-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a73e8;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.carousel-slide .feature-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #1a73e8;
    border-radius: 2px;
}

.carousel-slide .feature-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-top: 1rem;
}

.carousel-nav {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(128, 128, 128, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.carousel-button:hover {
    background: rgba(128, 128, 128, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: -70px;
}

.carousel-button.next {
    right: -70px;
}

.carousel-button.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.carousel-indicators {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    padding: 20px;
    pointer-events: auto;
    z-index: 10;
    background: transparent;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #1a73e8;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #1a73e8;
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(26, 115, 232, 0.5);
}

.download-container {
    max-width: 1000px;
    margin: 2rem auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.1);
    padding: 3rem;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.download-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.version-info {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.version {
    font-size: 2rem;
    color: #1a73e8;
    font-weight: bold;
    margin: 0.5rem 0;
}

.update-date {
    color: #666;
    font-size: 0.9rem;
}

.download-features ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.download-features li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: #555;
}

.plugin-notice {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #1a73e8;
}

.plugin-notice p {
    color: #666;
    margin-top: 0.5rem;
}

.download-actions {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 主要下载按钮样式 */
.download-button.primary {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    border: 2px solid #1a73e8;
}

.download-button.primary:hover {
    background: linear-gradient(135deg, #1557b0, #0d47a1);
    border-color: #1557b0;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

/* 次要下载按钮样式 */
.download-button.secondary {
    background: #fff;
    color: #1a73e8;
    border: 2px solid #1a73e8;
}

.download-button.secondary:hover {
    background: #f0f7ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.2);
}

.download-button .download-icon {
    font-size: 1.5rem;
}

.download-button .button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-button .button-text small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .download-actions {
        width: 100%;
    }
    
    .download-button {
        padding: 1rem 1.5rem;
    }
}

.download-icon {
    font-size: 1.5rem;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.button-text small {
    font-size: 0.8rem;
    opacity: 0.9;
}

.download-stats {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.stat-value {
    font-weight: bold;
    color: #333;
}

footer {
    background: #f8f9fa;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

.icp-info {
    margin-top: 1rem;
}

.icp-info a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #1a73e8;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a73e8;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
    display: none;
}

.accept-cookies {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-left: 1rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        padding: 0;
    }

    .menu-toggle span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: #1a73e8;
        transition: all 0.3s ease;
        border-radius: 4px;
    }

    /* 汉堡菜单动画 */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* 移动端导航菜单样式 */
    nav ul {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 250px;
        height: auto;
        max-height: calc(100vh - var(--header-height));
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 0 16px;
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    nav ul.active {
        right: 0;
    }

    /* 菜单项样式 */
    nav ul li {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    nav ul.active li {
        opacity: 1;
        transform: translateX(0);
    }

    nav ul.active li:nth-child(1) { transition-delay: 0.1s; }
    nav ul.active li:nth-child(2) { transition-delay: 0.2s; }
    nav ul.active li:nth-child(3) { transition-delay: 0.3s; }

    /* 菜单链接样式 */
    nav ul li a {
        font-size: 1.1rem;
        color: #333;
        font-weight: 500;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        display: block;
        transition: all 0.3s ease;
        background: transparent;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: #1a73e8;
        background: rgba(26, 115, 232, 0.1);
    }

    /* 导航背景遮罩 */
    .nav-overlay {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100% - var(--header-height));
        background: rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(4px);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        margin: 0.8rem auto;
    }

    .carousel-container {
        padding: 0;
        width: 100%;
        margin-bottom: 60px;
    }

    .carousel-track-container {
        margin: 0;
        width: 100%;
        height: auto;
        min-height: 400px;
    }

    .carousel-slide .feature-content {
        flex-direction: column;
        padding: 1rem;
    }

    .carousel-slide .img-container {
        width: 100%;
        height: 250px;
    }

    .carousel-slide .feature-text {
        width: 100%;
        padding: 2rem;
    }

    .carousel-slide .feature-text h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .carousel-slide .feature-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .carousel-slide .feature-text p {
        font-size: 1.1rem;
        text-align: center;
    }

    .download-container {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .download-actions {
        width: 100%;
    }

    .carousel-indicators {
        bottom: -40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .carousel-slide .feature-text h3 {
        font-size: 1.3rem;
    }

    .price-card {
        margin: 0 0.5rem;
    }

    .download-button.primary {
        font-size: 0.9rem;
    }
}

/* 平板备 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-container {
        width: 95%;
        padding: 0 40px;
    }

    .carousel-track-container {
        height: 60vh;
        min-height: 450px;
        margin: 0 -40px;
        width: calc(100% + 80px);
    }

    .carousel-slide .feature-text {
        width: 350px;
        padding: 2rem;
    }

    .carousel-slide .feature-text h3 {
        font-size: 2rem;
    }

    .carousel-slide .feature-text p {
        font-size: 1.1rem;
    }

    .carousel-button.prev {
        left: -35px;
    }

    .carousel-button.next {
        right: -35px;
    }
}

/* 大手机/小平板 (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .carousel-container {
        width: 100%;
        padding: 0 20px;
    }

    .carousel-track-container {
        height: auto;
        min-height: 600px;
        margin: 0;
    }

    .carousel-slide .feature-content {
        flex-direction: column;
    }

    .carousel-slide .img-container {
        height: 300px;
    }

    .carousel-slide .feature-text {
        width: 100%;
        padding: 2rem;
    }

    .carousel-slide .feature-text h3 {
        font-size: 1.8rem;
        text-align: center;
    }

    .carousel-slide .feature-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .carousel-slide .feature-text p {
        text-align: center;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
    }

    .carousel-button.prev {
        left: -15px;
    }

    .carousel-button.next {
        right: -15px;
    }
}

/* 手机设备 (小于 480px) */
@media (max-width: 479px) {
    .carousel-container {
        width: 100%;
        padding: 0 15px;
    }

    .carousel-track-container {
        height: auto;
        min-height: 500px;
        margin: 0;
    }

    .carousel-slide .feature-content {
        flex-direction: column;
    }

    .carousel-slide .img-container {
        height: 250px;
    }

    .carousel-slide .feature-text {
        width: 100%;
        padding: 1.5rem;
    }

    .carousel-slide .feature-text h3 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .carousel-slide .feature-text p {
        font-size: 1rem;
        text-align: center;
    }

    .carousel-button {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .carousel-button.prev {
        left: -10px;
    }

    .carousel-button.next {
        right: -10px;
    }
}

/* 超小屏幕设备 (小于 360px) */
@media (max-width: 359px) {
    .carousel-track-container {
        min-height: 450px;
    }

    .carousel-slide .img-container {
        height: 200px;
    }

    .carousel-slide .feature-text {
        padding: 1rem;
    }

    .carousel-slide .feature-text h3 {
        font-size: 1.3rem;
    }

    .carousel-slide .feature-text p {
        font-size: 0.9rem;
    }

    .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* 横屏模式优化 */
@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        padding: 2rem 1rem;
    }

    .carousel-track-container {
        height: 100vh;
        min-height: 300px;
    }

    .carousel-slide .feature-content {
        flex-direction: row;
    }

    .price-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 高分辨率屏幕优化 */
@media (min-width: 1440px) {
    .carousel-container {
        max-width: 1800px;
    }

    .carousel-track-container {
        max-height: 800px;
    }

    .carousel-slide .feature-text {
        width: 500px;
        padding: 4rem;
    }

    .carousel-slide .feature-text h3 {
        font-size: 3rem;
    }

    .carousel-slide .feature-text p {
        font-size: 1.4rem;
    }
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #333;
}

.pricing {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #333;
}

.download {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #333;
}

@media (max-width: 768px) {
    .pricing, .download {
        padding: 4rem 1rem;
    }

    .pricing h2, .download h2 {
        margin-bottom: 2.5rem;
        font-size: 2rem;
    }

    .price-cards {
        gap: 2rem;
        padding: 0.5rem;
    }

    .download-container {
        padding: 2rem;
        gap: 2rem;
    }
}

/* 基础响应式布局设置 */
:root {
    --container-width-xl: 1400px;
    --container-width-lg: 1200px;
    --container-width-md: 960px;
    --container-width-sm: 720px;
    --container-padding: 2rem;
}

/* 通用容器样式 */
.container {
    width: 100%;
    max-width: var(--container-width-xl);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* 修改主要区域的应式布局 */
.hero {
    min-height: calc(100vh - 80px);
    padding: 6rem 2rem;
}

.hero-image {
    max-width: min(900px, 90%);
    margin: 2rem auto;
}

/* 功能特点区域响应式 */
.features {
    padding: var(--section-padding-xl) 2rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.features::before {
    display: none;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.feature-card:hover {
    transform: none;
    box-shadow: none;
}

.feature-image {
    max-width: min(1200px, 95%);
    margin: 1rem auto;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.feature-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-screenshot:hover {
    transform: scale(1.02);
}

.feature-content {
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card:nth-child(even) .feature-content {
    align-items: flex-start;
}

.feature-content h3 {
    color: #1a73e8;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #1a73e8;
    border-radius: 2px;
}

.feature-content p {
    color: #666;
    margin: 0 auto clamp(2rem, 4vw, 2.5rem);
    line-height: 1.8;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    text-align: center;
    max-width: min(600px, 90%);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-top: auto;
    width: 100%;
}

.feature-tag {
    background: #f0f7ff;
    color: #1a73e8;
    padding: clamp(0.7rem, 1.5vw, 1rem) clamp(1.2rem, 2.5vw, 2rem);
    border-radius: 25px;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: #1a73e8;
    color: #fff;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .feature-image {
        max-width: min(900px, 90%);
    }
    
    .feature-card {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .feature-image {
        margin: 0.8rem auto;
    }

    .feature-content {
        padding: 1.5rem 1rem;
    }

    .feature-content h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .feature-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .feature-tags {
        gap: 1rem;
    }

    .feature-tag {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* 导航栏响应式优化 */
@media (max-width: 768px) {
    nav {
        padding: 0.8rem var(--container-padding);
    }

    .logo {
        font-size: 1.5rem;
    }

    nav ul {
        padding: 2rem;
    }

    nav ul li a {
        font-size: 1.2rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .carousel-button,
    .buy-button,
    .download-button {
        -webkit-tap-highlight-color: transparent;
    }

    .carousel-indicators {
        padding: 15px 0;
    }

    .carousel-indicator {
        width: 15px;
        height: 15px;
    }
}

/* 修改轮播图在移动端的显示 */
@media (max-width: 767px) {
    .carousel-container {
        padding: 0;
        width: 100%;
        margin-bottom: 60px;
    }

    .carousel-track-container {
        margin: 0;
        width: 100%;
        height: auto;
        min-height: 600px;
    }

    .carousel-slide .feature-content {
        flex-direction: column;
        padding: 1rem;
        height: auto;
    }

    .carousel-slide .img-container {
        display: flex;
        width: 100%;
        height: 300px;
        padding: 1rem;
        margin: 0;
        background: #fff;
    }

    .carousel-slide .feature-screenshot {
        width: 100%;
        height: 100%;
        object-fit: contain;
        max-width: 100%;
        margin: 0;
    }

    .carousel-slide .feature-text {
        width: 100%;
        padding: 2rem;
        margin: 0;
        text-align: center;
        background: #f8f9fa;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    }

    .carousel-slide .feature-text h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .carousel-slide .feature-text p {
        font-size: 1.1rem;
        text-align: center;
        color: #666;
    }

    .carousel-button {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .carousel-button.prev {
        left: 5px;
    }

    .carousel-button.next {
        right: 5px;
    }
}

/* 小屏幕机的额外优化 */
@media (max-width: 480px) {
    .carousel-track-container {
        min-height: 500px;
    }

    .carousel-slide .img-container {
        height: 250px;
    }

    .carousel-slide .feature-text {
        padding: 1.5rem;
    }

    .carousel-slide .feature-text h3 {
        font-size: 1.5rem;
    }

    .carousel-slide .feature-text p {
        font-size: 1rem;
    }
}

/* 大屏幕设备 (1440px 及以上) */
@media (min-width: 1440px) {
    .feature-image {
        max-width: 1200px;
    }
    
    .feature-content {
        max-width: 1000px;
    }
}

/* 像素密度适配 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .feature-screenshot {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* 触摸屏设备优化 */
@media (hover: none) {
    .feature-tag {
        padding: 0.8rem 1.5rem; /* 增大点击区域 */
    }
    
    .feature-screenshot:hover {
        transform: none; /* 移除悬停效果 */
    }
}

@media (max-width: 768px) {
    .download-container {
        flex-direction: column;
        padding: 1.5rem;
    }

    .download-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-button {
        width: 100%;
        padding: 1rem;
        border-radius: 10px;
    }

    .download-stats {
        display: flex;
        justify-content: space-between;
        padding: 1.5rem;
        margin-top: 1rem;
        background: #f8f9fa;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-label {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 0.5rem;
    }

    .stat-value {
        font-size: 1rem;
        font-weight: 500;
        color: #333;
    }
} 