:root {
    --primary: #1e88e5;
    --primary-light: #64b5f6;
    --primary-dark: #0d47a1;
    --secondary: #26a69a;
    --dark: #333;
    --gray: #666;
    --light: #f8f9fa;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

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

/* 主标题区域 */
.hero {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(33, 150, 243, 0.05)), 
                url('../img/banner/banner-index.jpg') no-repeat center center;
    background-size: cover;
    padding: 120px 5% 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.4);
}

/* 产品矩阵 */
.section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px;
}

.product-row {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto 80px;
    gap: 50px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.product-row.reverse {
    flex-direction: row-reverse;
}

.product-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: var(--transition);
}

.product-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 136, 229, 0.1), transparent);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.2);
}

.product-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
}

.product-content:hover::before {
    transform: scaleX(1);
}

.product-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.product-desc {
    margin-bottom: 30px;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    flex-basis: calc(50% - 15px);
    background: rgba(30, 136, 229, 0.05);
    border: 1px solid rgba(30, 136, 229, 0.1);
    border-radius: 8px;
    padding: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(30, 136, 229, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.1);
}

.feature-item i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.feature-item span {
    font-weight: 500;
    color: var(--dark);
}

.product-button-container {
    margin-top: auto;
    padding-top: 20px;
}

.product-button {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: width 0.6s ease;
}

.product-button:hover {
    color: white;
}

.product-button:hover::before {
    width: 100%;
}

/* 平台优势 */
.advantages {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(33, 150, 243, 0.02));
    padding: 100px 5%;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.advantage-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 700;
}

.advantage-desc {
    color: var(--gray);
}

/* 技术实力 */
.tech-section {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(33, 150, 243, 0.02));
    padding: 100px 5%;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
}

.tech-stats {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.tech-content {
    flex: 1;
}

.stat-item {
    margin-bottom: 30px;
}

.stat-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.stat-bar {
    height: 10px;
    background: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.stat-progress {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
}

.stat-value {
    position: absolute;
    top: -25px;
    right: 0;
    font-weight: bold;
    color: var(--primary);
}

/* 客户案例 - 轮播图实现 */
.cases-section {
    padding: 100px 5%;
    background: white;
}

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

.swiper {
    width: 100%;
    padding: 40px 0 60px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.case-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 350px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
}

.case-card:hover::before {
    transform: scaleX(1);
}

.case-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-logo {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.case-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    text-align: center;
}

.case-result {
    background: rgba(30, 136, 229, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

/* 浮动联系窗口 */
.contact-float {
    position: fixed;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    height: auto;
}

.contact-float.visible {
    opacity: 1;
    visibility: visible;
}

.contact-float.active {
    top: 50%;
    left: auto;
    right: 20px;
    transform: translateY(-50%);
}

.contact-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-header h3 {
    font-size: 1.4rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 5px;
}

.contact-body {
    padding: 20px;
    display: flex;
    gap: 15px;
    flex: 1;
    align-items: center;
}

.contact-person {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.contact-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-headset {
    position: absolute;
    bottom: 5px;
    right: 10px;
    background: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-info-area {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.promo-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-dark);
    line-height: 1.4;
    text-align: center;
}

.contact-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    justify-content: center;
    flex: 1;
    min-width: 120px;
    font-size: 0.9rem;
}

.contact-button.primary {
    background: var(--primary);
    color: white;
}

.contact-button.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.contact-button i {
    font-size: 0.9rem;
}

.contact-trigger {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 998;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    display: none;
}

.contact-trigger.visible {
    display: flex;
}

.contact-trigger:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shrink {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 0;
    }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .product-row {
        flex-direction: column;
        margin-bottom: 60px;
		padding: 10px;
    }

    .product-row.reverse {
        flex-direction: column;
    }

    .tech-container {
        flex-direction: column;
    }

    .contact-float {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tech-stats {
        display: none;
    }

    .feature-item {
        flex-basis: 100%;
    }

    .contact-float {
        width: 90%;
    }

    .contact-trigger {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .contact-body {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-area {
        text-align: center;
        align-items: center;
    }

    .contact-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section {
        padding: 60px 5%;
    }

    .contact-float {
        width: 95%;
    }

    .contact-trigger {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}