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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1D2129;
    background-color: #fff;
}

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

/* Hero Section */
.hero {
    display: flex;
    /*align-items: center;*/
    height: 650px;
    /*min-height: 100vh;*/
    padding: 60px 0;


    background-image: url("/statics/themes/sanpin/images/os/bg01.png");
    /* 水平居中 */
    justify-content: center;
    /* 垂直居中 */
    /* 背景图也居中显示 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* 可选：让背景图覆盖整个区域 */
}
.os-top{
    position: relative;
}

.hero-content {
    flex: 1;
    /*padding-right: 80px;*/
    width: 560px;
    margin-top: 30px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-title .highlight {
    /* 设置渐变背景 */
    background: linear-gradient(45deg, #165DFF, #00C5D1);

    /* 将背景裁剪为文字区域 */
    -webkit-background-clip: text;
    background-clip: text;

    /* 将文字颜色设置为透明，显示背景渐变 */
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: #165DFF;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #0B55FFFF;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    text-align: center;
    width: 560px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Declaration Section */
.declaration {
    padding: 80px 0;
    background: #fff;
}

.declaration-content {
    /*padding: 40px;*/
    position: absolute;
    bottom: -185px;
    width: 1160px;
    /*display: flex;*/
    height: 230px;
    /*align-items: flex-start;*/
    gap: 50px;

    background-image: url("/statics/themes/sanpin/images/os/bg02.png");
    /* 移除固定高度和内边距，让内容决定高度 */
    /*min-height: calc(100vh - 70px); !* 视口高度减去顶部margin *!*/
    /* 水平居中 */
    justify-content: center;
    /* 垂直居中 */
    align-items: center;
    /* 背景图也居中显示 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* 可选：让背景图覆盖整个区域 */
}

.declaration-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.declaration-text {
    margin-top: 5px;
    background-color: rgba(22, 93, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    font-size: 1.2rem;
    line-height: 0.5;
    margin-bottom: 25px;
    color: #165DFF;
}

.motto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.motto-tag {
    color: #165DFF; /* 文字颜色保持原样 */
    background-color: rgba(22, 93, 255, 0.1);
    padding: 5px 40px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1.2rem;
    position: relative;

}

.motto-tag:not(:last-child)::after {
    content: "×";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #165DFF;
    font-weight: bold;
    font-size: 1.1rem;
}
.motto-tag:nth-child(2){
    background-color: rgba(22, 161, 255, 0.1);
    color: #16A1FF
}
.motto-tag:nth-child(3){
    background-color: rgba(146, 75, 255, 0.1);
    color: #924BFF
}

/* About Section */
.about {
    margin-top: 120px;
    padding: 80px 0;
    background: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 516px;
    height: 571px;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-sub-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 5px;
}

.about-description {
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.7;
}

.about-features {
    list-style: none;
    margin-top: 20px;
}

.about-features img{
    width: 15px;
    margin-right: 10px;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    list-style-type: none;
}

/* Three Products Section */
.three-products {
    padding: 30px 0 80px;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
    height: 320px;
}

.product-card {
    height: 320px;
    background: white;
    border-radius: 12px;
    /*padding: 35px 25px;*/
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.product-card img{
    width: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card-text{
    padding: 20px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-description {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    background-color: #ffffff;
    width: 100%;
}

/* Value Proposition Section */
.value-proposition {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.value-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    /*text-align: center;*/
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    /*background: #4A90E2;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin: 0 auto 18px;*/
    font-size: 1.3rem;
    color: white;
}
.value-icon img{
    width: 60px;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    margin-top: 20px;
}

.value-description {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 0;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .declaration-content,
    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .about-logo {
        width: 220px;
        height: 220px;
    }

    .about-logo::before {
        font-size: 2.8rem;
        width: 55px;
        height: 55px;
    }
}