
/* PS_TUTOR_JOIN_COMPLETE_V1_20261024 */

.ps-tutor-join,
.ps-tutor-join * {
    box-sizing: border-box;
}

.ps-tutor-join {
    width: 100%;
    background: #ffffff;
    padding: 92px 0 70px;
    position: relative;
    overflow: hidden;
}

.ps-tutor-join__container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;

    display: grid;
    grid-template-columns:
        minmax(0, 43%)
        minmax(0, 57%);

    align-items: center;
    gap: 0;
}

/* LEFT PORTRAIT */

.ps-tutor-join__visual {
    position: relative;
    min-height: 640px;
    height: 100%;

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

    overflow: hidden;
    background: #fff;
}

.ps-tutor-join__girl {
    display: block;

    width: 100%;
    max-width: 540px;
    height: auto;

    object-fit: contain;
    object-position: bottom center;

    /* Blend lower part naturally into white */
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 76%,
        rgba(0,0,0,.95) 83%,
        rgba(0,0,0,.6) 91%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 76%,
        rgba(0,0,0,.95) 83%,
        rgba(0,0,0,.6) 91%,
        transparent 100%
    );
}

/* RIGHT CONTENT */

.ps-tutor-join__content {
    min-width: 0;
    padding: 0 0 0 44px;
    position: relative;
    z-index: 2;
}

.ps-tutor-join__eyebrow {
    color: #cc3475;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.ps-tutor-join__content h2 {
    margin: 0 0 20px;

    font-size: clamp(34px, 3.3vw, 47px);
    line-height: 1.14;
    letter-spacing: -1.3px;

    color: #131722;
    font-weight: 800;
}

.ps-tutor-join__content h2 span {
    display: block;
    color: #e02078;
}

.ps-tutor-join__intro {
    font-size: 15px;
    line-height: 1.7;

    color: #606877;

    max-width: 650px;
    margin: 0 0 27px;
}

/* BENEFIT GRID */

.ps-tutor-join__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.ps-tutor-join__card {
    background: #ffffff;
    border: 1px solid #e9e9ef;
    border-radius: 18px;

    padding: 19px 18px;
    min-height: 180px;

    box-shadow:
        0 6px 20px rgba(18,28,50,.045);

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

.ps-tutor-join__card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 26px rgba(18,28,50,.085);
}

.ps-tutor-join__icon {
    width: 48px;
    height: 48px;

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

    border-radius: 13px;
    margin-bottom: 15px;
}

.ps-tutor-join__icon svg {
    width: 29px;
    height: 29px;
}

.ps-tutor-join__card--pink .ps-tutor-join__icon {
    background: #fde9f1;
    color: #da3479;
}

.ps-tutor-join__card--blue .ps-tutor-join__icon {
    background: #e8edff;
    color: #4b66c9;
}

.ps-tutor-join__card--green .ps-tutor-join__icon {
    background: #e6f7ed;
    color: #16834d;
}

.ps-tutor-join__card--yellow .ps-tutor-join__icon {
    background: #fff2d6;
    color: #c48b15;
}

.ps-tutor-join__card h3 {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;

    color: #20242e;
    margin: 0 0 9px;
}

.ps-tutor-join__card p {
    font-size: 13px;
    line-height: 1.55;

    color: #667085;
    margin: 0;
}

/* ACTIONS */

.ps-tutor-join__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
    margin-top: 25px;
}

.ps-tutor-join__actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    gap: 18px;
    min-height: 52px;

    padding: 13px 24px;
    border-radius: 12px;

    font-size: 15px;
    font-weight: 750;
    text-decoration: none;

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

.ps-tutor-join__actions a:hover {
    transform: translateY(-2px);
}

.ps-tutor-join__primary {
    background: #e02078;
    color: #fff !important;
    border: 1px solid #e02078;
}

.ps-tutor-join__primary:hover {
    box-shadow: 0 8px 22px rgba(224,32,120,.22);
}

.ps-tutor-join__secondary {
    background: #fff;
    color: #e02078 !important;
    border: 1.5px solid #e02078;
}

/* HOW IT WORKS */

.ps-tutor-join__how {
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    background: #fafafa;

    margin-top: 19px;
    padding: 14px 17px;

    color: #4b5563;
}

