/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #f8fafc;
    color: #333;
    line-height: 1.5;
}

/* 通用容器 */
.mubanke-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 标题样式 */
.mubanke-page-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.3;
}

.mubanke-page-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.mubanke-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eaeaea;
}

/* 网格布局系统 - 统一卡片宽度 */
.mubanke-pricing-grid,
.ai-service-grid,
.geo-pricing-grid,
.mubanke-gift-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.ai-service-grid,
.geo-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* 自动适应网格 - 网站服务 */
.mubanke-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

/* 通用卡片样式 - 统一宽度和边框 */
.mubanke-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mubanke-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 价格卡片特殊样式 */
.mubanke-pricing-card {
    min-height: 520px;
}

.mubanke-service-card {
    min-height: 180px;
}

/* 边框样式 - 第一个价格卡片添加灰色边框 */
.mubanke-pricing-card:first-child {
    border: 1px solid #e8ecef;
}

.blue-border {
    border: 2px solid #3865f2;
}

.green-border {
    border: 2px solid #48bb78;
}

.purple-border {
    border: 2px solid #9f7aea;
}

/* 标签样式 */
.mubanke-card[data-label]::before {
    content: attr(data-label);
    position: absolute;
    top: 18px;
    right: -28px;
    background: #3865f2;
    color: white;
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
    line-height: 1.2;
}

.mubanke-card[data-label="热门"]::before {
    background: #3865f2;
}

.mubanke-card[data-label="推荐"]::before {
    background: #48bb78;
}

.mubanke-card[data-label="灵活"]::before {
    background: #9f7aea;
}

.mubanke-card[data-label="高端"]::before {
    background: #e74c3c;
}

/* 卡片内容样式 */
.plan-name,
.service-name,
.gift-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 12px;
}

.service-price {
    font-size: 22px;
    font-weight: 700;
    color: #3865f2;
    text-align: right;
}

.plan-description,
.gift-description {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* 特性列表 */
.features-list,
.gift-content {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.features-list li,
.gift-content li {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

.features-list li::before {
    content: "✓";
    color: #48bb78;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.premium-feature::before {
    content: "⭐";
    color: #ecc94b;
}

.gift-content li::before {
    content: "🎁";
    margin-right: 8px;
    flex-shrink: 0;
}

.category-title {
    font-weight: bold;
    color: #2c3e50;
    margin-top: 8px;
    font-size: 14px;
}

.category-title::before {
    content: "📦" !important;
}

.sub-item {
    margin-left: 16px;
    list-style-type: none;
    font-size: 13px;
}

.sub-item::before {
    content: "" !important;
    margin-right: 0;
}

/* 续费信息 */
.renewal-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #eaeaea;
}

.renewal-label {
    font-size: 14px;
    color: #666;
}

.renewal-price {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.gift-volume {
    font-size: 14px;
    font-weight: 600;
    color: #3865f2;
    background: #f7fafc;
    padding: 6px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
}

/* 服务头部 */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eaeaea;
}

/* 按钮样式 */
.pricing-btn,
.service-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #3865f2;
    color: white !important;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto;
}

.pricing-btn:hover,
.service-btn:hover {
    background: #2a55e0;
}

/* 特殊按钮颜色 */
.blue-border .pricing-btn {
    background: #3865f2;
}

.green-border .pricing-btn {
    background: #48bb78;
}

.green-border .pricing-btn:hover {
    background: #38a169;
}

.purple-border .pricing-btn {
    background: #9f7aea;
}

.purple-border .pricing-btn:hover {
    background: #805ad5;
}

.service-btn {
    background: #bdc3c7;
}

.service-btn:hover {
    background: #3865f2;
}

/* 说明区域 */
.notes-section,
.claim-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
    border-left: 4px solid #3865f2;
}

.notes-section .mubanke-section-title,
.claim-section .mubanke-section-title {
    text-align: left;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
}

/* 会员赠品特殊样式 */
.register-card {
    border: 1px solid #e8ecef;
}

