.rk-sticky-hero {
    position: relative;
    min-height: 220vh;
    padding: clamp(48px, 6vw, 96px) clamp(18px, 7vw, 120px);
    background: radial-gradient(180% 140% at 15% 20%, rgba(78, 165, 150, 0.16), transparent),
        radial-gradient(150% 120% at 80% 10%, rgba(77, 142, 215, 0.22), transparent),
        #0c1629;
    color: #e8f4ff;
    overflow: hidden;
}

.rk-sticky-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 22, 41, 0) 0%, rgba(12, 22, 41, 0.6) 30%, rgba(12, 22, 41, 0.8) 100%);
    pointer-events: none;
}

.rk-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(32px, 4vw, 72px);
    align-items: start;
}

.rk-hero-left {
    position: sticky;
    top: clamp(48px, 10vh, 120px);
    align-self: flex-start;
    max-width: 640px;
}

.rk-hero-heading {
    margin: 0 0 16px;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #f7fbff;
}

.rk-hero-subheading {
    margin: 0 0 28px;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    color: #c7d9f3;
}

.rk-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(90deg, #47b0a3 0%, #4fb799 30%, #4cc86f 77%, #84ba4c 100%);
    color: #0c1629;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    box-shadow: 0 12px 30px rgba(73, 191, 150, 0.35);
}

.rk-hero-cta:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 40px rgba(73, 191, 150, 0.45);
}

.rk-hero-cta:active {
    transform: translateY(0);
}

.rk-hero-right {
    position: relative;
    min-height: 80vh;
}

.rk-hero-sticky {
    position: sticky;
    top: calc(var(--rk-sticky-top, 140px));
}

.rk-hero-frame {
    position: relative;
    width: min(560px, 94vw);
    margin-inline: auto;
    aspect-ratio: 3 / 4;
    perspective: 1400px;
    transform-style: preserve-3d;
}

.rk-hero-fallback {
    display: none; /* fallback not needed now */
}

.rk-hero-fallback img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rk-tablet-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.45));
}

.rk-card-stage {
    position: absolute;
    inset: clamp(18px, 2.4vw, 28px);
    border-radius: 32px;
    overflow: hidden;
    z-index: 3;
    /* background: linear-gradient(180deg, rgba(22, 37, 62, 0.9), rgba(22, 37, 62, 0.6)); */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.rk-card-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(140% 100% at 80% 0%, rgba(97, 205, 176, 0.12), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 220ms ease-out;
    transform-style: preserve-3d;
}

.rk-card-column {
    position: absolute;
    top: 1%;
    bottom: 10%;
    width: 46%;
    pointer-events: none;
    overflow: visible;
}

.rk-col-1 {
    width: 46%;
    left: 6%;
}

.rk-col-2 {
    width: 46%;
    right: 6%;
}

.rk-card {
    position: absolute;
    left: 4%;
    width: 92%;
    height: auto;
    transform-origin: center;
    opacity: 1;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
    transition: opacity 180ms ease-out;
    transform-style: preserve-3d;
}

.rk-card-last {
    will-change: transform;
}

.rk-sticky-hero[data-reduced-motion="true"] .rk-card,
.rk-sticky-hero[data-reduced-motion="true"] .rk-tablet-frame {
    transition: none !important;
    animation: none !important;
}

@media (max-width: 1024px) {
    .rk-sticky-hero {
        min-height: 200vh;
    }

    .rk-hero-left {
        position: relative;
        top: 0;
    }

    .rk-hero-right {
        min-height: 70vh;
    }
}

@media (max-width: 767px) {
    .rk-sticky-hero {
        min-height: 180vh;
        padding: 32px 18px 48px;
    }

    .rk-hero-heading {
        font-size: clamp(28px, 8vw, 36px);
    }

    .rk-hero-frame {
        width: min(480px, 100%);
    }

    .rk-card-stage {
        inset: clamp(12px, 4vw, 20px);
    }
}

