/* 趣科技工作室 - 官网样式 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #1d4ed8;
}

/* ===== 布局容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航栏 ===== */
.navbar {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: #64748b;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #2563eb;
}

/* ===== 英雄区域 ===== */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 应用卡片 ===== */
.apps-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 48px;
    color: #1e293b;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.app-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.app-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e293b;
}

.app-card p {
    color: #64748b;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    color: #fff;
}

.btn-outline {
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* ===== 特性列表 ===== */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: #f0fdf4;
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* ===== 页面标题区 ===== */
.page-header {
    background: #fff;
    padding: 48px 0;
    border-bottom: 1px solid #e2e8f0;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.page-header .date {
    color: #64748b;
    font-size: 0.95rem;
}

/* ===== 内容区域 ===== */
.content {
    background: #fff;
    padding: 48px 0;
}

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

.content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 40px;
    margin-bottom: 16px;
}

.content h2:first-child {
    margin-top: 0;
}

.content p {
    margin-bottom: 16px;
    color: #475569;
}

.content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content li {
    margin-bottom: 8px;
    color: #475569;
}

/* ===== 应用详情页 ===== */
.app-hero {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    padding: 60px 0;
}

.app-hero-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.app-hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 27px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    flex-shrink: 0;
}

.app-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-hero-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
}

.screenshots {
    padding: 60px 0;
    background: #f8fafc;
}

.screenshots-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
}

.screenshot-placeholder {
    min-width: 200px;
    height: 400px;
    background: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

.screenshot-img {
    height: 500px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ===== 页脚 ===== */
.footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 8px;
}

.footer a {
    color: #94a3b8;
}

.footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    text-align: center;
    font-size: 0.875rem;
}

.icp-info {
    margin-top: 8px;
}

.icp-info a {
    color: #94a3b8;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
        gap: 12px;
    }

    .nav-links {
        gap: 16px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .apps-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .app-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .app-hero-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .app-hero-text h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

    .app-card {
        padding: 24px;
    }

    .content-wrapper {
        padding: 0 16px;
    }
}
