/* SnapEX Pay landing (pay.snapex.pro/). Modal and language switch come from exchange.css. */

body.pl-page {
    --pl-ink: #0b1324;
    --pl-ink-2: #111c33;
    --pl-text: #1e293b;
    --pl-muted: #5b6b82;
    --pl-line: #e3e8ef;
    --pl-bg: #ffffff;
    --pl-bg-alt: #f5f7fa;
    --pl-accent: #10b981;
    --pl-accent-2: #059669;
    --pl-accent-soft: rgba(16, 185, 129, 0.1);
    --pl-radius: 16px;
    --pl-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    --pl-shadow-lg: 0 30px 80px rgba(2, 8, 23, 0.45);
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--pl-text);
    background: var(--pl-bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

.pl-page h1,
.pl-page h2,
.pl-page h3,
.pl-page h4 {
    color: var(--pl-ink);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.pl-page p {
    margin: 0;
}

.pl-page a {
    color: inherit;
}

.pl-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.pl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.pl-btn:hover {
    transform: translateY(-1px);
}

.pl-btn--sm {
    padding: 8px 14px;
    font-size: 14px;
}

.pl-btn--lg {
    padding: 15px 26px;
    font-size: 16px;
}

.pl-page .pl-btn--primary {
    background: var(--pl-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.pl-page .pl-btn--primary:hover {
    background: var(--pl-accent-2);
}

.pl-page .pl-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.pl-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.pl-page .pl-btn--dark {
    background: var(--pl-ink);
    color: #fff;
}

.pl-btn--dark:hover {
    background: #1d2a45;
}

.pl-page .pl-btn--light {
    background: #fff;
    color: var(--pl-ink);
}

.pl-link-btn {
    background: none;
    border: 0;
    padding: 8px 6px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
    opacity: 0.85;
}

.pl-link-btn:hover {
    opacity: 1;
}

/* Header */
.pl-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: rgba(7, 14, 28, 0.72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.2s, box-shadow 0.2s;
}

.pl-header.is-scrolled {
    background: rgba(7, 14, 28, 0.92);
    box-shadow: 0 6px 24px rgba(2, 8, 23, 0.25);
}

.pl-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
}

.pl-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    color: #fff !important;
}

.pl-logo b {
    color: var(--pl-accent);
    font-weight: 800;
}

.pl-logo .ex-logo-mark svg {
    display: block;
}

.pl-nav {
    display: flex;
    gap: 24px;
    margin-inline-start: 8px;
}

.pl-nav a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
}

.pl-nav a:hover {
    color: #fff;
}

.pl-header__aside {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-inline-start: auto;
}

/* The header text is white; keep the dropdown's own dark text (".pl-page a" would inherit white). */
.pl-page .ex-lang-option {
    color: var(--ex-text-primary);
}

.pl-page .ex-lang-option.is-active {
    color: #047857;
}

.pl-header .ex-lang-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.pl-header .ex-lang-btn:hover,
.pl-header .ex-lang[open] > .ex-lang-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Hero */
.pl-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(16, 185, 129, 0.22), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(59, 130, 246, 0.16), transparent 60%),
        linear-gradient(180deg, #07101f 0%, #0b1730 100%);
    padding: 72px 0 96px;
    margin-top: -68px;
    padding-top: 140px;
}

.pl-hero__glow {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
    pointer-events: none;
}

.pl-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
}

.pl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pl-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pl-accent);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.pl-hero__title {
    margin: 22px 0 20px !important;
    font-size: clamp(38px, 5.4vw, 62px);
    font-weight: 800;
    letter-spacing: -0.035em !important;
    line-height: 1.04 !important;
    color: #fff !important;
}

.pl-hero__lead {
    max-width: 560px;
    font-size: 18px;
    color: rgba(226, 232, 240, 0.82);
}

.pl-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.pl-hero__note {
    margin-top: 16px !important;
    font-size: 14px;
    color: rgba(226, 232, 240, 0.6);
}

.pl-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 44px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 560px;
}

.pl-stats div + div {
    padding-inline-start: 20px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
}

.pl-stats dt {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.pl-stats dd {
    margin: 2px 0 0;
    font-size: 13px;
    color: rgba(226, 232, 240, 0.6);
}

/* Checkout mock */
.pl-checkout {
    position: relative;
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    color: var(--pl-text);
    box-shadow: var(--pl-shadow-lg);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}

html[dir="rtl"] .pl-checkout {
    transform: perspective(1400px) rotateY(6deg) rotateX(2deg);
}

.pl-checkout::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 23px;
    padding: 1px;
    background: linear-gradient(140deg, rgba(16, 185, 129, 0.7), rgba(59, 130, 246, 0.3) 50%, transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pl-checkout__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--pl-line);
}

.pl-checkout__head strong {
    display: block;
    font-size: 15px;
    color: var(--pl-ink);
}

