/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 140, 255, 0.2);
}

.btn-primary {
    background-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #e55a2b;
}

/* 产品卡片 */
/* 产品卡片 */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* 确保卡片高度自适应 */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 修改图片容器为4:3比例 */
.product-img {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3比例 (3/4=0.75) */
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-img.face {
    background-image: url('../images/1.png');
}

.product-img.plate {
    background-image: url('../images/2.png');
}

.product-img.fire {
    background-image: url('../images/3.png');
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2; /* 确保徽章在图片上方 */
}

.product-content {
    padding: 25px;
    flex-grow: 1; /* 让内容区域填充剩余空间 */
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.product-features {
    list-style: none;
    margin: 20px 0;
    flex-grow: 1; /* 让特性列表填充空间 */
}

.product-features li {
    padding: 8px 0;
    color: var(--text-light);
}

.product-features i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* 解决方案卡片 */
.solution-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(44, 140, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.solution-icon i {
    font-size: 32px;
    color: var(--secondary-color);
}

.solution-card h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

/* 表单样式 */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}