.hp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--hp-nav-h);
    background: var(--back-default);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hp-bdr);
}

.hp-nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    padding: 0 28px;
    display: flex;
    align-items: center;
}

.hp-logo {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(120deg, var(--hp-blue), var(--hp-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: 32px;
}

.hp-logo img {
    height: 52px;
    display: block;
    -webkit-text-fill-color: initial
}

/* Desktop links */
.hp-links {
    display: flex !important;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 0;
}

.hp-links > li {
    position: relative;
    list-style: none
}

.hp-links > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 13px;
    border-radius: 10px;
    color: var(--default-text) !important;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    opacity: .8;
    transition: opacity .2s, background .2s;
    white-space: nowrap;
}

.hp-links > li > a:hover,
.hp-links > li.hp-open > a {
    opacity: 1;
    background: rgba(255, 255, 255, .07)
}

.hp-caret {
    font-size: .55rem;
    opacity: .5;
    transition: transform .25s;
    display: inline-block;
}

.hp-links > li.hp-open .hp-caret {
    transform: rotate(180deg)
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #e74c3c;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Dropdown */
.hp-drop {
    position: absolute;
    top: calc(75% + 10px);
    right: 0;
    min-width: 195px;
    background: var(--hp-drop-back);
    border: 1px solid var(--hp-bdr);
    border-radius: 16px;
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s, transform .22s, visibility .22s;
    pointer-events: none;
    z-index: 10000;
}

.hp-links > li.hp-open .hp-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.hp-drop li {
    list-style: none
}

.hp-drop li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    border-radius: 10px;
    color: var(--default-text) !important;
    text-decoration: none;
    font-size: .84rem;
    opacity: .75;
    transition: background .18s, opacity .18s;
}

.hp-drop li a:hover {
    background: rgba(255, 255, 255, .07);
    opacity: 1
}

.hp-drop-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--hp-surf);
    border: 1px solid var(--hp-bdr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
}

/* Actions */
.hp-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto
}

.hp-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hp-surf);
    border: 1px solid var(--hp-bdr);
    color: var(--default-text) !important;
    text-decoration: none;
    font-size: .9rem;
    cursor: pointer;
    transition: background .22s, transform .22s;
    flex-shrink: 0;
    position: relative;
}

.hp-icon-btn:hover {
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-purple));
    border-color: transparent;
    transform: translateY(-2px);
    color: var(--icon-color) !important;
}

.hp-btn-cta {
    padding: 9px 20px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-purple));
    color: #ffffff !important;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .22s, box-shadow .22s;
    box-shadow: 0 6px 24px rgba(0, 198, 255, .22);
}

.hp-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 198, 255, .32);
}

/* Hamburger */
.hp-burger {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: var(--hp-surf);
    border: 1px solid var(--hp-bdr);
    border-radius: 11px;
    padding: 0 9px;
    flex-shrink: 0;
    margin-right: auto;
}

.hp-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--default-text);
    border-radius: 2px;
    transition: .3s;
}

.hp-burger.hp-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.hp-burger.hp-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.hp-burger.hp-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* ══════════════════════════════
   MOBILE DRAWER
══════════════════════════════ */
.hp-drawer {
    display: block;
    position: fixed;
    top: var(--hp-nav-h);
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9998;
    background: var(--back-default);
    overflow-y: auto;
    padding: 16px 20px 40px;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
}

.hp-drawer.hp-open {
    transform: translateX(0);
    pointer-events: auto
}

.hp-drawer-link {
    display: flex;
    align-items: center;
    padding: 13px 12px;
    color: var(--default-text) !important;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    border-radius: 12px;
    opacity: .8;
    transition: background .18s, opacity .18s;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.hp-drawer-link:hover {
    background: var(--hp-surf);
    opacity: 1
}

.hp-drawer-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 12px;
    color: var(--default-text);
    font-size: .95rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    opacity: .8;
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    transition: background .18s;
}

.hp-drawer-summary::-webkit-details-marker {
    display: none
}

.hp-drawer-summary:hover {
    background: var(--hp-surf);
    opacity: 1
}

.hp-drawer-arrow {
    font-size: .7rem;
    opacity: .4;
    transition: transform .25s;
    display: inline-block
}

details[open] .hp-drawer-arrow {
    transform: rotate(180deg)
}

