/* =====================================================
   Partner Portal Page
   /css/pc/partner-portal.css
   ===================================================== */

/* HarmonyOS Sans SC 字体声明 */
@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('/fonts/HarmonyOS_Sans_SC_Regular.woff2') format('woff2'),
         url('/fonts/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 内容区域统一使用 HarmonyOS Sans SC 字体 */
.pp-hero,
.pp-procedure {
    font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ---------- Hero Banner ---------- */
.pp-hero {
    position: relative;
    width: 100%;
    min-height: 650px;
    background: url('/images/partner/portal_bg.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.pp-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.pp-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
    color: #fff;
    box-sizing: border-box;
}

.pp-hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #fff;
}

.pp-hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 24px;
    color: #fff;
}

.pp-hero-desc {
    font-size: 14px;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 0 36px;
    color: rgba(255, 255, 255, 0.9);
}

.pp-hero-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
}

.pp-hero-btn:hover {
    background: rgb(68, 168, 242);
    color: #fff;
    text-decoration: none;
}

/* ---------- Procedure Section ---------- */
.pp-procedure {
    background: #f5f5f5;
    padding: 72px 0 80px;
}

.pp-procedure-inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
}

.pp-procedure-title {
    font-size: 28px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    text-align: center;
    margin: 0 0 60px;
}

/* ---------- Steps ---------- */
.pp-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.pp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

/* 连接线（放在每个步骤右侧，最后一步除外） */
.pp-step-connector {
    position: absolute;
    top: 48px; /* 与图标中心对齐 */
    right: -50%;
    width: 100%;
    height: 1px;
    background: #ccc;
    z-index: 0;
}

.pp-step-icon-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.pp-step-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pp-step:hover .pp-step-icon {
    border-color: rgb(68, 168, 242);
    box-shadow: 0 4px 16px rgba(68, 168, 242, 0.15);
}

.pp-step-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.pp-step-body {
    text-align: center;
    padding: 0 8px;
}

.pp-step-title {
    font-size: 15px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    margin: 0 0 8px;
    line-height: 1.4;
}

.pp-step-desc {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    margin: 0;
}
