/* 全局样式 */
:root {
    --primary-color: #000000;
    --secondary-color: #1d1d1f;
    --accent-color: #0071e3;
    --text-color: #1d1d1f;
    --light-bg: #f5f5f7;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #000000 0%, #1d1d1f 100%);
    --gradient-accent: linear-gradient(135deg, #0071e3 0%, #2997ff 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --section-padding: 8rem 0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* 头部样式 */
.header {
    background-color: var(--primary-color);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--primary-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo i {
    font-size: 1.8rem;
}
a{
    text-decoration: none;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
}

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

/* 英雄区域样式 */
.hero {
    background: var(--light-bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.1) 0%, rgba(0, 113, 227, 0) 70%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease forwards;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--primary-color);
    animation: fadeInUp 1s ease forwards;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.highlight-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.highlight-content p {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--gradient-accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.cta-button.secondary:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* App屏幕幻灯片样式 */
.app-screens {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 3rem;
    animation: slideInRight 1s ease forwards;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.slide-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.slide-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.5;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
    opacity: 1;
}

/* 通用部分样式 */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* 服务区域样式 */
.services {
    padding: var(--section-padding);
    background-color: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index) * 0.2s);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
}

/* 平台特色样式 */
.features {
    padding: var(--section-padding);
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.1) 0%, rgba(0, 113, 227, 0) 70%);
    z-index: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index) * 0.2s);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--secondary-color);
}

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

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.download-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index) * 0.2s);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.harmony-icon {
    width: 40px;
    height: 40px;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 1);
    border-radius: 8px;
}

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

.download-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--gradient-accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* 关于我们样式 */
.about {
    padding: var(--section-padding);
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.1) 0%, rgba(0, 113, 227, 0) 70%);
    z-index: 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.team-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index) * 0.2s);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--secondary-color);
}

/* 页脚样式 */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}
.footer-logo .logo-img{
    width: 120px;
    height: 120px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    font-size: 0.8em;
    text-align: center;
    padding-top: 2rem;
    line-height: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom a {
    color: var(--white);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtleScale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 数字动画样式 */
.stat-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    animation: countUp 1s ease-out forwards;
    opacity: 0;
}

.stat-number.animate {
    animation: countUp 1s ease-out forwards;
}

/* 应用动画到各个部分 */
.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-highlights {
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-cta {
    animation: fadeInUp 1s ease 0.6s forwards;
}

.app-screens {
    animation: slideInRight 1s ease forwards;
}

.service-card {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index) * 0.2s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index) * 0.2s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index) * 0.2s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index) * 0.2s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 悬浮效果 */
.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 响应式动画调整 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-highlights {
        max-width: 500px;
        margin: 0 auto 3rem;
    }

    .app-screens {
        max-width: 250px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-card,
    .feature-card,
    .download-card,
    .team-card {
        animation: fadeInUp 0.8s ease forwards;
        animation-delay: 0s;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

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

    .highlight-item {
        padding: 1.5rem;
    }

    .app-screens {
        max-width: 200px;
    }

    .nav {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

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

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

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

    .stat-number {
        font-size: 2rem;
    }

    .service-card,
    .feature-card,
    .download-card,
    .team-card {
        animation: fadeInUp 0.8s ease forwards;
        animation-delay: 0s;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 二维码弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-hover);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-color);
}

.qr-container {
    text-align: center;
    padding: 1rem;
}

.qr-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
    display: none;
}

.qr-image.active {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

.qr-title {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        max-width: 300px;
        padding: 1.5rem;
    }

    .qr-image {
        width: 180px;
        height: 180px;
    }
}
