/* Websites marketing page — extends pl-landing-v4 */
.pl-landing-websites {
    --ws-indigo: #6366f1;
    --ws-violet: #8b5cf6;
    --ws-orange: #ff8a4c;
    --ws-sky: #38bdf8;
}

.pl-landing-websites .pl-landing-slide:not(.pl-landing-slide--cta) {
    position: relative;
    overflow: hidden;
}

.pl-landing-websites .pl-landing-slide-inner,
.pl-landing-websites .pl-landing-v4-trusted {
    position: relative;
    z-index: 1;
}

/* Hero — indigo / violet / orange wash (index-style stops, different hues) */
.pl-landing-websites .pl-landing-slide--hero {
    background: linear-gradient(
        180deg,
        #f5f3ff 0%,
        #faf9ff 18%,
        #fff 42%,
        #fff 70%,
        #fff4f0 86%,
        #eef2ff 100%
    );
}

.pl-landing-websites .pl-landing-slide--hero .pl-landing-v4-blob {
    opacity: 0.2;
}

.pl-landing-websites .pl-landing-v4-blob--sites {
    width: min(400px, 58vw);
    height: min(400px, 58vw);
    background: var(--ws-indigo);
    top: -12%;
    left: -10%;
    right: auto;
}

.pl-landing-websites .pl-landing-v4-blob--indigo {
    width: min(300px, 46vw);
    height: min(300px, 46vw);
    background: var(--ws-violet);
    top: 32%;
    right: -12%;
    left: auto;
    bottom: auto;
    opacity: 0.24;
}

.pl-landing-websites-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.pl-landing-websites-blob--orange {
    width: min(260px, 40vw);
    height: min(260px, 40vw);
    background: var(--ws-orange);
    bottom: 6%;
    right: 14%;
    opacity: 0.22;
}

.pl-landing-websites-blob--speed {
    width: min(340px, 50vw);
    height: min(340px, 50vw);
    background: var(--ws-sky);
    top: -8%;
    right: -6%;
    opacity: 0.18;
}

.pl-landing-websites-blob--dev {
    width: min(320px, 48vw);
    height: min(320px, 48vw);
    background: var(--ws-violet);
    bottom: -10%;
    left: -8%;
    opacity: 0.16;
}

.pl-landing-websites-blob--workflow {
    width: min(280px, 42vw);
    height: min(280px, 42vw);
    background: var(--ws-indigo);
    top: 20%;
    right: -4%;
    opacity: 0.14;
}

.pl-landing-websites-blob--infra {
    width: min(360px, 52vw);
    height: min(360px, 52vw);
    background: #a78bfa;
    top: -14%;
    left: 38%;
    opacity: 0.15;
}

/* Section gradients — varied angles and stop positions */
.pl-landing-websites .pl-landing-slide[data-slide='1'] {
    background: linear-gradient(215deg, #fff 0%, #f5f3ff 38%, #fff4f0 100%);
}

.pl-landing-websites .pl-landing-slide[data-slide='2'] {
    background: linear-gradient(145deg, #faf5ff 0%, #fff 52%, #fff7ed 100%);
}

.pl-landing-websites .pl-landing-slide[data-slide='3'] {
    background: linear-gradient(195deg, #eef2ff 0%, #fff 55%, #fdf4ff 100%);
}

.pl-landing-websites .pl-landing-slide[data-slide='4'] {
    background: linear-gradient(170deg, #f8fafc 0%, #ede9fe 42%, #fff 100%);
}

.pl-landing-websites-hero-media {
    max-width: min(920px, 80vw);
    border: none;
    background: transparent;
}

.pl-landing-websites-hero-media video {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    transform: none;
    -webkit-transform: none;
    border-radius: 12px;
    border: none;
    box-shadow: none;
}

.pl-landing-websites-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--pl-border);
    box-shadow: none;
}

.pl-landing-websites-caption {
    margin: clamp(8px, 1.5vh, 16px) 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--pl-muted);
    text-align: center;
}

.pl-landing-websites .pl-landing-v4-visual--sites.pl-landing-v4-visual--code {
    padding: 10px;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(255, 255, 255, 0.92));
}

.pl-landing-websites .pl-landing-v4-visual--code .pl-code-window {
    box-shadow: none;
}

.pl-landing-websites .pl-code-tabs-list button.is-active {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
}

.pl-landing-websites .pl-code-window ::selection,
.pl-landing-websites .pl-code-panel ::selection {
    background: rgba(99, 102, 241, 0.45);
}

.pl-landing-websites .pl-code-panels {
    position: relative;
    height: 24em;
    min-height: 24em;
    max-height: 24em;
    overflow: hidden;
}

.pl-landing-websites .pl-code-panel {
    position: absolute;
    inset: 0;
    margin: 0;
    min-height: 0;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.pl-landing-websites .pl-code-panel[hidden] {
    display: none;
}

@media (min-width: 900px) {
    .pl-landing-websites .pl-code-panels {
        height: 24em;
        min-height: 24em;
        max-height: 24em;
    }

    .pl-landing-websites .pl-code-panel {
        min-height: 0;
    }
}

.pl-landing-websites-stack-wrap {
    margin-top: clamp(28px, 4vh, 40px);
}

.pl-landing-websites-infra .pl-landing-sub {
    max-width: 52ch;
}

.pl-landing-websites-powered {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--v4-sites);
    text-align: left;
}

.pl-landing-websites-infra .pl-landing-websites-stack-card {
    background: #fff;
    border: 1px solid var(--pl-border);
    border-radius: 0;
    box-shadow: none;
}

.pl-landing-websites-infra .pl-landing-websites-stack-card h3 {
    color: var(--v4-sites);
}

.pl-landing-websites-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
}

.pl-landing-websites-stack-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(18px, 2.5vw, 24px);
    background: #fff;
    border: 1px solid var(--pl-border);
    border-radius: 14px;
    box-shadow: none;
}

.pl-landing-websites-stack-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.pl-landing-websites-stack-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--pl-muted);
}

.pl-landing-websites-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
    margin-top: clamp(20px, 3vh, 32px);
}

.pl-landing-websites-stat {
    padding: clamp(16px, 2.5vw, 22px);
    background: #fff;
    border: 1px solid var(--pl-border);
    border-radius: 12px;
    text-align: center;
}

.pl-landing-websites-stat strong {
    display: block;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--v4-sites);
    line-height: 1.1;
}

.pl-landing-websites-stat span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--pl-muted);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .pl-landing-websites-caption {
        display: none;
    }

    .pl-landing-websites-stack,
    .pl-landing-websites-stat-row {
        grid-template-columns: 1fr;
    }
}
