/* 布局相关样式 */
.search-section {
    margin: 2rem 0;
    text-align: center;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* 添加页面整体布局样式 */
body {
    background: #f5f7fa;
    min-height: 100vh;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

/* 卡片容器通用样式 */
.card-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    max-width: 1240px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* 搜索区域卡片特殊样式 */
.card-container:first-child {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    overflow: hidden;
}

.card-container:first-child::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.06) 0%, 
        rgba(99, 102, 241, 0.03) 30%,
        rgba(99, 102, 241, 0) 70%);
    border-radius: 50%;
}

.card-container:first-child::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(99, 102, 241, 0.02) 30%,
        rgba(99, 102, 241, 0) 60%);
    border-radius: 50%;
}

/* App展示区域卡片特殊样式 */
.card-container:last-child {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fff 0%, #fafbff 100%);
    overflow: hidden;
}

.card-container:last-child::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.04) 0%, transparent 35%);
    opacity: 0.7;
}

/* 搜索区域卡片样式 */
.hero-section {
    background: transparent;
    box-shadow: none;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

/* App展示区域卡片样式 */
.apps-section {
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* 确保内容在背景之上 */
.hero-section,
.apps-section {
    position: relative;
    z-index: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    body {
        padding: 10px 0;
    }

    .card-container {
        margin: 15px;
        padding: 20px;
    }
    
    .card-container:first-child {
        margin-bottom: 20px;
    }

    .card-container:first-child::before,
    .card-container:first-child::after,
    .card-container:last-child::before {
        opacity: 0.3; /* 移动端降低背景元素的透明度 */
    }
}

@media (max-width: 480px) {
    .card-container {
        margin: 10px;
        padding: 15px;
        border-radius: 16px;
    }
    
    .card-container:first-child {
        margin-bottom: 15px;
    }
} 
        margin-bottom: 15px;
    }
} 

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    width: 100%;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #86868b;
    line-height: 1.5;
}

.copyright a {
    color: #007AFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright a:hover {
    color: #0056b3;
}

.hero-background {
    flex: 1;  /* 让内容区域占据剩余空间 */
} 