/**
 * Premium Slider order form style sheet - Khaleej Host plans page.
 * Scoped entirely under .kh-plans-page so nothing here can leak into
 * the rest of the site (which reuses generic class names like .card).
 */

.kh-plans-page,
.kh-plans-page * {
    box-sizing: border-box;
    font-family: "Urbanist", sans-serif;
}

.kh-plans-page {
    color: var(--kh-text);
    line-height: 1.5;
    background: #ffffff;
}

.kh-plans-page a {
    text-decoration: none;
    color: inherit;
}

.kh-plans-page button {
    font-family: inherit;
}

.kh-plans-page svg {
    width: 1em;
    height: 1em;
}

/* ===== HERO ===== */
.kh-plans-page .hero {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    min-height: 300px;
    background:
        radial-gradient(circle at 80% 50%, rgba(8, 134, 95, .08), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f4faf8 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #eef2f0;
}
#main-body:has(.kh-plans-page) {
    padding: 0 !important;
}
.kh-plans-page .hero-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}
.kh-plans-page .hero-content {
    padding: 35px 0;
}
.kh-plans-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    background: var(--kh-green-soft);
    border-radius: 50px;
    color: var(--kh-green);
    font-size: 11px;
    font-weight: 700;
}
.kh-plans-page .hero-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--kh-green);
}
.kh-plans-page .hero h1 {
    margin-top: 17px;
    font-size: 43px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 650px;
    font-weight: 700;
}
.kh-plans-page .hero h1 span {
    color: var(--kh-green);
}
.kh-plans-page .hero-description {
    margin-top: 14px;
    max-width: 580px;
    color: var(--kh-muted);
    font-size: 14px;
    line-height: 1.7;
}
.kh-plans-page .hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 23px;
}
.kh-plans-page .hero-feature {
    display: flex;
    align-items: center;
    gap: 9px;
}
.kh-plans-page .hero-feature-icon {
    width: 35px;
    height: 35px;
    background: var(--kh-green-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kh-green);
    font-size: 14px;
    flex-shrink: 0;
}
.kh-plans-page .hero-feature strong {
    display: block;
    font-size: 11px;
}
.kh-plans-page .hero-feature small {
    color: var(--kh-muted);
    font-size: 9px;
}

/* Hero server illustration */
.kh-plans-page .hero-visual {
    min-height: 270px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kh-plans-page .hero-circle {
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 185, 12, .22), rgba(8, 134, 95, .05), transparent 70%);
}
.kh-plans-page .server-illustration {
    position: relative;
    width: 390px;
    height: 190px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
}
.kh-plans-page .server-rack {
    width: 105px;
    height: 165px;
    background: linear-gradient(145deg, #183d36, #062e27);
    border-radius: 8px;
    border: 2px solid #2c5a50;
    padding: 12px;
    box-shadow: 0 20px 35px rgba(3, 50, 40, .2);
}
.kh-plans-page .server-row {
    height: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    gap: 6px;
}
.kh-plans-page .server-light {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #25c998;
    box-shadow: 0 0 7px #25c998;
    display: inline-block;
}
.kh-plans-page .server-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, .12);
    border-radius: 5px;
}
.kh-plans-page .server-bar.gold {
    width: 45%;
    flex: none;
    background: var(--kh-gold);
}
.kh-plans-page .server-side {
    width: 65px;
    height: 115px;
    background: #214b42;
    border-radius: 6px;
    margin-left: -5px;
    padding: 10px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .12);
}
.kh-plans-page .server-side .server-row {
    height: 21px;
}
.kh-plans-page .cloud {
    position: absolute;
    right: 65px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .13);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kh-green);
    font-size: 22px;
}
.kh-plans-page .shield {
    position: absolute;
    right: 20px;
    bottom: 50px;
    width: 55px;
    height: 65px;
    background: var(--kh-green);
    clip-path: polygon(50% 0, 92% 14%, 88% 60%, 50% 100%, 12% 60%, 8% 14%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ===== MAIN ===== */
.kh-plans-page .main {
    width: min(1400px, 92%);
    margin: 0 auto;
}
.kh-plans-page .plans-section {
    padding: 56px 0 30px;
}
.kh-plans-page .plans-layout {
    display: grid;
    grid-template-columns: 205px 1fr;
    gap: 27px;
}

/* ===== SIDEBAR ===== */
.kh-plans-page .sidebar-box {
    border: 1px solid var(--kh-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .025);
}
.kh-plans-page .sidebar-title {
    padding: 17px 15px;
    font-size: 13px;
    font-weight: 800;
    border-bottom: 1px solid var(--kh-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kh-plans-page .sidebar-caret {
    font-size: 10px;
    color: var(--kh-muted);
}
.kh-plans-page .sidebar-list {
    padding: 8px;
}
.kh-plans-page .sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 9px;
    border-radius: 6px;
    font-size: 11.5px;
    color: #53625e;
    margin: 2px 0;
    transition: .2s;
}
.kh-plans-page .sidebar-link:hover {
    color: var(--kh-green);
    background: #f4faf7;
}
.kh-plans-page .sidebar-link.active {
    background: var(--kh-gold);
    color: #1b1b13;
    font-weight: 700;
}
.kh-plans-page .sidebar-count {
    font-size: 9px;
    opacity: .8;
}
.kh-plans-page .sidebar-action-link {
    justify-content: flex-start;
    gap: 10px;
}
.kh-plans-page .sidebar-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--kh-green-soft);
    color: var(--kh-green);
    font-size: 11px;
}
.kh-plans-page .sidebar-action-link:hover .sidebar-action-icon {
    background: var(--kh-gold);
    color: #1b1b13;
}

/* ===== PLAN HEADER ===== */
.kh-plans-page .plan-area {
    min-width: 0;
}
.kh-plans-page .plan-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}
/* Same shared eyebrow pill used site-wide (login page, every hero) -
   translucent white pill, green text, gold dot. */
