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

/* 基础样式 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    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;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #1a73e8;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: #1a73e8;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

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

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

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

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-content .description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.85;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #fff;
    color: #1a73e8;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

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

.hero-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.icon-item {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-item:nth-child(1),
.icon-item:nth-child(2),
.icon-item:nth-child(3) {
    grid-column: span 1;
}

.icon-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.icon-item:nth-child(5),
.icon-item:nth-child(6),
.icon-item:nth-child(7) {
    grid-column: span 1;
    grid-row: 3;
}

.icon-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.icon-item:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 14px;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: #fff;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

/* 通用区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a73e8;
}

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

/* 七大模块展示 */
.modules {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.module-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

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

.module-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.module-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.module-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.module-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.module-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.module-features span {
    padding: 6px 14px;
    background-color: #f0f4ff;
    color: #1a73e8;
    border-radius: 20px;
    font-size: 12px;
}

.module-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: #1a73e8;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.module-link:hover {
    background-color: #0d47a1;
    transform: translateY(-2px);
}

/* 平台优势 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

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

/* 关于我们 */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
}

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

.about-content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1a73e8;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 10px;
}

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

/* APP下载 */
.download {
    padding: 80px 0;
    background-color: #fff;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-info h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.download-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ios-btn {
    background-color: #1a1a1a;
    color: #fff;
}

.ios-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.android-btn {
    background-color: #4caf50;
    color: #fff;
}

.android-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.download-btn svg {
    width: 40px;
    height: 40px;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-size: 12px;
    opacity: 0.8;
}

.btn-platform {
    font-size: 18px;
    font-weight: 600;
}

.download-tip {
    font-size: 14px;
    color: #999;
    margin-top: 20px;
}

.download-qrcode {
    display: flex;
    justify-content: center;
}

.qrcode-container {
    text-align: center;
}

.qrcode {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 100%);
}

.qrcode::after {
    content: 'QR';
    font-size: 48px;
    font-weight: 700;
    color: #1a73e8;
    opacity: 0.3;
}

.qrcode-container p {
    font-size: 14px;
    color: #666;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-item svg {
    width: 28px;
    height: 28px;
    color: #1a73e8;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

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

/* 页脚 */
.footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    text-decoration: none;
    color: #999;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #666;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.back-to-top:hover {
    background-color: #0d47a1;
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

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

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content .subtitle {
        font-size: 20px;
    }

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

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

    .icon-item {
        width: 65px;
        height: 65px;
    }

    .icon-item img {
        width: 30px;
        height: 30px;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .download-buttons {
        align-items: center;
    }

    .download-btn {
        width: 280px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .navbar-toggle {
        display: flex;
    }

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

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

    .hero-content .description {
        font-size: 16px;
    }

    .hero-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .icon-item:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .icon-item:nth-child(5),
    .icon-item:nth-child(6),
    .icon-item:nth-child(7) {
        grid-column: span 1;
        grid-row: 3;
    }

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

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

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

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

    .hero-content .subtitle {
        font-size: 16px;
    }

    .hero-content .description {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .icon-item {
        width: 55px;
        height: 55px;
    }

    .icon-item img {
        width: 25px;
        height: 25px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .module-card {
        padding: 20px;
    }

    .module-icon {
        width: 60px;
        height: 60px;
    }

    .module-icon img {
        width: 30px;
        height: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .download-btn {
        width: 100%;
        padding: 15px 20px;
    }

    .qrcode {
        width: 160px;
        height: 160px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}