/* =========================================================
   TECH HYBR
   MEMBERSHIP / REGISTRATION PLANS
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.registration-plans {
    width: 100%;
    padding: 110px 20px;
    background: #f7f8fa;
    color: #111827;
    box-sizing: border-box;
}

.registration-plans *,
.registration-plans *::before,
.registration-plans *::after {
    box-sizing: border-box;
}


.registration-plans-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.registration-plans-header {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}


.registration-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #64748b;
}


.registration-eyebrow::before,
.registration-eyebrow::after {
    content: "";
    width: 30px;
    height: 1px;
    background: #cbd5e1;
}


.registration-plans-header h2 {
    margin: 0;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 700;

    letter-spacing: -2px;

    color: #111827;
}


.registration-plans-header h2 span {
    display: block;
    color: #64748b;
}


.registration-plans-header p {
    max-width: 620px;

    margin: 22px auto 0;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.7;

    color: #64748b;
}


/* =========================================================
   GRID
========================================================= */

.plans-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    align-items: stretch;
}


/* =========================================================
   PLAN CARD
========================================================= */

.plan-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 22px;

    box-shadow:
        0 12px 40px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.plan-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 22px 55px rgba(15, 23, 42, 0.11);
}


/* =========================================================
   PLAN TOP
========================================================= */

.plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}


.plan-number {
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    font-weight: 600;

    color: #94a3b8;
}


.plan-status {
    padding: 6px 10px;

    border-radius: 100px;

    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.8px;

    color: #64748b;
    background: #f1f5f9;
}


/* =========================================================
   PLAN ICON
========================================================= */

.plan-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 20px;

    border-radius: 14px;

    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 700;

    background: #f1f5f9;
    color: #334155;
}


/* =========================================================
   PLAN TITLE
========================================================= */

.plan-card h3 {
    margin: 0 0 12px;

    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    line-height: 1.1;

    color: #111827;
}


.plan-description {
    min-height: 76px;

    margin: 0 0 26px;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.7;

    color: #64748b;
}


/* =========================================================
   PRICE
========================================================= */

.plan-price {
    display: flex;
    align-items: baseline;

    margin-top: auto;
}


.plan-price .currency {
    margin-right: 3px;

    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 600;

    color: #64748b;
}


.plan-price .amount {
    font-family: "Space Grotesk", sans-serif;
    font-size: 46px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: -2px;

    color: #111827;
}


.plan-original {
    margin-top: 8px;

    font-family: "Inter", sans-serif;
    font-size: 12px;

    color: #94a3b8;
}


.plan-original span {
    margin-left: 5px;
}


/* =========================================================
   DURATION
========================================================= */

.plan-duration {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 20px;
    padding: 12px 0;

    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;

    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;

    color: #64748b;
}


/* =========================================================
   DIVIDER
========================================================= */

.plan-divider {
    width: 100%;
    height: 1px;

    margin: 22px 0;

    background: #eef2f7;
}


/* =========================================================
   FEATURES
========================================================= */

.plan-features {
    display: flex;
    flex-direction: column;

    gap: 13px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.5;

    color: #334155;
}


.feature-check {
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 700;

    color: #ffffff;
    background: #111827;
}


.feature-disabled {
    color: #b6c0ce !important;
}


.feature-disabled span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    flex: 0 0 auto;

    border-radius: 50%;

    font-size: 12px;

    color: #94a3b8;
    background: #f1f5f9;
}


/* =========================================================
   MEMBERSHIP LABEL
========================================================= */

.plan-membership {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 28px;
    padding-top: 20px;

    border-top: 1px solid #eef2f7;
}


.plan-membership span {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1px;

    color: #94a3b8;
}


.plan-membership strong {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;

    color: #334155;
}


/* =========================================================
   REGISTER BUTTON
========================================================= */

.plan-register-btn {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 18px;
    padding: 15px 18px;

    border: 1px solid #111827;
    border-radius: 10px;

    background: #111827;
    color: #ffffff;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;

    text-align: left;

    cursor: pointer;

    overflow: hidden;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.plan-register-btn:hover {
    background: #ffffff;
    color: #111827;

    transform: translateY(-2px);
}


.plan-register-btn:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.25);
    outline-offset: 3px;
}


.register-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    font-size: 18px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.plan-register-btn:hover .register-arrow {
    transform: translateX(4px);

    background: #f1f5f9;
}


/* =========================================================
   PLAN ACCENTS
========================================================= */

.plan-silver {
    border-top: 3px solid #94a3b8;
}


.plan-gold {
    border-top: 3px solid #c99a32;
}


.plan-diamond {
    border-top: 3px solid #7c8cff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .registration-plans {
        padding: 85px 18px;
    }

    .plans-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .plan-diamond {
        grid-column: 1 / -1;

        max-width: 520px;
        width: 100%;

        margin: 0 auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .registration-plans {
        padding: 70px 15px;
    }


    .registration-plans-header {
        margin-bottom: 42px;
    }


    .registration-plans-header h2 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }


    .registration-plans-header p {
        font-size: 14px;
    }


    .plans-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .plan-diamond {
        grid-column: auto;

        max-width: none;
    }


    .plan-card {
        padding: 25px 22px;

        border-radius: 18px;
    }


    .plan-description {
        min-height: auto;
    }


    .plan-price .amount {
        font-size: 42px;
    }


    .plan-register-btn {
        min-height: 52px;

        padding: 13px 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .registration-plans {
        padding-left: 12px;
        padding-right: 12px;
    }


    .registration-plans-header h2 {
        font-size: 32px;
    }


    .plan-card {
        padding: 22px 18px;
    }


    .plan-top {
        align-items: flex-start;
        gap: 10px;
    }


    .plan-status {
        font-size: 8px;
    }


    .plan-card h3 {
        font-size: 28px;
    }


    .plan-price .amount {
        font-size: 38px;
    }


    .plan-register-btn {
        font-size: 12px;
    }

}