/* 现代 UI 设计变量 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* 导航栏 */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

/* 英雄区 */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, #eff6ff, transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: #dbeafe;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    color: var(--dark-color);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    border: 2px solid #e2e8f0;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* 关于我们 */
.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 40px;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.section-title-left {
    font-size: 36px;
    margin-bottom: 24px;
}

.lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.feature-list {
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 20px;
}

/* 核心服务 */
.bg-light {
    background-color: var(--light-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
}

/* APP 介绍 */
.app-showcase {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.app-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-panel.reverse {
    direction: ltr;
}

.app-info h3 {
    font-size: 32px;
    margin-bottom: 24px;
}

.app-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.app-features {
    list-style: none;
    margin-bottom: 40px;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.app-features i {
    color: #fbbf24;
}

.download-box {
    background: var(--light-color);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.download-label {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.search-tag {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-color);
    background: var(--white);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 12px;
    margin: 16px 0;
    box-shadow: var(--shadow-sm);
}

.hint {
    font-size: 14px;
    color: var(--text-muted);
}

.app-mockup img {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
}

/* 页脚 */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.logo-white {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    margin-bottom: 24px;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 32px 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.footer-bottom a {
    color: #64748b;
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .app-panel {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-links {
        display: none;
    }
}
