/* 全局样式 */
:root {
    --primary-color: #1a73e8;
    --primary-light: #4285f4;
    --primary-dark: #1557b0;
    --secondary-color: #f8f9fa;
    --accent-color: #34a853;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --background-color: #fff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #34a853;
    --warning-color: #fbbc05;
    --danger-color: #ea4335;
    --content-width: 1200px;
    --section-padding: 5rem;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* 顶部导航样式优化 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 24px;
    color: #1a73e8;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a73e8;
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1a73e8;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-contact .contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* 移动端导航样式 */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 移动端导航样式 */
@media screen and (max-width: 768px) {
    .header-container {
        padding: 10px 15px;
    }

    .logo i {
        font-size: 20px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 11px;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }

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

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

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
    }

    .main-nav a::after {
        display: none;
    }
}

/* 小屏幕移动端适配 */
@media screen and (max-width: 480px) {
    .header-container {
        padding: 8px 12px;
    }

    .logo i {
        font-size: 18px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .main-nav {
        width: 85%;
    }
}

/* 主横幅样式优化 */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('pattern.png') repeat;
    opacity: 0.1;
    animation: movePattern 20s linear infinite;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    padding-right: 20px;
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: translateY(-5px);
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.download-btn i {
    font-size: 20px;
}

.download-btn.android {
    background: #3DDC84;
    color: #fff;
}

.download-btn.ios {
    background: #000;
    color: #fff;
}

.download-btn.register {
    background: #007bff;
    color: #fff;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 平台优势 */
.features {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    padding: 30px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--primary-light);
}

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

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-card ul {
    color: var(--text-light);
}

.feature-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    transition: var(--transition);
}

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

.feature-card:hover ul li {
    transform: translateX(5px);
}

