/* ========== 首页专属样式（仅 index.html 引用） ========== */

/* 首页 - Banner */
.banner {
    width: 100%;
    height: 500px;
    /* 多段绿渐变 + 缓慢流动（keyframes 定义在 style.css 动效库） */
    background: linear-gradient(120deg, var(--brand-dark), var(--brand), var(--brand-light), var(--brand));
    background-size: 300% 300%;
    animation: bannerFlow 12s ease infinite;
    display: flex;
    align-items: center;
    color: #fff;
}
/* 首屏文字逐行淡入上移 */
.banner-text h1 {
    animation: fadeUp 0.8s ease 0.1s both;
}
.banner-text p {
    animation: fadeUp 0.8s ease 0.35s both;
}
.banner-text {
    max-width: 800px;
}
.banner-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
.banner-text p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 2;
}

/* 首页 - 服务宗旨专区 */
.slogan-section{
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--brand-050);
    min-height: 100px;
    padding-top: 80px;
}
.slogan-text {
    width: 100%;
    text-align: center; /* 图片居中 */
    padding: 0;
    margin: 0;
}
.slogan-text img {
    /* 核心代码 */
    max-width: 100%;    /* 图片最大宽度不超过父容器（网页宽度） */
    width: auto;
    height: auto;       /* 高度自动，保持图片原始比例，不变形 */
    display: block;     /* 消除图片默认底边空白缝隙 */
    pointer-events: none; /* 原内联样式迁移：禁止图片被点选拖拽 */
}
.indent-p{
    text-indent: 2em;
}

/* 首页 - 企业简介专区 */
.about-page {
    max-width: 900px;
}
.about-page section {
    margin-bottom: 50px;
}
.about-page section:last-child {
    margin-bottom: 0;
}
.about-page h3 {
    position: relative;
    font-size: 20px;
    color: var(--brand);
    padding-left: 16px;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.about-page h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 22px;
    border-radius: 3px;
    background: var(--brand);
}
.about-page p {
    font-size: 15px;
    color: #444;
    line-height: 2;
    text-align: justify;
    margin-bottom: 14px;
}
.about-page p:last-child {
    margin-bottom: 0;
}
.about-page .intro,
.about-page .products,
.about-page .vision {
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 12px;
}
.about-page .ecosystem {
    padding: 28px 32px;
    background: var(--brand-050);
    border-radius: 12px;
}
.about-page .ecosystem ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin-top: 18px;
}
.about-page .ecosystem li {
    padding: 12px 18px;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    box-shadow: 0 2px 8px rgba(36,107,89,0.05);
}
.about-page .ecosystem li strong {
    color: var(--brand);
}

/* 首页 - 我们的优势（卡片化） */
.adv-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
}
.adv-list li {
    position: relative;
    padding: 14px 18px 14px 46px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-2);
    transition: 0.3s;
}
.adv-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0,0,0,0.06), inset 0 3px 0 var(--accent);
}
/* 左侧绿底对勾 */
.adv-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    background: var(--brand);
    border-radius: 50%;
}
.adv-list li strong {
    color: var(--brand);
}
.adv-list li:last-child {
    grid-column: 1 / -1; /* 第 5 条独占一行居中 */
}

/* 首页响应式适配 */
@media (max-width: 768px){
    .banner {
        height: auto;
        padding: 60px 0;
    }
    .banner-text h1 {
        font-size: 26px;
    }
    .slogan-text{
        font-size: 20px;
    }
    .about-page .intro,
    .about-page .products,
    .about-page .ecosystem,
    .about-page .vision {
        padding: 20px;
    }
    .about-page .ecosystem ul {
        grid-template-columns: 1fr;
    }
    .adv-list {
        grid-template-columns: 1fr;
    }
}

/* 暖色区块（背景节奏：与页面浅绿渐变底交替） */
.section-warm {
    background: rgba(255,255,255,.55); /* 半透白，让底层浅绿渐变隐约透出 */
}
