:root {
    --primary-color: #059669;
    --secondary-color: #10B981;
    --accent-color: #34D399;
    --text-main: #111827;
    --text-light: #4B5563;
    --bg-color: #F0FDF4;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --gradient-text: linear-gradient(135deg, #059669 0%, #3B82F6 100%);
    --font-main: 'Inter', 'Noto Sans SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 动态背景光效 */
.ambient-light {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(50px, 50px); }
}

/* 导航栏 */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 语言切换按钮 */
.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.display-block {
    display: block;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.3);
}

/* Hero 下的视觉元素 */
.hero-visual {
    position: relative;
    height: 500px;
}

.earth-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1000&auto=format&fit=crop') center/cover no-repeat;
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(5, 150, 105, 0.2);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.leaf-card, .water-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 220px;
}

.leaf-card {
    top: 20%;
    left: 10%;
}

.water-card {
    bottom: 20%;
    right: 10%;
}

.icon {
    font-size: 2rem;
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

.delay-anim {
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 通用 Section */
.section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* 统计数据 */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-item .label {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 订阅表单 */
.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
}

.subscribe-form {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.subscribe-form input {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #ddd;
    width: 300px;
    font-size: 1rem;
    outline: none;
}

.subscribe-form button {
    padding: 1rem 2rem;
    background: var(--text-main);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: var(--primary-color);
}

/* Footer */
footer {
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 2rem;
}

/* 动画类 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links a:not(:last-child) {
        display: none;
    }
    
    .hero-visual {
        display: none;
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form input {
        width: 100%;
    }
}