/* 下载安装 */
.download {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.download-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.platform-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.platform-card.ios .platform-icon {
    background: linear-gradient(135deg, #000000, #333333);
}

.platform-card.android .platform-icon {
    background: linear-gradient(135deg, #3DDC84, #2BB673);
}

.platform-info {
    flex: 1;
}

.platform-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.platform-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.version-info {
    display: flex;
    gap: 1.5rem;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.download-steps {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.steps-title {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.steps-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00bcd4);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    text-align: center;
    padding: 20px;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: #666;
    font-size: 0.9rem;
}

/* 使用指南 */
.guide {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.guide-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.guide-step {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.guide-step:hover {
    transform: translateY(-2px);
}

.step-number {
    font-size: 48px;
    font-weight: bold;
    color: #007bff;
    opacity: 0.2;
    min-width: 80px;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.step-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    padding: 6px 16px;
    background: rgba(0,123,255,0.1);
    color: #007bff;
    border-radius: 20px;
    font-size: 14px;
}

/* 安全保障 */
.security {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.security-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 4rem;
}

.security-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.security-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.security-card:hover::after {
    transform: scaleX(1);
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.security-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.security-info {
    flex: 1;
}

.security-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.security-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.security-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.security-details li {
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.security-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.security-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 底部导航 */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('pattern-dark.png') repeat;
    opacity: 0.05;
    animation: movePattern 20s linear infinite;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand .logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.footer-brand .logo-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 700;
}

.footer-brand .logo-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.link-group h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group ul li {
    margin-bottom: 1rem;
}

.link-group ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.link-group ul a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.link-group ul a:hover {
    color: white;
    padding-left: 5px;
}

.link-group ul a:hover::after {
    width: 100%;
}

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

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.footer-cert {
    display: flex;
    gap: 2rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.cert-item i {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        padding: 0 1.5rem;
    }

    .footer-brand .logo-text h2 {
        font-size: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-cert {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-brand .logo-text h2 {
        font-size: 1.3rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .link-group h3 {
        font-size: 1.1rem;
    }

    .link-group ul a {
        font-size: 0.9rem;
    }

    .footer-legal p,
    .legal-links a,
    .cert-item {
        font-size: 0.85rem;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-content,
    .features-grid,
    .download-content,
    .guide-content,
    .security-content,
    .footer-content {
        padding: 0 1.5rem;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-image {
        margin-top: 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid,
    .download-steps,
    .guide-steps,
    .security-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .download-platforms {
        grid-template-columns: 1fr;
    }

    .download-steps::before,
    .guide-steps::before {
        display: none;
    }
    
    .guide-features {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        scroll-margin-top: 60px;
    }
}

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

    .hero-text h2 {
        font-size: 1.6rem;
    }

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

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

    .section-subtitle {
        font-size: 0.9rem;
    }

    .feature-card h3,
    .guide-step h3,
    .security-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p,
    .guide-step p,
    .security-card p {
        font-size: 0.85rem;
    }

    .download-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }

    .platform-card h3 {
        font-size: 1.1rem;
    }

    .platform-card p {
        font-size: 0.85rem;
    }

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

    .step-details li {
        font-size: 0.85rem;
    }

    .security-details li {
        font-size: 0.85rem;
    }

    .stat-card h3 {
        font-size: 1.1rem;
    }

    .stat-card p {
        font-size: 0.85rem;
    }

    .footer-brand h2 {
        font-size: 1.3rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .link-group h3 {
        font-size: 1rem;
    }

    .link-group a {
        font-size: 0.85rem;
    }

    .footer-legal p,
    .legal-links a,
    .cert-item {
        font-size: 0.8rem;
    }

    .main-nav {
        padding: 1.5rem;
    }

    .main-nav ul {
        gap: 1rem;
    }

    .main-nav a {
        font-size: 1.1rem;
        padding: 0.8rem;
    }

    .mobile-nav-toggle {
        right: 0.5rem;
    }

    .mobile-nav-toggle span {
        width: 1.8rem;
    }
}

/* 滚动到目标位置时的样式 */
section {
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    section {
        scroll-margin-top: 60px;
    }
}

@media (max-width: 576px) {
    section {
        scroll-margin-top: 50px;
    }
}

/* 新增独立下载板块 */
.download-section {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
    position: relative;
}

.download-container {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.download-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('pattern-light.png') repeat;
    opacity: 0.05;
    animation: movePattern 20s linear infinite;
}

.download-header {
    text-align: center;
    margin-bottom: 3rem;
}

.download-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    }
    
    .download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.download-card {
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.download-card:hover .download-icon {
    transform: scale(1.1);
}

.download-card.ios .download-icon {
    background: #000;
    color: white;
}

.download-card.android .download-icon {
    background: var(--success-color);
    color: white;
}

.download-card-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.download-card-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.download-feature {
    padding: 0.6rem 1.2rem;
    background: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

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

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.download-btn:hover::before {
    transform: translateX(0);
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.download-btn i {
    font-size: 1.4rem;
}

.download-steps {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 3rem;
}

.steps-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 600;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step-title {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.step-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .step-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .download-section {
        margin: 3rem auto;
        padding: 0 15px;
    }

    .download-container {
        padding: 2rem;
    }

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

    .download-subtitle {
        font-size: 1.1rem;
    }

    .download-card {
        padding: 2rem;
    }

    .download-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .download-card-title {
        font-size: 1.6rem;
    }

    .download-card-desc {
        font-size: 1rem;
    }

    .download-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .download-section {
        margin: 2rem auto;
    }

    .download-container {
        padding: 1.5rem;
    }

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

    .download-subtitle {
        font-size: 1rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .download-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .download-card-title {
        font-size: 1.4rem;
    }

    .download-card-desc {
        font-size: 0.95rem;
    }

    .download-feature {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .download-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-item {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        text-align: left;
    }

    .step-item::after {
        display: none;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
    }

    .step-content {
        flex: 1;
    }
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

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

/* 关于欧易部分 */
.about {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

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

.about-card p {
    color: #666;
    line-height: 1.6;
}

/* 发展历程部分 */
.history {
    padding: 4rem 0;
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, #007bff, #00bcd4);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #007bff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 55%;
}

.timeline-icon {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    color: #333;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.timeline-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.achievement-tag {
    background: #f0f7ff;
    color: #007bff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-year {
        left: 0;
        transform: none;
    }

    .timeline-content {
        width: 100%;
        margin-left: 2rem !important;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 3rem 0;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-icon {
        font-size: 2rem;
    }

    .timeline-content {
        padding: 1rem;
    }
}

/* 注册指南样式 */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.guide-step {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.guide-step:hover {
    transform: translateY(-2px);
}

.step-number {
    font-size: 48px;
    font-weight: bold;
    color: #007bff;
    opacity: 0.2;
    min-width: 80px;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.step-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    padding: 6px 16px;
    background: rgba(0,123,255,0.1);
    color: #007bff;
    border-radius: 20px;
    font-size: 14px;
}

/* 平板适配 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-features {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 30px;
    }
}

/* 小屏幕移动端适配 (<= 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .feature-card,
    .download-card,
    .security-card {
        padding: 20px;
    }

    .step-item {
        padding: 15px;
    }

    .guide-step {
        padding: 15px;
    }

    .step-number {
        font-size: 32px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 13px;
    }

    .feature-tag {
        padding: 3px 10px;
        font-size: 11px;
    }
}

/* 响应式优化 */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* 导航栏优化 */
    .header-container {
        padding: 15px 0;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.75rem;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        padding: 60px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    /* 主横幅优化 */
    .hero-text {
        padding-right: 0;
    }
    
    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    /* 特性卡片优化 */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* 步骤卡片优化 */
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    /* 下载按钮优化 */
    .download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .download-btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* 底部导航优化 */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 30px;
    }
    
    .link-group {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .feature-card,
    .download-card,
    .security-card {
        padding: 20px;
    }
    
    .step-item {
        padding: 15px;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .feature-card:hover,
    .download-card:hover,
    .security-card:hover {
        transform: none;
    }
    
    .download-btn:hover {
        transform: none;
        box-shadow: none;
    }
}

/* 图片加载优化 */
.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 安全区域适配 */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .main-nav {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* 性能优化 */
.feature-card,
.download-card,
.security-card,
.guide-step {
    will-change: transform;
    backface-visibility: hidden;
}

/* 滚动优化 */
html {
    scroll-behavior: smooth;
}

/* 加载优化 */
img {
    loading: lazy;
}

/* 动画优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 导航栏动画 */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* 友情链接和相关站点样式 */
.footer-friends {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.friends-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.friends-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.friends-section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.friends-section ul li {
    margin: 0;
}

.friends-section ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.friends-section ul a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-friends {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .friends-section ul {
        gap: 0.8rem;
    }
    
    .friends-section ul a {
        font-size: 0.9rem;
        padding: 0.25rem 0.6rem;
    }
} 