/********** HorizonERP page **********/
.theme-horizon {
    --hz-bg: #070B14;
    --hz-bg-2: #0B1120;
    --hz-panel: rgba(255, 255, 255, .035);
    --hz-border: rgba(255, 255, 255, .08);
    --hz-text: rgba(226, 232, 240, .72);
    --hz-teal: #67E8F9;
    --hz-green: #6EE7B7;
    --hz-violet: #A78BFA;
    --hz-gradient: linear-gradient(90deg, #67E8F9, #6EE7B7 45%, #A78BFA);
    background: var(--hz-bg);
    color: var(--hz-text);
}

.theme-horizon main h1,
.theme-horizon main h2,
.theme-horizon main h3,
.theme-horizon main h4,
.theme-horizon main h5,
.theme-horizon main h6 {
    font-family: "Space Grotesk", sans-serif;
    color: #F8FAFC;
    letter-spacing: -.02em;
}

.hz-section {
    position: relative;
    padding: 120px 0;
    border-top: 1px solid var(--hz-border);
}

.hz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    font-family: "JetBrains Mono", monospace;
    font-size: .74rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #9FE8DA;
}

.hz-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hz-green);
    box-shadow: 0 0 12px var(--hz-green);
}

.hz-title {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    line-height: 1.15;
}

.hz-gradient,
.hz-gradient .split-word > span {
    background: var(--hz-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hz-lead {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--hz-text);
}

.hz-lead strong {
    color: #FFFFFF;
}

.btn-hz {
    color: #04121A;
    font-weight: 700;
    border: none;
    background: linear-gradient(90deg, #67E8F9, #6EE7B7);
    box-shadow: 0 14px 40px rgba(110, 231, 183, .28);
}

.btn-hz:hover,
.btn-hz:focus {
    color: #04121A;
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(110, 231, 183, .42);
}

.btn-hz-ghost {
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .03);
}

.btn-hz-ghost:hover {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
}


/*** Hero ***/
.hz-hero {
    position: relative;
    padding: calc(var(--nav-height) + 70px) 0 80px;
    overflow: hidden;
    isolation: isolate;
}

.hz-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 500px at 78% 40%, rgba(103, 232, 249, .12), transparent 70%),
        radial-gradient(600px 500px at 10% 100%, rgba(167, 139, 250, .12), transparent 70%);
    z-index: -2;
}

.hz-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
    z-index: -1;
}

.hz-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.hz-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--hz-border);
}

.hz-stats .v {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
}

.hz-stats .l {
    margin-top: 6px;
    font-size: .85rem;
    color: rgba(226, 232, 240, .5);
}

@media (max-width: 575.98px) {
    .hz-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Orbit stage */
.hz-stage {
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    touch-action: pan-y;
}

.hz-stage canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: grab;
}

.hz-stage canvas.dragging {
    cursor: grabbing;
}