.ps-tutor-join__how summary {
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}

.ps-tutor-join__how ol {
    padding-left: 21px;
    margin: 13px 0 0;
    font-size: 14px;
    line-height: 1.85;
}

/* TABLET */

@media(max-width: 1100px) {
    .ps-tutor-join__container {
        grid-template-columns: 40% 60%;
    }

    .ps-tutor-join__content {
        padding-left: 24px;
    }

    .ps-tutor-join__visual {
        min-height: 550px;
    }

    .ps-tutor-join__card {
        padding: 16px;
    }
}

/* MOBILE AND SMALL TABLET */

@media(max-width: 850px) {
    .ps-tutor-join__container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ps-tutor-join__content {
        order: 1;
        padding-left: 0;
    }

    .ps-tutor-join__visual {
        order: 2;
        min-height: 0;
        max-height: 450px;
    }

    .ps-tutor-join__girl {
        max-width: 360px;
    }
}

/* MOBILE */

@media(max-width: 600px) {
    .ps-tutor-join {
        padding: 60px 0 25px;
    }

    .ps-tutor-join__container {
        padding: 0 16px;
    }

    .ps-tutor-join__content h2 {
        font-size: 34px;
    }

    .ps-tutor-join__grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .ps-tutor-join__card {
        min-height: 0;
        padding: 16px;
    }

    .ps-tutor-join__actions a {
        flex: 1 1 auto;
    }

    .ps-tutor-join__visual {
        max-height: 365px;
    }

    .ps-tutor-join__girl {
        max-width: 300px;
    }
}

@media(prefers-reduced-motion: reduce) {
    .ps-tutor-join__card,
    .ps-tutor-join__actions a {
        transition: none;
    }
}


/* PS_TUTOR_PREMIUM_CARDS_V4 */

/* Description: align with other homepage descriptions */
.ps-tutor-join .ps-tutor-join__intro {
    font-size: 17px !important;
    line-height: 1.75 !important;
    font-weight: 400 !important;
    color: #30343d !important;
    letter-spacing: -0.1px;
    max-width: 680px;
}

/* Premium floating cards */
.ps-tutor-join .ps-tutor-join__card {
    background: #ffffff !important;

    border: 1px solid #e3e5eb !important;
    border-radius: 18px !important;

    box-shadow:
        0 5px 12px rgba(18, 28, 50, 0.06),
        0 15px 35px rgba(18, 28, 50, 0.11) !important;

    transform: translateY(0);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease !important;
}

/* Stronger visual lift on hover */
@media (hover: hover) {
    .ps-tutor-join .ps-tutor-join__card:hover {
        transform: translateY(-6px) !important;

        border-color: #d8dbe4 !important;

        box-shadow:
            0 10px 20px rgba(18, 28, 50, 0.09),
            0 24px 45px rgba(18, 28, 50, 0.15) !important;
    }
}

/* All four SVGs use black outlines */
.ps-tutor-join .ps-tutor-join__icon,
.ps-tutor-join .ps-tutor-join__card--pink .ps-tutor-join__icon,
.ps-tutor-join .ps-tutor-join__card--blue .ps-tutor-join__icon,
.ps-tutor-join .ps-tutor-join__card--green .ps-tutor-join__icon,
.ps-tutor-join .ps-tutor-join__card--yellow .ps-tutor-join__icon {
    color: #111111 !important;
}

.ps-tutor-join .ps-tutor-join__icon svg {
    stroke: #111111 !important;
    stroke-width: 2.8 !important;
}

/* Slightly stronger benefit headings */
.ps-tutor-join .ps-tutor-join__card h3 {
    font-weight: 800 !important;
    color: #16191f !important;
}

/* Accessible reduced-motion support */
@media (prefers-reduced-motion: reduce) {
    .ps-tutor-join .ps-tutor-join__card {
        transition: none !important;
    }

    .ps-tutor-join .ps-tutor-join__card:hover {
        transform: none !important;
    }
}

@media (max-width: 600px) {
    .ps-tutor-join .ps-tutor-join__intro {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .ps-tutor-join .ps-tutor-join__card {
        box-shadow:
            0 5px 15px rgba(18, 28, 50, 0.08),
            0 10px 25px rgba(18, 28, 50, 0.08) !important;
    }
}
