/* ========================================
   PRICING HERO
======================================== */

.pricing-hero__eyebrow {
    display: inline-block;

    margin-bottom: 1.5rem;

    color: #C9A227;

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}


.pricing-hero__eyebrow + h1 {
    margin-top: 0;
}


/* ========================================
   PRICING STACK
======================================== */

.pricing-stack {
    position: relative;

    width: min(42vw, 560px);
    height: 400px;

    perspective: 1000px;
}

.pricing-stack__card {
    position: absolute;

    width: 380px;
    height: 235px;

    padding: 1.75rem;

    box-sizing: border-box;

    border-radius: 22px;

    box-shadow:
        0 30px 70px rgba(11, 27, 51, 0.16);

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}


/* Back card */

.pricing-stack__card--back {
    top: 5px;
    right: 0;

    background: #0B1B33;

    color: #FFFFFF;

    transform:
        rotate(7deg)
        translate(25px, 5px);
}


/* Middle card */

.pricing-stack__card--middle {
    top: 75px;
    left: 50%;

    background: #C9A227;

    color: #0B1B33;

    transform:
        translateX(-50%)
        rotate(-3deg);
}


/* Front card */

.pricing-stack__card--front {
    top: 145px;
    left: 0;

    background: #FFFFFF;

    color: #0B1B33;

    border: 1px solid rgba(201, 162, 39, 0.55);

    transform: rotate(-6deg);

    z-index: 3;
}


/* ========================================
   CARD CONTENT
======================================== */

