/* ============================================
   公卫数据质量智能网监 - 广告/引导组件样式
   完全独立，不影响原有样式
   ============================================ */

/* 广告容器 - 放在内容下方 */
.ad-section {
    margin-top: 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 手机外框样式 */
.ad-phone-frame {
    background: #f4f7fb;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

/* 引导卡片 */
.ad-guide-card {
    background: #f4f9ff;
    border: 2px solid #dbeafe;
    border-radius: 24px;
    overflow: hidden;
}

.ad-guide-header {
    background: #eef6ff;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
}

.ad-guide-header::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: #eef6ff;
}

.ad-guide-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ad-guide-icon {
    width: 52px;
    height: 52px;
    background: #1664d9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.ad-guide-text {
    font-size: 17px;
    color: #0f3f8a;
    font-weight: 600;
}

.ad-free-tag {
    background: #e8fff2;
    color: #0f8a43;
    border: 2px solid #b7efcf;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* 内容区 */
.ad-content {
    padding: 40px 28px 28px;
    position: relative;
}

.ad-hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ad-hero-subtitle {
    font-size: 15px;
    color: #42526b;
    margin-bottom: 28px;
}

/* 提示框 */
.ad-tip-box {
    background: white;
    border: 2px solid #d9e7fb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    font-size: 15px;
    color: #4b5b76;
    line-height: 1.6;
}

/* 功能点 */
.ad-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ad-feature-item {
    background: white;
    border: 2px solid #e4eefb;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ad-feature-num {
    width: 36px;
    height: 36px;
    background: #e8f1ff;
    color: #1664d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.ad-feature-text {
    font-size: 15px;
    color: #203047;
    line-height: 1.6;
    flex: 1;
}

/* 底部CTA */
.ad-footer {
    background: #1664d9;
    margin: 8px;
    border-radius: 20px;
    padding: 32px;
    color: white;
    text-align: center;
}

.ad-footer-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.ad-footer-phone {
    display: inline-block;
    background: #3e82e2;
    padding: 16px 40px;
    border-radius: 14px;
    font-size: 22px;
    font-weight: 600;
    margin: 14px 0;
}

.ad-footer-note {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 14px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .ad-phone-frame {
        border-radius: 24px;
        padding: 6px;
    }
    
    .ad-guide-card {
        border-radius: 18px;
    }
    
    .ad-guide-header {
        padding: 18px;
        gap: 12px;
    }
    
    .ad-guide-header::after {
        height: 18px;
        bottom: -18px;
    }
    
    .ad-guide-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .ad-guide-text {
        font-size: 14px;
    }
    
    .ad-free-tag {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .ad-content {
        padding: 28px 18px 18px;
    }
    
    .ad-hero-title {
        font-size: 19px;
    }
    
    .ad-hero-subtitle {
        font-size: 13px;
    }
    
    .ad-tip-box {
        padding: 18px;
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .ad-feature-item {
        padding: 18px;
    }
    
    .ad-feature-num {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    
    .ad-feature-text {
        font-size: 13px;
    }
    
    .ad-footer {
        padding: 24px;
        margin: 6px;
        border-radius: 16px;
    }
    
    .ad-footer-phone {
        font-size: 18px;
        padding: 14px 32px;
    }
    
    .ad-footer-note {
        font-size: 11px;
    }
}