/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background: linear-gradient(135deg, #1a5f7a 0%, #2d8f93 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* 主横幅 */
.banner {
    background: linear-gradient(135deg, #1a5f7a 0%, #2d8f93 50%, #4db8a4 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-title {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.banner-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.15);
    padding: 15px 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.info-icon {
    font-size: 28px;
}

.info-text {
    text-align: left;
}

.info-text strong {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.info-text p {
    font-size: 18px;
    font-weight: 600;
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #1a5f7a;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 通用区块样式 */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #1a5f7a;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-desc {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 50px;
}

/* 服务区块 */
.services {
    padding: 80px 0;
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #f8f9fa;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26,95,122,0.1);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    color: #1a5f7a;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 24px;
    color: #1a5f7a;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.feature-item {
    text-align: center;
}

.feature-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #1a5f7a;
    margin-bottom: 8px;
}

.feature-label {
    font-size: 14px;
    color: #666;
}

/* 联系方式 */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 16px;
    color: #1a5f7a;
    margin-bottom: 12px;
}

.contact-value {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.contact-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.btn-copy {
    background: #1a5f7a;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-copy:hover {
    background: #154d63;
}

.contact-address {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-address h3 {
    font-size: 18px;
    color: #1a5f7a;
    margin-bottom: 10px;
}

.contact-address p {
    color: #555;
    font-size: 16px;
}

/* 常见问题 */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.faq-question {
    padding: 20px 25px;
    font-size: 16px;
    color: #1a5f7a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    color: #1a5f7a;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.faq-answer ul {
    padding-left: 20px;
    color: #555;
    font-size: 14px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* 新闻资讯 */
.news {
    padding: 80px 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26,95,122,0.1);
}

.news-date {
    background: linear-gradient(135deg, #1a5f7a 0%, #2d8f93 100%);
    color: #fff;
    padding: 15px;
    text-align: center;
}

.news-date .day {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.news-date .month {
    font-size: 13px;
    opacity: 0.9;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 16px;
    color: #1a5f7a;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    color: #1a5f7a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* 底部 */
.footer {
    background: linear-gradient(135deg, #1a3a4a 0%, #1a5f7a 100%);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 8px;
}

/* 复制提示 */
.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
}

/* 响应式 */
@media (max-width: 992px) {
    .service-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .banner-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .service-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 50px 0;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .services,
    .about,
    .contact,
    .faq,
    .news {
        padding: 50px 0;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-number {
        font-size: 28px;
    }
}