.pricing-stack__top {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.pricing-stack__badge {
    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 0.14em;
}

.pricing-stack__number {
    color: #C9A227;

    font-size: 0.8rem;

    font-weight: 800;
}

.pricing-stack__main {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin-top: 4rem;
}

.pricing-stack__title {
    font-size: 1.45rem;

    font-weight: 800;

    letter-spacing: -0.03em;
}

.pricing-stack__price {
    color: #C9A227;

    font-size: 2rem;

    font-weight: 800;
}

.pricing-stack__bottom {
    display: flex;

    gap: 0.45rem;

    margin-top: 2.5rem;
}

.pricing-stack__bottom span {
    width: 35px;
    height: 4px;

    border-radius: 99px;

    background: #0B1B33;

    opacity: 0.15;
}


/* Back card detail */

.pricing-stack__label {
    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.12em;
}


/* ========================================
   HOVER
======================================== */

.pricing-stack:hover .pricing-stack__card--back {
    transform:
        rotate(9deg)
        translate(45px, -8px);
}

.pricing-stack:hover .pricing-stack__card--middle {
    transform:
        translateX(-50%)
        translateY(-12px)
        rotate(-4deg);
}

.pricing-stack:hover .pricing-stack__card--front {
    transform:
        rotate(-7deg)
        translate(-10px, -15px);

    box-shadow:
        0 45px 90px rgba(11, 27, 51, 0.22),
        0 0 25px rgba(201, 162, 39, 0.12);
}

/* ========================================
   PRICING INTRO
======================================== */

.pricing-intro {
    width: 100%;
    min-height: 55vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 7rem clamp(1.5rem, 8vw, 8rem);

    background: #FFFDF8;

    box-sizing: border-box;

    text-align: center;
}


/* ========================================
   CONTENT
======================================== */

.pricing-intro__content {
    width: 100%;
    max-width: 850px;
}

.pricing-intro__eyebrow {
    display: inline-block;

    margin-bottom: 1.5rem;

    color: #C9A227;

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pricing-intro h2 {
    margin: 0;

    color: #0B1B33;

    font-size: clamp(3rem, 5.5vw, 5.5rem);

    line-height: 1.03;

    letter-spacing: -0.045em;

    font-weight: 800;
}

.pricing-intro h2 span {
    color: #C9A227;
}

.pricing-intro p {
    max-width: 600px;

    margin: 2rem auto 0;

    color: #4A4A4A;

    font-size: clamp(1rem, 1.5vw, 1.15rem);

    line-height: 1.7;
}


/* ========================================
   BUTTON
======================================== */

.pricing-intro__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 0.8rem;

    margin-top: 2.5rem;

    padding: 1rem 2rem;

    border-radius: 14px;

    background: #0B1B33;

    color: #FFFFFF;

    font-size: 1rem;
    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 10px 25px rgba(11, 27, 51, 0.16);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.pricing-intro__button span {
    font-size: 1.2rem;

    transition: transform 0.3s ease;
}

.pricing-intro__button:hover {
    transform: translateY(-4px);

    background: #132A4A;

    box-shadow:
        0 18px 35px rgba(11, 27, 51, 0.25);
}

.pricing-intro__button:hover span {
    transform: translateX(4px);
}

/* ========================================
   MAINTENANCE PLANS
======================================== */

.pricing-maintenance {
    width: 100%;

    padding: 8rem clamp(1.5rem, 8vw, 8rem);

    background: #F8F5EE;

    box-sizing: border-box;
}


/* ========================================
   INTRO
======================================== */

.pricing-maintenance__intro {
    max-width: 760px;

    margin: 0 auto 5rem;

    text-align: center;
}

.pricing-maintenance__eyebrow {
    display: inline-block;

    margin-bottom: 1.5rem;

    color: #C9A227;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pricing-maintenance__intro h2 {
    margin: 0;

    color: #0B1B33;

    font-size: clamp(3rem, 5.5vw, 5.5rem);

    line-height: 1.03;

    letter-spacing: -0.045em;

    font-weight: 800;
}

.pricing-maintenance__intro h2 span {
    color: #C9A227;
}

.pricing-maintenance__intro > p {
    max-width: 620px;

    margin: 2rem auto 0;

    color: #4A4A4A;

    font-size: 1.05rem;

    line-height: 1.7;
}


/* ========================================
   PLAN GRID
======================================== */

.pricing-plans {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1.5rem;

    max-width: 1400px;

    margin: 0 auto;
}


/* ========================================
   PLAN CARD
======================================== */

.pricing-plan {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 2.5rem;

    background: #FFFFFF;

    border: 1px solid rgba(11, 27, 51, 0.1);

    border-radius: 24px;

    box-shadow:
        0 15px 45px rgba(11, 27, 51, 0.07);

    box-sizing: border-box;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.pricing-plan:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 60px rgba(11, 27, 51, 0.13);
}


/* ========================================
   FEATURED PLAN
======================================== */

.pricing-plan--featured {
    border: 2px solid #C9A227;

    box-shadow:
        0 20px 55px rgba(11, 27, 51, 0.1);
}

.pricing-plan--featured:hover {
    box-shadow:
        0 30px 70px rgba(11, 27, 51, 0.16),
        0 0 25px rgba(201, 162, 39, 0.12);
}

.pricing-plan__popular {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translate(-50%, -50%);

    padding: 0.45rem 1rem;

    border-radius: 999px;

    background: #C9A227;

    color: #0B1B33;

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.1em;

    white-space: nowrap;
}


/* ========================================
   PLAN HEADER
======================================== */

.pricing-plan__header {
    padding-bottom: 2rem;

    border-bottom: 1px solid rgba(11, 27, 51, 0.1);
}

.pricing-plan__header h3 {
    margin: 0;

    color: #0B1B33;

    font-size: 1.8rem;

    line-height: 1.15;

    font-weight: 800;
}

.pricing-plan__header p {
    min-height: 3.4rem;

    margin: 0.9rem 0 0;

    color: #666666;

    font-size: 0.92rem;

    line-height: 1.55;
}


/* ========================================
   PRICE
======================================== */

.pricing-plan__price {
    display: flex;

    align-items: baseline;

    gap: 0.35rem;

    margin-top: 2rem;
}

.pricing-plan__price strong {
    color: #0B1B33;

    font-size: 3rem;

    line-height: 1;

    letter-spacing: -0.04em;
}

.pricing-plan__price span {
    color: #666666;

    font-size: 0.9rem;
}


/* ========================================
   PLAN CONTENT
======================================== */

.pricing-plan__body {
    padding-top: 2rem;
}

.pricing-plan__body h4 {
    margin: 0 0 1.25rem;

    color: #0B1B33;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.pricing-plan__body ul {
    display: flex;
    flex-direction: column;

    gap: 0.85rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.pricing-plan__body li {
    position: relative;

    padding-left: 1.45rem;

    color: #4A4A4A;

    font-size: 0.92rem;

    line-height: 1.5;
}

.pricing-plan__body li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: #C9A227;

    font-weight: 800;
}


/* ========================================
   COMPARISON
======================================== */

.pricing-comparison {
    max-width: 1400px;

    margin: 7rem auto 0;
}

.pricing-comparison__heading {
    margin-bottom: 2.5rem;

    text-align: left;
}

.pricing-comparison__heading h3 {
    margin: 0;

    color: #0B1B33;

    font-size: clamp(2rem, 3vw, 3rem);

    line-height: 1.1;

    letter-spacing: -0.035em;
}


/* ========================================
   TABLE WRAPPER
======================================== */

.pricing-comparison__table-wrapper {
    width: 100%;

    overflow-x: auto;

    border-radius: 20px;

    box-shadow:
        0 15px 45px rgba(11, 27, 51, 0.07);
}


/* ========================================
   TABLE
======================================== */

.pricing-comparison__table {
    width: 100%;

    min-width: 760px;

    border-collapse: separate;
    border-spacing: 0;

    background: #FFFFFF;

    color: #0B1B33;
}

.pricing-comparison__table th,
.pricing-comparison__table td {
    padding: 1.15rem 1.25rem;

    border-bottom: 1px solid rgba(11, 27, 51, 0.08);

    text-align: center;

    font-size: 0.9rem;
}

.pricing-comparison__table th:first-child,
.pricing-comparison__table td:first-child {
    text-align: left;
}

.pricing-comparison__table thead th {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;

    background: #0B1B33;

    color: #FFFFFF;

    font-size: 0.85rem;
    font-weight: 800;
}

.pricing-comparison__table thead th:first-child {
    border-radius: 20px 0 0 0;
}

.pricing-comparison__table thead th:last-child {
    border-radius: 0 20px 0 0;
}

.pricing-comparison__table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-comparison__table tbody td:first-child {
    font-weight: 700;
}

.pricing-comparison__table tbody td:not(:first-child) {
    color: #C9A227;

    font-weight: 800;
}


/* ========================================
   FEATURED TABLE COLUMN
======================================== */

.pricing-comparison__featured {
    background: rgba(201, 162, 39, 0.07);
}

.pricing-comparison__table thead .pricing-comparison__featured {
    background: #C9A227;

    color: #0B1B33;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {

    .pricing-maintenance {
        padding: 6rem 2.5rem;
    }

    .pricing-plans {
        grid-template-columns: 1fr;

        max-width: 650px;
    }

    .pricing-plan__header p {
        min-height: auto;
    }

    .pricing-comparison {
        margin-top: 5rem;
    }

}/* ========================================
   PRICING CTA
======================================== */

.pricing-cta {
    position: relative;

    width: 100%;

    min-height: 55vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 7rem clamp(1.5rem, 8vw, 8rem);

    background: #0B1B33;

    box-sizing: border-box;

    overflow: hidden;

    text-align: center;
}


/* ========================================
   SUBTLE BACKGROUND DETAIL
======================================== */

.pricing-cta::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -100px;

    border-radius: 50%;

    background: #C9A227;

    opacity: 0.08;

    filter: blur(30px);

    pointer-events: none;
}

.pricing-cta::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    bottom: -180px;
    left: -80px;

    border-radius: 50%;

    background: #FFFFFF;

    opacity: 0.04;

    filter: blur(35px);

    pointer-events: none;
}


