/* Shared styles for the product marketing pages (SvcSentinel, GitRepoWatcher). */

.pl-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a3d91 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 3.5rem 2rem;
    text-align: center;
}

.pl-hero img.pl-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3));
}

.pl-hero h1,
.pl-section-title,
.pl-cta h2 {
    text-wrap: balance;
}

.pl-hero h1 {
    font-weight: 800;
    letter-spacing: -.5px;
}

.pl-hero .pl-sub {
    max-width: 46rem;
    margin: 1rem auto 0;
    font-size: 1.2rem;
    opacity: .95;
}

.pl-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.pl-badge {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    padding: .3rem .85rem;
    font-size: .9rem;
}

.pl-hero .btn-light,
.pl-cta .btn-light {
    font-weight: 600;
}

.pl-section {
    margin-top: 4rem;
}

.pl-section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: .5rem;
}

.pl-section-lead {
    text-align: center;
    color: #6c757d;
    max-width: 44rem;
    margin: 0 auto 2rem;
}

.pl-problem {
    background: #f8f9fa;
    border-left: 5px solid #0d6efd;
    border-radius: .5rem;
    padding: 1.75rem 2rem;
}

.pl-feature {
    height: 100%;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: .75rem;
    padding: 1.5rem;
    transition: box-shadow .15s ease, transform .15s ease;
}

.pl-feature:hover {
    box-shadow: 0 .5rem 1.25rem rgba(13, 110, 253, .12);
    transform: translateY(-2px);
}

.pl-feature .pl-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    background: #e7f0ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.pl-feature h5 {
    font-weight: 700;
}

.pl-feature p {
    margin-bottom: 0;
    color: #495057;
}

.pl-shot {
    width: 100%;
    height: auto;
    border: 1px solid #d5dce6;
    border-radius: .6rem;
    box-shadow: 0 .75rem 2rem rgba(15, 27, 45, .18);
    background: #fff;
}

.pl-step {
    text-align: center;
    padding: 0 .5rem;
}

.pl-step .pl-num {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.pl-faq details {
    border: 1px solid #e3e8ef;
    border-radius: .5rem;
    padding: 1rem 1.25rem;
    margin-bottom: .75rem;
    background: #fff;
}

.pl-faq summary {
    cursor: pointer;
    font-weight: 600;
}

.pl-faq details[open] summary {
    margin-bottom: .6rem;
}

.pl-faq details p {
    margin-bottom: 0;
    color: #495057;
}

.pl-cta {
    background: linear-gradient(135deg, #0d6efd 0%, #0a3d91 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
}

@media (max-width: 576px) {
    .pl-hero {
        padding: 2.5rem 1.25rem;
    }
}

/* Click-to-play YouTube video (Components/Shared/YouTubeEmbed.razor) */
.yt-embed {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: .75rem;
    overflow: hidden;
    background: #0f1b2d;
    box-shadow: 0 .75rem 2rem rgba(15, 27, 45, .25);
}

.yt-embed iframe,
.yt-facade,
.yt-facade img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(13, 110, 253, .92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .4);
    transition: transform .15s ease, background .15s ease;
}

.yt-facade:hover .yt-play,
.yt-facade:focus-visible .yt-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #0b5ed7;
}

.pl-trial-note {
    margin: .9rem auto 0;
    max-width: 42rem;
    font-size: .92rem;
    opacity: .92;
}

.pl-trial-note a {
    color: inherit;
    text-decoration: underline;
}

/* Guides (Components/Pages/Guides/*.razor): long-form how-to articles */
.guide {
    max-width: 50rem;
    margin: 0 auto;
}

.guide h1 {
    font-weight: 800;
    letter-spacing: -.5px;
    text-wrap: balance;
}

.guide h2 {
    font-weight: 700;
    font-size: 1.6rem;
    margin-top: 2.5rem;
    text-wrap: balance;
}

.guide h3 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1.75rem;
}

.guide-crumbs {
    font-size: .9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.guide-lead {
    font-size: 1.2rem;
    color: #495057;
}

.guide-answer {
    background: #f8f9fa;
    border-left: 5px solid #0d6efd;
    border-radius: .5rem;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.guide-answer p:last-child {
    margin-bottom: 0;
}

.guide pre {
    background: #0f1b2d;
    color: #e6edf6;
    border-radius: .5rem;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    font-size: .88rem;
    line-height: 1.5;
}

.guide pre code {
    color: inherit;
    background: none;
    padding: 0;
}

.guide .table th {
    background: #f1f4f9;
}

.guide-note {
    font-size: .92rem;
    color: #6c757d;
}

.guide-cta {
    background: #e7f0ff;
    border: 1px solid #b6d0ff;
    border-radius: .75rem;
    padding: 1.5rem 1.75rem;
    margin: 2.5rem 0;
}

.guide-cta h2 {
    margin-top: 0;
    font-size: 1.35rem;
}

.guide-sources {
    font-size: .9rem;
    color: #6c757d;
}

.guide-card {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.guide-card:hover {
    color: inherit;
}