.hp-drawer-sub {
    padding: 6px 0 6px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.hp-drawer-sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--default-text) !important;
    text-decoration: none;
    font-size: .87rem;
    opacity: .6;
    transition: background .18s, opacity .18s;
}

.hp-drawer-sub a:hover {
    background: var(--hp-surf);
    opacity: 1
}

.hp-drawer-divider {
    height: 1px;
    background: rgba(255, 255, 255, .05);
    margin: 8px 0
}

.hp-drawer-cta {
    display: block;
    margin-top: 10px;
    padding: 14px;
    text-align: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-purple));
    color: var(--default-text) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
}

.toggle-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.toggle-slot {
    position: relative;
    height: 10em;
    width: 20em;
    border: 5px solid #e4e7ec;
    border-radius: 10em;
    background-color: white;
    box-shadow: 0px 10px 25px #e4e7ec;
    transition: background-color 250ms;
}

.toggle-checkbox:checked ~ .toggle-slot {
    background-color: #374151;
}

.toggle-button {
    transform: translate(11.75em, 1.75em);
    position: absolute;
    height: 6.5em;
    width: 6.5em;
    border-radius: 50%;
    background-color: #ffeccf;
    box-shadow: inset 0px 0px 0px 0.75em #ffbb52;
    transition: background-color 250ms, border-color 250ms, transform 500ms cubic-bezier(.26, 2, .46, .71);
}

.toggle-checkbox:checked ~ .toggle-slot .toggle-button {
    background-color: #485367;
    box-shadow: inset 0px 0px 0px 0.75em white;
    transform: translate(1.75em, 1.75em);
}

.sun-icon {
    position: absolute;
    height: 6em;
    width: 6em;
    color: #ffbb52;
}

.sun-icon-wrapper {
    position: absolute;
    height: 6em;
    width: 6em;
    opacity: 1;
    transform: translate(2em, 2em) rotate(15deg);
    transform-origin: 50% 50%;
    transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2, .46, .71);
}

.toggle-checkbox:checked ~ .toggle-slot .sun-icon-wrapper {
    opacity: 0;
    transform: translate(3em, 2em) rotate(0deg);
}

.moon-icon {
    position: absolute;
    height: 6em;
    width: 6em;
    color: white;
}

.moon-icon-wrapper {
    position: absolute;
    height: 6em;
    width: 6em;
    opacity: 0;
    transform: translate(11em, 2em) rotate(0deg);
    transform-origin: 50% 50%;
    transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2.5, .46, .71);
}

.toggle-checkbox:checked ~ .toggle-slot .moon-icon-wrapper {
    opacity: 1;
    transform: translate(12em, 2em) rotate(-15deg);
}

.hp-hero {
    min-height: 100vh;
    padding: calc(var(--hp-nav-h) + 60px) 28px 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse 60% 65% at 85% 50%, rgba(124, 58, 237, .14), transparent),
    radial-gradient(ellipse 55% 60% at 8% 45%, rgba(0, 198, 255, .09), transparent),
    var(--hp-bg);
}

.hp-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, var(--default-text) 20%, transparent 85%);
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, var(--default-text) 20%, transparent 85%);
}

.hp-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:1fr 1fr;
    align-items: center;
    gap: 56px;
}

/* Copy */
.hp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--hp-bdr);
    font-size: .78rem;
    color: var(--hp-muted);
}

.hp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--hp-blue);
    animation: hp-blink 2.5s ease-in-out infinite;
}

.hp-h1 {
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.13;
    margin-bottom: 18px;
    color: var(--default-text);
}

.hp-h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--hp-blue), var(--hp-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hp-p {
    font-size: .97rem;
    line-height: 2.05;
    color: var(--hp-muted);
    margin-bottom: 34px;
    max-width: 500px;
}

.hp-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.hp-btn-primary {
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: .92rem;
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-purple));
    color: var(--default-text) !important;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0, 198, 255, .22);
    transition: transform .28s, box-shadow .28s;
    will-change: transform;
}

.hp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(0, 198, 255, .32)
}

.hp-btn-ghost {
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: .92rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--hp-bdr);
    color: var(--default-text) !important;
    text-decoration: none;
    transition: background .28s, transform .28s;
    will-change: transform;
}

