@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

.referral-landing {
    background-color: #F8F7F8;
}

/* Hero Section */
.referral__hero {
    margin: auto;
    padding-top: 49px;
}

.referral-hero {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.referral-hero__image {
    max-width: 530px;
    max-height: 463px;
}

.referral-hero_content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #fff;
    max-width: 520px;
    height: stretch;
}

.referral-hero__inner {
    text-align: center;
}

.referral-hero__title {
    font-size: 45px;
    font-weight: bold;
    color: #7647B2;
    margin-bottom: 15px;
}

.referral-hero__subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #71598F;
}

.referral-hero__btn {
    display: inline-block;
    margin-top: 40px;
    background-color: #FFCB05;
    color: #544D5D;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 25px;
}

.referral-hero__btn:hover {
    background: #e6b704;
}

.referral__features {
    padding-top: 60px;
    padding-bottom: 60px;
}




/* Features Section */
.referral-features {
    padding: 60px 20px;
    background: #ffffff;
}

.referral-features__container {
    max-width: 1100px;
    margin: 0 auto;
}

.referral-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.referral-features__item {
    background: #f4edff;
    border-radius: 30px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.referral-features__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(118, 71, 178, 0.15);
}

.referral-features__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-features__icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.referral-features__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.referral-features__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #7647b2;
    margin: 0;
}

.referral-features__link {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: rgba(118, 71, 178, 0.7);
    text-decoration: none;
}

.referral-features__link:hover {
    color: #7647b2;
}

/* Advantages Section */
.referral-advantages {
    padding: 60px 20px;
    background: #ffffff;
}

.referral-advantages__container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.referral-advantage {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.referral-advantage--reverse {
    flex-direction: row-reverse;
}

.referral-advantage__content {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.referral-advantage__icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-advantage__icon-wrap::before {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #bd9aea 0%, #ffffff 100%);
    border-radius: 50%;
    opacity: 0.3;
}

.referral-advantage__icon {
    width: 24px;
    height: 24px;
    color: #7647b2;
    position: relative;
    z-index: 1;
}

.referral-advantage__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #7647b2;
    line-height: 36px;
    margin: 0;
}

.referral-advantage__desc {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #766f7f;
    line-height: 1.5;
    margin: 0;
}

.referral-advantage__visual {
    flex: 1;
    min-height: 412px;
    background: #f4edff;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Mockup Cards */
.mockup-card {
    width: 100%;
    max-width: 350px;
    background: #ffffff;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #e8e0f2;
    box-shadow: 0 1px 15px rgba(85, 68, 107, 0.15);
}

.mockup-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #ffffff;
}

.mockup-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 8px;
    background: #b68ee8;
    border-radius: 6px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #7647b2;
    line-height: 12px;
}

.mockup-card__badge--outline {
    background: transparent;
    border: 1px solid #b68ee8;
    color: #7647b2;
}

.mockup-card__badge--active {
    background: #b68ee8;
    color: #ffffff;
}

.mockup-card__arrow {
    width: 20px;
    height: 20px;
    background: #b68ee8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-card__arrow svg {
    width: 8px;
    height: 5px;
    color: #ffffff;
}

.mockup-card__divider {
    height: 6px;
    background: linear-gradient(180deg, rgba(118, 71, 178, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.mockup-card__body {
    padding: 15px 20px 0;
}

.mockup-table {
    width: 100%;
    border-collapse: collapse;
}

.mockup-table__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #f8f6fb;
    border-radius: 4px;
    margin-bottom: 4px;
}

.mockup-table__header-cell {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 8px;
    color: #7647b2;
    line-height: normal;
}

.mockup-table__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-bottom: 0.5px solid #e8e0f2;
}

.mockup-table__row:last-child {
    border-bottom: none;
}

.mockup-table__cell {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 10px;
    color: #766f7f;
    line-height: normal;
}

.mockup-table__cell--right {
    text-align: right;
}

.mockup-form {
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-form__group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mockup-form__label {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 8px;
    color: #7647b2;
    line-height: normal;
}

.mockup-form__input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: #f9f7fc;
    border-radius: 4px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 10px;
    color: #766f7f;
    line-height: normal;
}

.mockup-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 8px;
    background: #b68ee8;
    border-radius: 4px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
    line-height: 12px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    margin-top: 5px;
}

.mockup-link {
    padding: 20px 28px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mockup-link__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #7647b2;
    line-height: 12px;
    white-space: nowrap;
}

.mockup-link__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 8px;
    background: #f9f7fc;
    border-radius: 4px;
}

.mockup-link__url {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 12px;
    color: #b68ee8;
    line-height: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.mockup-link__actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mockup-link__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 6px;
    background: #b68ee8;
    border-radius: 4px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 8px;
    color: #ffffff;
    line-height: 8px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.mockup-tabs {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
}

.mockup-tabs__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #7647b2;
    line-height: 12px;
    white-space: nowrap;
    border: 1px solid transparent;
}

.mockup-tabs__item--active {
    border-color: #b68ee8;
}

.mockup-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px 0;
}

.mockup-stats__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-bottom: 0.5px solid #e8e0f2;
    width: 100%;
}

.mockup-stats__row:last-child {
    border-bottom: none;
}

.mockup-stats__label,
.mockup-stats__value {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 10px;
    color: #766f7f;
    line-height: normal;
}

/* Responsive */
@media (max-width: 1024px) {
    .referral-advantages__container {
        gap: 80px;
    }

    .referral-advantage {
        flex-direction: column !important;
        gap: 30px;
    }

    .referral-advantage__content {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }

    .referral-advantage__visual {
        width: 100%;
        min-height: auto;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .referral-hero__title {
        font-size: 32px;
    }

    .referral-hero__subtitle {
        font-size: 16px;
    }

    .referral-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .referral-advantages__container {
        gap: 60px;
    }

    .referral-advantage__title {
        font-size: 24px;
        line-height: 30px;
    }
}

@media (max-width: 480px) {
    .referral-hero {
        min-height: 380px;
    }

    .referral-hero__title {
        font-size: 28px;
    }

    .referral-hero__subtitle {
        font-size: 14px;
    }

    .referral-features__grid {
        grid-template-columns: 1fr;
    }

    .referral-advantages__container {
        gap: 40px;
    }

    .referral-advantage__title {
        font-size: 22px;
        line-height: 28px;
    }

    .referral-advantage__desc {
        font-size: 14px;
    }
}