/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 26px;
    color: #fff;
    margin-left: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-icon {
    font-size: 28px;
    color: #4ecdc4;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #4ecdc4;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li a:hover {
    color: #4ecdc4;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    padding: 120px 0;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e6e6e6;
}

.cta-button {
    display: inline-block;
    background: #4ecdc4;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.cta-button:hover {
    background: #3bb4ac;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

/* 服务区域样式 */
.services {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4ecdc4;
}

.section-title p {
    color: #7f8c8d;
    font-size: 18px;
    max-width: 700px;
    margin: 30px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #4ecdc4;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 50px;
    color: #4ecdc4;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.8;
}

/* 关于区域样式 */
.about {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 17px;
    line-height: 1.8;
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    color: #4ecdc4;
    font-size: 20px;
    margin-right: 15px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* 联系方式区域样式 */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    color: #fff;
    text-align: center;
}

.contact .section-title h2 {
    color: #fff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 40px;
    color: #4ecdc4;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-item p {
    color: #e6e6e6;
    font-size: 18px;
}

/* 页脚样式 */
footer {
    background-color: #1a2530;
    padding: 50px 0 20px;
    color: #ccc;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 26px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links h3, .footer-contact h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #4ecdc4;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #4ecdc4;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2c3e50;
    font-size: 14px;
    color: #999;
}


/* ==================== 响应式设计 ==================== */

/* iPad 端样式 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    /* 头部 */
    .logo h1 {
        font-size: 22px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    nav ul li a {
        font-size: 14px;
    }
    
    /* Hero 区域 */
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 34px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    /* 服务区域 */
    .services {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        font-size: 40px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    /* 关于区域 */
    .about {
        padding: 70px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-text h2 {
        font-size: 30px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    /* 联系区域 */
    .contact {
        padding: 70px 0;
    }
    
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .contact-item {
        padding: 30px 20px;
    }
    
    .contact-icon {
        font-size: 32px;
    }
    
    .contact-item h3 {
        font-size: 18px;
    }
    
    .contact-item p {
        font-size: 16px;
    }
    
    /* 页脚 */
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .footer-logo {
        font-size: 22px;
    }
}

/* 移动端样式 (<768px) */
@media (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    /* 头部 */
    header {
        padding: 12px 0;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo-icon {
        font-size: 24px;
    }
    
    nav ul {
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    nav ul li a {
        font-size: 14px;
    }
    
    /* Hero 区域 */
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    /* 服务区域 */
    .services {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .section-title p {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 15px;
    }
    
    /* 关于区域 */
    .about {
        padding: 50px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-text h2 {
        font-size: 26px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .feature-item {
        font-size: 14px;
    }
    
    .feature-icon {
        font-size: 18px;
    }
    
    /* 联系区域 */
    .contact {
        padding: 50px 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .contact-item {
        padding: 30px 20px;
    }
    
    .contact-icon {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .contact-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .contact-item p {
        font-size: 16px;
    }
    
    /* 页脚 */
    footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        font-size: 22px;
    }
    
    .footer-about p {
        font-size: 14px;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        font-size: 16px;
    }
    
    .footer-links ul li {
        margin-bottom: 10px;
    }
    
    .footer-contact p {
        justify-content: center;
        font-size: 14px;
    }
    
    .copyright {
        font-size: 12px;
    }
}

/* 超小屏幕 (<480px) */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 22px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .about-text h2 {
        font-size: 22px;
    }
}
