/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础变量 */
:root {
    --primary-color: #4361ee;
    --primary-light: #4895ef;
    --primary-dark: #3a0ca3;
    --secondary-color: #4cc9f0;
    --accent-color: #f72585;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 基础样式 */
body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* 按钮样式 - 增强版 */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: 1.375rem;
    font-weight: 700;
    padding: 22px 48px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.6), 0 0 0 5px rgba(67, 97, 238, 0.1);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    border: 3px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--medium-gray);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

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

/* 英雄区域样式 - 增强版 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 220px 0 180px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* 增强背景效果 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,160L48,149.3C96,139,192,117,288,112C384,107,480,117,576,149.3C672,181,768,235,864,245.3C960,256,1056,224,1152,202.7C1248,181,1344,171,1392,165.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    opacity: 0.5;
}

/* 装饰圆形元素 */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    filter: blur(20px);
}

/* 左侧装饰元素 */
.hero .decor-left {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 60%);
    border-radius: 50%;
    filter: blur(15px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 英雄区域统计数据 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 功能特点样式 */
.features {
    padding: 120px 0;
    background: var(--light-gray);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 45px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background-clip: padding-box;
}

/* 渐变边框效果 */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -2px;
    border-radius: calc(var(--border-radius) + 2px);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
}

/* 图标背景效果 */
.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon::after {
    transform: translate(-50%, -50%) scale(1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) translateY(-5px);
    color: var(--primary-dark);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* 下载区域样式 */
.download-section {
    padding: 120px 0;
    background: var(--white);
    text-align: center;
}

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

.download-section p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background-clip: padding-box;
}

/* 渐变顶部边框 */
.download-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color), var(--primary-dark));
}

/* 渐变边框效果 */
.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -2px;
    border-radius: calc(var(--border-radius) + 2px);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover::before {
    opacity: 1;
}

.download-card:hover {
    transform: translateY(-15px) rotate(1deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: var(--white);
    color: var(--text-color);
}

.download-platform {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-card:hover svg {
    color: var(--white);
}

.download-card svg {
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.download-card h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.platform-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.download-card:hover .platform-btn {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* 价格方案样式 */
.pricing-section {
    padding: 120px 0;
    background: var(--light-gray);
    text-align: center;
}

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

.pricing-section p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 20px;
    font-weight: 600;
    font-size: 0.875rem;
    transform: rotate(45deg) translate(20px, -10px);
    width: 150px;
    text-align: center;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.price {
    margin-bottom: 30px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.plan-btn {
    display: block;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 15px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* 关于我们部分样式 */
.about-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%23e9f0ff" fill-opacity="0.4" fill-rule="evenodd"/%3E%3C/svg%3E');
    opacity: 0.5;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary-color);
}

/* 常见问题样式 */
.faq-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

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

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

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: var(--light-gray);
    padding: 20px 40px 20px 20px;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    outline: none;
}

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

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
}

/* 活动状态 */
.faq-question.active {
    background: var(--primary-color);
    color: var(--white);
}

.faq-question.active::after {
    content: '-';
}

/* 答案区域 */
.faq-answer {
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

/* 当答案显示时 */
.faq-item.expanded .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    color: var(--text-light);
    border-top: 1px solid var(--medium-gray);
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 35px 15px 15px;
        font-size: 1rem;
    }
    
    .faq-question::after {
        right: 15px;
        font-size: 1.3rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        padding: 15px;
    }
}

/* 页脚样式 */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
    transform: translateY(-3px);
}

/* 响应式设计 */
/* 超大屏幕优化 */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    .hero-content {
        max-width: 1000px;
    }
    .features-grid {
        gap: 50px;
    }
}

/* 大屏幕响应式 */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    .hero-content {
        max-width: 800px;
    }
    .hero h1 {
        font-size: 4rem;
    }
}

/* 中等屏幕响应式 */
@media (max-width: 992px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 15px;
    }
    .nav-links {
        gap: 25px;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .features h2,
    .download-section h2,
    .pricing-section h2,
    .faq-section h2 {
        font-size: 2rem;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .download-platforms {
        max-width: 600px;
    }
}

/* 平板响应式 */
@media (max-width: 768px) {
    /* 移动端导航 */
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* 英雄区适配 */
    .hero {
        padding: 150px 0 100px;
    }
    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .features,
    .download-section,
    .pricing-section,
    .faq-section {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .download-card {
        padding: 25px 20px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 手机端响应式 */
@media (max-width: 576px) {
    /* 基础样式 */
    .container {
        padding: 0 20px;
    }
    
    /* 英雄区适配 */
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .btn-primary {
        padding: 15px 30px;
        font-size: 1.2rem;
        width: 100%;
        max-width: 280px;
    }
    
    .btn-secondary {
        font-size: 0.875rem;
        padding: 12px 24px;
        width: 100%;
        max-width: 280px;
    }
    
    /* 各部分标题适配 */
    .features h2,
    .download-section h2,
    .pricing-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .features-grid,
    .download-platforms,
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .download-card {
        padding: 20px 15px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
}

/* 小型手机适配 */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .features h2,
    .download-section h2,
    .pricing-section h2,
    .faq-section h2 {
        font-size: 1.6rem;
    }
    
    .btn-primary {
        padding: 14px 25px;
        font-size: 1.1rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.download-card,
.pricing-card {
    animation: fadeIn 0.5s ease forwards;
}

.feature-card:nth-child(2),
.download-card:nth-child(2),
.pricing-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3),
.download-card:nth-child(3),
.pricing-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(4),
.download-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.fade {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--medium-gray);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--medium-gray);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 移动端菜单样式 - 新增：配合JavaScript优化 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1.5rem;
}

/* 移动端导航样式 */
.nav-links.mobile {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 999;
    gap: 10px;
}

/* 移动端导航打开状态 */
.nav-links.mobile-open {
    display: flex;
}

/* 移动端菜单按钮显示 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}