/* Reseller hosting page - matches mockup */
/* Hero banner styles live in main.css (.page-hero). */

/* —— Pricing —— */
.reseller-pricing {
    padding: clamp(2.75rem, 5vw, 4rem) 0;
    background: #f7fbff;
}

.reseller-pricing__title {
    margin: 0 0 1.75rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0b1c2c;
}

.reseller-pricing__grid {
    display: grid;
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 960px) {
    .reseller-pricing__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.35rem;
        align-items: center;
    }
}

.reseller-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1.6rem 1.35rem 1.4rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(160, 195, 225, 0.45);
    box-shadow: 0 14px 34px rgba(20, 55, 100, 0.07);
}

.reseller-plan--featured {
    background: linear-gradient(180deg, #041428 0%, #071a32 100%);
    border-color: rgba(0, 174, 239, 0.55);
    box-shadow:
        0 0 0 1px rgba(0, 174, 239, 0.25),
        0 22px 48px rgba(0, 120, 200, 0.28);
    color: #fff;
    z-index: 1;
}

@media (min-width: 960px) {
    .reseller-plan--featured {
        transform: scale(1.04);
        padding-block: 1.9rem;
    }
}

.reseller-plan__badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    margin: 0;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 174, 239, 0.18);
    border: 1px solid rgba(0, 174, 239, 0.45);
    color: #7dd3fc;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reseller-plan__icon {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    background: rgba(0, 174, 239, 0.1);
    color: #00aeef;
}

.reseller-plan--featured .reseller-plan__icon {
    background: rgba(0, 174, 239, 0.18);
    color: #5fd0f5;
}

.reseller-plan__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b1c2c;
}

.reseller-plan--featured .reseller-plan__name {
    color: #fff;
}

.reseller-plan__sub {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: #5a6b7d;
}

.reseller-plan--featured .reseller-plan__sub {
    color: rgba(190, 210, 230, 0.8);
}

.reseller-plan__price {
    margin: 1rem 0 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.35rem;
    font-family: var(--font-display);
    font-weight: 800;
    color: #0b1c2c;
}

.reseller-plan--featured .reseller-plan__price {
    color: #fff;
}

.reseller-plan__currency {
    font-size: 1.15rem;
}

.reseller-plan__int {
    font-size: clamp(2.1rem, 3vw, 2.55rem);
    letter-spacing: -0.03em;
    line-height: 1;
}

.reseller-plan__frac {
    font-size: 1.15rem;
}

.reseller-plan__period {
    width: 100%;
    font-family: var(--font-body, inherit);
    font-size: 0.88rem;
    font-weight: 550;
    color: #6b7c8f;
}

.reseller-plan--featured .reseller-plan__period {
    color: rgba(190, 210, 230, 0.75);
}

.reseller-plan__features {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    flex: 1 1 auto;
}

.reseller-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 550;
    color: #1a2b3c;
    line-height: 1.35;
}

.reseller-plan--featured .reseller-plan__features li {
    color: rgba(230, 240, 250, 0.92);
}

.reseller-plan__features li::before {
    content: "";
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.2 8.2l2.3 2.3 5.3-5.3' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 0.65rem no-repeat,
        #0a84ff;
}

.reseller-plan__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1.1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
    text-align: center;
    border: 1.5px solid #00aeef;
    background: #fff;
    color: #00aeef;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.reseller-plan__btn:hover {
    background: rgba(0, 174, 239, 0.08);
    color: #0096d1;
}

.reseller-plan--featured .reseller-plan__btn {
    background: #00aeef;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 174, 239, 0.32);
}

.reseller-plan--featured .reseller-plan__btn:hover {
    background: #0096d1;
    color: #fff;
}

.reseller-pricing__note {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 0.92rem;
    color: #5a6b7d;
}

.reseller-pricing__note a {
    color: #00aeef;
    font-weight: 650;
}

.reseller-guide {
    max-width: 46rem;
    margin: 2rem auto 0;
    text-align: left;
    color: #334155;
    line-height: 1.55;
}

.reseller-guide h2 {
    margin: 0 0 0.6rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 800;
    color: #0b1c2c;
}

.reseller-guide ul {
    margin: 0.8rem 0;
    padding-left: 1.2rem;
}

.reseller-guide a {
    color: #00aeef;
    font-weight: 700;
}

/* —— Split feature bands —— */
.reseller-split {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 6vw, 4.75rem) 0;
}

.reseller-split--get,
.reseller-split--unlimited {
    background: #fff;
}

.reseller-split--migrate {
    background: linear-gradient(180deg, #020b18 0%, #041428 100%);
    color: #fff;
}

.reseller-split__glow {
    position: absolute;
    left: 18%;
    top: 50%;
    width: 28rem;
    height: 18rem;
    transform: translate(-30%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.22), transparent 68%);
    pointer-events: none;
}

.reseller-split__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .reseller-split__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2.5rem 3rem;
    }

    .reseller-split__grid--reverse .reseller-split__visual {
        order: 1;
    }

    .reseller-split__grid--reverse .reseller-split__copy {
        order: 2;
    }
}

