/* =========================================
   Slide 02: 市场挑战 (slide-02-challenges.css)
   风格：统一浅色双栏页，左侧数据卡，右侧洞察与痛点卡
   ========================================= */

#slide-2 {
    background:
        radial-gradient(circle at top left, rgba(30, 96, 248, 0.08), transparent 28%),
        linear-gradient(180deg, #FCFDFF 0%, #F6F8FC 100%);
    color: var(--color-text-main);
    padding: 78px 100px 72px;
    display: flex;
    flex-direction: column;
}

.slide-02-header {
    max-width: 1180px;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease 0.12s, transform 0.8s ease 0.12s;
}

.slide-02-title {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 54px;
    font-weight: 800;
    color: #0A1128;
    letter-spacing: -0.02em;
}

.slide-02-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 64px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), #6EA8FF);
}

.slide-02-subtitle {
    max-width: 1160px;
    font-size: 22px;
    line-height: 1.65;
    color: #516072;
}

.slide-02-body {
    display: flex;
    flex: 1;
    gap: 32px;
    margin-bottom: 30px;
    min-height: 0;
}

.slide-02-left {
    flex: 0.9;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.data-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 246, 255, 0.82)),
        linear-gradient(135deg, rgba(30, 96, 248, 0.08), rgba(96, 165, 250, 0.08));
    border-radius: 24px;
    padding: 28px 28px 24px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    opacity: 0;
    transform: translateY(26px) scale(0.98);
    isolation: isolate;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.data-card::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    width: 68px;
    height: 6px;
    border-radius: 0 0 12px 12px;
    opacity: 0.96;
}

.data-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(30, 96, 248, 0.18), transparent 48%, rgba(30, 96, 248, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.data-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
    border-color: rgba(96, 165, 250, 0.28);
}

.data-card:nth-child(1) {
    transition: all 0.6s ease 0.26s;
}

.data-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--color-primary), #60A5FA);
}

.data-card:nth-child(2) {
    transition: all 0.6s ease 0.34s;
}

.data-card:nth-child(2)::before {
    background: linear-gradient(90deg, #325CF9, #5AB8FF);
}

.data-card:nth-child(3) {
    transition: all 0.6s ease 0.42s;
}

.data-card:nth-child(3)::before {
    background: linear-gradient(90deg, #2E82FF, #7CB8FF);
}

.data-card:nth-child(4) {
    transition: all 0.6s ease 0.5s;
}

.data-card:nth-child(4)::before {
    background: linear-gradient(90deg, #1E60F8, #93C5FD);
}

.data-number {
    margin-bottom: 12px;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #0D4ED8;
}

.data-card:nth-child(2) .data-number {
    color: #1D4ED8;
}

.data-card:nth-child(3) .data-number {
    color: #2563EB;
}

.data-card:nth-child(4) .data-number {
    color: #1E40AF;
}

.data-desc {
    font-size: 24px;
    font-weight: 650;
    line-height: 1.45;
    color: #111827;
}

.data-source {
    margin-top: auto;
    padding-top: 16px;
    font-size: 20px;
    line-height: 1.55;
    color: #64748B;
}

.slide-02-right {
    flex: 1.16;
    display: flex;
    flex-direction: column;
}

.insight-pain-container {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 246, 255, 0.82)),
        linear-gradient(135deg, rgba(30, 96, 248, 0.08), rgba(96, 165, 250, 0.08));
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
    padding: 26px 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(34px);
    transition: all 0.8s ease 0.42s;
    isolation: isolate;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.insight-pain-container::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    width: 88px;
    height: 6px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(90deg, #1E60F8, #60A5FA, #C6D8F7);
}

.insight-pain-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(30, 96, 248, 0.18), transparent 48%, rgba(30, 96, 248, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#slide-2.active .insight-pain-container {
    opacity: 1;
    transform: translateX(0);
}

.insight-text-top {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.65;
    color: #334155;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(206, 216, 232, 0.95);
}

.insight-title {
    display: inline-block;
    margin-right: 4px;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
}

.insight-highlight {
    color: #1D4ED8;
    font-weight: 800;
}

.pain-points-title {
    font-size: 27px;
    font-weight: 800;
    color: #0F172A;
}

.pain-points-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.pain-point-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 255, 0.82)),
        linear-gradient(135deg, rgba(30, 96, 248, 0.04), rgba(96, 165, 250, 0.04));
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    padding: 18px 20px 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    isolation: isolate;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pain-point-card::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 58px;
    height: 5px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg, #1E60F8, #60A5FA);
}

.pain-point-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(30, 96, 248, 0.14), transparent 52%, rgba(30, 96, 248, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pain-point-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.1);
    border-color: rgba(96, 165, 250, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.92)),
        linear-gradient(135deg, rgba(30, 96, 248, 0.05), rgba(96, 165, 250, 0.05));
}

.pain-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(229, 238, 255, 0.94), rgba(220, 231, 255, 0.88));
    border: 1px solid rgba(201, 214, 245, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #1D4ED8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pain-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.pain-content h3 {
    margin-bottom: 5px;
    font-size: 21px;
    font-weight: 800;
    color: #0A1128;
}

.pain-content p {
    font-size: 17px;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.slide-02-footer.conclusion-only {
    background: linear-gradient(135deg, #1858F2, #0A1128);
    border-radius: 18px;
    padding: 24px 36px;
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 18px 36px rgba(10, 17, 40, 0.18);
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.88s, transform 0.8s ease 0.88s;
}

#slide-2.active .slide-02-header,
#slide-2.active .data-card,
#slide-2.active .slide-02-footer.conclusion-only {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}
