/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}


.title-section {
    flex: 1;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.slogan-1 {
    font-size: 20px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 500;
}

.slogan-2 {
    font-size: 18px;
    color: #666;
    font-weight: 400;
}

/* 主要内容区域 */
.main-content {
    padding: 60px;
    background: white;
}

.content-wrapper {
    /*display: flex;*/
    /*grid-template-columns: 1fr 1fr;*/
    /*gap: 60px;*/
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #4caf50);
    border-radius: 2px;
}

.section-img {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.section-img2 {
    width: 100%;
}

.section-img img {
    object-fit: cover;
}

/* 功能项样式 */
.feature-item {
    width: calc(100% - 20px);
    margin: 0 10px;
    margin-bottom: 30px;
}

.speech-bubble {
    padding: 25px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.speech-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 25px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid currentColor;
}

.speech-bubble h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    margin-left: 20px;
    box-sizing: border-box;
}

.speech-bubble p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* 气泡颜色 */
.speech-bubble.yellow {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #f39c12;
    border: 2px solid #fdcb6e;
}

.speech-bubble.pink {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    color: #e91e63;
    border: 2px solid #f48fb1;
}

.speech-bubble.blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #2196f3;
    border: 2px solid #90caf9;
    transition: all 0.3s ease-in-out;
}

.speech-bubble.blue:hover{
    background: linear-gradient(135deg, #9cd3ff 0%, #58b3ff 100%);
}

.speech-bubble.light-yellow {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #ff9800;
    border: 2px solid #ffcc80;
}

.speech-bubble.red {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #f44336;
    border: 2px solid #ef9a9a;
}

.speech-bubble.light-green {
    background: linear-gradient(135deg, #b1ffb4 0%, #88ff98 100%);
    color: #24b200;
    border: 2px solid #1cb704;
}

/* 产品参数表格 */
.product-params {
    padding: 60px;
    background: #f8f9fa;
}

.product-detail-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.params-table {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-detail-card:first-child {
    margin-right: 30px;
}

.product-detail-card:last-child {
    margin-left: 30px;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    font-weight: bold;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-bottom: 1px solid #e9ecef;
}

.table-row:nth-child(even) {
    background: #f8f9fa;
}

.param-col, .value-col {
    padding: 20px;
    display: flex;
    align-items: center;
}

.param-col {
    font-weight: 600;
    color: #495057;
    background: #e9ecef;
}

.value-col {
    color: #333;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header {
        padding: 30px 40px;
    }

    .main-content, .product-params, .footer {
        padding: 30px;
    }

    .product-detail-content {
        flex-direction: column-reverse;
    }

    .product-detail-card:first-child {
        margin-right: 0;
    }

    .product-detail-card:last-child {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .main-title {
        font-size: 36px;
    }

    .content-wrapper {
        gap: 30px;
    }

    .speech-bubble {
        padding: 20px;
    }

    .speech-bubble::before {
        top: 25px;
        left: 20px;
    }

    .params-table {
        font-size: 14px;
    }

    .param-col, .value-col {
        padding: 15px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* 悬停效果增强 */
.speech-bubble:hover::before {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
