
.jdh-hero,
.jdh-hero *,
.jdh-hero *::before,
.jdh-hero *::after {
    box-sizing: border-box;
}

.jdh-hero {
    --jdh-primary: #302D78;
    --jdh-primary-dark: #25235F;
    --jdh-accent: #6257C7;
    --jdh-soft: #F0EEFF;
    --jdh-dark: #17172B;
    --jdh-text: #575B6E;
    --jdh-muted: #777B8D;
    --jdh-border: #E2DFEA;

    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 64px 24px 48px;
    background:
        radial-gradient(circle at 90% 10%, rgba(98,87,199,.09), transparent 25%),
        radial-gradient(circle at 10% 90%, rgba(98,87,199,.05), transparent 25%),
        linear-gradient(180deg, #FFFFFF 0%, #FBFAFE 100%);
    color: var(--jdh-dark);
    font-family: "Poppins", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.jdh-hero__shell {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.jdh-hero__stage {
    position: relative;
    min-height: 570px;
}

.jdh-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0,1.02fr) minmax(470px,.98fr);
    align-items: center;
    gap: 58px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity .46s ease,
        transform .46s ease,
        visibility .46s ease;
}

.jdh-transition-slide .jdh-slide {
    transform: translateX(32px);
}

.jdh-transition-slide .jdh-slide.is-active {
    transform: translateX(0);
}

.jdh-transition-fade .jdh-slide {
    transform: none;
}

.jdh-slide.is-active {
    position: relative;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.jdh-slide__content {
    min-width: 0;
}

.jdh-slide.is-active .jdh-slide__content > * {
    animation: jdhContentIn .56s ease both;
}

.jdh-slide.is-active .jdh-slide__content > *:nth-child(2) {
    animation-delay: .05s;
}

.jdh-slide.is-active .jdh-slide__content > *:nth-child(3) {
    animation-delay: .09s;
}

.jdh-slide.is-active .jdh-slide__content > *:nth-child(4) {
    animation-delay: .13s;
}

.jdh-slide.is-active .jdh-slide__content > *:nth-child(5) {
    animation-delay: .17s;
}

.jdh-slide.is-active .jdh-slide__content > *:nth-child(6) {
    animation-delay: .21s;
}

@keyframes jdhContentIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jdh-slide__eyebrow {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 9px;
    background: var(--jdh-soft);
    color: var(--jdh-primary);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.jdh-slide__eyebrow span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--jdh-accent);
    box-shadow: 0 0 0 5px rgba(98,87,199,.08);
}

.jdh-slide__title {
    max-width: 650px;
    margin: 0 0 17px;
    color: var(--jdh-dark);
    font-size: clamp(46px,4.5vw,64px);
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 800;
}

.jdh-slide__title span {
    display: block;
    margin-top: 3px;
    color: var(--jdh-accent);
}

.jdh-slide__subtitle {
    max-width: 590px;
    margin-top: -6px;
    margin-bottom: 12px;
    color: #373A49;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 600;
}

.jdh-slide__description {
    max-width: 600px;
    margin: 0;
    color: var(--jdh-text);
    font-size: 15px;
    line-height: 1.75;
}

.jdh-slide__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.jdh-slide__chips span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid #DDD9E9;
    border-radius: 9px;
    background: rgba(255,255,255,.95);
    color: #515566;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 500;
}

.jdh-slide__chips svg {
    width: 14px;
    height: 14px;
    color: var(--jdh-accent);
}

.jdh-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 27px;
}

.jdh-btn {
    min-height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none !important;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.jdh-btn svg {
    width: 16px;
    height: 16px;
    transition: transform .22s ease;
}

.jdh-btn--primary,
.jdh-btn--primary:hover,
.jdh-btn--primary:focus {
    border: 1px solid var(--jdh-primary);
    background: linear-gradient(135deg, var(--jdh-primary), var(--jdh-primary-dark));
    color: #FFFFFF !important;
    box-shadow: 0 13px 28px rgba(48,45,120,.18);
}

.jdh-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 35px rgba(48,45,120,.24);
}

