/* Shared shell for internal pages — same design tokens as home export */

.pg-shell {
    padding-block: 80px;
}

.pg-hero {
    position: relative;
    overflow: hidden;
    border-radius: 19px;
    background:
        radial-gradient(ellipse 70% 60% at 50% -10%, rgba(106, 25, 255, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, #f8f6ff 0%, #fff 100%);
    padding: 72px 24px 64px;
    text-align: center;
    margin-bottom: 80px;
}

.pg-hero--dark {
    background:
        radial-gradient(ellipse 70% 55% at 50% 100%, rgba(180, 120, 255, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 15% 30%, rgba(106, 25, 255, 0.45) 0%, transparent 50%),
        linear-gradient(180deg, #4a0fb8 0%, #3a0a8f 45%, #2d0870 100%);
    color: #fff;
}

.pg-hero--dark .pg-hero__badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.pg-hero--dark .pg-hero__title {
    color: #fff;
}

.pg-hero--dark .pg-hero__desc {
    color: rgba(255, 255, 255, 0.88);
}

.pg-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(106, 25, 255, 0.08);
    border: 1px solid rgba(106, 25, 255, 0.16);
    color: #6819fa;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
}

.pg-hero__title {
    font-size: 48px;
    line-height: 60px;
    font-weight: 500;
    color: #181d27;
    letter-spacing: -0.96px;
    margin-bottom: 16px;
}

.pg-hero__desc {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #414651;
    max-width: 720px;
    margin-inline: auto  ;
    margin-bottom: 32px;
}

.pg-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pg-section {
    margin-bottom: 80px;
}

.pg-head {
    text-align: center;
    margin-bottom: 48px;
}

.pg-head__badge {
    font-size: 14px;
    line-height: 20px;
    color: #6819fa;
    margin-bottom: 8px;
}

.pg-head__title {
    font-size: 30px;
    line-height: 38px;
    font-weight: 500;
    color: #181d27;
    margin-bottom: 8px;
}

.pg-head__desc {
    font-size: 16px;
    color: #414651;
}

.pg-card {
    background: #fff;
    border: 1px solid #e9eaeb;
    border-radius: 12px;
    padding: 32px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 24px rgba(106, 25, 255, 0.08);
}

.pg-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pg-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

.pg-cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, #8855ff 50%, #6a19ff 96.667%);
    padding: 64px 48px;
    text-align: center;
    color: #fff;
}

@media (max-width: 1024px) {
    .pg-grid-3,
    .pg-grid-2 {
        grid-template-columns: 1fr;
    }

    .pg-hero__title {
        font-size: 32px;
        line-height: 42px;
    }
}

@media (max-width: 768px) {
    .pg-shell {
        padding-block: 48px;
    }

    .pg-hero {
        padding: 48px 16px 40px;
        margin-bottom: 48px;
        border-radius: 16px;
    }

    .pg-hero__title {
        font-size: 26px;
        line-height: 36px;
        letter-spacing: -0.4px;
    }

    .pg-hero__desc {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 24px;
    }

    .pg-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .pg-hero__actions > * {
        width: 100%;
        max-width: 320px;
    }

    .pg-section {
        margin-bottom: 48px;
    }

    .pg-head {
        margin-bottom: 28px;
    }

    .pg-head__title {
        font-size: 22px;
        line-height: 30px;
    }

    .pg-card {
        padding: 24px 16px;
    }

    .pg-cta-box {
        padding: 40px 20px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .pg-hero__title {
        font-size: 22px;
        line-height: 32px;
    }
}
