.pt-wrap { max-width: 1060px; }

.pt-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-bottom: 1.4rem; }
.pt-perk { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.6rem 1.7rem; }
.pt-perk b { font-size: 2.3rem; font-weight: 700; letter-spacing: -1.2px; line-height: 1.1; background: linear-gradient(120deg, #ffffff 0%, #dfe8ff 55%, #93a9e8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-perk span { color: var(--text-dim); font-size: 0.95rem; line-height: 1.55; }

.pt-box { margin-bottom: 3.4rem; }
.pt-lead { margin-bottom: 1.2rem; color: #c9cfdc; font-size: 1rem; line-height: 1.65; }
.pt-lead b { color: #fff; font-weight: 600; }
.pt-note { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }
.pt-note.warn { margin-bottom: 1.2rem; padding: 0.8rem 1.1rem; border-radius: 14px; color: #fcd34d; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.22); }
.pt-inline-code { font-family: 'Consolas', monospace; color: var(--accent-3); letter-spacing: 0.04em; }

.pt-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.pt-wide { grid-column: 1 / -1; }
.pt-field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.pt-field > span { color: #d0d4e0; font-size: 0.88rem; font-weight: 600; }
.pt-field .promo-input { flex: none; width: 100%; }
.pt-field small { padding-left: 0.4rem; color: var(--text-dim); font-size: 0.8rem; }
.pt-input { font-family: 'Outfit', sans-serif; text-transform: none; }
select.pt-input { color-scheme: dark; cursor: pointer; }
select.pt-input option { background: #0a0c12; color: #fff; }
textarea.pt-input { border-radius: 18px; resize: vertical; min-height: 92px; line-height: 1.5; }
.pt-check { display: flex; align-items: flex-start; gap: 0.7rem; color: #c9cfdc; font-size: 0.93rem; line-height: 1.5; cursor: pointer; }
.pt-check input { flex: none; width: 18px; height: 18px; margin-top: 0.1rem; accent-color: #a9bdf0; cursor: pointer; }
.pt-check a { color: var(--accent-3); text-decoration: underline; text-decoration-color: rgba(200,215,255,0.35); text-underline-offset: 3px; }
.pt-actions { display: flex; gap: 0.7rem; margin-top: 0.3rem; }
.pt-form .promo-msg:empty { display: none; }

.pt-switch { display: inline-flex; justify-self: start; gap: 0.3rem; padding: 0.3rem; border-radius: 100px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); }
.pt-switch label { position: relative; cursor: pointer; }
.pt-switch input { position: absolute; opacity: 0; pointer-events: none; }
.pt-switch span { display: block; padding: 0.5rem 1.1rem; border-radius: 100px; color: var(--text-dim); font-size: 0.86rem; font-weight: 600; transition: background 0.2s, color 0.2s; }
.pt-switch input:checked + span { background: #f4f7ff; color: #05060a; }
.pt-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(120,155,240,0.4); }

.pt-code-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 1rem 2rem; }
.pt-code-head .card-title { margin-bottom: 0.9rem; }
.pt-code-head .pt-note { max-width: 460px; justify-self: end; text-align: right; }
.pt-code { display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.55rem 1.3rem; border-radius: 100px; border: 1px solid rgba(150,180,255,0.3); background: rgba(120,155,240,0.12); color: #fff; font-family: 'Consolas', monospace; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.06em; cursor: pointer; transition: background 0.2s; }
.pt-code:hover { background: rgba(120,155,240,0.22); }
.pt-code small { color: var(--accent-2); font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0; }

.pt-link { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.4rem; }
.pt-link span { color: var(--text-dim); font-size: 0.85rem; white-space: nowrap; }
.pt-link .promo-input { flex: 1; min-width: 0; font-family: 'Consolas', monospace; text-transform: none; letter-spacing: 0; font-size: 0.85rem; }
.pt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.8rem 0; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.pt-stats b { display: block; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pt-stats span { color: var(--text-dim); font-size: 0.8rem; }

.pt-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.2rem; margin-bottom: 1.8rem; }
.pt-sub { margin-bottom: 1rem; color: #fff; font-size: 1.02rem; font-weight: 600; }
.pt-list { display: grid; }
.pt-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid rgba(255,255,255,0.06); }
.pt-row:first-child { border-top: none; padding-top: 0; }
.pt-row b { display: block; font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pt-row small { color: var(--text-dim); font-size: 0.8rem; }
.pt-empty { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

.pt-heading { margin: 0 0 1.3rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; }
.pt-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin: 0 0 3.4rem; padding: 0; list-style: none; counter-reset: pt-step; }
.pt-steps li { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem 1.4rem; counter-increment: pt-step; }
.pt-steps li::before { content: counter(pt-step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 0.4rem; border-radius: 50%; background: #05070c; color: #fff; font-size: 0.82rem; font-weight: 700; border: 1px solid rgba(200,215,255,0.6); box-shadow: 0 0 14px rgba(120,155,240,0.4); }
.pt-steps b { font-size: 1.02rem; font-weight: 600; }
.pt-steps span { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }

@media (max-width: 960px) {
    .pt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pt-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pt-cols { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .pt-code-head { grid-template-columns: minmax(0, 1fr); }
    .pt-code-head .pt-note { justify-self: start; text-align: left; }
}
@media (max-width: 700px) {
    .pt-perks { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
    .pt-perk { padding: 1.2rem 1.3rem; }
    .pt-perk b { font-size: 1.9rem; }
    .pt-form { grid-template-columns: minmax(0, 1fr); }
    .pt-steps { grid-template-columns: minmax(0, 1fr); }
    .pt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pt-code { font-size: 1.25rem; }
    .pt-link { flex-wrap: wrap; }
    .pt-link span { flex-basis: 100%; }
    .pt-actions > * { flex: 1 1 auto; }
}