.reseller-split__rule {
    width: 2.75rem;
    height: 3px;
    margin: 0 0 0.85rem;
    border-radius: 999px;
    background: #00aeef;
}

.reseller-split__copy h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #0b1c2c;
}

.reseller-split--migrate .reseller-split__copy h2 {
    color: #fff;
}

.reseller-split__copy h2 span {
    color: #00aeef;
}

.reseller-split--migrate .reseller-split__copy h2 span {
    color: #5fd0f5;
}

.reseller-split__lead {
    margin: 0.85rem 0 0;
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #5a6b7d;
}

.reseller-split--migrate .reseller-split__lead {
    color: rgba(198, 214, 230, 0.82);
}

.reseller-split__lead a {
    color: #00aeef;
    font-weight: 650;
}

.reseller-split__checks {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.reseller-split__checks li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2b3c;
    line-height: 1.4;
}

.reseller-split--migrate .reseller-split__checks li {
    color: rgba(235, 244, 255, 0.95);
}

.reseller-split__checks li::before {
    content: "";
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.12rem;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.2 8.2l2.3 2.3 5.3-5.3' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 0.7rem no-repeat,
        #0a84ff;
}

.reseller-split__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.reseller-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.85rem;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.reseller-btn--primary {
    background: linear-gradient(135deg, #1ec8ff 0%, #00aeef 55%, #0090d0 100%);
    color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 10px 24px rgba(0, 174, 239, 0.28);
}

.reseller-btn--primary:hover {
    background: linear-gradient(135deg, #00aeef 0%, #0096d1 100%);
    color: #fff;
}

.reseller-btn--secondary {
    background: #fff;
    color: #0b1c2c;
    border: 1.5px solid rgba(0, 174, 239, 0.45);
}

.reseller-btn--secondary:hover {
    border-color: #00aeef;
    color: #0b1c2c;
}

.reseller-split__copy > .reseller-btn {
    margin-top: 1.5rem;
}

.reseller-split__visual {
    position: relative;
    min-height: 18rem;
}

.reseller-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 22rem);
    margin-left: auto;
    border-radius: 16px;
    overflow: hidden;
    background: #0b1c2f;
    border: 1px solid rgba(120, 180, 230, 0.25);
    box-shadow: 0 24px 48px rgba(10, 40, 80, 0.25);
    transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
}

.reseller-panel__chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.85rem;
    background: #12263d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.reseller-panel__chrome span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #4b6280;
}

