
.tj-pricing-page {
    --tj-bg: #111111;
    --tj-card: #171717;
    --tj-offwhite: #FFF9EE;
    --tj-cream: #F2E6CD;
    --tj-paper: #D8D0C2;
    --tj-pink: #FF1478;
    --tj-pink-dark: #D9005C;
    --tj-purple: #8E43C7;

    position: relative;
    overflow: hidden;
    isolation: isolate;

    width: 100%;
    background:
        radial-gradient(
            circle at 8% 8%,
            rgba(113, 42, 160, .20),
            transparent 24%
        ),
        radial-gradient(
            circle at 92% 12%,
            rgba(255, 20, 120, .12),
            transparent 25%
        ),
        radial-gradient(
            circle at 50% 58%,
            rgba(94, 49, 150, .08),
            transparent 30%
        ),
        #111111;

    color: var(--tj-offwhite);
    padding: 90px 34px 110px;
    box-sizing: border-box;
}

/* subtle grain/grid styling */
.tj-pricing-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .25;

    background-image:
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );

    background-size: 70px 70px;
}

.tj-pricing-shell {
    width: min(1500px, 100%);
    margin: 0 auto;
}


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

.tj-pricing-hero {
    max-width: 1040px;
    margin: 0 auto 68px;
    text-align: center;
}

.tj-pricing-eyebrow {
    display: block;
    margin-bottom: 16px;

    color: var(--tj-pink);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.tj-pricing-title {
    margin: 0;

    color: var(--tj-offwhite);
    font-size: clamp(56px, 7vw, 116px);
    line-height: .88;
    letter-spacing: -.045em;
    text-transform: uppercase;
    font-weight: 900;
}

.tj-pricing-intro {
    max-width: 850px;
    margin: 24px auto 0;

    color: rgba(255,249,238,.78);
    font-size: clamp(18px, 1.45vw, 25px);
    line-height: 1.5;
}


/* =====================================================
   GROUPS
===================================================== */

.tj-plan-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
}

.tj-plan-group-title {
    margin: 0 0 18px;

    color: var(--tj-pink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tj-group-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}


/* =====================================================
   CARDS
===================================================== */

.tj-plan-card {
    position: relative;
    min-width: 0;
    min-height: 680px;

    display: flex;
    flex-direction: column;

    padding: 30px 28px 28px;
    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;

    color: var(--tj-offwhite);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,0)
        ),
        #151515;

    box-shadow:
        0 24px 65px rgba(0,0,0,.28);

    overflow: hidden;
}


/* subtle premium treatment */
.tj-plan-card.premium {
    padding-top: 78px;

    color: var(--tj-offwhite);

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(255,20,120,.46),
            transparent 38%
        ),
        radial-gradient(
            circle at 10% 2%,
            rgba(133,62,189,.34),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #251727 0%,
            #181719 48%,
            #111111 100%
        );

    border-color: rgba(255,20,120,.24);
}


/* Force ALL premium text light */
.tj-plan-card.premium,
.tj-plan-card.premium h3,
.tj-plan-card.premium p,
.tj-plan-card.premium strong,
.tj-plan-card.premium span,
.tj-plan-card.premium li,
.tj-plan-card.premium .tj-feature-heading {
    color: var(--tj-offwhite);
}


