/* RootPilot — only extras; cards use site bg-white / hosting-info */
.rp-page {
    margin-top: 0;
}

.rp-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 24px;
    background: var(--white);
    border: 2px solid var(--orange);
    margin: 12px 0 0;
}

.rp-promo__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.rp-promo__title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--dark);
}

.rp-promo__text {
    color: var(--mute);
    font-size: 16px;
    line-height: 1.45;
    max-width: 520px;
}

.rp-promo__code-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.rp-promo__code-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.rp-promo__code-row--center {
    justify-content: center;
}

.rp-promo__code {
    display: inline-flex;
    align-items: center;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--bg-color);
    color: var(--dark);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    user-select: all;
}

.rp-promo__copy {
    cursor: pointer;
    border: 0;
}

.rp-promo__hint {
    font-size: 13px;
    color: var(--mute);
}

.rp-section {
    margin-top: 60px;
}

.rp-section__title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.2;
    color: var(--dark);
    text-align: left;
}

.rp-section__subtitle {
    font-size: 18px;
    color: var(--mute);
    line-height: 1.45;
    max-width: 720px;
    margin: 0 0 28px;
}

.rp-cases {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-case {
    padding: 24px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.rp-case:hover {
    border-color: var(--blue);
}

.rp-case[data-open-scene] {
    cursor: pointer;
}

.rp-case__title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--dark);
}

.rp-case__text {
    font-size: 15px;
    line-height: 1.45;
    color: var(--mute);
}

.rp-steps {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rp-step {
    padding: 24px;
    border-radius: 20px;
    background: var(--white);
}

.rp-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-color);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--blue);
}

.rp-step__title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.rp-step__text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--mute);
}

.rp-trust {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-trust__item {
    padding: 28px 24px;
    border-radius: 20px;
    background: var(--white);
}

.rp-trust__title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.rp-trust__text {
    font-size: 15px;
    line-height: 1.45;
    color: var(--mute);
}

.rp-final.contacts-cta {
    margin-top: 60px;
    margin-bottom: 0;
    text-align: center;
}

.rp-final__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.rp-final__actions .btn {
    min-width: 220px;
}

.rp-slider-wrap {
    margin-top: 8px;
    margin-bottom: 40px;
}

.rp-slider-wrap .interface-slider {
    overflow: hidden;
    border-radius: 24px;
}

.rp-slide-ph {
    width: 100%;
    aspect-ratio: 16 / 10;
}

.rp-slide-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Price card CTA full width like DNS */
.hosting-info-total-btn {
    margin-top: 32px;
    width: 100%;
}

.rp-hosting-info + .rp-promo {
    margin-top: 12px;
}

.rp-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.rp-modal-body .rp-promo__copy {
    width: 100%;
}

.rp-demo {
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.rp-demo__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.rp-demo__tab {
    appearance: none;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--bg-color);
    color: var(--dark);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.rp-demo__tab.is-active {
    background: var(--orange);
    color: #fff;
}

.rp-demo__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 12px;
    min-height: 420px;
}

.rp-demo__chat,
.rp-demo__term {
    border-radius: 16px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.rp-demo__chat {
    background: var(--bg-color);
    padding: 16px;
}

.rp-demo__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 12px;
}

.rp-demo__log {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow: auto;
}

.rp-demo__msg {
    max-width: 94%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--dark);
}

.rp-demo__who {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 4px;
}

.rp-demo__msg--user {
    align-self: flex-end;
    background: #fff;
    border-bottom-right-radius: 4px;
}

.rp-demo__msg--bot {
    align-self: flex-start;
    background: #fff;
    border-bottom-left-radius: 4px;
    box-shadow: inset 3px 0 0 var(--orange);
}

.rp-demo__typing {
    display: inline-flex;
    gap: 4px;
    align-self: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(47, 128, 237, 0.12);
}

.rp-demo__typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    animation: rp-dot 1s infinite ease-in-out;
}

.rp-demo__typing span:nth-child(2) { animation-delay: 0.15s; }
.rp-demo__typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes rp-dot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
    40% { transform: translateY(-3px); opacity: 1; }
}

.rp-demo__term {
    background: #10141b;
    color: #d7dde6;
}

.rp-demo__term-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: #c5ceda;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rp-demo__live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3dd68c;
    box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.15);
}

.rp-demo__status {
    margin-left: auto;
    color: #8b95a5;
}

.rp-demo__status.is-ok {
    color: #7dffa1;
}

.rp-demo__log--term {
    padding: 14px 16px 18px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.55;
    gap: 2px;
}

.rp-demo__line,
.rp-demo__out {
    margin: 0;
    font: inherit;
    white-space: pre-wrap;
}

.rp-demo__line {
    color: #e8edf4;
}

.rp-demo__line.is-typing::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 1em;
    margin-left: 1px;
    vertical-align: text-bottom;
    background: #e8edf4;
    animation: rp-caret 1s steps(1) infinite;
}

.rp-demo__out {
    color: #8b95a5;
    margin: 0 0 10px;
}

@keyframes rp-caret {
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .rp-demo__typing span {
        animation: none;
    }
}

@media (max-width: 1023px) {
    .rp-cases,
    .rp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rp-trust {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .rp-promo {
        padding: 20px;
        border-radius: 16px;
    }
    .rp-promo__title {
        font-size: 22px;
    }
    .rp-promo__code {
        font-size: 18px;
        padding: 12px 16px;
    }
    .rp-cases,
    .rp-steps,
    .rp-demo__grid {
        grid-template-columns: 1fr;
    }
    .rp-demo {
        padding: 16px;
        border-radius: 16px;
    }
    .rp-section__title {
        font-size: 24px;
    }
    .rp-promo__copy {
        width: 100%;
    }
}
