/* 滚动条 */
.ticker-bg { width: 100%; background: #1a1f24; border-bottom: 1px solid #333; position: relative; z-index: 10; }
.ticker-container { max-width: 1200px; margin: 0 auto; overflow: hidden; position: relative; height: 42px; display: flex; align-items: center; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); }
.ticker { display: flex; width: fit-content; animation: ticker 30s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker-item { flex-shrink: 0; padding: 0 30px; font-size: 0.85rem; color: #ccc; display: flex; align-items: center; }
.ticker-item span { color: var(--primary); font-weight: bold; margin-right: 5px; }
@keyframes ticker {  0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Hero */
.ent-hero { padding-top: 100px; padding-bottom: 80px; background: radial-gradient(circle at 70% 30%, #fffcf0 0%, #fff 60%); position: relative; overflow: hidden; }
.ent-hero-content { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 50px; position: relative; z-index: 2; }
.ent-hero-badge { display: inline-block; padding: 6px 12px; background: #fff8e1; color: #dcb000; border: 1px solid #f6c24c; border-radius: 4px; font-size: 0.8rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.ent-hero h1 { font-size: 3.5rem; line-height: 1.2; color: var(--text-dark); margin-bottom: 24px; }
.ent-hero p { font-size: 1.15rem; color: var(--text-sub); margin-bottom: 40px; max-width: 600px; }
.ent-stats-bar { display: flex; gap: 40px; margin-top: 40px; padding-top: 40px; border-top: 1px solid #eee; }
.ent-stat h4 { font-size: 1.8rem; color: var(--text-dark); font-weight: 800; font-family: 'Roboto', sans-serif; }
.ent-stat span { font-size: 0.9rem; color: #888; }

.status-monitor { background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); padding: 25px; border: 1px solid #f0f0f0; position: relative; animation: float-slow 6s ease-in-out infinite; }
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.monitor-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.monitor-title { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.status-dot { width: 10px; height: 10px; background: #28a745; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2); animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); } 70% { box-shadow: 0 0 0 8px rgba(40, 167, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); } }
.cert-list { display: flex; flex-direction: column; gap: 12px; }
.cert-item { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: #f9f9f9; border-radius: 8px; font-size: 0.9rem; }
.cert-name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cert-status { color: #28a745; font-size: 0.8rem; background: rgba(40, 167, 69, 0.1); padding: 2px 8px; border-radius: 4px; }

/* 
 * ================= [修改后的] 价格卡片样式 - 支持3列 =================
 */
.pricing-toggle { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 50px; }
.switch-label { font-weight: 600; cursor: pointer; color: var(--text-sub); transition: 0.3s; }
.switch-label.active { color: var(--text-dark); }
.switch-btn { width: 56px; height: 30px; background: #e0e0e0; border-radius: 15px; position: relative; cursor: pointer; transition: 0.3s; }
.switch-btn.on { background: var(--primary); }
.switch-btn::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; background: #fff; border-radius: 50%; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.switch-btn.on::after { left: 29px; }
.discount-badge { background: #ff4757; color: #fff; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; position: relative; top: -10px; }

/* 网格由 4列 变更为 3列，最大宽度略微调整以适应 */
.pricing-grid {padding: 0 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; max-width: 1080px; margin: 0 auto; }

.plan-card { 
    background: #fff; border: 1px solid #f0f0f0; border-radius: 24px; padding: 40px 30px; 
    text-align: center; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; 
    display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.plan-card:hover { 
    transform: translateY(-12px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08); 
    border-color: rgba(var(--primary-rgb), 0.5); z-index: 5; 
}

/* 热门版（现为第二张卡片）高亮样式升级 */
.plan-card.featured { 
    background: #1f2329; color: #fff; border: 1px solid #1f2329; 
    transform: scale(1.05); z-index: 2; box-shadow: 0 30px 60px rgba(0,0,0,0.15); 
}
.plan-card.featured:hover { transform: scale(1.07) translateY(-5px); }

/* 装饰用丝带 */
.ribbon {
    position: absolute; top: 0; right: 24px; width: 36px; height: 38px;
    background: var(--primary); color: #2c2c2c;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 5px; font-size: 0.75rem; font-weight: 800; border-radius: 0 0 4px 4px;
    box-shadow: 0 5px 15px rgba(246, 194, 76, 0.3); z-index: 2;
}
.ribbon::before {
    content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 5px; background: rgba(0,0,0,0.1); border-radius: 0 0 50% 50% / 0 0 20% 20%;
}

/* 内部文字调整 */
.plan-card.featured .plan-name { color: #f6c24c; opacity: 1; letter-spacing: 0.5px; }
.plan-card.featured .plan-price { color: #fff; text-shadow: 0 0 20px rgba(246, 194, 76, 0.1); }
.plan-card.featured .plan-desc { color: #889097; }
.plan-card.featured .plan-features li { color: #ccc; border-bottom-color: #333; }
.plan-card.featured .plan-features li i { color: #f6c24c; background: rgba(246, 194, 76, 0.15); }

.plan-card.featured .btn-outline { 
    background: linear-gradient(90deg, #fbe96b 0%, #f6c24c 100%); border: none; color: #2c2c2c; box-shadow: 0 5px 20px rgba(246, 194, 76, 0.4); 
}
.plan-card.featured .btn-outline:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(246, 194, 76, 0.6); }

/* 企业版 */
.plan-card.enterprise { 
    background: linear-gradient(180deg, #fbfbfb 0%, #fff 100%); 
    border: 2px solid #e0e0e0; 
}
.plan-card.enterprise:hover { border-color: #333; }
.plan-card.enterprise .plan-name { background: #333; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.plan-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 15px; color: var(--text-dark); transition: color 0.3s; }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--text-dark); font-family: 'Roboto', sans-serif; transition: color 0.3s; line-height: 1; letter-spacing: -1px; }
.plan-period { font-size: 0.95rem; font-weight: 500; color: #aaa; margin-bottom: 5px; display: block; margin-top: 5px;}
.plan-desc { color: #888; font-size: 0.9rem; margin: 20px 0 30px; min-height: 48px; line-height: 1.5; padding: 0 10px; }

.plan-features { text-align: left; margin-bottom: 35px; flex: 1; }
.plan-features li { 
    margin-bottom: 0; padding: 10px 0; font-size: 0.92rem; color: var(--text-main); display: flex; align-items: flex-start; 
    border-bottom: 1px dashed #f0f0f0; 
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { 
    margin-right: 12px; color: var(--primary-dark); background: rgba(246, 194, 76, 0.12); width: 22px; height: 22px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; margin-top: 2px;
}

/* 优势网格 */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.adv-item { padding: 30px; background: #fff; border-radius: 16px; border: 1px solid #f5f5f5; transition: 0.3s; text-align: center;}
.adv-item:hover { background: #fffcf5; border-color: var(--primary); }
.adv-icon { width: 50px; height: 50px; background: var(--primary-light); color: var(--primary-dark); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 20px; }
.adv-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.adv-item p { color: var(--text-sub); font-size: 0.9rem;text-align: left; }

/* 响应式调整 */
@media (max-width: 992px) {
    .ent-hero-content { grid-template-columns: 1fr; text-align: center; }
    .ent-hero p { margin-left: auto; margin-right: auto; }
    .status-monitor { display: none; }
    .ent-stats-bar { justify-content: center; }
    
    /* 平板上单列显示或者根据需求压缩 */
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; gap: 40px; }
    .plan-card.featured { transform: scale(1.05); margin: 20px 0; }
    .plan-card.featured:hover { transform: scale(1.05); }

    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: block; }
    .cs-sidebar { bottom: 30px; top: auto; transform: none; right: 20px; flex-direction: row-reverse; }
    .cs-tooltip { display: none; } 
}

@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .container { padding: 0 20px; }
    .ent-hero { padding-top: 100px; padding-bottom: 40px; }
    .ent-hero h1 { font-size: 2rem; }
    .ent-hero p { font-size: 1rem; }
    
    .reseller-box { flex-direction: column; text-align: center; padding: 40px 30px; }
    .reseller-content { width: 100%; }
    .reseller-visual { width: 100%; justify-content: center; }
    .reseller-list { display: inline-block; text-align: left; }
    .profit-card { width: 100%; }
    
    .plan-card { padding: 30px 20px; }
}