:root {
    --primary-color: #00b96b;
    --primary-dark: #009456;
    --secondary-color: #faad14;
    --text-main: #1f1f1f;
    --text-secondary: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --radius: 8px;
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f6ffed 0%, #e6fffb 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 800px;
    /* height: 400px; 移除固定高度，让图片自适应 */
    margin: 0 auto;
    position: relative;
    /* 移除边框和背景，适配真实图片 */
    background: none;
    border: none;
}

.hero-image-placeholder img {
    width: 100%;
    height: auto; /* 高度自适应 */
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.hero-image-placeholder::after {
    /* 移除提示文字 */
    content: none;
}

/* Platforms Section */
.platforms {
    padding: 60px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.platform-card {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.platform-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fcfcfc;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.service-grid.reverse {
    direction: rtl; /* Visual trick, better to swap HTML order or use order property */
}

.service-grid.reverse .service-info {
    direction: ltr;
}

.service-img-placeholder {
    width: 100%;
    /* 强制图片容器固定比例或尺寸 */
    height: 400px;
    /* 移除背景和边框 */
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img-placeholder img {
    width: 100%;
    height: 100%;
    /* 强制拉伸以匹配尺寸，如果不希望变形请改为 cover */
    object-fit: fill; 
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: block;
}

.service-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.service-info p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Tools Section */
.tools {
    padding: 80px 0;
    background: var(--white);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tool-card {
    border: 1px solid #eee;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.tool-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tool-img-placeholder {
    height: 200px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #eee;
    /* 移除 flex 布局，允许图片正常显示 */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* color: #999; */
    /* font-size: 14px; */
    position: relative;
    overflow: hidden;
}

.tool-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证填满且不变形 */
    display: block;
}

.tool-content {
    padding: 20px;
}

.tool-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tool-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Footer */
footer {
    background: #262626;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-info p {
    color: #999;
    margin-bottom: 10px;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS toggle later if needed, or simple stacking */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .platform-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-grid.reverse {
        direction: ltr;
    }

    .service-grid.reverse .service-img-placeholder {
        order: -1;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
