/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --secondary-color: #00d4aa;
    --accent-color: #ff6b35;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #0f1419;
    --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #00d4aa 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

/* ==================== 导航栏 ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu li a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-menu li a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-menu li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-menu li a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ==================== Hero区域 ==================== */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    animation: fadeInRight 0.8s ease;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ==================== 核心特性 ==================== */
.features {
    padding: 100px 0;
    background: white;
}

.features h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all var(--transition-normal);
    animation: fadeInUp 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==================== 服务介绍 ==================== */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.services h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    animation: fadeInUp 0.6s ease;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) > * {
    direction: ltr;
}

.service-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.service-item:hover .service-image img {
    transform: scale(1.02);
}

.service-content h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-list li {
    padding: 10px 20px;
    background: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.service-list li:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==================== 平台优势 ==================== */
.advantages {
    padding: 100px 0;
    background: white;
}

.advantages h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-card {
    padding: 40px 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    animation: fadeInUp 0.6s ease;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(26, 115, 232, 0.1);
    margin-bottom: 16px;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.advantage-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==================== APP下载 ==================== */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download .section-description {
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    transition: all var(--transition-normal);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.download-btn img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.download-btn-text span {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.download-btn-text strong {
    font-size: 16px;
    font-weight: 600;
}

.download-qr {
    text-align: center;
}

.download-qr img {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    background: white;
    padding: 16px;
    margin-bottom: 16px;
}

.download-qr p {
    font-size: 14px;
    opacity: 0.9;
}

.download-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ==================== 常见问题 ==================== */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.4s ease;
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    padding: 0 32px 24px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 48px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* ==================== 行动号召 ==================== */
.cta {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.9;
}

.form-group input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.cta-form .btn {
    width: 100%;
    margin-top: 8px;
}

.cta-note {
    margin-top: 24px;
    font-size: 13px;
    opacity: 0.7;
}

.cta-note a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cta-note a:hover {
    opacity: 0.8;
}

/* ==================== 用户评价 ==================== */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all var(--transition-normal);
    animation: fadeInUp 0.6s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-light);
}

/* ==================== 页脚 ==================== */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 24px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 8px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-links img {
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 8px;
}

/* ==================== 动画效果 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-item:nth-child(even) {
        direction: ltr;
    }

    .download .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .download-image {
        order: -1;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 20px 0 0;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--bg-secondary);
    }

    .nav-menu li a.btn {
        margin-top: 16px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .features,
    .services,
    .advantages,
    .download,
    .faq,
    .cta,
    .testimonials {
        padding: 60px 0;
    }

    h2 {
        font-size: 32px !important;
    }

    .features-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .service-content h3 {
        font-size: 24px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-form {
        padding: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .advantage-card,
    .testimonial-card {
        padding: 24px;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question span:first-child {
        font-size: 16px;
    }

    .faq-answer p,
    .faq-answer ul,
    .faq-answer ol {
        padding: 0 20px 16px;
    }
}

/* ==================== 滚动显示动画 ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 加载优化 ==================== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ==================== 无障碍优化 ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ==================== 打印样式 ==================== */
@media print {
    header,
    .nav-toggle,
    .cta,
    .download {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}