* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #A8C5B0;
    --secondary-color: #B8D5C4;
    --accent-color: #95B9A3;
    --dark-color: #3D4D42;
    --light-color: #F5FAF7;
    --text-dark: #2F3E35;
    --text-light: #5A6B61;
    --gradient-1: linear-gradient(135deg, #A8C5B0 0%, #7BA994 100%);
    --gradient-2: linear-gradient(135deg, #E8F5ED 0%, #F0FAF5 100%);
    --glass-green: rgba(168, 197, 176, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-color);
    overflow-x: hidden;
    position: relative;
}

/* 页面滚动时的动态装饰 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, var(--glass-green) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--glass-green) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(245, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--gradient-2);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* 浮动动画背景元素 */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.hero::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: 10%;
    left: -150px;
    animation-delay: 0s;
}

.hero::after {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary-color), transparent);
    bottom: 20%;
    right: -100px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.hero-image {
    margin-top: 50px;
    animation: gentleFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
    display: block;
}

.hero-image:hover img {
    transform: scale(1.01);
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* 装饰性线条元素 */
.decorative-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    pointer-events: none;
    opacity: 0;
    z-index: 999;
}

/* Section通用样式 */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About区域 */
.about {
    background: white;
}

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

.story-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-light);
}

.story-text .lead {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.story-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Mission区域 */
.mission {
    background: var(--gradient-2);
}

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

.mission-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glass-green), transparent);
    transition: left 0.5s ease;
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(168, 197, 176, 0.2);
}

.mission-card:nth-child(1) {
    animation: cardFloat 5s ease-in-out infinite;
    animation-delay: 0s;
}

.mission-card:nth-child(2) {
    animation: cardFloat 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.mission-card:nth-child(3) {
    animation: cardFloat 5s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Characters区域 */
.characters {
    background: white;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.character-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.character-image {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(168, 197, 176, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.character-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--glass-green), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.character-image:hover::after {
    opacity: 1;
}

.character-image:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 25px 50px rgba(168, 197, 176, 0.3);
}

.character-image img {
    width: 100%;
    height: auto;
    display: block;
}

.character-info {
    text-align: center;
}

.character-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.character-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Vision区域 */
.vision {
    background: var(--gradient-2);
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.vision-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-light);
}

.large-text {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.highlight-text {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Philosophy区域 */
.philosophy {
    background: white;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 80px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.philosophy-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.philosophy-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: var(--gradient-2);
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.philosophy-item:hover::before {
    transform: scaleY(1);
}

.philosophy-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px var(--glass-green);
}

.philosophy-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
}

.philosophy-text h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.philosophy-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 背景粒子效果 */
.particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-text p {
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .characters-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-item {
        flex-direction: column;
        text-align: center;
    }

    .philosophy-number {
        min-width: auto;
    }

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

    .large-text {
        font-size: 20px;
    }

    .philosophy-title {
        font-size: 32px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}
