/* ===== Panel Page ===== */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.page-hero__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.1;
    margin: 16px 0 20px;
}

.page-hero__accent {
    background: linear-gradient(135deg, var(--gold), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero__desc {
    font-size: 18px;
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.ph-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ph-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-2);
}

.ph-check {
    color: var(--green);
    font-weight: 700;
}

/* ===== Panel Page Sections ===== */
.panel-page {
    padding: 40px 0 80px;
}

.pp-cat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 24px;
    transition: border-color 0.3s ease;
}

.pp-cat:hover {
    border-color: var(--border-2);
}

.pp-cat--premium {
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    border-color: rgba(212, 168, 75, 0.2);
}

.pp-cat__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.pp-cat__icon-wrap {
    width: 56px;
    height: 56px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    flex-shrink: 0;
}

.pp-cat__icon-wrap--gold {
    background: rgba(212, 168, 75, 0.08);
    border-color: rgba(212, 168, 75, 0.2);
}

.pp-cat__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
}

.pp-cat__sub {
    font-size: 13px;
    color: var(--text-3);
    margin-top: 5px;
}

.pp-cat__count {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-3);
    padding: 6px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    white-space: nowrap;
}

.pp-cat__count--gold {
    color: var(--gold-2);
    background: rgba(212, 168, 75, 0.08);
    border-color: rgba(212, 168, 75, 0.2);
}

.pp-cat__desc {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 860px;
}

/* Modules Grid */
.pp-modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.pp-modules--wide {
    grid-template-columns: repeat(4, 1fr);
}

.pp-mod {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.pp-mod:hover {
    border-color: rgba(212, 168, 75, 0.2);
    transform: translateY(-2px);
    background: var(--surface-3);
}

.pp-mod__icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pp-mod strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.pp-mod p {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.5;
}

/* ===== Highlights ===== */
.pp-highlights-section {
    padding: 0 0 80px;
}

.pp-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pp-hl {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.pp-hl:hover {
    border-color: rgba(212, 168, 75, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.pp-hl__icon {
    font-size: 36px;
    display: block;
    margin-bottom: 16px;
}

.pp-hl h4 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gold-2);
}

.pp-hl p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}

.pp-hl p code {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 2px 7px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--gold-2);
}

/* nav active */
.nav-active { color: var(--gold-2) !important; }
.nav-active::after { width: 100% !important; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .pp-modules,
    .pp-modules--wide {
        grid-template-columns: repeat(2, 1fr);
    }

    .pp-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pp-cat {
        padding: 24px 20px;
    }

    .pp-modules,
    .pp-modules--wide {
        grid-template-columns: 1fr;
    }

    .pp-highlights {
        grid-template-columns: 1fr;
    }

    .pp-cat__count {
        display: none;
    }

    .ph-badges {
        flex-direction: column;
        align-items: center;
    }
}