.kh-plans-page .section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .75);
    color: var(--kh-green);
    border: 1px solid rgba(51, 214, 147, .18);
    box-shadow: 0 8px 25px rgba(4, 60, 45, .04);
    padding: 9px 15px;
    border-radius: 100px;
    text-transform: uppercase;
    font-size: 9.5px;
    letter-spacing: .8px;
    font-weight: 800;
}
.kh-plans-page .section-label::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--kh-gold);
    border-radius: 50%;
}
.kh-plans-page .plan-header h2 {
    font-size: 25px;
    line-height: 1.2;
    margin-top: 5px;
    letter-spacing: -.7px;
    font-weight: 700;
}
.kh-plans-page .plan-header p {
    font-size: 11.5px;
    color: var(--kh-muted);
    margin-top: 5px;
}
.kh-plans-page .plan-header-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
}
.kh-plans-page .billing {
    display: flex;
    align-items: center;
    background: #f3f5f4;
    padding: 4px;
    border-radius: 30px;
    font-size: 10.5px;
    font-weight: 600;
}
.kh-plans-page .billing button {
    border: 0;
    background: transparent;
    padding: 9px 14px;
    border-radius: 25px;
    cursor: pointer;
    color: #66746f;
}
.kh-plans-page .billing button.active {
    background: var(--kh-dark);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}
/* Plan-family tabs (Core / Performance / Max Performance VPS) - a larger
   pill above the billing toggle, gold active state like the site buttons. */
.kh-plans-page .plan-tiers-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
}
.kh-plans-page .plan-tiers {
    display: flex;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    padding: 5px;
    background: #f3f5f4;
    border: 1px solid var(--kh-border);
    border-radius: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}
.kh-plans-page .plan-tiers::-webkit-scrollbar {
    display: none;
}
.kh-plans-page .plan-tiers button {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    padding: 11px 22px;
    border-radius: 30px;
    cursor: pointer;
    color: #4d5a56;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.kh-plans-page .plan-tiers button:hover {
    color: var(--kh-text);
}
.kh-plans-page .plan-tiers button.active {
    background: var(--kh-gold);
    color: #fff;
    box-shadow: 0 4px 12px rgba(232, 183, 28, .3);
}
.kh-plans-page .plan-tiers button:focus {
    outline: none;
}
.kh-plans-page .plan-tiers button:focus-visible {
    outline: 2px solid var(--kh-dark);
    outline-offset: 2px;
}
.kh-plans-page .card[hidden] {
    display: none;
}
.kh-plans-page .save {
    margin-left: 8px;
    background: var(--kh-gold-soft);
    color: #b27d00;
    border-radius: 20px;
    padding: 8px 11px;
    font-size: 9.5px;
    font-weight: 700;
}

/* ===== CARDS ===== */
.kh-plans-page .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.kh-plans-page .card {
    position: relative;
    background: #fff;
    border: 1px solid var(--kh-border);
    border-radius: 7px;
    overflow: visible;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}
