/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 */
    --primary-color: #667EEA;
    --secondary-color: #34C759;
    --accent-color: #FF9500;
    
    /* 中性色 */
    --text-primary: #1C1C1E;
    --text-secondary: #8E8E93;
    --background: #FFFFFF;
    --background-secondary: #F2F2F7;
    --border-color: #E5E5EA;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-secondary: linear-gradient(135deg, #34C759 0%, #2ECC71 100%);
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.brand-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero 区域 */
.hero {
    padding: calc(80px + var(--spacing-xxl)) 0 var(--spacing-xxl);
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease;
}

.app-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.app-icon-container {
    margin-bottom: var(--spacing-md);
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.app-info {
    color: white;
}

.app-description {
    font-size: 16px;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.6;
}

.app-mockup {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* 产品介绍区 */
.product-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

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

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.product-screenshots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    justify-content: center;
}

.screenshot {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    justify-self: center;
}

.screenshot:hover {
    transform: translateY(-8px);
}

.product-description h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.product-description p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.product-highlights {
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
}

.product-highlights li {
    font-size: 16px;
    color: var(--text-primary);
    padding-left: var(--spacing-md);
}

/* 核心功能区 */
.features-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 下载区域 */
.download-section {
    padding: var(--spacing-xxl) 0;
    background: var(--gradient-primary);
    color: white;
}

.download-section .section-title,
.download-section .section-subtitle {
    color: white;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.platform-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.platform-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    font-size: 32px;
}

.platform-info {
    display: flex;
    flex-direction: column;
}

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

.platform-hint {
    font-size: 14px;
    opacity: 0.8;
}

.download-qr {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.qr-hint {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
}

.qr-code {
    display: inline-block;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-secondary);
    color: var(--text-secondary);
    font-size: 18px;
    border-radius: var(--radius-sm);
}

/* 关于我们区域 */
.about-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background);
}

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

.company-info h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.company-mission {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.business-scope,
.contact-info {
    margin-bottom: var(--spacing-lg);
}

.business-scope h4,
.contact-info h4 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.business-scope p,
.contact-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* 页脚 */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-lg) 0;
}

.footer-content {
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
}

.footer-copyright p {
    margin: 4px 0;
}

.footer-copyright a {
    color: white;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* 动画 */
@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);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image {
        order: -1;
    }
    
    .app-showcase {
        padding: var(--spacing-md);
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
    }
    
    .product-content {
        grid-template-columns: 1fr;
    }
    
    .product-screenshots {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-platforms {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .screenshot {
        width: 150px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中文本样式 */
::selection {
    background: var(--primary-color);
    color: white;
}