.hz-app {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--c, #67E8F9);
    background: rgba(12, 18, 32, .82);
    border: 1px solid color-mix(in srgb, var(--c, #67E8F9) 45%, transparent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--c, #67E8F9) 25%, transparent), inset 0 0 14px color-mix(in srgb, var(--c, #67E8F9) 12%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    will-change: transform, opacity;
    transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
    padding: 0;
}

.hz-app:hover,
.hz-app:focus-visible,
.hz-app.is-active {
    outline: none;
    color: #04121A;
    background: var(--c, #67E8F9);
    box-shadow: 0 0 40px color-mix(in srgb, var(--c, #67E8F9) 70%, transparent);
}

.hz-stage.is-dimmed .hz-app:not(.is-active) {
    filter: saturate(.3) brightness(.7);
}

.hz-app-panel {
    position: relative;
    margin: 18px auto 0;
    max-width: 460px;
    min-height: 92px;
    padding: 16px 20px;
    border-radius: 18px;
    border: 1px solid var(--hz-border);
    background: rgba(255, 255, 255, .03);
    display: flex;
    gap: 16px;
    align-items: center;
    transition: border-color .3s ease;
}

.hz-app-panel .ap-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #04121A;
    background: var(--c, #67E8F9);
}

.hz-app-panel .ap-univers {
    font-family: "JetBrains Mono", monospace;
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c, #67E8F9);
}

.hz-app-panel .ap-name {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 1.05rem;
}

.hz-app-panel .ap-desc {
    font-size: .88rem;
    margin: 0;
}

.hz-app-panel.is-hint {
    justify-content: center;
    text-align: center;
    font-family: "JetBrains Mono", monospace;
    font-size: .78rem;
    letter-spacing: .04em;
    color: rgba(226, 232, 240, .55);
}

.hz-app-panel .ap-content {
    animation: hzFade .35s ease;
}

@keyframes hzFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}


/*** Marquee ***/
.hz-marquee {
    position: relative;
    overflow: hidden;
    padding: 26px 0;
    border-top: 1px solid var(--hz-border);
    border-bottom: 1px solid var(--hz-border);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.hz-marquee-track {
    display: flex;
    width: max-content;
    animation: hzMarquee 45s linear infinite;
}

.hz-marquee:hover .hz-marquee-track {
    animation-play-state: paused;
}

.hz-marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    padding-right: 34px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(226, 232, 240, .45);
    white-space: nowrap;
}

.hz-marquee-track span::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hz-green);
    opacity: .7;
}

@keyframes hzMarquee {
    to { transform: translateX(-50%); }
}


/*** ERP intro ***/
.hz-card {
    position: relative;
    height: 100%;
    padding: 30px;
    border-radius: 22px;
    border: 1px solid var(--hz-border);
    background: var(--hz-panel);
    transition: border-color .4s ease, transform .4s ease, background .4s ease;
}

.hz-card:hover {
    border-color: rgba(110, 231, 183, .3);
    background: rgba(255, 255, 255, .05);
    transform: translateY(-4px);
}

.hz-card .hc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #04121A;
    background: var(--hz-gradient);
    margin-bottom: 18px;
}

.hz-card h5 {
    margin-bottom: 8px;
}

.hz-card p {
    margin: 0;
    font-size: .95rem;
}

.hz-domains {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.hz-domain {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid var(--hz-border);
    background: rgba(255, 255, 255, .02);
    color: rgba(226, 232, 240, .55);
    font-weight: 600;
    font-size: .92rem;
    transition: all .5s ease;
}

.hz-domain i {
    width: 18px;
    text-align: center;
    color: rgba(226, 232, 240, .35);
    transition: color .5s ease;
}

.hz-domain.on {
    color: #FFFFFF;
    border-color: rgba(110, 231, 183, .35);
    background: rgba(110, 231, 183, .06);
}

.hz-domain.on i {
    color: var(--hz-green);
}

.hz-core-chip {
    grid-column: span 2;
    text-align: center;
    padding: 18px;
    border-radius: 16px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: #04121A;
    background: var(--hz-gradient);
    box-shadow: 0 0 40px rgba(110, 231, 183, .2);
}


/*** Univers tabs ***/
.hz-univers-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hz-univers-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--hz-border);
    background: rgba(255, 255, 255, .02);
    color: rgba(226, 232, 240, .75);
    text-align: left;
    overflow: hidden;
    transition: all .35s ease;
}

.hz-univers-btn .ub-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 12%, transparent);
    transition: all .35s ease;
}

.hz-univers-btn .ub-name {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
}

.hz-univers-btn .ub-count {
    margin-left: auto;
    font-family: "JetBrains Mono", monospace;
    font-size: .72rem;
    color: rgba(226, 232, 240, .5);
}

.hz-univers-btn .ub-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--c);
}

.hz-univers-btn:hover {
    border-color: rgba(255, 255, 255, .18);
}

.hz-univers-btn.active {
    border-color: color-mix(in srgb, var(--c) 50%, transparent);
    background: color-mix(in srgb, var(--c) 8%, transparent);
}

.hz-univers-btn.active .ub-icon {
    color: #04121A;
    background: var(--c);
}

.hz-univers-panel {
    height: 100%;
    padding: 36px;
    border-radius: 24px;
    border: 1px solid var(--hz-border);
    background:
        radial-gradient(500px 260px at 100% 0%, color-mix(in srgb, var(--c, #67E8F9) 14%, transparent), transparent 70%),
        rgba(255, 255, 255, .025);
    transition: background .5s ease;
}

.hz-univers-panel .up-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c, #67E8F9);
}

.hz-app-card {
    display: flex;
    gap: 14px;
    height: 100%;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--hz-border);
    background: rgba(7, 11, 20, .55);
    opacity: 0;
    transform: translateY(14px);
    animation: hzCardIn .55s cubic-bezier(.2, .8, .2, 1) forwards;
}

.hz-app-card .ac-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c);
    border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
    background: color-mix(in srgb, var(--c) 10%, transparent);
}

.hz-app-card h6 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.hz-app-card p {
    margin: 0;
    font-size: .88rem;
}

@keyframes hzCardIn {
    to { opacity: 1; transform: translateY(0); }
}


/*** Data flow scenarios ***/
.hz-scenario-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hz-scenario-tab {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--hz-border);
    background: rgba(255, 255, 255, .02);
    text-align: left;
    color: rgba(226, 232, 240, .65);
    transition: all .35s ease;
}

