:root {
    --primary-color: #42b983;
    --primary-color-dark: #3aa876;
    --text-color: #2c3e50;
    --bg-color: #f5f5f5;
    --container-width: 1200px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* 首页搜索框容器 */
.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem auto;
    max-width: 600px;
}

/* 搜索输入框 */
.search-input {
    flex: 1;
    height: 44px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #374151;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-input:hover {
    border-color: #d1d5db;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
}

/* 搜索按钮 */
.search-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: white;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background: var(--primary-color-dark);
}

/* 核心功能部分样式 */
.features {
    padding: 4rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features h2 {
        margin-bottom: 2rem;
        font-size: 1.75rem;
    }

    .feature-card {
        min-height: auto;
        padding: 2rem;
    }
}

/* 使用流程部分样式 */
.how-it-works {
    padding: 4rem 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 1.25rem;
    font-weight: bold;
}

.step h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .how-it-works {
        padding: 3rem 0;
    }
    
    .how-it-works h2 {
        margin-bottom: 2rem;
        font-size: 1.75rem;
    }
}