/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: #2c5aa0;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #2c5aa0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #1976d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1976d2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-secondary:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

/* 手机样机 */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border-radius: 35px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* 功能特色 */
.features {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.8rem;
    color: #2c5aa0;
    font-weight: 600;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 下载区域 - 现代化设计 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 50%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.03) 0%, transparent 70%);
    transform: rotate(15deg);
}

.download-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.download-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin: 1.5rem 0 3rem;
    font-weight: 400;
}



.download-main {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.download-card-modern {
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.1);
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.download-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(44, 90, 160, 0.15);
}

.card-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05) 0%, rgba(25, 118, 210, 0.05) 100%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.card-content {
    position: relative;
    z-index: 2;
}

.download-icon-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.icon-background {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1976d2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.platform-badge {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #2c5aa0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

.download-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.download-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-features {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #f1f8ff 0%, #e3f2fd 100%);
    color: #2c5aa0;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(44, 90, 160, 0.15);
}

.version-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1rem;
    background: #f8fbff;
    border-radius: 12px;
    border-left: 4px solid #2c5aa0;
}

.version-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.version-number {
    font-size: 1rem;
    color: #2c5aa0;
    font-weight: 700;
}

.file-size {
    font-size: 0.9rem;
    color: #666;
    background: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.download-actions {
    margin-top: 2rem;
}

.btn-download-modern {
    background: linear-gradient(135deg, #2c5aa0 0%, #1976d2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-download-modern::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: left 0.6s ease;
}

.btn-download-modern:hover::before {
    left: 100%;
}

.btn-download-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 90, 160, 0.4);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-main {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-sub {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

.download-alternatives {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.qr-section-modern {
    display: flex;
    justify-content: center;
}

.qr-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    max-width: 280px;
    width: 100%;
}

.qr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.qr-code-container {
    width: 140px;
    height: 140px;
    background: #fff;
    border: 2px solid #e0e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qr-info h4 {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.qr-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.system-requirements {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.system-requirements:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.system-requirements h4 {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e3f2fd;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.system-requirements li {
    padding: 0.8rem 0;
    color: #666;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.system-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: 700;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text > div {
    background: #f8fbff;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #2c5aa0;
    text-align: left;
    transition: all 0.3s ease;
}

.about-text > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.1);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.phone-link {
    color: #2c5aa0;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #1976d2;
    text-decoration: underline;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: #2c5aa0;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2c5aa0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.icp-info {
    margin-top: 0.5rem;
}

.icp-info a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .logo-image {
        height: 35px;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }



    .download-card-modern {
        padding: 2rem;
        margin: 0 1rem;
    }

    .download-icon-modern {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .download-alternatives {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn-text {
        align-items: center;
    }

    .about-text {
        gap: 1.5rem;
    }

    .about-text > div {
        padding: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .qr-codes {
        gap: 2rem;
    }

    .qr-placeholder {
        width: 120px;
        height: 120px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .features,
    .download,
    .about,
    .contact {
        padding: 60px 0;
    }

    .feature-card,
    .download-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.download-card {
    animation: fadeInUp 0.6s ease;
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 按钮活跃状态 */
.btn:active {
    transform: translateY(0);
}

/* 表单验证样式 */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #e57373;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #81c784;
}