.hz-scenario-tab .st-num {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: .72rem;
    color: var(--hz-green);
    margin-bottom: 6px;
}

.hz-scenario-tab .st-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    font-size: .98rem;
    line-height: 1.3;
}

.hz-scenario-tab.active {
    border-color: rgba(110, 231, 183, .45);
    background: rgba(110, 231, 183, .06);
    box-shadow: 0 0 30px rgba(110, 231, 183, .08);
}

@media (max-width: 991.98px) {
    .hz-scenario-tabs { grid-template-columns: repeat(2, 1fr); }
}

.hz-flow {
    position: relative;
    margin-top: 30px;
    padding: 46px 40px 36px;
    border-radius: 26px;
    border: 1px solid var(--hz-border);
    background:
        radial-gradient(600px 260px at 50% 0%, rgba(103, 232, 249, .08), transparent 70%),
        rgba(255, 255, 255, .02);
}

.hz-flow-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hz-flow-nodes {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hz-flow-track {
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: rgba(255, 255, 255, .08);
}

.hz-flow-track .ft-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--hz-gradient);
    transition: width 1.1s cubic-bezier(.6, 0, .4, 1);
}

.hz-flow-track .ft-packet {
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(110, 231, 183, .25), 0 0 24px var(--hz-green);
    transition: left 1.1s cubic-bezier(.6, 0, .4, 1);
}

.hz-flow-node {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hz-flow-node .fn-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgba(226, 232, 240, .4);
    background: var(--hz-bg-2);
    border: 1px solid var(--hz-border);
    transition: all .5s ease;
}

.hz-flow-node .fn-step {
    font-family: "JetBrains Mono", monospace;
    font-size: .7rem;
    color: rgba(226, 232, 240, .4);
}

.hz-flow-node .fn-app {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, .55);
    margin: 4px 0 8px;
    transition: color .4s ease;
}

.hz-flow-node .fn-text {
    font-size: .87rem;
    color: rgba(226, 232, 240, .4);
    transition: color .4s ease;
    margin: 0;
}

.hz-flow-node.on .fn-icon {
    color: #04121A;
    background: var(--c, #6EE7B7);
    border-color: transparent;
    box-shadow: 0 0 40px color-mix(in srgb, var(--c, #6EE7B7) 45%, transparent);
    transform: translateY(-4px);
}

.hz-flow-node.on .fn-app {
    color: #FFFFFF;
}

.hz-flow-node.on .fn-text {
    color: var(--hz-text);
}

.hz-flow-node.on .fn-step {
    color: var(--hz-green);
}

@media (max-width: 767.98px) {
    .hz-flow { padding: 30px 20px; }
    .hz-flow-nodes { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .hz-flow-track { display: none; }
}


/*** CheckFlow ***/
.hz-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hz-compare > div {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--hz-border);
    background: rgba(255, 255, 255, .02);
}

.hz-compare h6 {
    font-size: .8rem !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hz-compare ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hz-compare li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: .9rem;
    line-height: 1.5;
}

.hz-compare li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: .8rem;
}

.hz-compare .before h6 { color: #FCA5A5; }
.hz-compare .before li::before { content: "\f00d"; color: #F87171; }
.hz-compare .after {
    border-color: rgba(110, 231, 183, .3);
    background: rgba(110, 231, 183, .04);
}
.hz-compare .after h6 { color: var(--hz-green); }
.hz-compare .after li::before { content: "\f00c"; color: var(--hz-green); }

@media (max-width: 575.98px) {
    .hz-compare { grid-template-columns: 1fr; }
}

.hz-cheque-wrap {
    perspective: 1200px;
}

.hz-cheque {
    position: relative;
    padding: 26px 28px 22px;
    border-radius: 18px;
    color: #1E293B;
    background:
        repeating-linear-gradient(135deg, rgba(15, 118, 110, .04) 0 2px, transparent 2px 8px),
        linear-gradient(135deg, #F0FDFA 0%, #ECFEFF 50%, #F5F3FF 100%);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .5) inset;
    transform: rotateX(8deg) rotateY(-10deg) rotateZ(1deg);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
    font-size: .85rem;
    overflow: hidden;
}

.hz-cheque-wrap:hover .hz-cheque {
    transform: rotateX(0) rotateY(0) rotateZ(0);
}

.hz-cheque .cq-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 700;
    color: #0F766E;
}

.hz-cheque .cq-head small {
    font-family: "JetBrains Mono", monospace;
    color: #475569;
    font-weight: 500;
}

.hz-cheque .cq-amount {
    float: right;
    margin: 0 0 10px 12px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid #0F766E;
    font-family: "JetBrains Mono", monospace;
    font-weight: 500;
    font-size: 1rem;
    color: #0F172A;
    background: rgba(255, 255, 255, .7);
}

.hz-cheque .cq-amount small {
    display: block;
    font-size: .6rem;
    color: #64748B;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hz-cheque .cq-line {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(15, 23, 42, .2);
    color: #475569;
}

.hz-cheque .cq-line b {
    color: #0F172A;
    font-weight: 600;
}

.hz-cheque .cq-micr {
    margin-top: 16px;
    font-family: "JetBrains Mono", monospace;
    font-size: .8rem;
    letter-spacing: .12em;
    color: #334155;
}

.hz-cheque .cq-stamp {
    position: absolute;
    right: 24px;
    bottom: 22px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 2px solid #059669;
    color: #059669;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(236, 253, 245, .85);
    transform: rotate(-8deg) scale(2.2);
    opacity: 0;
    transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), opacity .3s ease;
}

.hz-cheque.signed .cq-stamp {
    transform: rotate(-8deg) scale(1);
    opacity: 1;
}

.hz-cheque .cq-sign {
    position: absolute;
    right: 150px;
    bottom: 26px;
    width: 120px;
    height: 40px;
}

.hz-cheque .cq-sign path {
    fill: none;
    stroke: #1E3A8A;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.2s ease;
}

.hz-cheque.signed .cq-sign path {
    stroke-dashoffset: 0;
}

.hz-cheque.printing {
    animation: hzPrint 1s ease;
}

@keyframes hzPrint {
    0% { clip-path: inset(0 0 100% 0); }
    100% { clip-path: inset(0 0 0 0); }
}

.hz-cheque-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 26px;
    list-style: none;
    padding: 0;
}

.hz-cheque-steps li {
    position: relative;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--hz-border);
    background: rgba(255, 255, 255, .02);
    transition: all .4s ease;
}

.hz-cheque-steps li b {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    color: rgba(255, 255, 255, .55);
    font-size: .92rem;
}

.hz-cheque-steps li small {
    font-size: .74rem;
    color: rgba(226, 232, 240, .45);
}

.hz-cheque-steps li.done {
    border-color: rgba(110, 231, 183, .4);
    background: rgba(110, 231, 183, .07);
}

.hz-cheque-steps li.done b {
    color: #FFFFFF;
}

.hz-cheque-steps li.done b::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .7rem;
    margin-right: 6px;
    color: var(--hz-green);
}

