/* Reset & Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 整体背景 Section */
.intro-section {
    background: url('assets/background.jpg') no-repeat center center / cover; /* 设置背景图 */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 0px; /* 可选：添加圆角 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 可选：阴影效果 */
}

/* Header */
header {
    margin-bottom: 30px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

header .logo {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
    position: relative;
    border-radius: 50%; /* 为 Logo 添加圆形边框 */
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 初始阴影 */
    filter: brightness(0.9) contrast(1.2); /* 调整亮度和对比度 */
}

header .logo:hover {
    transform: scale(1.1); /* 鼠标悬停时放大 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* 悬停时增加阴影 */
    filter: brightness(1) contrast(1.5); /* 鼠标悬停时增强亮度 */
}

header .logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.3); /* 半透明背景 */
    border-radius: 50%;
    z-index: -1; /* 背景置于 Logo 后方 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header .company-info h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff; /* 确保文字清晰可见 */
}

header .company-info p {
    margin: 10px 0 0;
    font-size: 1.2rem;
    color: #f0f0f0;
}

/* 公司简介 Section */
.company-intro {
    margin-top: 30px;
}

.company-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff; /* 标题颜色 */
}

.company-intro p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #f0f0f0; /* 内容颜色 */
}

/* App Showcase Section */
main {
    flex: 1;
}

.app-showcase {
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
}

.app-showcase h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #333;
}

.app-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.app-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.app-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 20px; /* ✅ 添加圆角，视觉更柔和 */
    object-fit: cover;   /* ✅ 保证图片填满容器但不变形 */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* ✅ 可选：轻微阴影增加层次感 */
}

.app-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #007bff;
}

.app-card p {
    font-size: 0.9rem;
    color: #555;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #f1f1f1;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    margin-top: auto;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

footer a {
    color: #007bff;
    text-decoration: none;
}