/* ==================== 全局样式重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== 页面整体样式 ==================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%); /* 页面背景渐变色 - 木棕色 */
    min-height: 100vh;
    padding: 20px;
}

/* ==================== 主容器 - 白色卡片区域 ==================== */
.container {
    max-width: 600px; /* 最大宽度 */
    margin: 0 auto;
    background: #fff;
    border-radius: 16px; /* 圆角大小 */
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); /* 阴影效果 */
    overflow: hidden;
}

/* ==================== 顶部标题栏 ==================== */
header {
    text-align: center;
    padding: 40px 30px 20px; /* 内边距：上 左右 下 */
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%); /* 标题栏背景渐变色 - 木棕色 */
    color: #fff;
}

/* 公司名称文字 */
header h1 {
    font-size: 32px; /* 字体大小 */
    margin-bottom: 10px;
}

/* 副标题文字 */
.subtitle {
    font-size: 16px;
    opacity: 0.9; /* 透明度 */
}

/* ==================== 公司介绍区域 ==================== */
.intro {
    padding: 30px;
    background: #fff8f0; /* 背景色 - 浅木色 */
}

/* 介绍文字 */
.intro p {
    font-size: 14px;
    line-height: 1.8; /* 行高 */
    color: #555; /* 文字颜色 */
    text-align: left;
    padding: 0 10px;
    margin-bottom: 15px;
}

.intro p:last-child {
    margin-bottom: 0;
}

/* ==================== 联系我们区域 ==================== */
.contact-section {
    padding: 30px;
}

/* 二维码盒子 */
.qr-box {
    text-align: center;
    padding: 30px 20px;
    background: #fff8f0;
    border-radius: 12px;
}

/* "联系我们"标题 */
.qr-box h2 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 20px;
}

/* 二维码图片容器 */
.qr-image {
    width: 200px; /* 二维码宽度 */
    height: 200px; /* 二维码高度 */
    margin: 0 auto 25px;
    background: #fff;
    border: 3px solid #DEB887; /* 边框粗细和颜色 - 浅木色 */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 二维码图片 */
.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 40px; /* 按钮内边距：上下 左右 */
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%); /* 按钮背景渐变色 - 木棕色 */
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
}

/* 电话联系按钮 */
.btn-tel {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%); /* 绿色 - 电话按钮 */
    margin-top: 15px;
}

/* ==================== 广告区域（重要！）==================== */
.ad-section {
    padding: 0 30px 30px !important; /* 内边距 */
    display: block !important; /* 强制显示 */
    visibility: visible !important; /* 强制可见 */
}

/* 广告链接 - 去掉下划线 */
.ad-section a {
    text-decoration: none !important;
    display: block !important;
}

/* 广告盒子 */
.ad-box {
    background: linear-gradient(135deg, #FFF5EE 0%, #FFE4C4 100%) !important; /* 广告背景渐变色 - 浅米色 */
    padding: 30px 20px 20px !important; /* 内边距 */
    border-radius: 10px !important; /* 圆角 */
    border: 2px solid #CD853F !important; /* 边框颜色和粗细 - 秘鲁棕色 */
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
}

/* 广告第一段文字 */
.ad-box p {
    font-size: 13px !important;
    color: #666 !important;
    margin: 0 0 8px 0 !important;
}

/* "AI获客推广/学习AI获客"文字 */
.ad-subtitle {
    font-size: 17px !important; /* 字体大小 */
    color: #8B4513 !important; /* 文字颜色 - 木棕色 */
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

/* "点击了解详情"文字 */
.ad-click {
    font-size: 12px !important;
    color: #A0522D !important; /* 文字颜色 - 棕色 */
    font-weight: 500 !important;
    display: inline-block !important;
}

/* ==================== 底部版权信息 ==================== */
footer {
    background: #8B4513; /* 底部背景色 - 木棕色 */
    color: #fff;
    text-align: center;
    padding: 25px;
    font-size: 14px;
}

/* ==================== 手机端适配（屏幕宽度<=480px）==================== */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 26px;
    }

    .intro,
    .contact-section,
    .ad-section {
        padding: 20px !important;
    }

    .qr-image {
        width: 180px;
        height: 180px;
    }
}