.tj-plan-label {
    margin-bottom: 18px;

    color: var(--tj-pink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}


/* =====================================================
   PREMIUM TAG
===================================================== */

.tj-premium-tag {
    position: absolute;
    top: 18px;
    right: 18px;

    max-width: calc(100% - 36px);

    padding: 10px 16px;

    border-radius: 999px;

    background: var(--tj-pink);
    color: #fff !important;

    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;

    white-space: nowrap;
}

/*
Premium cards receive extra top padding,
so the tag never overlaps the category label.
*/


/* =====================================================
   PLAN NAME / PRICE
===================================================== */

.tj-plan-name {
    margin: 0 0 16px;

    color: var(--tj-offwhite);
    font-size: clamp(34px, 2.55vw, 50px);
    line-height: .92;
    letter-spacing: -.04em;
    text-transform: uppercase;
    font-weight: 900;

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

.tj-plan-price {
    display: flex;
    align-items: flex-end;
    gap: 8px;

    margin-bottom: 20px;
}

.tj-plan-price strong {
    color: var(--tj-offwhite);

    font-size: clamp(42px, 3.15vw, 60px);
    line-height: .9;
    font-weight: 900;
    letter-spacing: -.045em;
}

.tj-plan-price span {
    margin-bottom: 6px;

    color: var(--tj-offwhite);

    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tj-plan-description {
    margin: 0 0 30px;

    color: rgba(255,249,238,.80);
    font-size: 16px;
    line-height: 1.55;
}


/* =====================================================
   FEATURES
===================================================== */

.tj-feature-heading {
    margin: 0 0 15px;

    color: var(--tj-offwhite);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.tj-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.tj-feature-list li {
    position: relative;

    padding: 12px 0 12px 25px;

    border-top: 1px solid rgba(255,255,255,.09);

    color: rgba(255,249,238,.92);
    font-size: 15px;
    line-height: 1.4;
}

.tj-feature-list li::before {
    content: "✦";

    position: absolute;
    left: 0;
    top: 12px;

    color: var(--tj-pink);

    font-size: 12px;
    font-weight: 900;
}


/* =====================================================
   BUTTONS
===================================================== */

.tj-card-button-wrap {
    margin-top: auto;
    padding-top: 18px;
}

.tj-plan-button {
    width: 100%;
    min-height: 58px;

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

    padding: 15px 18px;
    box-sizing: border-box;

    border-radius: 13px;

    text-decoration: none;
    text-align: center;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.tj-plan-button:hover {
    transform: translateY(-2px);
}

.tj-plan-button.free {
    background: var(--tj-cream);
    color: #111111;

    box-shadow:
        0 8px 24px rgba(0,0,0,.18);
}

.tj-plan-button.paid {
    background: var(--tj-pink);
    color: #111111;

    box-shadow:
        0 8px 28px rgba(255,20,120,.18);
}


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

.tj-comparison {
    margin-top: 100px;

    padding: 38px 28px 26px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(118,53,171,.08),
            transparent 35%
        ),
        rgba(255,255,255,.015);
}

.tj-comparison-header {
    text-align: center;
    margin-bottom: 34px;
}

.tj-comparison-header h2 {
    margin: 0 0 12px;

    color: var(--tj-offwhite);
    font-size: clamp(42px, 4vw, 70px);
    line-height: .95;
    letter-spacing: -.04em;
    text-transform: uppercase;
    font-weight: 900;
}

.tj-comparison-header p {
    margin: 0;

    color: rgba(255,249,238,.68);
    font-size: 17px;
}

.tj-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.tj-comparison-table {
    width: 100%;
    min-width: 1050px;

    border-collapse: collapse;
}

.tj-comparison-table th,
.tj-comparison-table td {
    padding: 15px 14px;

    border:
        1px solid rgba(255,255,255,.10);

    color: rgba(255,249,238,.90);
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
}

.tj-comparison-table thead th {
    color: rgba(255,249,238,.72);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;

    background: rgba(255,255,255,.025);
}

.tj-comparison-table th:first-child,
.tj-comparison-table td:first-child {
    width: 29%;
    text-align: left;
}

.tj-comparison-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,.02);
}

.tj-check {
    color: var(--tj-pink);
    font-size: 18px;
    font-weight: 900;
}

.tj-no {
    color: rgba(255,255,255,.32);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1280px) {

    .tj-plan-groups {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .tj-plan-card {
        min-height: 630px;
    }
}


@media (max-width: 820px) {

    .tj-pricing-page {
        padding:
            70px 18px 80px;
    }

    .tj-group-grid {
        grid-template-columns: 1fr;
    }

    .tj-plan-card {
        min-height: auto;
    }

    .tj-plan-card.premium {
        padding-top: 76px;
    }

    .tj-comparison {
        margin-top: 70px;
        padding:
            28px 16px 20px;
    }
}


@media (max-width: 520px) {

    .tj-pricing-title {
        font-size: 48px;
    }

    .tj-pricing-intro {
        font-size: 17px;
    }

    .tj-plan-name {
        font-size: 38px;
    }

    .tj-premium-tag {
        right: 14px;
        top: 14px;

        font-size: 9px;
        padding: 9px 12px;
    }
}

/* =====================================================
   TYPOGRAPHY CLEANUP
   Add at the END of the existing CSS
===================================================== */


/* Main hero title — keep dramatic, but stop letters colliding */
.tj-pricing-page .tj-pricing-title {
    font-size: clamp(58px, 6.4vw, 108px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.012em !important;
    word-spacing: 0.03em !important;
}


/* Small Creative / Company group headings */
.tj-pricing-page .tj-plan-group-title {
    margin: 0 0 18px !important;

    color: #FF1478 !important;

    font-size: 18px !important;
    line-height: 1.15 !important;

    font-weight: 900 !important;
    letter-spacing: 0.13em !important;

    text-transform: uppercase !important;
}


/* Individual plan names */
.tj-pricing-page .tj-plan-name {
    font-size: clamp(32px, 2.2vw, 46px) !important;
    line-height: 0.96 !important;

    letter-spacing: -0.005em !important;
    word-spacing: 0.02em !important;
}


/* Comparison section title */
.tj-pricing-page .tj-comparison-header h2 {
    font-size: clamp(42px, 3.8vw, 66px) !important;
    line-height: 0.96 !important;

    letter-spacing: -0.005em !important;
    word-spacing: 0.035em !important;

    color: #FFF9EE !important;
}


/* Slightly more breathing room for eyebrow text */
.tj-pricing-page .tj-pricing-eyebrow,
.tj-pricing-page .tj-plan-label {
    letter-spacing: 0.16em !important;
}


/* Tablet */
@media (max-width: 1024px) {

    .tj-pricing-page .tj-plan-group-title {
        font-size: 16px !important;
    }

    .tj-pricing-page .tj-pricing-title {
        font-size: clamp(52px, 8vw, 82px) !important;
    }
}


/* Mobile */
@media (max-width: 600px) {

    .tj-pricing-page .tj-pricing-title {
        font-size: clamp(44px, 13vw, 62px) !important;
        letter-spacing: 0 !important;
    }

    .tj-pricing-page .tj-plan-group-title {
        font-size: 15px !important;
        letter-spacing: 0.11em !important;
    }

    .tj-pricing-page .tj-plan-name {
        font-size: 36px !important;
    }

    .tj-pricing-page .tj-comparison-header h2 {
        font-size: 42px !important;
        letter-spacing: 0 !important;
    }
}

/* Keep horizontal comparison scrolling reachable by keyboard. */
.tj-table-wrap:focus-visible { outline: 3px solid var(--tj-pink); outline-offset: 4px; }