@media (max-width: 575.98px) {
    .hz-cheque-steps { grid-template-columns: repeat(2, 1fr); }
    .hz-cheque .cq-sign { display: none; }
}


/*** Security ***/
.hz-terminal {
    height: 100%;
    border-radius: 22px;
    border: 1px solid var(--hz-border);
    background: #05080F;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hz-terminal .t-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--hz-border);
    font-family: "JetBrains Mono", monospace;
    font-size: .76rem;
    color: rgba(226, 232, 240, .55);
}

.hz-terminal .t-head .live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #F87171;
}

.hz-terminal .t-head .live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #EF4444;
    animation: blink 1.2s infinite;
}

.hz-terminal .t-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    background: #334155;
}

.hz-terminal .t-body {
    flex: 1;
    min-height: 300px;
    padding: 18px;
    font-family: "JetBrains Mono", monospace;
    font-size: .8rem;
    line-height: 1.6;
    list-style: none;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hz-terminal .t-body li {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .05);
    animation: hzFade .4s ease;
}

.hz-terminal .t-time { color: rgba(226, 232, 240, .35); }
.hz-terminal .t-user { color: var(--hz-teal); }
.hz-terminal .t-sys { color: var(--hz-violet); }
.hz-terminal .t-ref { color: var(--hz-green); }

.hz-terminal .t-cursor {
    display: inline-block;
    width: 7px;
    height: 14px;
    margin-left: 2px;
    vertical-align: -2px;
    background: var(--hz-green);
    animation: blink 1s steps(1) infinite;
}

.hz-terminal .t-foot {
    padding: 14px 18px;
    border-top: 1px solid var(--hz-border);
    font-size: .8rem;
}

.hz-terminal .t-foot span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 18px;
    color: rgba(226, 232, 240, .6);
}

.hz-terminal .t-foot i {
    color: var(--hz-green);
}

.hz-sec-card {
    height: 100%;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--hz-border);
    background: rgba(255, 255, 255, .025);
}

.hz-sec-card h6 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.hz-sec-card p {
    font-size: .87rem;
    margin-bottom: 16px;
}