.register-card::before {
    content: "注册会员";
    position: absolute;
    top: 18px;
    right: -28px;
    background: #e2e8f0;
    color: #2c3e50;
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.monthly-card {
    border: 2px solid #3865f2;
}

.monthly-card::before {
    content: "包月会员";
    position: absolute;
    top: 18px;
    right: -28px;
    background: #3865f2;
    color: white;
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.yearly-card {
    border: 2px solid #9f7aea;
}

.yearly-card::before {
    content: "包年会员";
    position: absolute;
    top: 18px;
    right: -28px;
    background: #9f7aea;
    color: white;
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.lifetime-card {
    border: 2px solid #e74c3c;
}

.lifetime-card::before {
    content: "终身会员";
    position: absolute;
    top: 18px;
    right: -28px;
    background: #e74c3c;
    color: white;
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

/* 会员权限表格 */
.membership-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.membership-table thead tr th {
    background: #3865f2;
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    border: none;
    font-size: 14px;
}

.membership-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e8ecef;
    font-size: 14px;
}

.membership-table tr:nth-child(even) {
    background: #f8fafc;
}

.membership-table .check-mark {
    color: #48bb78;
    font-weight: bold;
    font-size: 16px;
}

/* 领取说明部分 */
.claim-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.claim-step {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 36px;
    height: 36px;
    background: #3865f2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: bold;
    font-size: 14px;
}

.step-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 14px;
}

.step-desc {
    color: #64748b;
    font-size: 13px;
}

.wechat-section {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.wechat-qr {
    width: 160px;
    height: 160px;
    margin: 15px auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8ecef;
}

.wechat-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .mubanke-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .mubanke-pricing-grid,
    .mubanke-gift-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .ai-service-grid,
    .geo-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mubanke-container {
        padding: 0 15px;
    }
    
    .mubanke-page-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .mubanke-page-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .mubanke-pricing-grid,
    .ai-service-grid,
    .geo-pricing-grid,
    .mubanke-service-grid,
    .mubanke-gift-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .mubanke-card {
        padding: 20px;
        min-height: auto !important;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .plan-price {
        font-size: 24px;
    }
    
    .service-price {
        font-size: 20px;
    }
    
    .service-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .service-name {
        margin-bottom: 8px;
    }
    
    .claim-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mubanke-container {
        padding: 0 12px;
    }
    
    .mubanke-page-title {
        font-size: 22px;
    }
    
    .mubanke-page-subtitle {
        font-size: 14px;
    }
    
    .mubanke-card {
        padding: 18px 15px;
    }
    
    .plan-name,
    .service-name,
    .gift-name {
        font-size: 16px;
    }
    
    .plan-price {
        font-size: 22px;
    }
    
    .features-list li,
    .gift-content li {
        font-size: 13px;
        padding: 4px 0;
    }
    
    .pricing-btn,
    .service-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .claim-steps {
        grid-template-columns: 1fr;
    }
    
    .membership-table {
        display: block;
        overflow-x: auto;
    }
}

/* 平板端优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .mubanke-pricing-grid,
    .mubanke-gift-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-service-grid,
    .geo-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mubanke-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 客服样式保持不变 */
.coze-web-sdk-chat-btn,
.coze-web-sdk-chat-window,
.coze-web-sdk-chat-container,
[class*="coze"],
[class*="chat"],
[class*="fa8097ff55eabaa5782b"],
[class*="ab1ac9d9bab12da47298"] {
    z-index: 99999 !important;
}

@media (min-width: 769px) {
    .ab1ac9d9bab12da47298,
    [class*="ab1ac9d9bab12da47298"],
    .coze-web-sdk-chat-btn,
    [class*="coze"][class*="btn"],
    [class*="chat"][class*="btn"] {
        bottom: 100px !important;
        right: 20px !important; 
    }
    
    .fa8097ff55eabaa5782b:not(.bc81871a44ea566dd738),
    [class*="fa8097ff55eabaa5782b"]:not([class*="bc81871a44ea566dd738"]),
    .coze-web-sdk-chat-window,
    [class*="coze"][class*="window"],
    [class*="chat"][class*="window"] {
        height: 1000px !important;
        min-height: 400px !important; 
        max-height: 650px !important; 
        bottom: 180px !important; 
        right: 0 !important; 
        width: 380px !important;
        border-radius: 12px 0 0 12px !important; 
        box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15) !important; 
    }
    
    .coze-web-sdk-chat-body,
    [class*="coze"][class*="body"],
    [class*="chat"][class*="body"] {
        height: calc(100% - 100px) !important;
    }
}

@media (max-width: 768px) {
    .ab1ac9d9bab12da47298,
    [class*="ab1ac9d9bab12da47298"],
    .coze-web-sdk-chat-btn,
    [class*="coze"][class*="btn"],
    [class*="chat"][class*="btn"] {
        bottom: 120px !important;
        right: 15px !important;
        height: 56px !important;
        width: 56px !important;
    }
    
    .fa8097ff55eabaa5782b,
    [class*="fa8097ff55eabaa5782b"],
    .coze-web-sdk-chat-window,
    [class*="coze"][class*="window"],
    [class*="chat"][class*="window"] {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 0 !important;
    }
    
    .fa8097ff55eabaa5782b .b47a01a7e24cbec6131b,
    [class*="fa8097ff55eabaa5782b"] [class*="b47a01a7e24cbec6131b"],
    .coze-web-sdk-chat-window [class*="b47a01a7e24cbec6131b"] {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
    }
    
    .coze-web-sdk-chat-body,
    [class*="coze"][class*="body"],
    [class*="chat"][class*="body"] {
        height: calc(100% - 100px) !important;
    }
}