.pl-checkout__head span {
    font-size: 13px;
    color: var(--pl-muted);
}

.pl-checkout__avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
}

.pl-checkout__amount {
    margin-inline-start: auto;
    font-size: 22px !important;
    font-weight: 800;
    color: var(--pl-ink) !important;
}

.pl-checkout__label {
    margin: 18px 0 10px !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pl-muted);
}

.pl-checkout__coins {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pl-checkout__coins span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid var(--pl-line);
    font-size: 13px;
    font-weight: 600;
    color: var(--pl-ink);
}

.pl-checkout__coins span.is-active {
    border-color: var(--pl-accent);
    background: var(--pl-accent-soft);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.pl-checkout__coins small {
    font-size: 10px;
    font-weight: 600;
    color: var(--pl-muted);
}

.pl-coin {
    flex: none;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.pl-coin--usdt { background: #26a17b; }
.pl-coin--btc { background: #f7931a; }
.pl-coin--eth { background: #627eea; }
.pl-coin--ton { background: #0098ea; font-size: 9px; }
.pl-coin--more { background: #94a3b8; }

.pl-checkout__pay {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: var(--pl-bg-alt);
}

.pl-checkout__qr {
    flex: none;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    width: 84px;
    height: 84px;
    padding: 6px;
    border-radius: 8px;
    background: #fff;
}

.pl-checkout__qr i {
    border-radius: 1px;
}

.pl-checkout__qr i.on {
    background: var(--pl-ink);
}

.pl-checkout__fields {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pl-checkout__fields span {
    font-size: 12px;
    color: var(--pl-muted);
}

.pl-checkout__fields code {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 14px;
    font-weight: 500;
    color: var(--pl-ink);
    margin-bottom: 6px;
}

.pl-checkout__status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.08);
}

.pl-checkout__status strong {
    display: block;
    font-size: 14px;
    color: #047857;
}

.pl-checkout__status span:not(.pl-check) {
    font-size: 12px;
    color: var(--pl-muted);
}

.pl-check {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pl-accent);
}

.pl-check svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Trust strip */
.pl-trust {
    border-bottom: 1px solid var(--pl-line);
    background: #fff;
}

.pl-trust .pl-container {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.pl-trust p {
    flex: none;
    max-width: 200px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pl-muted);
}

.pl-trust ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pl-trust li img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 5px;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.2s, opacity 0.2s;
}

.pl-trust li img[src*="/xui."] {
    padding: 2px;
    background: #0b1324;
}

.pl-trust li:hover img {
    filter: none;
    opacity: 1;
}

.pl-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: -0.01em;
}

/* Sections */
.pl-section {
    padding: 96px 0;
    scroll-margin-top: 68px;
}

.pl-section--alt {
    background: var(--pl-bg-alt);
}

.pl-section--dark {
    color: #fff;
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(16, 185, 129, 0.16), transparent 60%),
        var(--pl-ink);
}

.pl-section__head {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
}

.pl-section__head--left {
    margin: 0;
    text-align: start;
}

.pl-section__head h2,
.pl-section h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
}

.pl-section__head p {
    margin-top: 14px;
    font-size: 17px;
    color: var(--pl-muted);
}

.pl-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pl-accent-2);
}

.pl-kicker--light {
    color: #6ee7b7;
}

/* Steps */
.pl-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.pl-step {
    position: relative;
    padding: 28px;
    border-radius: var(--pl-radius);
    border: 1px solid var(--pl-line);
    background: #fff;
}

.pl-step__num {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    border-radius: 12px;
    font-weight: 800;
    color: var(--pl-accent-2);
    background: var(--pl-accent-soft);
}

.pl-step h3,
.pl-feature h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pl-step p,
.pl-feature p {
    font-size: 15px;
    color: var(--pl-muted);
}

/* Features */
.pl-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pl-feature {
    padding: 28px;
    border-radius: var(--pl-radius);
    background: #fff;
    border: 1px solid var(--pl-line);
    box-shadow: var(--pl-shadow);
}

.pl-feature__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #0ea5e9);
}

.pl-feature__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Modules */
.pl-module__group {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: var(--pl-muted);
}