/* ========================================
   CONTENT
======================================== */

.pricing-cta__content {
    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 850px;
}

.pricing-cta__eyebrow {
    display: inline-block;

    margin-bottom: 1.5rem;

    color: #C9A227;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.pricing-cta h2 {
    margin: 0;

    color: #FFFFFF;

    font-size: clamp(3rem, 5.5vw, 5.5rem);

    line-height: 1.03;

    letter-spacing: -0.045em;

    font-weight: 800;
}

.pricing-cta h2 span {
    color: #C9A227;
}

.pricing-cta p {
    max-width: 600px;

    margin: 2rem auto 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: clamp(1rem, 1.5vw, 1.15rem);

    line-height: 1.7;
}


/* ========================================
   BUTTON
======================================== */

.pricing-cta__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 0.8rem;

    margin-top: 2.5rem;

    padding: 1rem 2rem;

    border-radius: 14px;

    background: #FFFFFF;

    color: #0B1B33;

    font-size: 1rem;
    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.pricing-cta__button span {
    font-size: 1.2rem;

    transition: transform 0.3s ease;
}

.pricing-cta__button:hover {
    transform: translateY(-4px);

    background: #C9A227;

    color: #0B1B33;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.3);
}

.pricing-cta__button:hover span {
    transform: translateX(4px);
}

/* ========================================
   MOBILE COMPARISON TABLE
======================================== */

@media (max-width: 600px) {

    .pricing-comparison__table {
        border-radius: 16px;
        overflow: hidden;
    }

    .pricing-comparison__table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 16px;
    }

    .pricing-comparison__table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 16px;
    }

    .pricing-comparison__table-wrapper {
        overflow: hidden;

        border-radius: 16px;

        box-shadow:
            0 10px 30px rgba(11, 27, 51, 0.06);
    }

    .pricing-comparison__table {
        width: 100%;
        min-width: 0;

        table-layout: fixed;

        border-collapse: separate;
        border-spacing: 0;

        font-size: 0.75rem;
    }

    .pricing-comparison__table th,
    .pricing-comparison__table td {
        padding: 0.85rem 0.35rem;

        font-size: 0.72rem;

        line-height: 1.35;

        word-break: normal;
        overflow-wrap: anywhere;
    }

    /* Feature column */

    .pricing-comparison__table th:first-child,
    .pricing-comparison__table td:first-child {
        width: 42%;

        padding-left: 0.9rem;
        padding-right: 0.5rem;

        text-align: left;

        font-size: 0.75rem;
    }

    /* Plan columns */

    .pricing-comparison__table th:not(:first-child),
    .pricing-comparison__table td:not(:first-child) {
        width: 19.33%;

        text-align: center;
    }

    /* Header */

    .pricing-comparison__table thead th {
        padding-top: 1.15rem;
        padding-bottom: 1.15rem;

        font-size: 0.68rem;

        line-height: 1.25;
    }

    .pricing-comparison__table thead th:first-child {
        border-radius: 16px 0 0 0;
    }

    .pricing-comparison__table thead th:last-child {
        border-radius: 0 16px 0 0;
    }

    /* Featured Premium column */

    .pricing-comparison__table .pricing-comparison__featured {
        background: rgba(201, 162, 39, 0.08);
    }

    .pricing-comparison__table thead .pricing-comparison__featured {
        background: #C9A227;
    }

    /* Table values */

    .pricing-comparison__table tbody td:not(:first-child) {
        font-size: 0.78rem;

        font-weight: 800;
    }

}