/* 基本重置和全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 头部和导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%; /* Use percentage for padding for responsiveness */
    max-width: 1200px; /* Ensure nav doesn't get too wide on large screens */
    margin: 0 auto;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #007bff; /* 主题蓝色 */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #007bff;
}

.mobile-menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* 首页区域 */
.hero-section {
    background: linear-gradient(to right, #007bff, #0056b3); /* 渐变蓝 */
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #007bff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #f0f0f0;
    color: #0056b3;
}

/* 通用区域样式 */
section {
    padding: 60px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #0056b3; /* 深蓝色标题 */
}

/* 功能区域 */
.features-section {
    background-color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    font-size: 1em;
    color: #555;
}

.small-beauty-example {
    font-size: 0.9em;
    color: #444;
    margin-top: 10px;
    font-style: italic;
    border-left: 3px solid #007bff;
    padding-left: 10px;
    background-color: #e9f5ff;
    border-radius: 0 4px 4px 0;
}

/* 使命区域 */
.mission-section {
    background-color: #e9f5ff; /* 淡蓝色背景 */
}
.mission-section p {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 15px auto;
}


/* 故事/场景区域 */
.stories-section {
    background-color: #fff;
}

.story-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.story-item h4 {
    color: #007bff;
    margin-bottom: 8px;
}

/* 联系区域 */
.contact-section {
    background-color: #f0f8ff; /* 更淡的蓝色 */
    text-align: center;
}

.contact-section p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-section a {
    color: #007bff;
    text-decoration: none;
}
.contact-section a:hover {
    text-decoration: underline;
}


/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
}

footer p {
    margin-bottom: 5px;
}

footer a {
    color: #00bfff; /* 亮蓝色链接 */
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* 响应式设计：针对移动设备 */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Hide desktop menu */
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex; /* Show when active */
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .hero-section h1 {
        font-size: 2em;
    }
    .hero-section p {
        font-size: 1em;
    }

    section h2 {
        font-size: 1.8em;
    }

    .feature-grid {
        grid-template-columns: 1fr; /* Stack features on mobile */
    }
}