/* ==================== Process页面样式 ==================== */
:root {
    --process-design-width: 1920px;
}

.process-page {
    background: var(--bg-white);
    height: calc(67.5rem); /* 1080px 设计稿高度，随 rem 缩放 */
    max-height: calc(67.5rem);
    overflow: hidden !important;
}
 
/* 主内容 - 固定高度 */
.main-content {
    position: relative;
    width: 100%;
    height: calc(67.5rem); /* 1080px 设计稿高度 */
    overflow: hidden !important;
    max-width: calc(130rem); /* 1920px */
    margin-left: auto;
    margin-right: auto;
}

/* ==================== PROCESS标题（顶部居中） ==================== */
.page-title {
    position: absolute;
    left: calc(60rem); /* 960px - center of 1920 */
    top: calc(9rem); /* 188px - 按Figma设计稿下沉 */
    transform: translateX(-50%);
    font-family: var(--font-family);
    font-size: calc(3rem); /* 48px */
    line-height: calc(3.5rem); /* 56px */
    letter-spacing: calc(0.12rem); /* 1.92px */
    text-transform: uppercase;
    color: var(--primary-black);
    margin: 0;
    font-weight: 700;
}

/* ==================== 流程卡片1 ==================== */
.card-1 {
    position: absolute;
    left: calc(16.67% + 2.427rem); /* 16.67% + 38.83px */
    top: calc(24% + 0rem); /* 上移：从33.33%改为25% */
    width: calc(21rem); /* 278px */
    height: calc(34rem); /* 465px */
}

/* ==================== 流程卡片2 ==================== */
.card-2 {
    position: absolute;
    left: calc(16.67% + 2.427rem + 17.375rem + 11.5rem); /* 卡片1 + 宽度 + 间距184px */
    top: calc(24% + 0rem); /* 上移：从33.33%改为25% */
    width: calc(21rem); /* 279px */
    height: calc(34rem); /* 465px */
}

/* ==================== 流程卡片3 ==================== */
.card-3 {
    position: absolute;
    left: calc(16.67% + 2.427rem + 17.375rem + 11.5rem + 17.4375rem + 11.5rem); /* 卡片2 + 宽度 + 间距 */
    top: calc(24% + 0rem); /* 上移：从33.33%改为25% */
    width: calc(21rem); /* 279px */
    height: calc(34rem); /* 465px */
}

/* ==================== 卡片通用样式 ==================== */
.process-card {
    border-left: 1px solid #d9d9d9; /* 改为左边框 */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 calc(0.8rem); /* 10px */
}

/* ==================== 卡片上部内容区 ==================== */
.card-upper {
    flex: 0 0 auto;
}

/* ==================== 卡片下部内容区 ==================== */
.card-lower {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: calc(0.625rem); /* 10px */
}

/* ==================== 卡片头部（图标+编号） ==================== */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: calc(5rem); /* 80px */
    margin-bottom: calc(0.25rem); /* 20px */
}

.icon-wrapper {
    width: calc(3.5rem); /* 80px */
    height: calc(3.5rem); /* 80px */
    flex-shrink: 0;
}

.icon-wrapper img,
.icon-wrapper svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: var(--primary-black);
    stroke: var(--primary-black);
}

.step-number {
    font-family: var(--font-family);
    font-size: calc(1.5rem); /* 24px */
    line-height: calc(2rem); /* 32px */
    color: #D9D9D9;
    text-transform: capitalize;
}

/* ==================== 步骤标题 ==================== */
.step-title {
    font-family: var(--font-family);
    font-size: calc(1.75rem); /* 24px */
    line-height: calc(2.25rem); /* 32px */
    color: var(--primary-black);
    margin: 0 0 calc(1.25rem) 0; /* 20px */
    white-space: nowrap; /* 禁止折行 */
    font-weight: 700;
    text-transform: capitalize;
}

/* ==================== 步骤描述 ==================== */
.step-description {
    font-family: DIN-regular;
    font-size: calc(1rem); /* 16px */
    line-height: calc(1.5rem); /* 24px */
    color: var(--primary-gray);
    margin: 0;
    font-weight: 400;
    text-transform: capitalize;
}

/* ==================== 详细列表 ==================== */
.step-details {
    display: flex;
    flex-direction: column;
    gap: 0; /* Figma设计稿无间距 */
}

.step-details p {
    font-family: DIN-regular;
    font-size: calc(0.8rem); /* 12px */
    line-height: calc(1.25rem); /* 20px - 按Figma设计稿 */
    color: var(--primary-gray);
    margin: 0;
    text-transform: capitalize;
}

/* ==================== Read More 链接 ==================== */
.read-more-link {
    display: flex;
    align-items: center;
    gap: calc(0.3125rem); /* 5px */
    text-decoration: none;
    transition: opacity 0.3s ease;
    width: fit-content;
}

.read-more-link:hover {
    opacity: 0.7;
}

.read-more-link span {
    font-family: DIN-regular;
    font-size: calc(1rem); /* 16px */
    line-height: calc(1.6rem); /* 24px */
    color: #404040;
    white-space: nowrap;
}

.read-more-link img {
    width: calc(1.5rem); /* 16px */
    height: calc(1.5rem); /* 16px */
    display: block;
}

/* ==================== 装饰线条 ==================== */
.decorative-line {
    position: absolute;
    left: calc(22.4375rem); /* 359px */
    top: calc(31.25rem); /* 500px */
    width: calc(75.25rem); /* 1204px */
    height: calc(8.8125rem); /* 141px */
    z-index: 10;
    pointer-events: none;
}

.decorative-line img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==================== 动画 ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(calc(-1.25rem)); /* -20px */
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(calc(1.875rem)); /* 30px */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.card-1 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.card-2 {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.card-3 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.decorative-line {
    animation: fadeInUp 1s ease-out 1s both;
}
