/* /css/style.css - 主样式文件 */
/* 导入基础样式 */
@import url('base.css');

/* 导入组件样式 */
@import url('components.css');

/* 页面特定样式 */

/* 首页样式 */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4ff 100%);
    border-radius: 15px;
    margin: 2rem 0;
}

.hero-title {
    font-size: 2.5rem;
    color: #1a73e8;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    color: #1a73e8;
    margin-bottom: 1rem;
}

.download-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.device-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.device-card:hover {
    border-color: #1a73e8;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.1);
}

.device-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.device-title {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.device-version {
    background: #e8f4ff;
    color: #1a73e8;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.device-info {
    margin-bottom: 1rem;
}

.device-info p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .device-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

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

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