/* 与 pricing 一致的变量与风格 */
:root {
    --pr-primary: #29b6f6;
    --pr-deep: #04205F;
    --pr-ink: #101828;
    --pr-muted: #475467;
    --pr-bg: #f6f7fb;
    --pr-card: #ffffff;
    --pr-border: rgba(16, 24, 40, 0.10);
    --pr-shadow: 0 14px 46px rgba(16, 24, 40, 0.10);
}

.pr-hero {
    position: relative;
    padding: 120px 0 96px;
    color: #fff;
    overflow: hidden;
    background-image: url('/static/images/Gemini_Generated_Image_v36ar7v36ar7v36a.png');
    background-size: cover;
    background-position: center;
}

.pr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 18, 58, 0.82);
    pointer-events: none;
}

.pr-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.35;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
}

.pr-hero .container {
    position: relative;
    z-index: 2;
}

.pr-hero h1 {
    font-size: 3.1rem;
    font-weight: 950;
    line-height: 1.12;
    margin: 0 0 14px 0;
    color: #fff;
    letter-spacing: 0.2px;
}

.pr-hero .subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    margin: 0;
    max-width: 720px;
}

.pr-wrap {
    background: var(--pr-bg);
    padding: 64px 0;
}

.pr-title h2 {
    color: var(--pr-deep);
    font-weight: 950;
    margin: 0 0 10px 0;
}

.pr-title p {
    margin: 0;
    color: var(--pr-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* 视频网格：每行 2 个 */
.pr-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.pr-video-card {
    background: var(--pr-card);
    border: 1px solid var(--pr-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pr-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
}

.pr-video-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, rgba(41, 182, 246, 0.9), rgba(4, 32, 95, 0.9));
    opacity: 0.6;
    z-index: 1;
}

.pr-video-card .video-title {
    font-weight: 950;
    color: var(--pr-deep);
    font-size: 1.05rem;
    margin: 0;
    padding: 16px 16px 12px 20px;
    line-height: 1.4;
}

.pr-video-card .video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.pr-video-card .video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 分页 */
.pr-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
}

.pr-pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--pr-border);
    background: var(--pr-card);
    color: var(--pr-deep);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pr-pagination .page-btn:hover:not(.disabled):not(.active) {
    background: rgba(4, 32, 95, 0.06);
    border-color: rgba(4, 32, 95, 0.18);
}

.pr-pagination .page-btn.active {
    background: var(--pr-primary);
    border-color: var(--pr-primary);
    color: #fff;
    cursor: default;
}

.pr-pagination .page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pr-pagination .page-ellipsis {
    padding: 0 4px;
    color: var(--pr-muted);
    font-weight: 800;
}

.pr-pagination-info {
    width: 100%;
    text-align: center;
    color: var(--pr-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

@media (max-width: 992px) {
    .pr-hero h1 {
        font-size: 2.25rem;
    }
    .pr-hero {
        padding: 105px 0 70px;
    }
}

@media (max-width: 768px) {
    .pr-video-grid {
        grid-template-columns: 1fr;
    }
    .pr-hero {
        padding: 96px 0 56px;
    }
    .pr-hero .subtitle {
        font-size: 1.05rem;
    }
}