/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 40px;
    margin: 10px 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #5f6368;
    font-weight: 500;
}

nav ul li a:hover, nav ul li a.active {
    color: #1a73e8;
    border-bottom: 3px solid #1a73e8;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
    margin-bottom: 50px;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* 特性部分样式 */
.features {
    padding: 80px 0;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1a73e8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    color: #1a73e8;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature p {
    color: #5f6368;
}

/* 订阅表单样式 */
.newsletter {
    background-color: #1a73e8;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter button {
    padding: 15px 30px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: #0d5bba;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background-color: #0a4e9e;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: #1a73e8;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: #0d5bba;
    transform: translateY(-2px);
}

/* 页脚样式 */
footer {
    background: #202124;
    color: #9aa0a6;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 30px;
}

.footer-links h4, .footer-contact h4 {
    color: #e8eaed;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9aa0a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e8eaed;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3c4043;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner {
        padding: 80px 0;
    }
    
    .banner h1 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter button {
        border-radius: 4px;
        width: 100%;
    }
}