/* 首页专属样式 */

/* 首页三屏样式 */
.screen {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease-out;
}

.screen.in-view {
    transform: translateY(0);
    opacity: 1;
}

#screen1 {
    background: url('../assets/img/index/p1/bg.png') center center/cover no-repeat;
    padding-top: 80px;
}
.screen1-title-img {
    width: 50%;
    max-width: 90vw;
    margin: 0 auto;
    display: block;
    position: absolute;
    left: 50%;
    top: 34%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: title-zoom-in 2s ease-out;
}
.screen1-arrow {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    cursor: pointer;
    opacity: 0.85;
    z-index: 10;
    animation: arrow-bounce 2s infinite ease-in-out;
}
@keyframes arrow-bounce {
    0%, 100% { 
        transform: translateX(-50%) translateY(0);
        opacity: 0.8;
    }
    50% { 
        transform: translateX(-50%) translateY(10px);
        opacity: 1;
    }
}
.screen1-search {
    position: absolute;
    right: 48px;
    bottom: 32px;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 10;
    cursor: pointer;
    transition: background 0.2s;
}
.screen1-search img {
    width: 36px;
    height: 36px;
}
.screen1-search:hover {
    background: rgba(255,255,255,0.32);
}

/* P2页面结构与样式 */
#screen2 {
    background: url('../assets/img/index/p2/bg.png') center center/cover no-repeat;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
}
.screen2-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 96vw;
    margin: 0 auto;
    height: 50vh;
}
.screen2-news {
    background: #6d4c8e;
    border-radius: 0 0 0 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 40px 36px 32px 36px;
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;
    z-index: 1;
}
.screen2-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 1px;
}
.screen2-desc {
    color: #fff;
    font-size: 12px;
    line-height: 2;
    max-height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 6;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}
