* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "微软雅黑", "思源黑体", sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 顶部导航 */
.header {
    width: 100%;
    height: 80px;
    background-color: #1E2129;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    z-index: 999;
}

.header .logo {
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .logo img {
    max-height: 50px;
    width: auto;
}

.header .nav {
    flex: 1;
    margin-left: 50px;
}

.header .nav ul {
    display: flex;
    list-style: none;
}

.header .nav li {
    margin: 0 20px;
}

.header .nav a {
    text-decoration: none;
    color: #C9C9C9;
    font-size: 16px;
    transition: color 0.3s;
}

.header .nav a:hover {
    color: #4FB3D9;
}

.header .contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header .contact .tel {
    color: #C9C9C9;
    font-size: 16px;
}

.header .contact .consult {
    width: 100px;
    height: 36px;
    background-color: #FF8C42;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.header .contact .consult:hover {
    background-color: #e67a36;
}

.header .hamburger {
    display: none;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.header .hamburger span {
    width: 100%;
    height: 3px;
    background-color: #C9C9C9;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .header {
        padding: 0 20px;
    }
    
    .header .logo {
        width: 150px;
        height: 50px;
    }
    
    .header .logo img {
        max-height: 40px;
    }
    
    .header .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #1E2129;
        padding: 20px;
    }
    
    .header .nav.active {
        display: block;
    }
    
    .header .nav ul {
        flex-direction: column;
    }
    
    .header .nav li {
        margin: 10px 0;
    }
    
    .header .hamburger {
        display: flex;
        flex-shrink: 0;
        margin-left: 20px;
    }
    
    .header .contact .tel {
        display: none;
    }
    
    .header .contact {
        gap: 10px;
    }
}

/* 小屏幕移动端适配 */
@media (max-width: 480px) {
    .header {
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .header .logo {
        width: 120px;
        height: 45px;
    }
    
    .header .logo img {
        max-height: 35px;
    }
    
    .header .hamburger {
        margin-left: 10px;
    }
}

/* 主体内容 */
.main-content {
    margin-top: 80px;
}

/* Hero 区域 */
.hero {
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-image-bg {
    width: 100%;
    height: 600px;
}

.hero-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 33, 41, 0.9) 0%, rgba(79, 179, 217, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #FF8C42;
    color: white;
}

.btn-primary:hover {
    background: #e67a36;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1E2129;
}

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

.about h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #1E2129;
    position: relative;
    padding-bottom: 20px;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4FB3D9;
}

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

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* 产品中心 */
.product {
    padding: 80px 0;
    background: #f8f9fa;
}

.product h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #1E2129;
    position: relative;
    padding-bottom: 20px;
}

.product h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4FB3D9;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: #4FB3D9;
}

.product-detail {
    margin-top: 60px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.expand-btn {
    width: 100%;
    padding: 20px 40px;
    background: linear-gradient(135deg, #1E2129 0%, #4FB3D9 100%);
    color: white;
    border: none;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    background: linear-gradient(135deg, #2a2d35 0%, #3fa3c9 100%);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.expand-btn.active .expand-icon {
    transform: rotate(180deg);
}

.detail-content {
    padding: 0 40px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.detail-content.active {
    padding: 40px;
    max-height: 5000px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f7fa;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 33, 41, 0.9), transparent);
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(79, 179, 217, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(69, 169, 207, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #4FB3D9;
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

.detail-section {
    margin-bottom: 45px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #4FB3D9;
    box-shadow: 0 2px 8px rgba(79, 179, 217, 0.08);
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    color: #1E2129;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.detail-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #4FB3D9;
    border-radius: 2px;
}

.detail-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.detail-list li {
    padding: 10px 15px;
    padding-left: 35px;
    position: relative;
    color: #555;
    font-size: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e8eaf6;
    transition: all 0.3s ease;
}

.detail-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(79, 179, 217, 0.15);
    border-color: #4FB3D9;
}

.detail-list li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    color: #4FB3D9;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 成功案例 */
.cases {
    padding: 80px 0;
}

.cases h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #1E2129;
    position: relative;
    padding-bottom: 20px;
}

.cases h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4FB3D9;
}

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

.case {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.case:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.case img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background-color: #f8f9fa;
}

.case h3 {
    padding: 20px 20px 10px;
    color: #1E2129;
}

.case p {
    padding: 0 20px 20px;
    color: #666;
    flex: 1;
}

/* CTA 区域 */
.cta-section {
    background: linear-gradient(135deg, #1E2129 0%, #4FB3D9 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.cta-btn {
    padding: 15px 50px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cta-btn-primary {
    background: #FF8C42;
    color: white;
}

.cta-btn-primary:hover {
    background: #e67a36;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

.cta-btn-secondary {
    background: transparent;
    color: #c9d1ff;
    border: 2px solid #c9d1ff;
}

.cta-btn-secondary:hover {
    background: #c9d1ff;
    color: #1E2129;
    transform: translateY(-2px);
}

.cta-btn-tertiary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn-tertiary:hover {
    background: white;
    color: #1E2129;
    transform: translateY(-2px);
}

.cta-contact-info {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

/* 页脚 */
.footer {
    width: 100%;
    background-color: #1E2129;
    color: #C9C9C9;
    padding: 60px 5% 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-section {
    min-width: 200px;
}

.footer-section h3 {
    color: #4FB3D9;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    line-height: 2.2;
    font-size: 0.95rem;
}

.footer-section ul a {
    color: #C9C9C9;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul a:hover {
    color: #4FB3D9;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
}

.footer-section p {
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.qr-code {
    width: 120px;
    height: 120px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #3E4C59;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal h2 {
    text-align: center;
    margin-bottom: 8px;
    color: #1E2129;
    font-size: 1.5rem;
}

.modal p {
    text-align: center;
    color: #666;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.modal .form-group {
    margin-bottom: 10px;
}

.modal .form-group label {
    display: block;
    margin-bottom: 4px;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
}

.modal .form-group input,
.modal .form-group select,
.modal .form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e8eaf6;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.modal .form-group input:focus,
.modal .form-group select:focus,
.modal .form-group textarea:focus {
    outline: none;
    border-color: #4FB3D9;
}

.modal .form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.modal .contact-form .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    margin-top: 8px;
}

.form-message {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-size: 1rem;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .header .logo {
        width: 150px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .case-list {
        grid-template-columns: 1fr;
    }
    
    .carousel {
        height: 350px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .modal {
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal h2 {
        font-size: 1.4rem;
    }
    
    .modal-close {
        top: 0.8rem;
        right: 0.8rem;
        font-size: 1.5rem;
    }
}

@media print {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
    
    .header {
        background-color: #1E2129 !important;
        color: white !important;
        position: relative !important;
    }
    
    .modal-overlay {
        display: none !important;
    }
    
    .footer {
        background-color: #1E2129 !important;
        color: #C9C9C9 !important;
    }
}