.hp-btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-3px)
}

/* Dashboard card */
.hp-dash {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center
}

.hp-card {
    width: min(460px, 100%);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--hp-bdr);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 0 80px rgba(0, 198, 255, .07), 0 0 120px rgba(124, 58, 237, .08);
}

.hp-card-hd {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px
}

.hp-card-ico {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex-shrink: 0;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color);
}

.hp-card-t {
    font-size: .95rem;
    font-weight: 700;
    color: var(--default-text)
}

.hp-card-s {
    font-size: .75rem;
    color: var(--hp-muted)
}

.hp-stats {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px
}

.hp-stat {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--hp-bdr);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.hp-sv {
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hp-sl {
    font-size: .68rem;
    color: var(--hp-muted);
    margin-top: 3px
}

.hp-chart-lbl {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    color: var(--hp-muted);
    margin-bottom: 9px
}

.hp-bars {
    display: flex;
    flex-direction: column;
    gap: 9px
}

.hp-bar-row {
    display: flex;
    align-items: center;
    gap: 10px
}

.hp-bar-n {
    font-size: .72rem;
    color: var(--hp-muted);
    width: 52px;
    text-align: right;
    flex-shrink: 0
}

.hp-track {
    flex: 1;
    height: 7px;
    background: rgba(255, 255, 255, .07);
    border-radius: 4px;
    overflow: hidden
}

.hp-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--hp-blue), var(--hp-purple));
    transform: scaleX(0);
    transform-origin: right;
}

.hp-bar-pct {
    font-size: .7rem;
    color: var(--hp-muted);
    width: 26px;
    flex-shrink: 0;
    text-align: left
}

.hp-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--hp-bdr);
}

.hp-sdot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22d3ee;
    flex-shrink: 0;
    animation: hp-blink 2s ease-in-out infinite;
}

.hp-stxt {
    font-size: .73rem;
    color: var(--hp-muted);
    display: flex;
    align-items: center;
    gap: 6px
}

.hp-sup {
    font-size: .7rem;
    color: var(--i);
}

/* Floating chips */
.hp-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    background: var(--hp-chip);
    border: 1px solid var(--hp-bdr);
    border-radius: 14px;
    font-size: .76rem;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    will-change: transform;
}

.hp-chi {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: var(--icon-color);
}

.hp-cv {
    font-weight: 700;
    font-size: .82rem;
    color: var(--default-text)
}

.hp-cl {
    color: var(--hp-muted);
    font-size: .7rem
}

.hp-chip-1 {
    top: -22px;
    right: -20px;
    animation: hp-fl 5s ease-in-out infinite
}

.hp-chip-2 {
    bottom: -20px;
    left: -20px;
    animation: hp-fl 6s ease-in-out infinite .9s
}

.hp-chip-3 {
    top: 42%;
    right: -115px;
    animation: hp-fl 7s ease-in-out infinite .4s
}

/* ── Keyframes ── */
@keyframes hp-blink {
    0%, 100% {
        opacity: 1
    }
    50% {
        opacity: .25
    }
}

@keyframes hp-fl {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-11px)
    }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1100px) {
    .hp-chip-3 {
        display: none
    }
}

@media (max-width: 960px) {
    .hp-links {
        display: none !important
    }

    .hp-actions .hp-btn-cta {
        display: none
    }

    .hp-burger {
        display: flex !important
    }

    .hp-hero-inner {
        grid-template-columns:1fr;
        text-align: center;
        gap: 36px
    }

    .hp-p {
        margin-left: auto;
        margin-right: auto
    }

    .hp-btns {
        justify-content: center
    }

    .hp-chip {
        display: none
    }
}

@media (max-width: 600px) {
    .hp-hero {
        padding: calc(var(--hp-nav-h) + 30px) 18px 50px
    }

    .hp-actions {
        gap: 2px !important;
    }

    .hp-h1 {
        font-size: 1.9rem
    }

    .hp-stats {
        grid-template-columns:1fr 1fr
    }

    .hp-stats .hp-stat:last-child {
        grid-column: 1/-1
    }

    .hp-btns {
        flex-direction: column
    }

    .hp-btn-primary, .hp-btn-ghost {
        text-align: center;
        width: 100%
    }

    .hp-card {
        padding: 20px
    }
}