/* main.css - 页面主体样式 */

:root {
    --primary-color: #0066cc;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #f5f5f5;
    --card-bg: #fff;
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* 全局样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    color: #34495e;
     font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif; 
     font-size:15px; 
    letter-spacing: 0;
    margin: 0;
    overflow-x: hidden
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

/* 英雄区域 */
.hero {
    text-align: center;
    padding: 5rem 0;
    background-color: var(--card-bg);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-img {
    /*max-width: 800px;*/
    margin: 2.5rem auto 0;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 功能部分 */
.features {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 3.75rem;
}

.section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1.875rem;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.875rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-text);
}

/* 图片展示部分 */
.showcase {
    padding: 5rem 0;
    background-color: var(--card-bg);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #f9f9f9;
    color: var(--primary-color);
    border-color: #adadad;
    min-width: 170px;
    height: 40px;
}

.btn-primary:hover {
    background-color: #e9e9e9;
    transform: translateY(-2px);
}

/* 页脚 */
footer {
    background-color: #222;
    color: #aaa;
    padding: 3.75rem 0 1.875rem;
}

.copyright {
    text-align: center;
    padding-top: 1.875rem;
    border-top: 1px solid #333;
}

/* 响应式设计 - 按钮组 */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
}