.jdh-btn--primary:hover svg {
    transform: translateX(3px);
}

.jdh-btn--secondary,
.jdh-btn--secondary:hover,
.jdh-btn--secondary:focus {
    border: 1px solid #D6D1E8;
    background: #FFFFFF;
    color: var(--jdh-primary-dark) !important;
}

.jdh-btn--secondary:hover {
    transform: translateY(-2px);
    border-color: #BBB4E1;
}

.jdh-slide__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
}

.jdh-slide__trust > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6B6F81;
    font-size: 10px;
    font-weight: 500;
}

.jdh-trust-icon {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--jdh-soft);
    color: var(--jdh-primary);
}

.jdh-trust-icon svg {
    width: 14px;
    height: 14px;
}


/* VISUAL */

.jdh-slide__visual {
    min-width: 0;
}

.jdh-visual-card {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
    border-radius: 34px 34px 90px 34px;
    background:
        radial-gradient(circle at 85% 16%, rgba(255,255,255,.13), transparent 25%),
        radial-gradient(circle at 30% 80%, rgba(120,108,232,.18), transparent 33%),
        linear-gradient(145deg, #45409A 0%, #302D78 52%, #25235F 100%);
    box-shadow: 0 24px 55px rgba(48,45,120,.12);
}

.jdh-orbit {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 49%;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    pointer-events: none;
}

.jdh-orbit--one {
    width: 410px;
    height: 300px;
    transform: translate(-50%,-50%) rotate(-8deg);
}

.jdh-orbit--two {
    width: 480px;
    height: 365px;
    border-color: rgba(255,255,255,.075);
    transform: translate(-50%,-50%) rotate(9deg);
}

.jdh-slide__image {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 0;
    display: block;
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 96%;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%);
    pointer-events: none;
}

.jdh-slide.is-active .jdh-slide__image {
    animation: jdhImageIn .65s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes jdhImageIn {
    from {
        opacity: .35;
        transform: translateX(-50%) translateY(16px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.jdh-logo {
    position: absolute;
    z-index: 5;
    width: 63px;
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid rgba(226,223,234,.95);
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 10px 26px rgba(20,18,55,.17);
    animation: jdhLogoFloat 5s ease-in-out infinite;
}

.jdh-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jdh-logo--ibpa {
    left: 4%;
    top: 28%;
}

.jdh-logo--ikapi {
    right: 4%;
    top: 18%;
    animation-delay: .8s;
}

.jdh-logo--amazon {
    right: 4%;
    top: 58%;
    animation-delay: 1.6s;
}

.jdh-logo--jakad {
    left: 5%;
    top: 65%;
    animation-delay: 2.4s;
}

@keyframes jdhLogoFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* PULSE CARD */

.jdh-pulse-card {
    position: absolute;
    z-index: 8;
    right: 20px;
    bottom: 20px;
    width: min(270px,calc(100% - 40px));
    display: grid;
    grid-template-columns: 45px minmax(0,1fr) 10px;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border: 1px solid rgba(225,222,235,.92);
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 15px 36px rgba(26,23,72,.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: jdhPulseCardFloat 3.2s ease-in-out infinite;
}

.jdh-pulse-card__icon {
    position: relative;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg,var(--jdh-accent),var(--jdh-primary));
    color: #FFFFFF;
    isolation: isolate;
}

.jdh-pulse-card__icon::before,
.jdh-pulse-card__icon::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -7px;
    border: 2px solid rgba(98,87,199,.35);
    border-radius: 17px;
    opacity: 0;
    animation: jdhHeartbeat 2s ease-out infinite;
}

.jdh-pulse-card__icon::after {
    inset: -14px;
    animation-delay: .65s;
}

.jdh-pulse-card__icon svg {
    width: 19px;
    height: 19px;
}

@keyframes jdhHeartbeat {
    0% {
        transform: scale(.82);
        opacity: .65;
    }

    70% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes jdhPulseCardFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.jdh-pulse-card strong {
    display: block;
    margin-bottom: 2px;
    color: var(--jdh-dark);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
}

.jdh-pulse-card small {
    display: block;
    color: #666A7C;
    font-size: 9px;
    line-height: 1.45;
}

.jdh-live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C767;
}

.jdh-live-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(34,199,103,.4);
    border-radius: 50%;
    animation: jdhLiveDot 1.8s ease-out infinite;
}

@keyframes jdhLiveDot {
    from {
        transform: scale(.7);
        opacity: .8;
    }

    to {
        transform: scale(1.5);
        opacity: 0;
    }
}


/* NAVIGATION */

.jdh-navigation {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
}

.jdh-arrow {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #DCD8E8;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--jdh-primary);
    cursor: pointer;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.jdh-arrow:hover {
    transform: translateY(-2px);
    border-color: #BDB5DF;
    box-shadow: 0 8px 20px rgba(48,45,120,.08);
}

.jdh-arrow svg {
    width: 18px;
    height: 18px;
}

.jdh-counter {
    min-width: 60px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8B8E9D;
    font-size: 10px;
}

.jdh-counter strong {
    color: var(--jdh-primary);
    font-size: 12px;
}

.jdh-progress {
    width: 160px;
    height: 3px;
    overflow: hidden;
    border-radius: 20px;
    background: #E7E4ED;
}

.jdh-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,var(--jdh-primary),var(--jdh-accent));
}

.jdh-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
}

