:root {
    --home-purple: #6b3df0;
    --home-purple-dark: #4d25c9;
    --home-ink: #121a2a;
    --home-muted: #68738a;
    --home-soft: #f6f4fb;
    --home-line: #e5e0ef;
}

.home-kicker {
    display: inline-block;
    color: var(--home-purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-hero {
    min-height: 720px;
    background: var(--home-soft);
}

.home-carousel {
    position: relative;
    min-height: 720px;
    overflow: hidden;
}

.home-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 720px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 600ms ease, visibility 600ms ease;
}

.home-slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
}

.home-slide__glow {
    position: absolute;
    top: -210px;
    right: -80px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: rgba(107, 61, 240, 0.15);
    filter: blur(30px);
}

.home-slide:nth-child(2) .home-slide__glow {
    background: rgba(233, 73, 137, 0.13);
}

.home-slide:nth-child(3) .home-slide__glow {
    background: rgba(43, 132, 224, 0.14);
}

.home-slide__inner {
    position: relative;
    height: 720px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(470px, 1.05fr);
    align-items: center;
    gap: clamp(45px, 7vw, 110px);
    padding-top: 105px;
    padding-bottom: 75px;
}

.home-slide__content {
    position: relative;
    z-index: 2;
}

.home-slide__content h1,
.home-slide__content h2 {
    max-width: 720px;
    margin: 13px 0 20px;
    color: var(--home-ink);
    font-size: clamp(56px, 5vw, 82px);
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.home-slide__content p {
    max-width: 570px;
    margin: 0;
    color: var(--home-muted);
    font-size: 18px;
    line-height: 1.65;
}

.home-slide__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 800;
    transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.home-button--primary {
    min-height: 56px;
    padding: 0 24px;
    color: #fff;
    background: var(--home-purple);
    box-shadow: 0 14px 30px rgba(107, 61, 240, 0.24);
}

.home-button--primary:hover {
    color: #fff;
    background: var(--home-purple-dark);
    transform: translateY(-2px);
}

.home-button--text {
    color: var(--home-ink);
    border-bottom: 1px solid var(--home-ink);
    border-radius: 0;
}

.home-slide__visual {
    position: relative;
    justify-self: end;
    width: min(100%, 650px);
}

.home-slide__image {
    position: relative;
    aspect-ratio: 1.04 / 1;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.9);
    border-radius: 42px 42px 130px 42px;
    box-shadow: 0 34px 75px rgba(43, 30, 80, 0.19);
}

.home-slide__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(135deg, transparent 55%, rgba(15, 10, 35, 0.15));
}

.home-slide__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-slide__image--cream {
    background: #f4ead9;
}

.home-slide__image--purple {
    background: #e9e0ff;
}

.home-slide__image--blue {
    background: #dcecff;
}

.home-slide__tag {
    position: absolute;
    right: -18px;
    bottom: 42px;
    z-index: 2;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 99px;
    color: var(--home-ink);
    background: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 32px rgba(35, 25, 68, 0.16);
    backdrop-filter: blur(12px);
}

.home-carousel__controls {
    position: absolute;
    right: 0;
    bottom: 31px;
    left: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.home-carousel__dots,
.home-carousel__arrows {
    display: flex;
    align-items: center;
    gap: 9px;
    pointer-events: auto;
}

.home-carousel__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #b9b1ca;
    transition: width 220ms ease, background 220ms ease;
}

.home-carousel__dots button.is-active {
    width: 34px;
    background: var(--home-purple);
}

.home-carousel__arrows button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--home-line);
    border-radius: 50%;
    color: var(--home-ink);
    background: #fff;
    transition: color 180ms ease, background 180ms ease;
}

.home-carousel__arrows button:hover {
    color: #fff;
    background: var(--home-purple);
}

.home-about,
.home-services,
.home-process {
    padding: 92px 0;
}

.home-about {
    background: #fff;
}

.home-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(450px, 1.05fr);
    gap: clamp(55px, 9vw, 145px);
    align-items: start;
}

.home-section-heading h2 {
    max-width: 780px;
    margin: 10px 0 0;
    color: var(--home-ink);
    font-size: clamp(43px, 4.2vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.home-about__content {
    padding-top: 25px;
}

.home-about__content > p {
    margin: 0;
    color: var(--home-muted);
    font-size: 20px;
    line-height: 1.7;
}

.home-about__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 35px 0 30px;
    padding: 30px 0;
    border-top: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
}

.home-about__facts div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-about__facts strong {
    color: var(--home-purple);
    font-size: 32px;
    line-height: 1;
}

.home-about__facts span {
    color: var(--home-muted);
    font-size: 13px;
}

.home-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--home-ink);
    font-size: 15px;
    font-weight: 800;
}

.home-arrow-link i {
    transition: transform 180ms ease;
}

.home-arrow-link:hover {
    color: var(--home-purple);
}

.home-arrow-link:hover i {
    transform: translateX(4px);
}

.home-services {
    background: var(--home-soft);
}

