@charset "utf-8";
/* =========================================================
 * index.css — 首页（index.html）专属样式
 * 引入顺序：layout.css → index.css
 * ========================================================= */

/* ---------- Hero ---------- */
.hero {
    background-color: var(--color-dark-green);
    padding: 50px 8%;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
}
.hero-text h1 {
    font-size: 30px;
    color: var(--color-light-green);
    font-weight: 600;
    margin-bottom: 4px;
}
.hero-text h2 {
    font-size: 30px;
    color: var(--color-orange);
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-features {
    list-style: none;
    margin-bottom: 35px;
}
.hero-features li {
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.check-icon {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--color-light-green);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
}
.check-icon::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    color: var(--color-light-green);
    font-size: 11px;
    font-weight: bold;
}

.btn-primary {
    background-color: var(--color-orange);
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

.hero-image {
    border-radius: 8px;
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- 流程步骤区 ---------- */
.steps-section {
    padding: 50px 8%;
    position: relative;
}
.steps-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: end;
    margin-bottom: -20px;
    position: relative;
    z-index: 2;
}
.bag-illustration {
    width: 100%;
}
.steps-title {
    margin-bottom: 80px;
}
.steps-title h3 {
    color: var(--color-orange);
    font-size: 62px;
    font-weight: 700;
    margin-bottom: 6px;
}
.steps-title h4 {
    color: var(--color-dark-green);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.steps-title p {
    font-size: 18px;
    color: #444;
}

.steps-cards-wrap {
    background-color: var(--color-dark-green);
    padding: 78px 40px 40px;
    position: relative;
    z-index: 1;
}
.steps-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.step-card {
    background-color: #fff;
    padding: 20px;
    position: relative;
    border-radius: 2px;
}
.step-number {
    position: absolute;
    top: -41px;
    left: 0;
    font-size: 64px;
    font-weight: 900;
    color: var(--color-orange);
    line-height: 1;
}
.step-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.step-card-header h5 {
    font-size: 32px;
    color: var(--color-dark-green);
    font-weight: 700;
}
.step-icon { height: 40px; opacity: 0.8; }

.step-card-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}
.step-list {
    list-style: none;
    margin-bottom: 15px;
}
.step-list li {
    font-size: 16px;
    color: #444;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.check-small {
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--color-dark-green);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}
.check-small::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    color: var(--color-dark-green);
    font-size: 9px;
    font-weight: bold;
}
.step-card-footer {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.steps-btn-wrap { text-align: center; margin-top: 30px; }

/* ---------- 产品展示 ---------- */
.products-section { padding: 0 8% 40px; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s;
    cursor: pointer;
}

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

.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #fafafa;
}
.product-info { padding: 10px 12px; }
.product-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-dark-green);
    margin-bottom: 2px;
}
.product-sku { font-size: 16px; color: #666; }

/* =========================================================
 * 响应式（首页专属）
 * ========================================================= */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .steps-header { grid-template-columns: 200px 1fr; }
    .steps-title h3 { font-size: 26px; }
    .steps-cards {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 400px;
    }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-text h1,
    .hero-text h2 { font-size: 24px; }
    .steps-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .bag-illustration {
        max-width: 200px;
        margin: 0 auto;
    }
    .steps-title p { margin: 0 auto; }
    .steps-cards-wrap { padding: 40px 20px 30px; }
}

@media (max-width: 600px) {
    .products-grid { grid-template-columns: 1fr; }
}