.jdh-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #D9D6E2;
    cursor: pointer;
    transition: .2s ease;
}

.jdh-dots button.is-active {
    width: 22px;
    border-radius: 999px;
    background: var(--jdh-accent);
}

.jdh-tabs {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    margin-top: 18px;
    padding: 9px;
    border: 1px solid #E5E2ED;
    border-radius: 15px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 10px 30px rgba(48,45,120,.045);
}

.jdh-tab {
    min-width: 0;
    min-height: 68px;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #505465;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.jdh-tab:hover {
    transform: translateY(-2px);
    background: #FAF9FD;
}

.jdh-tab.is-active {
    border-color: #C8C1E9;
    background: var(--jdh-soft);
}

.jdh-tab__icon {
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #FFFFFF;
    color: var(--jdh-primary);
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 5px 13px rgba(48,45,120,.06);
}

.jdh-tab strong {
    display: block;
    overflow: hidden;
    margin-bottom: 2px;
    color: var(--jdh-dark);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jdh-tab small {
    display: block;
    overflow: hidden;
    color: #7A7E8F;
    font-size: 9px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* TABLET */

@media (max-width: 1050px) {
    .jdh-hero__stage {
        min-height: 0;
    }

    .jdh-slide {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .jdh-slide__content,
    .jdh-slide__visual {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }

    .jdh-visual-card {
        max-width: 650px;
        margin: 0 auto;
    }
}


/* MOBILE */

@media (max-width: 700px) {
    .jdh-hero {
        padding: 22px 14px 26px;
    }

    .jdh-hero__shell {
        max-width: 420px;
    }

    .jdh-slide {
        gap: 14px;
    }

    .jdh-slide__content,
    .jdh-slide__visual {
        max-width: 100%;
    }

    .jdh-slide__eyebrow {
        margin-bottom: 9px;
        padding: 6px 8px;
        border-radius: 8px;
        font-size: 10.5px;
    }

    .jdh-slide__eyebrow span {
        width: 6px;
        height: 6px;
        flex-basis: 6px;
    }

    .jdh-slide__title {
        margin-bottom: 10px;
        font-size: clamp(30px,8.6vw,36px);
        line-height: 1.08;
        letter-spacing: -.85px;
    }

    .jdh-slide__subtitle {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .jdh-slide__description {
        font-size: 12.5px;
        line-height: 1.58;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    .jdh-slide__chips {
        flex-wrap: nowrap;
        gap: 6px;
        margin-top: 12px;
        padding-bottom: 2px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .jdh-slide__chips::-webkit-scrollbar {
        display: none;
    }

    .jdh-slide__chips span {
        min-height: 31px;
        flex: 0 0 auto;
        padding: 6px 8px;
        font-size: 9.5px;
        white-space: nowrap;
    }

    .jdh-slide__chips svg {
        width: 12px;
        height: 12px;
    }

    .jdh-slide__actions {
        display: grid;
        grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
        gap: 7px;
        margin-top: 14px;
    }

    .jdh-btn {
        width: 100%;
        min-height: 46px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: 10.5px;
        line-height: 1.25;
        text-align: center;
    }

    .jdh-btn svg {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }

    .jdh-slide__trust {
        display: none;
    }

    .jdh-visual-card {
        height: 278px;
        border-radius: 22px 22px 52px 22px;
    }

    .jdh-orbit--one {
        width: 230px;
        height: 170px;
    }

    .jdh-orbit--two {
        width: 270px;
        height: 205px;
    }

    .jdh-slide__image {
        max-width: 80%;
        max-height: 96%;
    }

    .jdh-logo {
        width: 39px;
        height: 39px;
        padding: 5px;
        box-shadow: 0 7px 18px rgba(20,18,55,.14);
    }

    .jdh-logo--ibpa {
        left: 2%;
        top: 31%;
    }

    .jdh-logo--ikapi {
        right: 2%;
        top: 15%;
    }

    .jdh-logo--amazon {
        right: 2%;
        top: 55%;
    }

    .jdh-logo--jakad {
        left: 3%;
        top: 65%;
    }

    .jdh-pulse-card {
        right: 8px;
        bottom: 8px;
        width: min(185px,calc(100% - 16px));
        grid-template-columns: 31px minmax(0,1fr) 7px;
        gap: 7px;
        padding: 7px 8px;
        border-radius: 10px;
    }

    .jdh-pulse-card__icon {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .jdh-pulse-card__icon svg {
        width: 15px;
        height: 15px;
    }

    .jdh-pulse-card strong {
        font-size: 9px;
    }

    .jdh-pulse-card small {
        font-size: 8px;
        line-height: 1.35;
    }

    .jdh-live-dot {
        width: 7px;
        height: 7px;
    }

    .jdh-navigation {
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
        padding: 6px 8px;
        border: 1px solid #E4E0EC;
        border-radius: 999px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 8px 22px rgba(48,45,120,.07);
    }

    .jdh-counter {
        min-width: 50px;
        font-size: 9px;
    }

    .jdh-counter strong {
        font-size: 11px;
    }

    .jdh-progress {
        display: none;
    }

    .jdh-dots {
        margin-left: 0;
    }

    .jdh-dots button {
        width: 7px;
        height: 7px;
    }

    .jdh-dots button.is-active {
        width: 18px;
    }

    .jdh-arrow {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .jdh-arrow svg {
        width: 15px;
        height: 15px;
    }

    .jdh-tabs {
        display: none;
    }
}

@media (max-width: 390px) {
    .jdh-hero {
        padding-inline: 12px;
    }

    .jdh-slide__title {
        font-size: 29px;
    }

    .jdh-slide__actions {
        grid-template-columns: 1fr 1fr;
    }

    .jdh-btn {
        min-height: 45px;
        padding-inline: 8px;
        font-size: 9.8px;
    }

    .jdh-visual-card {
        height: 258px;
    }

    .jdh-slide__image {
        max-width: 82%;
        max-height: 96%;
    }

    .jdh-logo {
        width: 36px;
        height: 36px;
    }

    .jdh-pulse-card {
        width: min(174px,calc(100% - 14px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .jdh-hero *,
    .jdh-hero *::before,
    .jdh-hero *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}
