/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(135deg, #4285f4, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 16px;
    color: #555;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4285f4;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    border-radius: 2px;
}

/* ========== 英雄区 ========== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 44px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #222;
}

.highlight {
    background: linear-gradient(135deg, #4285f4, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #4285f4;
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

.btn-primary {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(66, 133, 244, 0.4);
}

.btn-outline {
    background: transparent;
    color: #4285f4;
    border: 2px solid #4285f4;
}

.btn-outline:hover {
    background: #4285f4;
    color: white;
}

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

.btn-icon {
    font-size: 18px;
}

.hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 14px;
    color: #666;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
}

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

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 界面预览占位 */
.hero-mockup {
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.mockup-header {
    background: #f5f5f5;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #888;
    border-bottom: 1px solid #e0e0e0;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.mockup-body {
    display: flex;
    height: 320px;
}

.mockup-sidebar {
    width: 140px;
    background: #2c3e50;
}

.mockup-main {
    flex: 1;
    padding: 16px;
    background: #fafafa;
}

.mockup-table {
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        #e8f0fe,
        #e8f0fe 24px,
        white 24px,
        white 48px
    );
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

/* ========== 通用区块 ========== */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #222;
}

.section-header p {
    font-size: 16px;
    color: #888;
}

/* ========== 功能特点 ========== */
.features {
    background: #fff;
}

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

.feature-card {
    background: #fafbfc;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef0f3;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(66, 133, 244, 0.12);
    border-color: transparent;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #222;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ========== 下载中心 ========== */
.download-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f8f0 100%);
}

.download-card {
    background: white;
    border-radius: 16px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.download-info h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
}

.download-version {
    color: #4285f4;
    font-size: 16px;
    margin-bottom: 4px;
}

.download-size {
    color: #999;
    font-size: 14px;
    margin-bottom: 24px;
}

.download-features {
    margin-bottom: 32px;
}

.download-features li {
    padding: 8px 0;
    font-size: 15px;
    color: #555;
}

.download-steps h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #222;
}

.download-steps ol {
    padding-left: 20px;
}

.download-steps li {
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

/* ========== 联系我们 ========== */
.contact-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f8f0 100%);
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f7ff, #e8f8f0);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    color: #222;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: #666;
}

.contact-phone {
    font-size: 24px !important;
    font-weight: bold;
    color: #4285f4 !important;
    margin-top: 4px;
}

.contact-qr {
    text-align: center;
}

.contact-qr img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
    background: #fff;
    padding: 8px;
}

.contact-qr p {
    font-size: 14px;
    color: #666;
}

/* ========== 关于我们 ========== */
.about {
    background: #fff;
}

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

.about-content p {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
}

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

.stat-number {
    font-size: 42px;
    font-weight: bold;
    background: linear-gradient(135deg, #4285f4, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #888;
}

/* ========== 页脚 ========== */
.footer {
    background: #2c3e50;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .brand-text {
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    color: #888;
}

.footer-links h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #aaa;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4285f4;
}

.mini-app-qr {
    text-align: center;
}

.mini-app-qr img {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.mini-app-qr p {
    font-size: 12px;
    color: #888;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3d5166;
    font-size: 13px;
    color: #666;
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

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

    .download-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }

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

    .about-stats {
        gap: 40px;
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .hero h1 {
        font-size: 26px;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
