/* =========================================
   SCALEHOST - SERVICES & PRICING
   Brand Colors: Blue + Orange
========================================= */

:root {
    --blue: #0878ff;
    --blue-dark: #0560d1;
    --orange: #ff7100;

    --ink: #10243d;
    --muted: #61738a;

    --line: #e3eaf2;
    --white: #ffffff;

    --radius: 18px;

    --shadow: 0 12px 34px rgba(19, 54, 91, 0.07);

    --orange-shadow: 0 15px 35px rgba(255, 113, 0, 0.14);
}


/* =========================================
   GLOBAL STYLES
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);

    font-family: 'Inter', Arial, sans-serif;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.pricing-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 76px 0 64px;
}


/* =========================================
   HERO SECTION
========================================= */

.pricing-hero {
    text-align: center;
    padding-bottom: 55px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    border-radius: 30px;

    background: rgba(8, 120, 255, 0.08);

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.25px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--orange);
}

.pricing-hero h1 {
    margin: 22px 0 14px;

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.12;
    letter-spacing: -2px;

    font-weight: 800;
}

.pricing-hero h1 span {
    color: var(--blue);
}

.hero-copy {
    max-width: 650px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   SERVICE NAVIGATION
========================================= */

.service-nav-wrap {
    max-width: 950px;

    margin: 38px auto 0;
}

.nav-label {
    margin: 0 0 14px;

    color: #8291a3;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.25px;
}

.service-nav {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}

.service-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    min-height: 55px;

    padding: 14px 15px;

    border: 1px solid var(--line);
    border-radius: 11px;

    background: #ffffff;

    color: #40536a;

    cursor: pointer;
    text-align: left;

    font-size: 12px;
    font-weight: 700;

    overflow: hidden;

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.service-link:hover,
.service-link.is-active {
    color: var(--orange);

    border-color: var(--orange);

    background: linear-gradient(
        135deg,
        rgba(255, 113, 0, 0.13),
        rgba(255, 113, 0, 0.035)
    );

    box-shadow:
        0 8px 22px rgba(255, 113, 0, 0.16);

    transform: translateY(-4px);
}

.service-arrow {
    flex-shrink: 0;

    color: var(--orange);

    font-size: 17px;

    transition: transform 0.3s ease;
}

.service-link:hover .service-arrow,
.service-link.is-active .service-arrow {
    transform: rotate(45deg);
}


/* =========================================
   INITIAL EMPTY STATE
========================================= */

.empty-state {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 250px;

    padding: 35px 20px;

    border: 1px dashed rgba(255, 113, 0, 0.45);

    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #fff8f2,
        #ffffff,
        #fff3e9
    );

    text-align: center;

    box-shadow:
        0 8px 25px rgba(255, 113, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.empty-state:hover {
    border-color: var(--orange);

    box-shadow:
        0 14px 35px rgba(255, 113, 0, 0.13);

    transform: translateY(-3px);
}

.empty-icon {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    border-radius: 14px;

    background: rgba(255, 113, 0, 0.12);

    color: var(--orange);

    font-size: 25px;
}

.empty-state h2 {
    margin: 16px 0 8px;

    font-size: 21px;
    letter-spacing: -0.5px;
}

.empty-state p {
    max-width: 440px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.8;
}


/* =========================================
   HIDDEN SECTIONS
========================================= */

.service-section[hidden],
.empty-state[hidden] {
    display: none !important;
}


/* =========================================
   SERVICE SECTION
========================================= */

.service-section {
    padding: 40px 0 45px;

    border-top: 1px solid var(--line);

    scroll-margin-top: 22px;

    animation: pricingPop 0.4s ease both;
}

@keyframes pricingPop {

    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}

.section-kicker {
    color: var(--orange);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.25px;
}

.section-heading h2,
.contact-cta h2 {
    margin: 9px 0 8px;

    font-size: clamp(25px, 3vw, 34px);

    letter-spacing: -1.1px;
}

.section-heading p,
.contact-cta p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

.section-icon {
    display: grid;
    place-items: center;

    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    border-radius: 15px;

    background: rgba(255, 113, 0, 0.10);

    color: var(--orange);

    font-size: 25px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.section-icon:hover {
    background: var(--orange);

    color: #ffffff;

    transform: translateY(-4px) rotate(5deg);
}


/* =========================================
   PRICING GRID
========================================= */

.plan-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

    align-items: stretch;
}


/* =========================================
   PRICING CARDS
========================================= */

.plan-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 25px 23px 22px;

    border: 1px solid #e8edf3;

    border-radius: var(--radius);

    background: #ffffff;

    box-shadow:
        0 8px 25px rgba(16, 36, 61, 0.06);

    overflow: hidden;

    isolation: isolate;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* ORANGE GLOW EFFECT */

.plan-card::before {
    content: "";

    position: absolute;

    top: -100px;
    right: -100px;

    width: 200px;
    height: 200px;

    border-radius: 50%;

    background: rgba(255, 113, 0, 0.12);

    filter: blur(55px);

    opacity: 0;

    pointer-events: none;

    z-index: -1;

    transition: opacity 0.35s ease;
}


/* SUBTLE BOTTOM GLOW */

.plan-card::after {
    content: "";

    position: absolute;

    bottom: -100px;
    left: -80px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(255, 113, 0, 0.08);

    filter: blur(55px);

    opacity: 0;

    pointer-events: none;

    z-index: -1;

    transition: opacity 0.35s ease;
}


/* CARD HOVER */

.plan-card:hover {
    transform: translateY(-9px);

    border-color: rgba(255, 113, 0, 0.65);

    box-shadow:
        0 18px 38px rgba(255, 113, 0, 0.12),
        0 5px 15px rgba(16, 36, 61, 0.05);
}

.plan-card:hover::before,
.plan-card:hover::after {
    opacity: 1;
}


/* FEATURED CARD */

.plan-card.featured {
    border: 1.5px solid rgba(255, 113, 0, 0.45);

    box-shadow:
        0 12px 30px rgba(255, 113, 0, 0.07);
}

.plan-card.featured::before {
    opacity: 0.4;
}

.plan-card.featured:hover {
    border-color: var(--orange);

    box-shadow:
        0 20px 42px rgba(255, 113, 0, 0.17);
}


/* =========================================
   PLAN CONTENT
========================================= */

.plan-tag {
    color: #8291a3;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;

    line-height: 1.5;
}

.plan-card h3 {
    margin: 12px 0 8px;

    font-size: 21px;

    letter-spacing: -0.5px;
}

.plan-description {
    min-height: 43px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================
   PRICE
========================================= */

.price {
    margin: 20px 0 17px;

    color: var(--orange);

    font-size: 24px;
    font-weight: 800;

    letter-spacing: -0.7px;
}

.price span {
    display: block;

    margin-top: 4px;

    color: #8492a3;

    font-size: 10px;
    font-weight: 500;

    letter-spacing: 0;
}


/* =========================================
   FEATURES LIST
========================================= */

.plan-card ul {
    display: grid;

    gap: 11px;

    margin: 0 0 24px;

    padding: 17px 0 0;

    border-top: 1px solid var(--line);

    list-style: none;
}

.plan-card li {
    position: relative;

    padding-left: 0;

    color: #4f6176;

    font-size: 11px;
    line-height: 1.5;
}

/* TICK MARKS REMOVED */

.plan-card li::before {
    content: none;
    display: none;
}


/* =========================================
   PLAN BUTTONS
========================================= */

.plan-button,
.contact-button {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    width: 100%;

    margin-top: auto;

    padding: 13px 15px;

    border: none;

    border-radius: 9px;

    background: var(--blue);

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.plan-button:hover,
.contact-button:hover {
    background: var(--orange);

    box-shadow:
        0 7px 20px rgba(255, 113, 0, 0.25);

    transform: translateY(-3px);
}

.plan-button span,
.contact-button span {
    font-size: 16px;
}


/* =========================================
   POPULAR LABEL
========================================= */

.popular-label {
    position: absolute;

    top: 15px;
    right: 15px;

    padding: 6px 8px;

    border-radius: 20px;

    background: rgba(255, 113, 0, 0.12);

    color: var(--orange);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.5px;
}

.featured .plan-tag {
    padding-right: 90px;
}


/* =========================================
   CONTACT CTA
========================================= */

.contact-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 24px;

    padding: 32px;

    border: 1px solid rgba(255, 113, 0, 0.18);

    border-radius: 20px;

    background: linear-gradient(
        120deg,
        #fff3e8,
        #ffffff,
        #fff7f0
    );

    box-shadow:
        0 10px 30px rgba(255, 113, 0, 0.07);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-cta:hover {
    border-color: rgba(255, 113, 0, 0.5);

    box-shadow:
        0 15px 35px rgba(255, 113, 0, 0.12);
}

.contact-cta > div {
    max-width: 690px;
}

.contact-cta h2 {
    font-size: clamp(22px, 3vw, 29px);
}

.contact-button {
    flex: 0 0 auto;

    width: auto;
    min-width: 190px;

    margin: 0;

    padding: 15px 18px;
}


/* =========================================
   PRICING NOTE
========================================= */

.pricing-note {
    max-width: 850px;

    margin: 18px auto 0;

    color: #8794a3;

    text-align: center;

    font-size: 10px;
    line-height: 1.7;
}


/* =========================================
   KEYBOARD ACCESSIBILITY
========================================= */

.service-link:focus-visible,
.plan-button:focus-visible,
.contact-button:focus-visible {
    outline: 3px solid rgba(255, 113, 0, 0.45);

    outline-offset: 4px;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .pricing-page {
        padding-top: 55px;
    }

    .service-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 560px) {

    .pricing-page {
        width: calc(100% - 28px);

        padding: 42px 0;
    }

    .pricing-hero {
        padding-bottom: 40px;
    }

    .pricing-hero h1 {
        letter-spacing: -1.3px;
    }

    .hero-copy {
        font-size: 12px;
    }

    .service-nav {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

    .service-link {
        min-height: 58px;

        padding: 11px 10px;

        font-size: 10px;
    }

    .service-section {
        padding: 35px 0 40px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-icon {
        flex-basis: 43px;

        width: 43px;
        height: 43px;

        font-size: 20px;
    }

    .plan-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .plan-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .plan-card {
        padding: 22px 19px 19px;
    }

    .plan-description {
        min-height: 0;
    }

    .contact-cta {
        align-items: stretch;

        flex-direction: column;

        padding: 24px 20px;

        gap: 20px;
    }

    .contact-button {
        width: 100%;
    }

}


/* =========================================
   TOUCH DEVICES
========================================= */

@media (hover: none) {

    .plan-card:hover {
        transform: none;

        box-shadow:
            0 8px 25px rgba(16, 36, 61, 0.06);
    }

    .plan-card:hover::before,
    .plan-card:hover::after {
        opacity: 0;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        transition-duration: 0.01ms !important;
    }

}