.kh-plans-page .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(7, 70, 52, .09);
    border-color: #cbded6;
}
.kh-plans-page .card.popular {
    border: 1.5px solid rgba(232, 183, 28, .45);
    overflow: hidden;
}
/* Corner ribbon: fixed width, centre placed exactly on the corner's
   diagonal (38px in from the top and right edges), so the card clips
   both ends equally and the text sits in the middle of the visible band. */
.kh-plans-page .popular-tag {
    position: absolute;
    top: 38px;
    right: 38px;
    width: 170px;
    transform: translate(50%, -50%) rotate(45deg);
    text-align: center;
    line-height: 12px;
    background: var(--kh-gold);
    color: #17150b;
    padding: 6px 0;
    border-radius: 0;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
    z-index: 3;
}
.kh-plans-page .card-top {
    padding: 20px 17px 17px;
}
.kh-plans-page .card-icon {
    width: 40px;
    height: 40px;
    background: var(--kh-green-soft);
    color: var(--kh-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 12px;
}
.kh-plans-page .card h3 {
    font-size: 15.5px;
    margin-bottom: 4px;
    font-weight: 700;
}
.kh-plans-page .card-description {
    min-height: 30px;
    color: var(--kh-muted);
    font-size: 10.5px;
    line-height: 1.6;
    margin: 0;
}
.kh-plans-page .price {
    margin-top: 15px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}
.kh-plans-page .currency {
    font-size: 17px;
    font-weight: 700;
}
.kh-plans-page .price-number {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}
.kh-plans-page .period {
    font-size: 11px;
    color: var(--kh-muted);
}
.kh-plans-page .from-label {
    font-size: 11px;
    color: var(--kh-muted);
    margin-right: 3px;
}
.kh-plans-page .setup-fee {
    display: block;
    font-size: 10px;
    color: var(--kh-muted);
    margin-top: 4px;
}
.kh-plans-page .card-features {
    border-top: 1px solid var(--kh-border);
    padding: 15px 17px;
    flex: 1;
}
.kh-plans-page .card-feature {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 10px;
    font-size: 10.5px;
    color: #52625d;
}
.kh-plans-page .card-feature .check {
    color: var(--kh-green);
    font-weight: 800;
    font-size: 11px;
    margin-top: 1px;
    flex-shrink: 0;
}
.kh-plans-page .card-feature strong {
    color: #18231f;
}
.kh-plans-page .card-bottom {
    padding: 0 17px 18px;
}
.kh-plans-page .order-btn {
    width: 100%;
    border: 0;
    background: var(--kh-gold);
    color: #17150b;
    height: 37px;
    border-radius: var(--kh-btn-radius);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kh-plans-page .order-btn:hover {
    background: var(--kh-gold-dark);
    box-shadow: 0 8px 18px rgba(242, 185, 12, .22);
    color: #17150b;
}
.kh-plans-page .order-btn.unavailable {
    background: #d9d9d9;
    color: #777777;
    cursor: not-allowed;
}

/* Feature list carried over from any WHMCS group-level "included with
   plans" content - kept simple, matching the card feature styling. */
.kh-plans-page .includes-features {
    margin: 28px 0 0 0;
}
.kh-plans-page .includes-features .head-area {
    text-align: center;
    margin-bottom: 14px;
}
.kh-plans-page .includes-features .head-area span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--kh-green);
}
.kh-plans-page .includes-features ul.list-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
}
.kh-plans-page .includes-features ul.list-features li {
    font-size: 11px;
    color: var(--kh-text);
    display: flex;
    align-items: center;
    gap: 6px;
}
.kh-plans-page .includes-features ul.list-features li svg {
    color: var(--kh-green);
    width: 12px;
    height: 12px;
}

/* ===== WHY SECTION ===== */
.kh-plans-page .why-section {
    padding: 42px 0;
}
.kh-plans-page .why-layout {
    width: min(1400px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 35px;
    align-items: center;
}
.kh-plans-page .why-label {
    color: var(--kh-green);
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.kh-plans-page .why-intro h2 {
    font-size: 27px;
    margin-top: 5px;
    letter-spacing: -1px;
    font-weight: 700;
}
.kh-plans-page .why-intro p {
    color: var(--kh-muted);
    font-size: 11.5px;
    line-height: 1.7;
    margin-top: 8px;
}
.kh-plans-page .why-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.kh-plans-page .why-card {
    border: 1px solid var(--kh-border);
    border-radius: 7px;
    padding: 18px 14px;
    transition: .25s;
}
.kh-plans-page .why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .05);
}
.kh-plans-page .why-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--kh-gold-soft);
    margin-bottom: 10px;
    color: #9b7200;
    font-size: 15px;
}
.kh-plans-page .why-card h4 {
    font-size: 11.5px;
    font-weight: 700;
    margin: 0;
}
.kh-plans-page .why-card p {
    color: var(--kh-muted);
    font-size: 9.5px;
    line-height: 1.6;
    margin-top: 5px;
}