.home-heading-row,
.home-process__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 45px;
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-service-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    color: var(--home-ink);
    background: #fff;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.home-service-card:hover {
    color: var(--home-ink);
    transform: translateY(-7px);
    box-shadow: 0 24px 55px rgba(38, 27, 73, 0.13);
}

.home-service-card__image {
    position: relative;
    aspect-ratio: 1.12 / 1;
    overflow: hidden;
    background: #eae4f7;
}

.home-service-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 450ms ease;
}

.home-service-card:hover .home-service-card__image img {
    transform: scale(1.045);
}

.home-service-card__image span {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--home-purple);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(25, 18, 52, 0.15);
}

.home-service-card__content {
    position: relative;
    min-height: 176px;
    padding: 24px 24px 25px;
}

.home-service-card__content h3 {
    max-width: calc(100% - 30px);
    margin: 0 0 10px;
    color: var(--home-ink);
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.home-service-card__content p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.55;
}

.home-service-card__content > i {
    position: absolute;
    top: 27px;
    right: 22px;
    color: var(--home-purple);
    font-size: 15px;
}

.home-process {
    color: #fff;
    background:
        radial-gradient(circle at 88% 20%, rgba(107, 61, 240, 0.34), transparent 31%),
        #111827;
}

.home-process .home-kicker {
    color: #a98cff;
}

.home-process .home-section-heading h2 {
    color: #fff;
}

.home-process__top > p {
    max-width: 430px;
    margin: 0 0 5px;
    color: #abb3c2;
    font-size: 17px;
    line-height: 1.65;
}

.home-process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-process-card {
    position: relative;
    min-height: 270px;
    padding: 31px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.home-process-card:last-child {
    border-right: 0;
}

.home-process-card > span {
    color: #7f899d;
    font-size: 12px;
    font-weight: 800;
}

.home-process-card > i {
    position: absolute;
    top: 30px;
    right: 28px;
    color: #a98cff;
    font-size: 23px;
}

.home-process-card h3 {
    margin: 80px 0 10px;
    color: #fff;
    font-size: 24px;
    letter-spacing: -0.025em;
}

.home-process-card p {
    margin: 0;
    color: #9ea7b9;
    font-size: 14px;
    line-height: 1.6;
}

.home-process__cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    margin-top: 32px;
}

.home-process__cta p {
    margin: 0;
    color: #adb5c4;
}

@media (max-width: 1199px) {
    .home-slide__inner {
        grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
        gap: 45px;
    }

    .home-services__grid,
    .home-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-process-card:nth-child(2) {
        border-right: 0;
    }

    .home-process-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }
}

@media (max-width: 991px) {
    .home-hero,
    .home-carousel,
    .home-slide {
        min-height: 820px;
    }

    .home-slide__inner {
        height: 820px;
        grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr);
        padding-top: 125px;
        padding-bottom: 95px;
    }

    .home-slide__content h1,
    .home-slide__content h2 {
        font-size: clamp(48px, 7vw, 66px);
    }

    .home-about,
    .home-services,
    .home-process {
        padding: 72px 0;
    }

    .home-about__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-about__content {
        max-width: 700px;
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .home-hero,
    .home-carousel,
    .home-slide {
        min-height: 940px;
    }

    .home-slide__inner {
        height: 940px;
        grid-template-columns: 1fr;
        align-content: center;
        gap: 38px;
        padding-top: 120px;
        padding-bottom: 90px;
    }

    .home-slide__content h1,
    .home-slide__content h2 {
        margin-top: 10px;
        font-size: clamp(43px, 12.5vw, 58px);
    }

    .home-slide__content p {
        font-size: 16px;
        line-height: 1.55;
    }

    .home-slide__visual {
        justify-self: start;
        width: min(92%, 470px);
    }

    .home-slide__image {
        border-width: 5px;
        border-radius: 26px 26px 85px 26px;
    }

    .home-slide__tag {
        right: -16px;
        bottom: 25px;
    }

    .home-carousel__controls {
        bottom: 25px;
    }

    .home-heading-row,
    .home-process__top {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 32px;
    }

    .home-section-heading h2 {
        font-size: clamp(39px, 11vw, 53px);
    }

    .home-services__grid,
    .home-process__grid {
        grid-template-columns: 1fr;
    }

    .home-process-card,
    .home-process-card:nth-child(2) {
        min-height: 230px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .home-process-card:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 575px) {
    .home-hero,
    .home-carousel,
    .home-slide {
        min-height: 860px;
    }

    .home-slide__inner {
        height: 860px;
        gap: 28px;
        padding-top: 108px;
        padding-bottom: 82px;
    }

    .home-slide__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        margin-top: 24px;
    }

    .home-button--primary {
        min-height: 52px;
    }

    .home-slide__visual {
        width: 94%;
    }

    .home-carousel__arrows button {
        width: 40px;
        height: 40px;
    }

    .home-about,
    .home-services,
    .home-process {
        padding: 62px 0;
    }

    .home-about__content > p {
        font-size: 17px;
    }

    .home-about__facts {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 25px 0;
    }

    .home-about__facts div {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }

    .home-process__cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slide,
    .home-service-card,
    .home-service-card__image img {
        transition: none;
    }
}