.pl-modules {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.pl-module {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: var(--pl-radius);
    border: 1px solid var(--pl-line);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.pl-module:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: var(--pl-shadow);
    transform: translateY(-2px);
}

.pl-module__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pl-module__top h4 {
    font-size: 16px;
    font-weight: 700;
}

.pl-module__mark {
    flex: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background: #334155;
}

/* Real product logos sit on a light tile; the coloured letter tiles stay as a fallback. */
.pl-module__mark--logo {
    padding: 6px;
    background: #fff;
    border: 1px solid var(--pl-line);
}

.pl-module__mark--logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* App-tile style logos already carry their own background: let them fill the tile. */
.pl-module__mark--paymenter,
.pl-module__mark--remnawave,
.pl-module__mark--woocommerce {
    padding: 0;
    border: 0;
    overflow: hidden;
}

.pl-module__mark--xui {
    background: #0b1324;
    border-color: #0b1324;
    padding: 4px;
}

.pl-module__mark--xboard { background: #0f172a; }

.pl-badge {
    margin-inline-start: auto;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #047857;
    background: var(--pl-accent-soft);
}

.pl-module p {
    flex: 1;
    font-size: 14px;
    color: var(--pl-muted);
}

.pl-module__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.pl-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 8px;
    border: 1px solid var(--pl-line);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--pl-ink) !important;
    background: var(--pl-bg-alt);
    transition: border-color 0.15s, background-color 0.15s;
}

.pl-chip:hover {
    border-color: var(--pl-ink);
    background: #fff;
}

.pl-chip svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pl-gh {
    width: 16px;
    height: 16px;
    flex: none;
}

.pl-chip .pl-gh {
    stroke: none;
}

.pl-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
    padding: 28px 32px;
    border-radius: var(--pl-radius);
    border: 1px dashed #cbd5e1;
    background: var(--pl-bg-alt);
}

.pl-custom h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.pl-custom p {
    color: var(--pl-muted);
}

/* GitHub */
.pl-github {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: center;
}

.pl-github h2 {
    color: #fff !important;
}

.pl-github__copy p {
    margin: 16px 0 28px !important;
    font-size: 17px;
    color: rgba(226, 232, 240, 0.72);
}

.pl-repos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pl-repos a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: #e2e8f0;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 13px;
    transition: border-color 0.15s, background-color 0.15s;
}

.pl-repos a:hover {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(16, 185, 129, 0.08);
}

.pl-repos span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pl-repos small {
    font-size: inherit;
    color: rgba(148, 163, 184, 0.8);
}

.pl-repos__arrow {
    width: 15px;
    height: 15px;
    flex: none;
    margin-inline-start: auto;
    fill: none;
    stroke: rgba(148, 163, 184, 0.8);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html[dir="rtl"] .pl-repos__arrow {
    transform: scaleX(-1);
}

/* Developers */
.pl-dev {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: center;
}

.pl-dev__copy p {
    margin: 16px 0 22px !important;
    font-size: 17px;
    color: var(--pl-muted);
}

.pl-ticks {
    display: grid;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.pl-ticks li {
    position: relative;
    padding-inline-start: 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--pl-text);
}

.pl-ticks li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat,
        var(--pl-accent-soft);
}

.pl-code {
    overflow: hidden;
    border-radius: var(--pl-radius);
    background: #0b1324;
    box-shadow: var(--pl-shadow-lg);
    direction: ltr;
    text-align: left;
}

.pl-code__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #111c33;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pl-code__bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
}

.pl-code__bar span {
    margin-inline-start: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.pl-code__bar--sub {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pl-code__bar--sub span {
    margin: 0;
}

.pl-code pre {
    margin: 0;
    padding: 18px 20px;
    overflow-x: auto;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #cbd5e1;
}

.pl-code .c-cmd { color: #6ee7b7; }
.pl-code .c-str { color: #fcd34d; }
.pl-code .c-key { color: #93c5fd; }

/* Pricing */
.pl-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--pl-line);
    box-shadow: var(--pl-shadow);
}

.pl-price__main {
    padding: 44px;
    color: #fff;
    background:
        radial-gradient(400px 260px at 100% 0%, rgba(16, 185, 129, 0.35), transparent 70%),
        var(--pl-ink);
}

.pl-price__value {
    display: block;
    font-size: 76px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.pl-price__label {
    display: block;
    margin-top: 8px;
    font-size: 17px;
    font-weight: 600;
    color: #6ee7b7;
}

.pl-price__main p {
    margin-top: 18px !important;
    font-size: 15px;
    color: rgba(226, 232, 240, 0.72);
}

.pl-price__side {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* FAQ */
.pl-faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 56px;
    align-items: start;
}

.pl-faq {
    display: grid;
    gap: 10px;
}

.pl-faq details {
    border-radius: 14px;
    border: 1px solid var(--pl-line);
    background: #fff;
    transition: border-color 0.15s;
}

.pl-faq details[open] {
    border-color: rgba(16, 185, 129, 0.45);
}

.pl-faq summary {
    position: relative;
    padding: 18px 52px 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pl-ink);
    cursor: pointer;
    list-style: none;
}

html[dir="rtl"] .pl-faq summary {
    padding: 18px 20px 18px 52px;
}

.pl-faq summary::-webkit-details-marker {
    display: none;
}

.pl-faq summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--pl-muted);
}

.pl-faq details[open] summary::after {
    content: "−";
}

.pl-faq details p {
    padding: 0 20px 18px;
    font-size: 15px;
    color: var(--pl-muted);
}

/* Final CTA */
.pl-final {
    padding: 0 0 96px;
}

.pl-final__inner {
    padding: 64px 32px;
    border-radius: 28px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(16, 185, 129, 0.35), transparent 70%),
        linear-gradient(180deg, #0b1730, #07101f);
}

.pl-final h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    color: #fff !important;
}

