@charset "UTF-8";

/* ==================== 首页全屏首屏区域（大背景图） ==================== */
.hero-section {
    background: #f4f4f4 url('../image/shoupingtu.jpg') no-repeat center center;
    background-size: cover;
    padding: 140px 0;
    text-align: center;
    position: relative;
}
/* 遮罩层：确保背景图上方的文字看得清 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.75); 
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section h1 {
    font-size: 46px;
    color: #111;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero-section p {
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
}
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn-primary, .btn-secondary {
    padding: 14px 36px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}
.btn-primary {
    background-color: #06C755;
    color: #fff;
}
.btn-primary:hover {
    background-color: #05b34c;
}
.btn-secondary {
    background-color: #111;
    color: #fff;
}
.btn-secondary:hover {
    background-color: #333;
}

/* ==================== LINE 4个图文介绍（中间带虚线，上下交替不对齐） ==================== */
.intro-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}
.intro-section .container {
    position: relative;
}
/* 中间的纵向垂直虚线 */
.intro-timeline {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    border-left: 2px dashed #06C755; /* 绿色虚线隔开左右 */
    transform: translateX(-50%);
    z-index: 1;
}
/* 每一行的容器排版 */
.intro-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px; /* 每行基础间距 */
    position: relative;
    z-index: 2;
}
/* 核心：通过正负 margin 让左右内容块产生高低不对齐的错落层次感 */
.intro-row:nth-child(even) {
    margin-top: 40px; /* 右侧块整体往下沉一点 */
}
.intro-row:nth-child(odd) {
    margin-top: -10px; /* 左侧块整体往上提一点 */
}

/* 每一个独立的介绍卡片 */
.intro-card {
    width: 45%; /* 单侧占比 45%，两边加上中间留空刚好 100% */
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}
.intro-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}
.intro-card h3 {
    font-size: 22px;
    color: #111;
    margin-bottom: 12px;
    font-weight: 600;
}
.intro-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 辅佐类名：精确控制卡片的左右偏靠 */
.intro-row.left-align {
    justify-content: flex-start;
}
.intro-row.right-align {
    justify-content: flex-end;
}

/* ==================== FAQ 常见问题区块（8个两列双排布局） ==================== */
.faq-section {
    padding: 90px 0;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}
.faq-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    color: #111;
}
.faq-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 完美的双列对称排版 */
    gap: 25px;
}
.faq-item {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}
.faq-item h3 {
    font-size: 16px;
    color: #111;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.faq-item h3::before {
    content: "Q:";
    color: #06C755;
    font-weight: bold;
    margin-right: 8px;
}
.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    padding-left: 22px;
}

/* ==================== 手机移动端响应式兼容 ==================== */
@media (max-width: 768px) {
    .intro-timeline { 
        display: none; /* 移动端隐藏中轴虚线 */
    }
    .intro-card { 
        width: 100%; /* 移动端宽度占满 */
    }
    .intro-row { 
        flex-direction: column; 
        margin-top: 0 !important; /* 移动端取消错落效果，恢复正常流布局 */
        margin-bottom: 30px; 
    }
    .faq-grid { 
        grid-template-columns: 1fr; /* 移动端 FAQ 恢复为单列展示 */
    }
}