.reseller-panel__chrome span:nth-child(1) { background: #f87171; }
.reseller-panel__chrome span:nth-child(2) { background: #fbbf24; }
.reseller-panel__chrome span:nth-child(3) { background: #34d399; }

.reseller-panel__chrome strong {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(200, 220, 240, 0.75);
}

.reseller-panel__body {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    min-height: 12rem;
}

.reseller-panel__nav {
    display: grid;
    gap: 0.55rem;
    align-content: start;
    padding: 0.85rem 0.55rem;
    background: #0a1728;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.reseller-panel__nav i {
    display: block;
    width: 100%;
    height: 1.35rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
}

.reseller-panel__nav i.is-active {
    background: rgba(0, 174, 239, 0.35);
}

.reseller-panel__main {
    padding: 0.9rem;
}

.reseller-panel__main > p {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(220, 235, 250, 0.9);
}

.reseller-panel__rows {
    display: grid;
    gap: 0.5rem;
}

.reseller-panel__rows span {
    display: block;
    height: 1.7rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.reseller-modal {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0.5rem;
    width: min(100%, 15.5rem);
    padding: 1rem 1.05rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(180, 210, 235, 0.55);
    box-shadow: 0 18px 40px rgba(20, 55, 100, 0.16);
}

.reseller-modal__title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0b1c2c;
}

.reseller-modal label {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    font-weight: 650;
    color: #5a6b7d;
}

.reseller-modal label em {
    display: block;
    height: 1.55rem;
    border-radius: 7px;
    background: #f0f6fb;
    border: 1px solid rgba(180, 210, 235, 0.55);
    font-style: normal;
}

.reseller-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.35rem;
    min-height: 2rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    background: #00aeef;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 750;
}

/* Migrations visual */
.reseller-migrate-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    min-height: 18rem;
    padding: 1rem 0.5rem 2rem;
}

.reseller-migrate-visual__from {
    position: relative;
    z-index: 1;
}

.reseller-migrate-visual__icons {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    justify-content: center;
}

.reseller-migrate-visual__icons span {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 8px;
    background: rgba(0, 174, 239, 0.18);
    border: 1px solid rgba(0, 174, 239, 0.45);
    color: #7dd3fc;
    font-size: 0.65rem;
    font-weight: 800;
    box-shadow: 0 0 16px rgba(0, 174, 239, 0.35);
}

.reseller-migrate-visual__stack {
    display: grid;
    gap: 0.45rem;
}

.reseller-migrate-visual__stack span {
    width: 4.75rem;
    height: 2.85rem;
    border-radius: 10px;
    background: linear-gradient(160deg, #1a3350 0%, #0b1c2f 100%);
    border: 1px solid rgba(0, 174, 239, 0.35);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.reseller-migrate-visual__stack span:nth-child(2) {
    transform: translateX(0.4rem);
    opacity: 0.9;
}

.reseller-migrate-visual__stack span:nth-child(3) {
    transform: translateX(0.8rem);
    opacity: 0.78;
}

.reseller-migrate-visual__arrow {
    position: relative;
    z-index: 1;
    width: 3.75rem;
    height: 0.4rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #7dd3fc, #00aeef);
    box-shadow: 0 0 18px rgba(0, 174, 239, 0.55);
}

.reseller-migrate-visual__arrow::after {
    content: "";
    position: absolute;
    right: -0.2rem;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 0.5rem 0 0.5rem 0.75rem;
    border-color: transparent transparent transparent #00aeef;
    filter: drop-shadow(0 0 8px rgba(0, 174, 239, 0.7));
}

.reseller-migrate-visual__to {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 0.65rem;
}

.reseller-migrate-visual__target {
    width: 8rem;
    height: 10rem;
    padding: 0.95rem 0.8rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #0f2740 0%, #071525 100%);
    border: 1px solid rgba(0, 174, 239, 0.55);
    box-shadow:
        0 0 0 1px rgba(0, 174, 239, 0.18),
        0 0 28px rgba(0, 174, 239, 0.28),
        0 22px 40px rgba(0, 0, 0, 0.4);
    display: grid;
    gap: 0.5rem;
    align-content: start;
}

.reseller-migrate-visual__target strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #5fd0f5;
}

.reseller-migrate-visual__target i {
    display: block;
    height: 1.15rem;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(0, 174, 239, 0.65), rgba(0, 174, 239, 0.12));
}

.reseller-migrate-visual__cloud {
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, #7dd3fc, transparent 55%),
        radial-gradient(circle at 65% 55%, #00aeef, transparent 60%);
    box-shadow: 0 0 24px rgba(0, 174, 239, 0.55);
}

.reseller-migrate-visual__rings {
    position: absolute;
    left: 50%;
    bottom: 0.35rem;
    width: 70%;
    height: 2.5rem;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 174, 239, 0.28);
    box-shadow:
        0 0 0 10px rgba(0, 174, 239, 0.05),
        inset 0 0 18px rgba(0, 174, 239, 0.12);
    pointer-events: none;
}

/* Unlimited visual */
.reseller-unlimited-visual {
    position: relative;
    width: min(100%, 19rem);
    margin-inline: auto;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.reseller-unlimited-visual__orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 174, 239, 0.28);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.reseller-unlimited-visual__orbit--outer {
    width: 92%;
    height: 92%;
    box-shadow: 0 0 30px rgba(0, 174, 239, 0.12);
}

.reseller-unlimited-visual__orbit--inner {
    width: 68%;
    height: 68%;
    border-color: rgba(0, 174, 239, 0.4);
}

.reseller-unlimited-visual__chips {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.reseller-unlimited-visual__chips em {
    position: absolute;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(0, 174, 239, 0.35);
    box-shadow: 0 8px 18px rgba(20, 55, 100, 0.12);
    font-style: normal;
}

.reseller-unlimited-visual__chips em:nth-child(1) { top: 14%; left: 18%; }
.reseller-unlimited-visual__chips em:nth-child(2) { top: 18%; right: 16%; }
.reseller-unlimited-visual__chips em:nth-child(3) { bottom: 22%; left: 14%; }
.reseller-unlimited-visual__chips em:nth-child(4) { bottom: 18%; right: 18%; }

.reseller-unlimited-visual__stack {
    position: relative;
    z-index: 1;
    width: 58%;
    display: grid;
    gap: 0.45rem;
}

.reseller-unlimited-visual__stack span {
    display: block;
    height: 2.1rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #16385c 0%, #0a1e36 100%);
    border: 1px solid rgba(0, 174, 239, 0.35);
    box-shadow: 0 12px 24px rgba(10, 40, 80, 0.18);
}

.reseller-unlimited-visual__stack span:nth-child(1) { width: 86%; margin-inline: auto; opacity: 0.8; }
.reseller-unlimited-visual__stack span:nth-child(2) { width: 94%; margin-inline: auto; }
.reseller-unlimited-visual__stack span:nth-child(3) { width: 100%; }

.reseller-unlimited-visual > i {
    position: absolute;
    z-index: 2;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-style: normal;
    font-size: 2.6rem;
    font-weight: 800;
    color: #5fd0f5;
    text-shadow: 0 0 24px rgba(0, 174, 239, 0.55);
}

@media (max-width: 639px) {
    .reseller-hero__perks {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .reseller-split__actions,
    .reseller-split__copy > .reseller-btn {
        width: 100%;
    }

    .reseller-btn {
        width: 100%;
    }

    .reseller-panel {
        transform: none;
        margin-inline: auto;
    }
}