.hz-otp {
    display: flex;
    gap: 6px;
}

.hz-otp span {
    flex: 1;
    max-width: 38px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 1.15rem;
    color: #FFFFFF;
    border: 1px solid rgba(110, 231, 183, .3);
    background: rgba(110, 231, 183, .05);
    transition: transform .3s ease;
}

.hz-otp span.flip {
    transform: rotateX(90deg);
}

.hz-otp-bar {
    height: 3px;
    margin-top: 12px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.hz-otp-bar span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--hz-gradient);
    transform-origin: left;
}

.hz-matrix {
    width: 100%;
    font-size: .76rem;
    border-collapse: separate;
    border-spacing: 0 4px;
}

.hz-matrix th {
    font-family: "JetBrains Mono", monospace;
    font-weight: 500;
    color: rgba(226, 232, 240, .45);
    text-align: center;
    padding: 0 2px 4px;
}

.hz-matrix th:first-child {
    text-align: left;
}

.hz-matrix td {
    padding: 4px 2px;
    text-align: center;
    color: rgba(226, 232, 240, .8);
}

.hz-matrix td:first-child {
    text-align: left;
    font-weight: 600;
}

.hz-matrix .perm {
    display: inline-flex;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    border: 1px solid var(--hz-border);
    color: transparent;
    transition: all .35s ease;
}

.hz-matrix .perm.on {
    color: #04121A;
    background: var(--hz-green);
    border-color: transparent;
}

.hz-lock {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hz-lock svg {
    width: 64px;
    height: 64px;
    transform: rotate(-90deg);
}

.hz-lock circle {
    fill: none;
    stroke-width: 5;
}

.hz-lock .bg { stroke: rgba(255, 255, 255, .08); }

.hz-lock .fg {
    stroke: var(--hz-violet);
    stroke-linecap: round;
    stroke-dasharray: 176;
    stroke-dashoffset: 0;
}

.hz-lock .lk-state {
    font-family: "JetBrains Mono", monospace;
    font-size: .8rem;
}

.hz-lock .lk-state b {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    color: #FFFFFF;
}

.hz-backup .bk-bar {
    height: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.hz-backup .bk-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 8px;
    background: var(--hz-gradient);
}

.hz-backup .bk-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: .74rem;
    color: rgba(226, 232, 240, .55);
}

.hz-signature svg {
    width: 100%;
    height: 70px;
}

.hz-signature path {
    fill: none;
    stroke: var(--hz-teal);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: hzSign 4.5s ease-in-out infinite;
}

@keyframes hzSign {
    0% { stroke-dashoffset: 600; }
    45%, 80% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}


/*** FAQ ***/
.hz-faq .accordion-item {
    margin-bottom: 12px;
    border: 1px solid var(--hz-border);
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .025);
    overflow: hidden;
}

.hz-faq .accordion-button {
    padding: 22px 24px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #FFFFFF;
    background: transparent;
    box-shadow: none;
}

.hz-faq .accordion-button:not(.collapsed) {
    color: var(--hz-green);
    background: rgba(110, 231, 183, .04);
}

.hz-faq .accordion-button::after {
    filter: invert(1) brightness(1.4);
}

.hz-faq .accordion-button:focus {
    box-shadow: 0 0 0 2px rgba(110, 231, 183, .35);
}

.hz-faq .accordion-body {
    padding: 0 24px 22px;
    color: var(--hz-text);
}


/*** CTA ***/
.hz-cta {
    position: relative;
    padding: 70px 56px;
    border-radius: 32px;
    border: 1px solid rgba(110, 231, 183, .2);
    background:
        radial-gradient(700px 300px at 100% 0%, rgba(103, 232, 249, .16), transparent 65%),
        radial-gradient(600px 300px at 0% 100%, rgba(167, 139, 250, .16), transparent 65%),
        #0A101D;
    overflow: hidden;
}

.hz-cta .contact-mini {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.hz-cta .contact-mini i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hz-green);
    background: rgba(110, 231, 183, .08);
    border: 1px solid rgba(110, 231, 183, .2);
}

.hz-cta .contact-mini small {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, .45);
}

.hz-cta .contact-mini a,
.hz-cta .contact-mini span {
    color: #FFFFFF;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .hz-cta { padding: 40px 24px; }
    .hz-section { padding: 80px 0; }
}

.theme-horizon .page-crumb {
    font-family: "JetBrains Mono", monospace;
    font-size: .74rem;
    color: rgba(226, 232, 240, .45);
}

.theme-horizon .page-crumb a {
    color: rgba(226, 232, 240, .65);
}

.theme-horizon .page-crumb a:hover {
    color: #FFFFFF;
}