/* ===== DOMAIN CTA (reuses the real domain-search component) ===== */
/* Full-bleed: breaks out of the 1400px/92% .main container so it spans
   the whole viewport and sits flush against the footer, no gap. */
.kh-plans-page .domain-cta {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    background: linear-gradient(110deg, #f0faf6, #fffbea);
    border: 0;
    border-radius: 0;
    padding: 18px 28px;
    overflow: hidden;
}
body:has(.kh-plans-page) {
    overflow-x: hidden;
}
.kh-plans-page .domain-cta::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(8, 134, 95, .08);
    border-radius: 50%;
    right: -90px;
    top: -120px;
}
.kh-plans-page .domain-cta .hostiko-domain-search,
.kh-plans-page .domain-cta .home-domain-search.bg-white {
    background: transparent !important;
    padding: 0 !important;
    position: relative;
    z-index: 2;
}
.kh-plans-page .domain-cta .clearfix {
    text-align: center;
}
.kh-plans-page .domain-cta .home-domain-search .container {
    padding: 0 60px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}
.kh-plans-page .domain-search-eyebrow {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    background: #e1f5ed;
    color: var(--kh-green);
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
}
.kh-plans-page .domain-cta h2.text-center {
    margin-top: 8px;
    font-size: 21px;
    text-align: center;
    font-weight: 700;
}
.kh-plans-page .domain-search-tagline {
    color: var(--kh-muted);
    font-size: 10.5px;
    margin-top: 3px;
    text-align: center;
}
.kh-plans-page .domain-cta .input-group-wrapper {
    margin: 14px auto 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    width: fit-content;
    max-width: 100%;
}
.kh-plans-page .domain-cta .input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dfe7e3;
    border-radius: 40px;
    padding: 5px;
    width: fit-content;
    max-width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
}
.kh-plans-page .domain-cta .input-group .form-control {
    flex: 0 0 auto;
    width: 230px;
    max-width: 40vw;
    border: 0;
    outline: none;
    height: 38px;
    padding: 0 15px;
    font-size: 12px;
    background: transparent;
}
.kh-plans-page .domain-cta .input-group-append {
    display: flex;
    gap: 6px;
}
.kh-plans-page .domain-cta .btn-primary,
.kh-plans-page .domain-cta .btn-success {
    height: 38px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--kh-btn-radius);
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
}
.kh-plans-page .domain-cta .btn-primary {
    background: var(--kh-gold);
    color: #15140c;
}
.kh-plans-page .domain-cta .btn-primary:hover {
    background: var(--kh-gold-dark);
}
.kh-plans-page .domain-cta .btn-success {
    background: var(--kh-dark);
    color: #fff;
}
.kh-plans-page .domain-cta .tld-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
    list-style: none;
}
.kh-plans-page .domain-cta .tld-logos .value {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 20px;
    font-size: 10.5px;
    color: #5e6d68;
}
.kh-plans-page .domain-cta .tld-logos img {
    height: 14px;
    width: auto;
}
.kh-plans-page .domain-cta .btn-link {
    display: none;
}
.kh-plans-page .domain-cta .tld-logos {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .kh-plans-page .hero h1 { font-size: 37px; }
    .kh-plans-page .plans-layout { grid-template-columns: 185px 1fr; }
    .kh-plans-page .cards { gap: 10px; }
    .kh-plans-page .why-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 850px) {
    .kh-plans-page .hero-inner { grid-template-columns: 1fr; }
    .kh-plans-page .hero-visual { display: none; }
    .kh-plans-page .plans-layout { grid-template-columns: 1fr; }
    .kh-plans-page .sidebar { display: none; }
    .kh-plans-page .cards { grid-template-columns: 1fr 1fr; }
    .kh-plans-page .why-layout { grid-template-columns: 1fr; }
    .kh-plans-page .why-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .kh-plans-page .hero { min-height: 0; }
    .kh-plans-page .hero-content { padding: 40px 0; }
    .kh-plans-page .hero h1 { font-size: 30px; }
    .kh-plans-page .hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .kh-plans-page .cards { grid-template-columns: 1fr; }
    .kh-plans-page .why-cards { grid-template-columns: 1fr; }
    .kh-plans-page .plan-tiers button { padding: 9px 13px; font-size: 12px; }
}
