/* ========================================
   software.css - 数智赋能(软件)页面专用样式
   复用 solution.css 的基础布局,本页仅扩展自定义部分
   ======================================== */

/* Hero 使用 solution.css 的 .solution-hero--aside */

/* ===== 区块描述 ===== */
.robot-sec__desc {
    max-width: 980px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 16px;
    line-height: 1.85;
    color: #5a6b7d;
}

/* ===== 产品卡片网格 ===== */
.robot-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1180px;
    margin: 0 auto;
}

.robot-product-card {
    display: grid;
    grid-template-columns: 5fr 7fr;
    background: #ffffff;
    border: 1px solid #e6eef8;
    box-shadow: 0 4px 16px rgba(15, 30, 60, 0.06);
    overflow: hidden;
    transition: all 0.3s;
}
.robot-product-card:hover {
    background: #E6F4FA;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(22, 119, 255, 0.14);
}

.robot-product-card__visual {
    position: relative;
    height: 320px;
    background: #f4f8fe;
    overflow: hidden;
}
.robot-product-card__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.robot-product-card__body {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.robot-product-card__body h3 {
    font-size: 26px;
    font-weight: 700;
    color: #252525;
    margin: 0 0 20px;
}
.robot-product-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.robot-product-card__list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #5a6b7d;
}
.robot-product-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 14px;
    height: 8px;
    border-left: 2px solid #1677ff;
    border-bottom: 2px solid #1677ff;
    transform: rotate(-45deg);
}

/* ===== 软件页面：特点卡片网格 + 图片占位 ===== */
.sw-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto 40px;
}
.sw-feature {
    padding: 30px 28px;
    background: #ffffff;
    border: 1px solid #e6eef8;
    box-shadow: 0 4px 16px rgba(15, 30, 60, 0.06);
    transition: all 0.3s;
}
.sw-feature:hover {
    background: #E6F4FA;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(22, 119, 255, 0.14);
}
.sw-feature h4 {
    font-size: 20px;
    font-weight: 700;
    color: #252525;
    margin: 0 0 14px;
    padding-left: 18px;
    border-left: 4px solid #1677ff;
}
.sw-feature p {
    font-size: 15px;
    line-height: 1.8;
    color: #5a6b7d;
    margin: 0;
}

/* 图片占位区：两张 16:9 截图并排，用户后续自行放图 */
.sw-shots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}
.sw-shot {
    position: relative;
    margin: 0;
    height: 320px;
    background: #f4f8fe;
    overflow: hidden;
}
.sw-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* APP/小程序：一行三张 9:16 竖屏截图 */
.sw-shots--portrait {
    grid-template-columns: repeat(3, 1fr);
}
.sw-shots--portrait .sw-shot {
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.sw-shots--portrait .sw-shot img {
    position: static;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .robot-product-card {
        grid-template-columns: 1fr;
    }
    .robot-product-card__visual {
        height: 260px;
    }
    .robot-product-card__body {
        padding: 32px 28px;
    }
    .robot-product-card__body h3 {
        font-size: 22px;
    }
    .sw-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sw-shots {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sw-shots--portrait .sw-shot {
        height: 620px;
    }
}

@media (max-width: 767px) {
    .robot-product-card__visual {
        height: 220px;
    }
    .robot-product-card__body {
        padding: 24px 20px;
    }
    .robot-product-card__body h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }
    .robot-product-card__list li {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .sw-shot {
        height: 220px;
    }
    .sw-shots--portrait .sw-shot {
        height: 580px;
    }
}
