:root {
    --primary-color: #D97757;
    --primary-dark: #c25d3e;
    --primary-light: #e89578;
    --secondary-color: #2d3748;
    --text-color: #1a202c;
    --text-light: #718096;
    --bg-color: #ffffff;
    --bg-secondary: #f7fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    z-index: 1003;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

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

.btn-download {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.language-selector {
    position: relative;
    z-index: 1003;
}

.language-selector select {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 32px 8px 12px;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%231a202c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-secondary);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1004;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Hero 区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
    margin-top: 72px;
    overflow: hidden;
}

/* 左侧背景图 - 显示 cover 图的右侧部分，向右移动100px，向上移动30px */
.hero-bg-image-left {
    position: absolute;
    left: calc(-15% + 200px);
    top: calc(50% - 30px);
    transform: translateY(-50%) rotate(-120deg);
    transform-origin: right bottom;
    width: 35%;
    height: 80%;
    background-image: url('../img/cover.png');
    background-size: 250% auto;
    background-position: right center;
    opacity: 0;
    z-index: 0;
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.2);
    border-radius: 24px;
    transition: opacity 0.8s ease 0.3s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.hero-bg-image-left.visible {
    opacity: 0.9;
    transform: translateY(-50%) rotate(-15deg);
}

/* 右侧背景图 - 显示 cover 图的左侧部分，向左移动100px，向下移动30px */
.hero-bg-image-right {
    position: absolute;
    right: calc(-15% + 200px);
    top: calc(50% - 30px);
    transform: translateY(-50%) rotate(120deg);
    transform-origin: left bottom;
    width: 35%;
    height: 80%;
    background-image: url('../img/cover.png');
    background-size: 250% auto;
    background-position: left center;
    opacity: 0;
    z-index: 0;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.2);
    border-radius: 24px;
    transition: opacity 0.8s ease 0.5s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

.hero-bg-image-right.visible {
    opacity: 0.9;
    transform: translateY(-50%) rotate(15deg);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.system-requirements {
    font-size: 14px;
    color: var(--text-light);
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-indicator a {
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.scroll-indicator a:hover {
    color: var(--primary-color);
}

.scroll-indicator p {
    font-size: 14px;
    margin: 0;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    position: relative;
    transition: border-color 0.3s ease;
}

.scroll-indicator a:hover .scroll-mouse {
    border-color: var(--primary-color);
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-down 2s infinite;
    transition: background 0.3s ease;
}

.scroll-indicator a:hover .scroll-wheel {
    background: var(--primary-color);
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.system-requirements {
    font-size: 14px;
    color: var(--text-light);
}

/* 功能特色区域 */
.features {
    padding: 100px 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-image {
    position: relative;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 16px;
    display: inline-block;
}

.feature-icon svg {
    stroke: var(--primary-color);
}

.feature-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.feature-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* 用户评价区域 */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.testimonials .container {
    max-width: 100%;
    padding: 0;
}

.testimonials .section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    margin-bottom: 60px;
}

.testimonials-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
    padding: 24px 0;
}

.testimonials-wrapper::before,
.testimonials-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.testimonials-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.testimonials-track {
    display: flex;
    gap: 32px;
    padding: 0 150px;
    transition: transform 0.5s ease;
}

.testimonials-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    position: absolute;
}

.testimonials-nav.prev {
    left: 60px;
}

.testimonials-nav.next {
    right: 60px;
}

.testimonials-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.testimonials-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonials-nav:disabled:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1);
}

.testimonial-card {
    flex: 0 0 400px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.rating {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* 常见问题区域 */
.faq {
    padding: 100px 0;
    background: var(--bg-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(217, 119, 87, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke-width: 2;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

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

.download-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-content > p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.download-info {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

.download .btn-primary {
    background: white;
    color: var(--primary-color);
}

.download .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-4px);
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: var(--secondary-color);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-copyright {
    opacity: 0.7;
    font-size: 14px;
    margin: 0;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.contact-label {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--primary-light);
}

.contact-email svg {
    flex-shrink: 0;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* 动画效果 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero-bg-image {
        width: 60%;
        right: -15%;
    }

    .hero-bg-image-left {
        left: calc(-20% + 100px);
        width: 40%;
    }

    .hero-bg-image-right {
        right: calc(-20% + 100px);
        width: 40%;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-item.reverse {
        direction: ltr;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .feature-text h3 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .testimonial-card {
        flex: 0 0 320px;
    }

    .testimonials-nav.prev {
        left: 30px;
    }

    .testimonials-nav.next {
        right: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }

    .footer-contact-info {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 0 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
        gap: 16px;
        z-index: 900;
    }

    .nav-links.active {
        max-height: calc(100vh - 73px);
        opacity: 1;
        padding: 24px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero {
        padding: 80px 0 100px;
        min-height: auto;
    }

    .hero-bg-image {
        width: 70%;
        right: -20%;
        opacity: 0.5;
    }

    .hero-bg-image.visible {
        opacity: 0.5;
    }

    .hero-bg-image-left {
        left: -25%;
        width: 50%;
        opacity: 0.4;
    }

    .hero-bg-image-left.visible {
        opacity: 0.4;
    }

    .hero-bg-image-right {
        right: -25%;
        width: 50%;
        opacity: 0.4;
    }

    .hero-bg-image-right.visible {
        opacity: 0.4;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 30px;
    }

    .features,
    .testimonials,
    .faq,
    .download {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .download-content h2 {
        font-size: 32px;
    }

    .testimonials-nav {
        display: none;
    }

    .testimonials-track {
        padding: 0 80px;
    }

    .testimonials-wrapper::before,
    .testimonials-wrapper::after {
        width: 80px;
    }

    .testimonial-card {
        flex: 0 0 280px;
    }

    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .feature-text h3 {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 24px;
    }

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

    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }

    .hero-bg-image {
        width: 80%;
        right: -25%;
    }

    .hero-bg-image-left {
        left: -30%;
        width: 60%;
    }

    .hero-bg-image-right {
        right: -30%;
        width: 60%;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator p {
        font-size: 12px;
    }

    .testimonials-track {
        padding: 0 50px;
    }

    .testimonials-wrapper::before,
    .testimonials-wrapper::after {
        width: 50px;
    }
}