.screen2-link-row {
    display: flex;
    align-items: center;
    /* margin-bottom: 18px; */
}
.screen2-link {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
    display: inline-block;
    transition: all 0.3s ease;
    margin-right: 8px;
}
.screen2-link:hover {
    color: #ffe082;
    border-bottom: 1px solid #ffe082;
    opacity: 0.8;
    transform: translateX(5px);
}
.screen2-link-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-left: 2px;
}
.screen2-xtd-icon {
    width: 60px;
    height: auto;
    margin-top: 24px;
    margin-left: 0;
    display: block;
}
.screen2-image {
    width: 40vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.screen2-img {
    width: 100%;
    height: 100%;
    border-radius: 0 18px 0 0;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    background: #fff;
}
.screen2-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    margin-top: 8px;
}
.progress-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.progress-item {
    font-size: 22px;
    color: #fff;
    opacity: 0.6;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: opacity 0.3s, color 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.progress-item.active {
    color: #6d4c8e;
    background: #fff;
    border-radius: 8px;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.progress-item::before {
    content: '';
    display: block;
    width: 2px;
    height: 18px;
    background: #fff;
    opacity: 0.4;
    position: absolute;
    left: 50%;
    top: -22px;
    transform: translateX(-50%);
}
.progress-item:first-child::before {
    display: none;
}
.progress-item::after {
    content: '';
    display: block;
    width: 2px;
    height: 18px;
    background: #fff;
    opacity: 0.4;
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
}
.progress-item:last-child::after {
    display: none;
}
@media (max-width: 1200px) {
    .screen2-content { width: 98vw; }
    .screen2-left, .screen2-right { flex-basis: 320px; }
    /* .screen2-img { width: 260px; height: 160px; } */
}
@media (max-width: 900px) {
    .screen2-content { flex-direction: column; height: auto; }
    .screen2-left, .screen2-right { flex-basis: unset; margin: 0; }
    .screen2-card { max-width: 98vw; min-width: unset; padding: 24px 12px; }
    .screen2-img { width: 90vw; height: 120px; margin-top: 16px; }
    .screen2-progress { right: 8px; top: unset; bottom: 16px; transform: none; }
}

/* P2进度条温度计样式优化 */
.screen2-progress-bar {
    position: relative;
    width: 60px;
    height: 220px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.progress-bar-bg {
    position: absolute;
    left: 28px;
    top: 0;
    width: 8px;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    z-index: 1;
}
.progress-bar-bg::before,
.progress-bar-bg::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.progress-bar-bg::before { top: -8px; }
.progress-bar-bg::after { bottom: -7px; }
.progress-bar-fill {
    position: absolute;
    left: 28px;
    top: 0;
    width: 8px;
    height: 0;
    background: linear-gradient(to bottom, #6d4c8e, #b39ddb);
    border-radius: 8px;
    z-index: 2;
    transition: height 1s linear;
}
.progress-nodes {
    position: absolute;
    left: 32px;
    top: 0;
    width: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
}
.progress-node {
    position: relative;
    display: flex;
    align-items: center;
    height: 1px;
    transition: all 0.3s ease;
}
.progress-dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    /* border: 2px solid #fff; */
    background: transparent;
    box-sizing: border-box;
    transition: background 0.3s, border 0.3s, box-shadow 0.3s;
    z-index: 2;
}
.progress-dot.filled {
    background: #6d4c8e;
    border-color: #6d4c8e;
}
.progress-dot.active {
    box-shadow: 0 0 0 4px rgba(109,76,142,0.15);
}
.progress-num {
    margin-left: 22px;
    font-size: 20px;
    color: #fff;
    /* opacity: 0.6; */
    font-weight: bold;
    transition: all 0.3s ease;
}
.progress-node.active .progress-num {
    color: #6d4c8e;
    opacity: 1;
}

/* 左侧内容块XTD icon、链接icon样式 */
.screen2-link-row {
    display: flex;
    align-items: center;
}
.screen2-link {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
    display: inline-block;
    transition: color 0.2s;
    margin-right: 8px;
}
.screen2-link:hover {
    color: #ffe082;
    border-bottom: 1px solid #ffe082;
}
.screen2-link-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: 2px;
}
.screen2-xtd-icon {
    width: 34px;
    height: auto;
    margin-left: 0;
    display: block;
}

/* 搜索按钮样式（P1、P2通用） */
.screen2-arrow {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    cursor: pointer;
    opacity: 0.85;
    z-index: 10;
    animation: arrow-bounce 2s infinite ease-in-out;
}
.screen2-search {
    position: absolute;
    right: 48px;
    bottom: 32px;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}
.screen2-search img {
    width: 36px;
    height: 36px;
}
.screen2-search:hover {
    background: rgba(255,255,255,0.32);
}

/* 第三屏样式 */
#screen3 {
    position: relative;
    background: #fff;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.screen3-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 96vw;
    margin: 0 auto 32px auto;
    min-height: 340px;
}
.screen3-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 100px;
}
.screen3-left-top {
    margin-bottom: 32px;
}
.screen3-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.screen3-subtitle {
    font-size: 18px;
    color: #222;
    font-weight: bold;
}
.screen3-xtd-icon {
    width: 38px;
    height: auto;
}
.screen3-title {
    font-size: 24px;
    color: #6d4c8e;
    font-weight: bold;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-align: left;
}
.screen3-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.screen3-title-left {
    flex: 1;
}
.screen3-img {
    width: 82%;
    /* height: 140px; */
    /* border-radius: 12px; */
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.screen3-line {
    height: 2px;
    background: linear-gradient(90deg, #6d4c8e 0%, #a89bb3 100%);
    margin: 16px 0 16px 18%;
}
.screen3-left-bottom {
    display: flex;
    flex-direction: column;
    margin-left: 18%;
}
.screen3-info-list {
    width: 100%;
    margin-bottom: 18px;
}
.screen3-info-item {
    margin-bottom: 12px;
    border-bottom: 1px solid #a89bb3;
    padding-bottom: 12px;
    transition: all 0.4s ease;
}
.screen3-info-item:hover {
    transform: translateY(-2px);
}
.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px 0;
}
.info-title {
    font-size: 18px;
    color: #555;
    font-weight: bold;
    flex: 1;
}
.info-toggle {
    font-size: 12px;
    color: #6d4c8e;
    transition: transform 0.3s;
    margin-left: 12px;
}
.info-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
    display: none;
    margin-top: 8px;
    padding-left: 16px;
}
.screen3-info-item.active .info-toggle {
    transform: rotate(180deg);
}
.screen3-info-item.active .info-desc {
    display: block;
}
.screen3-more {
    color: #6d4c8e;
    font-size: 18px;
    text-decoration: underline;
    margin-top: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
.screen3-more:hover {
    transform: scale(1.05);
}
.screen3-more-arrow {
    width: 90px;
    height: auto;
    object-fit: contain;
}
.screen3-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}
.screen3-right-top {
    width: 100%;
    margin-bottom: 32px;
}
.screen3-num-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 40px;
    width: 100%;
    margin-top: 20%;
}
.screen3-num-item {
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.4s ease;
}
.screen3-num-item:hover {
    transform: scale(1.05);
}
.num-line {
    width: 3px;
    height: 50px;
    background: #ddd;
    margin-right: 16px;
}
.num-content {
    flex: 1;
}
.screen3-num-item .num {
    font-size: 44px;
    color: #c59b63;
    font-weight: bold;
    margin-bottom: 4px;
    letter-spacing: 2px;
}
.screen3-num-item .desc {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 0;
    line-height: 1.4;
}
.screen3-right-bottom {
    width: 100%;
}
.screen3-detail {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
    padding: 18px 0px;
}
.screen3-search {
    position: absolute;
    right: 48px;
    bottom: 32px;
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}
.screen3-search img {
    width: 36px;
    height: 36px;
}
.screen3-search:hover {
    background: rgba(255,255,255,0.32);
}
@media (max-width: 1200px) {
    .screen3-main { width: 98vw; }
    /* .screen3-img { width: 200px; height: 100px; } */
    .screen3-num-grid { gap: 16px; }
}
@media (max-width: 900px) {
    .screen3-main { flex-direction: column; align-items: flex-start; }
    .screen3-left, .screen3-right { width: 100%; margin-right: 0; }
    .screen3-img { width: 90vw; height: 120px; }
    .screen3-num-grid { grid-template-columns: 1fr; gap: 12px; }
    .screen3-right { align-items: flex-start; }
}

