/* ============================================================
   mc.css — MIP 营销云 独有样式
   ============================================================ */
:root {
    /* 本站 hero demo 专属变量 */
    --mc-grad: linear-gradient(135deg, #6f9bff 0%, #3267F0 55%, #1a3fbf 100%);
    --mc-grad-text: linear-gradient(135deg, #3267F0 0%, #02befa 100%);
    --mc-glow-1: rgba(50, 103, 240, 0.30);
    --mc-glow-2: rgba(2, 190, 250, 0.24);
    --mc-shadow-float: 0 20px 60px rgba(50, 103, 240, 0.20);
    --mc-shadow-hover: 0 32px 80px rgba(50, 103, 240, 0.30);
    --mc-border: rgba(50, 103, 240, 0.18);
}

/* ============ Hero ============ */
        .hero {
            min-height: 80vh;
            display: flex;
            align-items: center;
            position: relative;
            padding: 90px 0 50px;
            overflow: hidden;
        }
        .hero-bg {
            position: absolute; inset: 0; pointer-events: none; z-index: 0;
            background:
                radial-gradient(ellipse 80% 60% at 18% 18%, rgba(50,103,240,0.10) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 85% 80%, rgba(2,190,250,0.10) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 50% 50%, rgba(50,103,240,0.05) 0%, transparent 60%);
        }
        .hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; position: relative; z-index: 1; max-width: 1200px; }
        .hero-content { max-width: 560px; }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 8px 18px; background: linear-gradient(135deg, rgba(50,103,240,0.10), rgba(2,190,250,0.10));
            border: 1px solid var(--mc-border); border-radius: 50px;
            font-size: 13px; font-weight: 700; color: var(--c-blue); margin-bottom: 28px;
        }
        .hero-badge-dot { width: 7px; height: 7px; background: var(--c-cyan); border-radius: 50%; animation: pulse-dot 2s infinite; }
        .hero-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 16px; }
        .hero-title span { background: var(--mc-grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .hero-subtitle { font-size: clamp(18px, 2vw, 24px); color: var(--text-secondary); margin-bottom: 8px; font-weight: 600; }
        .hero-tagline { font-size: 14px; color: var(--text-tertiary); margin-bottom: 24px; font-style: italic; letter-spacing: 0.02em; }
        .hero-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; }
        .hero-cta { display: flex; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }

        
/* ============ Hero 右侧视觉 —— 营销数据看板 demo（纯CSS） ============ */
        .hero-visual { position: relative; height: 520px; }
        .hero-glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
        .hero-glow.g1 { top: -4%; left: -6%; width: 380px; height: 380px; background: radial-gradient(circle, var(--mc-glow-1) 0%, transparent 70%); animation: mc-drift 9s ease-in-out infinite; }
        .hero-glow.g2 { bottom: -6%; right: -4%; width: 440px; height: 440px; background: radial-gradient(circle, var(--mc-glow-2) 0%, transparent 70%); animation: mc-drift 12s ease-in-out infinite reverse; }
        .visual-card {
            position: absolute; background: #fff; border-radius: var(--radius-lg);
            box-shadow: var(--mc-shadow-float); border: 1px solid var(--mc-border);
            padding: 22px; transition: var(--transition); z-index: 1;
        }
        .visual-card:hover { box-shadow: var(--mc-shadow-hover); }
        /* 主看板 */
        .card-dashboard { width: 320px; left: 6%; top: 12%; animation: mc-float 6s ease-in-out infinite; }
        .dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-card); }
        .dashboard-title { font-size: 14px; font-weight: 700; color: var(--text-primary); }
        .dashboard-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--c-green-dark); font-weight: 600; }
        .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-green-dark); animation: pulse-dot 1.6s infinite; }
        .dashboard-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
        .metric-value { font-size: 26px; font-weight: 800; line-height: 1.1; background: var(--mc-grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .metric-label { font-size: 12px; color: var(--text-tertiary); margin-top: 3px; }
        .dashboard-chart { height: 130px; background: linear-gradient(180deg, rgba(50,103,240,0.08), transparent); border-radius: var(--radius-md); padding: 14px; }
        .chart-label { font-size: 11px; color: var(--text-tertiary); margin-bottom: 10px; }
        .chart-bars { display: flex; align-items: flex-end; justify-content: space-between; height: calc(100% - 22px); gap: 7px; }
        .chart-bar { flex: 1; background: var(--mc-grad); border-radius: 5px 5px 0 0; transform-origin: bottom; animation: mc-grow 2.2s var(--transition) infinite alternate; box-shadow: 0 -3px 10px rgba(50,103,240,0.28); }
        .chart-bar.b1 { height: 42%; animation-delay: 0s; }
        .chart-bar.b2 { height: 64%; animation-delay: .2s; }
        .chart-bar.b3 { height: 50%; animation-delay: .4s; }
        .chart-bar.b4 { height: 78%; animation-delay: .6s; }
        .chart-bar.b5 { height: 58%; animation-delay: .8s; }
        .chart-bar.b6 { height: 92%; animation-delay: 1s; }
        /* 统计卡（渐变底白字） */
        .card-stats { right: 2%; bottom: 12%; width: 168px; text-align: center; background: var(--mc-grad); color: #fff; border: none; animation: mc-float 7s ease-in-out infinite; animation-delay: .6s; z-index: 2; }
        .stats-number { font-size: 34px; font-weight: 800; line-height: 1; }
        .stats-label { font-size: 13px; opacity: 0.9; margin-top: 6px; }
        /* 徽章卡 */
        .card-badge { right: 12%; top: 6%; padding: 12px 20px; font-size: 13px; font-weight: 700; color: var(--c-blue); animation: mc-float 5s ease-in-out infinite; animation-delay: .3s; }
        /* 几何装饰 */
        .geo-shape { position: absolute; border-radius: 14px; pointer-events: none; z-index: 0; }
        .geo-shape.s1 { top: 2%; right: 24%; width: 54px; height: 54px; background: linear-gradient(135deg, rgba(50,103,240,0.20), transparent); animation: mc-float 8s ease-in-out infinite; }
        .geo-shape.s2 { bottom: 4%; left: 2%; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, rgba(2,190,250,0.28), transparent); animation: mc-float 6.5s ease-in-out infinite; animation-delay: .5s; }

        
/* ============ Core Engines (modes) ============ */
        .modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .mode-card {
            background: #fff; border-radius: var(--radius-lg); padding: 32px 28px;
            box-shadow: var(--shadow-md); border: 1px solid var(--border-card);
            transition: var(--transition); display: flex; flex-direction: column;
        }
        .mode-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
        .mode-icon { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
        .mode-icon.i1 { background: rgba(50,103,240,0.1); }
        .mode-icon.i2 { background: rgba(2,190,250,0.1); }
        .mode-icon.i3 { background: rgba(102,237,157,0.14); }
        .mode-icon.i4 { background: rgba(247,159,141,0.16); }
        .mode-icon.i5 { background: rgba(50,103,240,0.1); }
        .mode-icon.i6 { background: rgba(2,190,250,0.1); }
        .mode-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
        .mode-card .mode-tag { font-size: 12px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
        .mode-card p.desc { color: var(--text-secondary); line-height: 1.7; font-size: 14px; }

        
/* ============ Channels (9 渠道) ============ */
        .channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .channel-card {
            background: #fff; border-radius: var(--radius-lg); padding: 24px;
            box-shadow: var(--shadow-sm); border: 1px solid var(--border-card);
            transition: var(--transition); display: flex; gap: 16px; align-items: flex-start;
        }
        .channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .channel-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(50,103,240,0.08); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
        .channel-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
        .channel-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

        
/* ============ Pain Points (困局→破局) ============ */
        .pain-list { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
        .pain-card {
            display: grid; grid-template-columns: 64px 1fr 1fr; gap: 24px; align-items: center;
            background: #fff; border-radius: var(--radius-lg); padding: 28px 32px;
            box-shadow: var(--shadow-md); border: 1px solid var(--border-card);
            transition: var(--transition);
        }
        .pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .pain-num { font-size: 40px; font-weight: 800; color: rgba(50,103,240,0.14); line-height: 1; }
        .pain-problem h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
        .pain-problem p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
        .pain-solution {
            background: var(--bg-soft); border-radius: var(--radius-md); padding: 16px 18px;
            font-size: 13px; color: var(--text-secondary); line-height: 1.6; border-left: 3px solid var(--c-green);
        }
        .pain-solution strong { display: block; color: var(--c-green-dark); font-size: 12px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.5px; }

        
/* ============ Industry (行业方案 tab) ============ */
        .industry-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
        .industry-tab {
            padding: 11px 26px; border-radius: 50px; border: 2px solid var(--border-light); background: #fff;
            font-size: 14px; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: var(--transition); font-family: inherit;
        }
        .industry-tab:hover { border-color: var(--c-blue); color: var(--c-blue); }
        .industry-tab.active { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
        .industry-panel { display: none; animation: fadeIn .4s ease; }
        .industry-panel.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
        .industry-box {
            max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md); border: 1px solid var(--border-card); padding: 40px 44px;
        }
        .industry-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
        .industry-box .industry-sub { font-size: 14px; color: var(--text-tertiary); margin-bottom: 22px; }
        .industry-points { list-style: none; margin-bottom: 28px; }
        .industry-points li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
        .industry-points li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--c-green-dark); font-weight: 800; }

        
/* ============ Stats ============ */
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
        .stat-card { text-align: center; padding: 32px 20px; }
        .stat-number { font-size: clamp(44px, 5.5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
        .stat-number.s1 { color: var(--c-blue); }
        .stat-number.s2 { color: var(--c-cyan); }
        .stat-number.s3 { color: var(--c-green); }
        .stat-number.s4 { color: var(--c-coral); }
        .stat-label { font-size: 16px; font-weight: 600; color: var(--text-secondary); margin-top: 8px; }

        
/* ============ Responsive ============ */
        @media (max-width: 1024px) {
            .hero .container { max-width: 100%; padding: 0 20px; grid-template-columns: 1fr; gap: 40px; text-align: center; }
            .hero-content { max-width: 100%; margin: 0 auto; }
            .hero-cta { justify-content: center; }
            /* 移动端看板放文案下方：相对定位画布，卡片居中排布 */
            .hero-visual { height: 480px; max-width: 560px; margin: 8px auto 0; width: 100%; }
            .card-dashboard { left: 50%; transform: translateX(-50%); top: 8%; animation: none; }
            .card-stats { right: 4%; bottom: 10%; animation: none; }
            .card-badge { right: 8%; top: 4%; animation: none; }
            .geo-shape { animation: none; }
            .hero-title { font-size: 32px; }
            .modes-grid { grid-template-columns: repeat(2, 1fr); }
            .channels-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
            .pain-card { grid-template-columns: 48px 1fr; }
            .pain-solution { grid-column: 1 / -1; }
        }
        @media (max-width: 768px) {
            .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; box-shadow: var(--shadow-lg); gap: 16px; border-bottom: 1px solid var(--border-light); }
            .nav-menu.active { display: flex; }
            .nav-toggle { display: flex; }
            .modes-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
            .channels-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .pain-card { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
            .pain-num { font-size: 32px; }
            .industry-box { padding: 28px 24px; }
        }
        @media (max-width: 480px) {
            .hero-title { font-size: 30px; }
            .section-title { font-size: 28px; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
            .hero-visual { height: 430px; }
            .card-dashboard { width: 288px; }
            .card-stats { width: 148px; }
            .stats-number { font-size: 28px; }
        }
    
/* ============ Hero demo 动画 ============ */
@keyframes mc-grow { from { transform: scaleY(0.15); } to { transform: scaleY(1); } }
@keyframes mc-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes mc-drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(24px,-20px) scale(1.06); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