.pl-final p {
    max-width: 560px;
    margin: 14px auto 0 !important;
    font-size: 17px;
    color: rgba(226, 232, 240, 0.75);
}

.pl-final .pl-hero__actions {
    justify-content: center;
}

/* Footer */
.pl-footer {
    padding: 36px 0;
    border-top: 1px solid var(--pl-line);
    background: #fff;
}

.pl-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
}

.pl-logo--footer {
    color: var(--pl-ink) !important;
    font-size: 16px;
}

.pl-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.pl-footer__links a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--pl-muted);
}

.pl-footer__links a:hover {
    color: var(--pl-ink);
}

.pl-footer p {
    margin-inline-start: auto;
    font-size: 13px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 1024px) {
    .pl-nav {
        display: none;
    }

    .pl-hero__grid,
    .pl-github,
    .pl-dev,
    .pl-faq-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .pl-checkout {
        max-width: 520px;
        transform: none !important;
    }

    .pl-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .pl-container {
        padding: 0 18px;
    }

    .pl-header__inner {
        gap: 12px;
    }

    .pl-link-btn {
        display: none;
    }

    .pl-hero {
        padding-top: 116px;
        padding-bottom: 72px;
    }

    .pl-hero__lead {
        font-size: 16px;
    }

    .pl-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }

    .pl-stats div:nth-child(3) {
        padding-inline-start: 0;
        border-inline-start: 0;
    }

    .pl-trust .pl-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pl-trust p {
        max-width: none;
    }

    .pl-section {
        padding: 68px 0;
    }

    .pl-steps,
    .pl-features,
    .pl-repos,
    .pl-price {
        grid-template-columns: minmax(0, 1fr);
    }

    .pl-custom {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .pl-price__main,
    .pl-price__side {
        padding: 32px 24px;
    }

    .pl-final {
        padding-bottom: 68px;
    }

    .pl-final__inner {
        padding: 48px 22px;
        border-radius: 22px;
    }

    .pl-footer p {
        margin-inline-start: 0;
    }

    .pl-checkout__coins {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .pl-header .pl-btn--sm {
        padding: 7px 10px;
        font-size: 13px;
    }

    .pl-hero__actions .pl-btn {
        width: 100%;
    }
}

/* Integration pages: /integrations/{slug} */
.pl-int-hero { padding: 120px 0 56px; background: linear-gradient(180deg, var(--pl-bg-alt), var(--pl-bg)); }
.pl-int-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 14px 0 16px; color: var(--pl-ink); }
.pl-int-hero .pl-hero__lead { max-width: 760px; color: var(--pl-muted); }
.pl-int-hero .pl-hero__note { color: var(--pl-muted); }
.pl-int-grid h2, #install h2, .pl-int-others-wrap h2 { margin-bottom: 18px; }
.pl-int-hero__top { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.pl-int-crumbs { font-size: 14px; color: var(--pl-muted); }
.pl-int-crumbs a { color: var(--pl-muted); text-decoration: none; }
.pl-int-crumbs a:hover { color: var(--pl-accent-2); }
.pl-int-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pl-int-req { background: var(--pl-bg-alt); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); padding: 22px 24px; }
.pl-int-req h3 { margin: 0 0 8px; font-size: 17px; }
.pl-int-req a { color: var(--pl-accent-2); font-weight: 600; text-decoration: none; }
.pl-int-steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0 32px; display: grid; gap: 12px; }
.pl-int-steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 60px; background: var(--pl-bg); border: 1px solid var(--pl-line); border-radius: 12px; line-height: 1.55; }
.pl-int-steps li::before { content: counter(step); position: absolute; left: 18px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--pl-accent-soft); color: var(--pl-accent-2); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pl-int-table { width: 100%; border-collapse: collapse; background: var(--pl-bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--pl-line); }
.pl-int-table th, .pl-int-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--pl-line); vertical-align: top; }
.pl-int-table th { width: 30%; color: var(--pl-ink); font-weight: 600; white-space: nowrap; }
.pl-int-others { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pl-page main :not(pre) > code { font-family: "JetBrains Mono", monospace; font-size: .88em; background: var(--pl-bg-alt); border: 1px solid var(--pl-line); border-radius: 6px; padding: 1px 5px; word-break: break-word; }
@media (max-width: 860px) {
    .pl-int-grid { grid-template-columns: 1fr; }
    .pl-int-table th { white-space: normal; }
}