/* 其余屏幕和内容样式可继续补充... */ 

/* 动画相关样式 */
.screen1-search, .screen2-search, .screen3-search {
    transition: all 0.3s ease;
    cursor: pointer;
}

.screen1-search:hover, .screen2-search:hover, .screen3-search:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* 链接悬停效果 */
.screen2-link {
    transition: all 0.3s ease;
}

.screen2-link:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

/* 更多按钮动画 */
.screen3-more {
    transition: all 0.3s ease;
}

.screen3-more:hover {
    transform: scale(1.05);
}

/* 进度条节点动画 */
.progress-node {
    transition: all 0.3s ease;
}

.progress-dot {
    transition: all 0.3s ease;
}

.progress-num {
    transition: all 0.3s ease;
}

/* 信息项动画 */
.screen3-info-item {
    transition: all 0.4s ease;
}

.screen3-info-item:hover {
    transform: translateY(-2px);
}

/* 数字网格动画 */
.screen3-num-item {
    transition: all 0.4s ease;
}

.screen3-num-item:hover {
    transform: scale(1.05);
}

/* 箭头动画增强 */
.screen1-arrow, .screen2-arrow {
    animation: arrow-bounce 2s infinite ease-in-out;
}

@keyframes arrow-bounce {
    0%, 100% { 
        transform: translateX(-50%) translateY(0);
        opacity: 0.8;
    }
    50% { 
        transform: translateX(-50%) translateY(10px);
        opacity: 1;
    }
}

/* 淡入动画 */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滑动动画 */
.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 缩放动画 */
.scale-in {
    animation: scaleIn 0.8s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 标题图片放大动画 */
@keyframes title-zoom-in {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
} 
