/* ================================================================
   iPMU Pro - 解决方案页面专用样式
   命名空间: .solution-page（避免与主题冲突）
   ================================================================ */

/* === 1. 变量与页面容器 === */
.solution-page {
    --bg-base: #000000;
    --bg-elevated: #151516;
    --bg-glass: rgba(28, 28, 30, 0.6);
    --border-subtle: rgba(255, 255, 255, 0.08);

    --text-title: #F5F5F7;
    --text-body: #A1A1A6;
    --text-muted: #6E6E73;

    --accent-blue: #2997FF;
    --accent-purple: #BF5AF2;
    --accent-green: #30D158;
    --accent-orange: #FF9F0A;
    --accent-red: #FF453A;

    --radius-lg: 24px;
    --radius-md: 16px;

    --font-stack: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-mono: "SF Mono", "Menlo", "Consolas", monospace;

    background-color: var(--bg-base);
    color: var(--text-body);
    font-family: var(--font-stack);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

.solution-page *, .solution-page *::before, .solution-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.solution-page a { text-decoration: none; color: inherit; transition: color 0.3s; }

/* === 1b. 顶栏（复刻 courses.css 顶栏样式） === */
.solution-page .cp-topbar {
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.solution-page .cp-nav-links {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 32px;
}
.solution-page .cp-nav-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none; font-size: 13px;
    transition: color 0.3s; letter-spacing: 0.02em;
}
.solution-page .cp-nav-links a:hover { color: #fff; }
.solution-page .cp-nav-links a.active { color: #fff; font-weight: 500; }
.solution-page .cp-right-area { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.solution-page .cp-btn-login {
    background: transparent; border: none;
    color: #0ea5e9; font-size: 13px; cursor: pointer;
    letter-spacing: 0.02em; transition: opacity 0.3s;
    text-decoration: none;
}
.solution-page .cp-btn-login:hover { opacity: 0.7; }

/* === 2. 滚动浮现动画 === */
.solution-page .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.solution-page .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === 3. 全局布局容器 === */
.solution-page .sp-section { padding: 100px 0; position: relative; }
.solution-page .sp-container { max-width: 1080px; margin: 0 auto; padding: 0 30px; }

.solution-page .sp-overline {
    font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--accent-blue); margin-bottom: 16px; display: block;
}

.solution-page .sp-text-center { text-align: center; }
.solution-page .sp-mx-auto { margin-left: auto; margin-right: auto; }

/* === 4. Hero 区域 === */
.solution-page .sp-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.solution-page .sp-hero-glow {
    position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(191, 90, 242, 0.15) 0%, transparent 60%);
    z-index: 0; pointer-events: none;
}

.solution-page .sp-hero h1 {
    font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.solution-page .sp-hero p {
    font-size: 22px; color: var(--text-body); max-width: 800px;
    margin: 0 auto 48px; font-weight: 400; position: relative;
}

.solution-page .sp-btn-group { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; position: relative; }

.solution-page .sp-btn {
    padding: 14px 28px; border-radius: 100px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.3s; text-align: center; border: none;
    text-decoration: none; display: inline-block;
}
.solution-page .sp-btn-primary { background: var(--text-title); color: var(--bg-base); }
.solution-page .sp-btn-primary:hover { transform: scale(1.02); background: #fff; box-shadow: 0 4px 20px rgba(255,255,255,0.2); }
.solution-page .sp-btn-secondary { background: rgba(255,255,255,0.08); color: var(--text-title); backdrop-filter: blur(10px); }
.solution-page .sp-btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* Scene Strip */
.solution-page .sp-scene-strip {
    display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.solution-page .sp-scene-chip {
    display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-body);
    background: rgba(255,255,255,0.05); padding: 6px 16px; border-radius: 100px; border: 1px solid var(--border-subtle);
}

/* === 5. Bento Box 网格系统 === */
.solution-page .sp-bento-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(12, 1fr);
    margin-top: 40px;
}

/* 大便当盒：左右切割 */
.solution-page .sp-bento-card-large {
    grid-column: span 12;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}
.solution-page .sp-bento-card-large:hover { transform: scale(1.01); border-color: rgba(255,255,255,0.15); }

.solution-page .sp-bento-card-large.reverse { grid-template-columns: 1fr 1fr; direction: rtl; }
.solution-page .sp-bento-card-large.reverse > * { direction: ltr; }

.solution-page .sp-bento-content { padding: 50px; display: flex; flex-direction: column; justify-content: center; }

.solution-page .sp-scenario-tag {
    display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px;
    background: rgba(255,255,255,0.1); color: var(--text-title); margin-bottom: 16px; width: fit-content;
    letter-spacing: 0.05em; font-family: var(--font-mono);
}

.solution-page .sp-scenario-title { font-size: 28px; font-weight: 700; color: var(--text-title); margin-bottom: 32px; letter-spacing: -0.02em; line-height: 1.2; }

/* 痛点与解法 UI 块 */
.solution-page .sp-ps-block { margin-bottom: 24px; padding-left: 20px; border-left: 2px solid; }

.solution-page .sp-pain-block { border-color: var(--accent-red); }
.solution-page .sp-pain-label { font-size: 12px; font-weight: 700; color: var(--accent-red); letter-spacing: 1px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.solution-page .sp-pain-text { font-size: 15px; color: var(--text-body); line-height: 1.6; }

.solution-page .sp-solution-block { border-color: var(--accent-blue); margin-bottom: 32px; }
.solution-page .sp-solution-label { font-size: 12px; font-weight: 700; color: var(--accent-blue); letter-spacing: 1px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.solution-page .sp-solution-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.solution-page .sp-solution-list li { font-size: 15px; color: var(--text-title); line-height: 1.5; position: relative; padding-left: 16px; }
.solution-page .sp-solution-list li::before { content: '\2192'; position: absolute; left: 0; color: var(--accent-blue); font-size: 12px; top: 2px; }

/* 关键结果块 */
.solution-page .sp-result-block {
    background: rgba(48, 209, 88, 0.08); border: 1px solid rgba(48, 209, 88, 0.2);
    padding: 16px 20px; border-radius: var(--radius-md); margin-top: auto;
}
.solution-page .sp-result-label { font-size: 11px; font-weight: 700; color: var(--accent-green); letter-spacing: 1px; margin-bottom: 4px; }
.solution-page .sp-result-text { font-size: 15px; color: var(--text-title); font-weight: 500; }

/* 视觉占位区 */
.solution-page .sp-bento-visual {
    background: var(--bg-base);
    border-left: 1px solid var(--border-subtle);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px; text-align: center; position: relative;
}
.solution-page .sp-bento-card-large.reverse .sp-bento-visual { border-left: none; border-right: 1px solid var(--border-subtle); }

.solution-page .sp-bento-visual i { font-size: 48px; color: #333; margin-bottom: 16px; }
.solution-page .sp-bento-visual .sp-vis-label { font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); }

/* 小便当盒 (三分栏) */
.solution-page .sp-bento-card-small {
    grid-column: span 4;
    background: var(--bg-elevated); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 32px;
    display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.solution-page .sp-bento-card-small:hover { transform: scale(1.02); border-color: rgba(255,255,255,0.15); }
.solution-page .sp-bento-card-small .sp-scenario-tag { margin-bottom: 24px; }
.solution-page .sp-bento-card-small .sp-card-icon { font-size: 32px; margin-bottom: 16px; color: var(--text-title); }
.solution-page .sp-bento-card-small h3 { font-size: 20px; font-weight: 600; color: var(--text-title); margin-bottom: 12px; }
.solution-page .sp-bento-card-small p { font-size: 14px; color: var(--text-body); line-height: 1.6; margin-bottom: 24px; }

/* === 6. Pricing Guide === */
.solution-page .sp-pricing-card {
    grid-column: span 4;
    background: var(--bg-elevated); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 40px 32px; text-align: center;
    display: flex; flex-direction: column;
    transition: transform 0.4s;
}
.solution-page .sp-pricing-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.solution-page .sp-pricing-card.featured { border-color: var(--accent-blue); background: rgba(41, 151, 255, 0.05); }

.solution-page .sp-p-audience { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.solution-page .sp-p-tier { font-size: 24px; font-weight: 700; color: var(--text-title); margin-bottom: 8px; }
.solution-page .sp-p-price { font-size: 18px; color: var(--text-body); font-family: var(--font-mono); margin-bottom: 24px; }
.solution-page .sp-p-desc { font-size: 14px; color: var(--text-body); line-height: 1.5; margin-bottom: 32px; flex: 1; }

.solution-page .sp-p-btn {
    padding: 12px; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: center;
    transition: 0.3s; cursor: pointer;
}
.solution-page .sp-p-btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-title); border: 1px solid var(--border-subtle); }
.solution-page .sp-p-btn-ghost:hover { background: rgba(255,255,255,0.1); }
.solution-page .sp-p-btn-primary { background: var(--accent-blue); color: #fff; border: none; }
.solution-page .sp-p-btn-primary:hover { background: #0077ED; }
.solution-page .sp-p-btn-amber { background: var(--accent-orange); color: #000; border: none; }
.solution-page .sp-p-btn-amber:hover { background: #E68A00; }

/* === 7. Utilities === */
.solution-page .sp-section-title-center { font-size: 40px; font-weight: 700; color: var(--text-title); text-align: center; margin-bottom: 60px; letter-spacing: -0.02em; }

.solution-page .sp-cta-section { padding: 120px 0; text-align: center; border-top: 1px solid var(--border-subtle); margin-top: 60px; }
.solution-page .sp-cta-section h2 { font-size: 40px; font-weight: 700; color: var(--text-title); margin-bottom: 16px; }
.solution-page .sp-cta-link { font-size: 14px; color: var(--accent-blue); display: inline-block; margin-top: 20px; font-weight: 500; }
.solution-page .sp-trust-line { font-size: 13px; color: var(--text-muted); margin-top: 40px; font-weight: 500; }

/* === 8. Footer === */
.solution-page .sp-footer {
    padding: 40px 0; text-align: center;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted); font-size: 12px;
}
.solution-page .sp-footer a {
    color: var(--text-muted); text-decoration: none; margin: 0 10px;
    transition: color 0.3s;
}
.solution-page .sp-footer a:hover { color: var(--text-body); }

/* === 9. 响应式 === */
@media (max-width: 768px) {
    /* 顶栏 */
    .solution-page .cp-topbar { padding: 0 16px; }
    .solution-page .cp-nav-links { position: static; transform: none; gap: 6px; }
    .solution-page .cp-right-area { gap: 8px; }
    .solution-page .cp-btn-login { font-size: 11px; }

    /* Hero */
    .solution-page .sp-hero { padding: 100px 0 60px; }
    .solution-page .sp-hero h1 { font-size: 30px; }
    .solution-page .sp-hero p { font-size: 16px; }

    /* 间距 */
    .solution-page .sp-section { padding: 60px 0; }
    .solution-page .sp-container { padding: 0 16px; }

    /* Bento 网格单列 */
    .solution-page .sp-bento-grid { grid-template-columns: 1fr; }

    /* 大卡片单列堆叠 */
    .solution-page .sp-bento-card-large { grid-template-columns: 1fr; }
    .solution-page .sp-bento-card-large.reverse { grid-template-columns: 1fr; direction: ltr; }
    .solution-page .sp-bento-content { padding: 24px; }
    .solution-page .sp-scenario-title { font-size: 22px; }

    /* 小卡片单列 */
    .solution-page .sp-bento-card-small { grid-column: span 1; padding: 24px; }

    /* 定价卡片单列 */
    .solution-page .sp-pricing-card { grid-column: span 1; padding: 28px 20px; }

    /* CTA */
    .solution-page .sp-cta-section { padding: 60px 0; }
    .solution-page .sp-cta-section h2 { font-size: 26px; }
    .solution-page .sp-section-title-center { font-size: 26px; }

    /* 按钮组 */
    .solution-page .sp-btn-group { flex-direction: column; align-items: center; }
    .solution-page .sp-btn { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
    .solution-page .cp-nav-links { margin-left: 10px; }
    .solution-page .cp-nav-links a { max-width: 2.2em; text-align: center; line-height: 1.3; }
}
