body.home-page {
    background: #f3e8f0;
}

body.home-page > .container {
    max-width: 100%;
}

.home-hero {
    position: relative;
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(22rem, 38%) 1fr;
    grid-template-rows: minmax(520px, auto);
    align-items: center;
    color: #fff;
    background: linear-gradient(115deg, #2f1b3d 0%, #542c68 46%, #6e3a84 100%);
    overflow: hidden;
}

.home-hero-stack {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    height: 500px;
    margin-right: -3%;
}

.home-shot {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(18, 6, 28, 0.5);
    background: #f8f1f6;
    outline: 1px solid rgba(255, 255, 255, 0.22);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.home-shot img {
    display: block;
    width: 100%;
    height: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.home-shot-back {
    width: 72%;
    right: 1%;
    top: 30%;
    transform: rotate(8deg) translateZ(0);
}

.home-shot-mid {
    width: 74%;
    right: 9%;
    top: 10%;
    transform: rotate(-3.5deg) translateZ(0);
}

.home-shot-phone {
    width: 24%;
    min-width: 118px;
    left: 10%;
    bottom: 6%;
    border-radius: 32px;
    border: 7px solid #1c101f;
    outline: 1px solid rgba(255, 255, 255, 0.18);
    transform: rotate(-7deg) translateZ(0);
    box-shadow: 0 24px 52px rgba(18, 6, 28, 0.58);
}

.home-hero-copy {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    z-index: 3;
    padding: 3.2rem 1.5rem 3.2rem 2.25rem;
}

.home-hero-lockup {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1.35rem;
}

.home-hero-icon {
    width: 5.5rem;
    height: 5.5rem;
    flex: 0 0 auto;
    display: block;
    filter: drop-shadow(0 2px 14px rgba(24, 8, 36, 0.4));
}

.home-hero-logo {
    display: block;
    width: min(100%, 24rem);
    height: auto;
    min-width: 0;
    margin: 0 0 0 -0.15rem;
    filter: drop-shadow(0 2px 14px rgba(24, 8, 36, 0.4));
}

.home-hero-copy p {
    text-shadow: 0 2px 18px rgba(24, 8, 36, 0.45);
}

.home-hero .btn-primary {
    background: #fff;
    border-color: #fff;
    color: #6e3a84;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
}

.home-hero .btn-primary:hover {
    background: #f8f1f6;
    border-color: #f8f1f6;
    color: #542c68;
}

.home-hero .btn-outline-light {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.62rem 1.3rem;
    border-width: 2px;
}

.home-plans {
    padding: 3rem 0 1.5rem;
}

#homePlanCarousel .carousel-control-prev,
#homePlanCarousel .carousel-control-next {
    width: 2.75rem;
    height: 2.75rem;
    top: 105px;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 1;
    background: rgba(110, 58, 132, 0.92);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(24, 8, 36, 0.4);
}

#homePlanCarousel .carousel-control-prev {
    left: 0.95rem;
}

#homePlanCarousel .carousel-control-next {
    right: 0.95rem;
}

#homePlanCarousel .carousel-control-prev-icon,
#homePlanCarousel .carousel-control-next-icon {
    width: 1.35rem;
    height: 1.35rem;
}

#homePlanCarousel .carousel-control-prev:hover,
#homePlanCarousel .carousel-control-next:hover,
#homePlanCarousel .carousel-control-prev:focus,
#homePlanCarousel .carousel-control-next:focus {
    opacity: 1;
    background: #6e3a84;
}

.home-plan-card {
    background: #fdf7fb;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(62, 28, 84, 0.12);
    height: 100%;
}

.home-plan-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
}

.home-plan-card .home-plan-body {
    padding: 1.25rem 1.35rem 1.4rem;
}

.home-plan-card h2 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.home-plan-card ul {
    color: #684a74;
    margin: 0.55rem 0 0;
    padding-left: 1.15rem;
    font-size: 0.95rem;
}

.home-plan-card li {
    margin: 0.2rem 0;
}

.home-price {
    color: #c45d90;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
}

.home-page-footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #684a74;
    font-size: 0.9rem;
}

.home-page-footer a {
    color: #6e3a84;
}

@media (max-width: 767.98px) {
    .home-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    .home-hero-stack {
        grid-column: 1;
        grid-row: 1;
        height: 300px;
        margin: 0 0 1rem;
    }
    .home-hero-copy {
        grid-column: 1;
        grid-row: 2;
        padding: 1.5rem 1.25rem 2.2rem;
    }
    .home-hero-icon {
        width: 4.35rem;
        height: 4.35rem;
    }
}
