/* 全局样式 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-text: #666;
    --background-color: #fff;
    --light-background: #f8f9fa;
    --border-color: #ddd;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--secondary-color);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* 移动端菜单按钮动画 */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 英雄区域样式优化 */
.hero {
    padding: 120px 0 80px;
    background-color: var(--light-background);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-text p {
    font-size: 20px;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    color: var(--secondary-color);
    font-weight: bold;
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* 英雄区域统计数字 */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--light-text);
    font-size: 14px;
}

/* 为什么选择我们 */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--light-background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-box .feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-box p {
    color: var(--light-text);
    line-height: 1.6;
}

/* 服务卡片样式 */
.services {
    padding: 80px 0;
    background-color: var(--light-background);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-color);
    text-align: center;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 14px;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: var(--text-color);
    font-size: 14px;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-cta {
    margin-top: 15px;
    text-align: center;
}

.service-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 160px;
}

.service-button:hover {
    background-color: #2980b9;
}

/* 响应式设计优化 */
/* 大屏幕 (1200px以上) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 中等屏幕 (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-text h2 {
        font-size: 42px;
    }
}

/* 平板 (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-about, .footer-info {
        text-align: center;
    }
}

/* 大手机 (576px - 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .header-content {
        height: 60px;
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background-color: var(--background-color);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .nav li {
        margin: 0;
        width: 100%;
    }
    
    .nav a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav a:hover {
        color: var(--secondary-color);
        background-color: var(--light-background);
    }
    
    /* 防止菜单打开时页面滚动 */
    body.menu-open {
        overflow: hidden;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h2 {
        font-size: 36px;
    }
    
    .hero-text p {
        font-size: 18px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* 小手机 (575px以下) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-text h2 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-about h3, .footer-info h3 {
        font-size: 20px;
    }
    
    .footer-about p, .footer-info p {
        font-size: 14px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    .nav {
        width: 100%;
        max-width: none;
    }
    
    .nav a {
        padding: 12px 0;
        font-size: 15px;
    }
}

/* 动画效果优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 服务流程 */
.process {
    padding: 80px 0;
    background-color: var(--light-background);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-step p {
    color: var(--light-text);
}

/* 特色区域增强 */
.feature-cta {
    margin-top: 30px;
}

.feature-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.feature-button:hover {
    background-color: #2980b9;
}

.feature-note {
    margin-top: 10px;
    font-size: 14px;
    color: var(--light-text);
}

/* 客户评价 */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--light-text);
}

/* 页脚样式优化 */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-about {
    flex: 1;
    text-align: left;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-about p {
    opacity: 0.9;
    line-height: 1.8;
    font-size: 16px;
}

.footer-info {
    flex: 1;
    text-align: left;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.footer-info p {
    opacity: 0.9;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-copyright {
    opacity: 0.7;
    font-size: 14px;
}

/* 遮罩层样式 */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text, .service-card, .feature-text {
    animation: fadeIn 1s ease-out;
}

/* 服务对比区域 */
.services-comparison {
    padding: 80px 0;
    background-color: var(--light-background);
}

.services-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.service-box {
    background-color: var(--background-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-header {
    padding: 30px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.service-header .service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-header h2 {
    font-size: 24px;
    margin: 0;
}

.service-content {
    padding: 30px;
}

.service-description {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-features-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.service-features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-cta {
    margin-top: 30px;
    text-align: center;
}

.service-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.service-button:hover {
    background-color: #2980b9;
}

.service-note {
    margin-top: 10px;
    font-size: 14px;
    color: var(--light-text);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .services-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .service-box {
        margin-bottom: 20px;
    }
}

/* 页脚链接样式 */
.footer-links {
    background-color: var(--primary-color);
    padding: 30px 0;
    color: white;
}

.links-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.links-content li {
    list-style: none;
}

.links-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.links-content a:hover {
    color: var(--secondary-color);
}

/* 统计代码样式 */
.footer-stats {
    background-color: #1a252f;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-align: center;
}

.footer-stats a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-stats a:hover {
    color: var(--secondary-color);
}

.footer-stats p {
    margin: 5px 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .links-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-stats {
        padding: 15px 0;
        font-size: 12px;
    }
} 