/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2563eb;
    --primary-gradient: linear-gradient(90deg, #2563eb 0%, #36bffa 100%);
    --secondary-color: #36bffa;
    --dark-color: #222b45;
    --light-color: #f7fafd;
    --gray-color: #7b8794;
    --white-color: #fff;
    --shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
    --radius: 18px;
    --transition: all 0.3s cubic-bezier(.4,2,.6,1);
}

body {
    background: var(--light-color);
    color: var(--dark-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 17px;
    line-height: 1.8;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.primary-btn {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
}

.primary-btn:hover {
    filter: brightness(1.08) saturate(1.2);
    transform: translateY(-3px) scale(1.04);
}

.secondary-btn {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.85);
    box-shadow: var(--shadow);
    border-bottom: 1.5px solid #e5e9f2;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 15px 0;
}

.navbar {
    display: flex;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

nav.navbar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    width: 100%;
    box-sizing: border-box;
}

.navbar.scrolled {
    background: rgba(37,99,235,0.92);
    color: #fff;
    box-shadow: 0 2px 16px rgba(37,99,235,0.10);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
    padding: 8px 18px;
    border-radius: var(--radius);
}

.nav-links a:hover {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}

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

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区域样式 */
.hero {
    min-height: 90vh;
    background: linear-gradient(120deg, #e0e7ff 0%, #f7fafd 100%);
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-buttons .btn {
    font-size: 1.1rem;
    padding: 14px 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-weight: 700;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(37,99,235,0.10);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.03) rotate(-2deg);
    box-shadow: 0 12px 40px rgba(37,99,235,0.16);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 产品特点样式 */
.features {
    padding: 100px 0;
    background-color: var(--white-color);
}

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

.feature-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(44, 110, 203, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* 下载区域样式 */
.download {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.download .section-title h2 {
    color: var(--white-color);
}

.download .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.platform-card {
    background-color: var(--white-color);
    color: var(--dark-color);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.platform-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.platform-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 42px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: var(--radius);
    padding: 12px 105px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
}

.download-btn:hover {
    filter: brightness(1.08) saturate(1.2);
    transform: translateY(-2px) scale(1.04);
}

.download-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
    margin-top: 18px;
    color: var(--white-color);
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.10);
    transition: var(--transition);
}

.qr-code img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(37,99,235,0.13);
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background-color: var(--white-color);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* 全局文本容器边距优化 */
section > div.container {
    padding-left: 20px;
    padding-right: 20px;
}

.company-values {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 10px 20px;
    border-radius: 50px;
    flex: 1 1 180px;
    text-align: center;
    min-width: 140px;
}

.value-item i {
    margin-right: 10px;
    color: var(--primary-color);
}

.value-item span {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-info {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    background-color: rgba(44, 110, 203, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-form {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 24px;
    border: 1.5px solid #e5e9f2;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus, .contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(90deg, #2563eb 0%, #36bffa 100%);
    color: #fff;
    padding: 60px 0 0 0;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -2px 24px rgba(37,99,235,0.08);
}

.footer {
    width: 100%;
}

.footer-container {
    padding: 0 80px;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 50px 0;
    margin: 0 80px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-logo i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-links a {
    color: #e0e7ff;
    transition: var(--transition);
    border-radius: 8px;
    padding: 4px 10px;
}

.footer-links a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}

.social-icons a:hover {
    background: var(--primary-gradient);
    color: #fff;
    transform: scale(1.08);
}

.app-download p {
    margin-bottom: 10px;
}

.app-download img {
    width: 100px;
    height: 100px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .icp-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    padding: 2px 4px;
    border-radius: 4px;
}

.footer-bottom .icp-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

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

    .about .container {
        flex-direction: column;
    }

    .about-image,
    .about-content {
        flex: 100%;
    }

    .about-image {
        margin-bottom: 30px;
    }
    .container { padding: 0 12px; }
    .hero-content h1 { font-size: 2.2rem; }
    .feature-card, .platform-card, .contact-form { padding: 20px 10px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        height: calc(100vh - 70px);
        transition: var(--transition);
        justify-content: center;
        box-shadow: var(--shadow);
    }

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

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    .navbar { padding: 8px 0; }
    .nav-links a { padding: 8px 8px; }
    .hero { flex-direction: column; padding-top: 80px; }
    .hero-content { text-align: center; }
    .company-values { flex-direction: column; gap: 12px; }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }

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

    .footer-logo {
        align-items: center;
    }

    .footer-links h4 {
        margin-top: 30px;
    }
    .footer { padding: 32px 0 0 0; }
}

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

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(44, 110, 203, 0.1);
    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); }
}

/* ====== 返回顶部按钮美化 ====== */
.back-to-top {
    background: var(--primary-gradient) !important;
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(37,99,235,0.13) !important;
    border-radius: 50% !important;
    border: none !important;
    font-size: 1.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: var(--transition) !important;
}
.back-to-top:hover {
    filter: brightness(1.08) saturate(1.2);
    transform: scale(1.08);
}