body.dark {
    background-color: #020308 !important;
}

body.dark {
    background-image:
        radial-gradient(900px 380px at 10% -6%, rgba(21, 126, 234, 0.16), transparent 70%),
        radial-gradient(900px 380px at 90% -6%, rgba(123, 60, 255, 0.14), transparent 70%) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

body > *:not(#zx-bg) {
    position: relative;
    z-index: 1;
}

#zx-bg {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 360px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.6;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 62%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 62%, transparent 100%);
}

#zx-bg .zx-band {
    position: absolute;
    inset: 0;
}

#zx-bg .zx-layer {
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform;
    animation-name: zx-slide;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#zx-bg .zx-back {
    opacity: 0.8;
}

#zx-bg .zx-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 35vw;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(190, 241, 255, 0.07), transparent);
    will-change: transform;
    animation: zx-sweep 11s ease-in-out infinite;
}

#zx-bg.zx-static .zx-layer,
#zx-bg.zx-static .zx-sweep {
    animation: none;
}

@keyframes zx-slide {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes zx-sweep {
    from { transform: translate3d(-40vw, 0, 0); }
    to { transform: translate3d(110vw, 0, 0); }
}

body.dark nav, body.dark header {
    background-color: rgba(5, 7, 14, 0.82) !important;
}

body:not(.dark) nav, body:not(.dark) header {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

body:not(.dark) #zx-bg {
    opacity: 0.35;
}

body:not(.dark) {
    background-image:
        radial-gradient(900px 380px at 10% -6%, rgba(21, 126, 234, 0.10), transparent 70%),
        radial-gradient(900px 380px at 90% -6%, rgba(123, 60, 255, 0.08), transparent 70%) !important;
    background-repeat: no-repeat !important;
}

nav.border-b, header.border-b, nav .border-b {
    border-color: transparent !important;
}

nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(21, 126, 234, 0.7), rgba(123, 60, 255, 0.7), transparent);
}

.bg-primary {
    background-image: linear-gradient(135deg, #157eea 0%, #7b3cff 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

.bg-primary:hover {
    background-image: linear-gradient(135deg, #3f95f0 0%, #9161ff 100%) !important;
}

.bg-background-secondary.border {
    border-color: #1d2031 !important;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.bg-background-secondary.border:hover {
    border-color: rgba(21, 126, 234, 0.6) !important;
    box-shadow: 0 0 0 1px rgba(21, 126, 234, 0.15), 0 10px 30px -12px rgba(21, 126, 234, 0.35);
}

.prose ul {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

.prose li {
    margin: 0.15rem 0;
}

.prose li::marker {
    color: #3f95f0;
}

.zx-hero {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.zx-hero img {
    width: 132px;
    height: 132px;
    border-radius: 18px;
    border: 2px solid transparent;
    background:
        linear-gradient(#020308, #020308) padding-box,
        linear-gradient(135deg, #157eea, #7b3cff) border-box;
    object-fit: cover;
    flex: none;
}

.zx-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.zx-hero h1 span {
    background: linear-gradient(90deg, #157eea, #7b3cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.zx-hero .zx-hero-text {
    min-width: 0;
    flex: 1;
}

@keyframes zx-rise {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes zx-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -8px, 0); }
}

@keyframes zx-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes zx-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(21, 126, 234, 0); }
    50% { box-shadow: 0 0 28px -6px rgba(123, 60, 255, 0.55); }
}

.zx-hero img {
    animation: zx-float 5s ease-in-out infinite, zx-glow 5s ease-in-out infinite;
}

.zx-hero h1 span {
    background: linear-gradient(90deg, #157eea, #7b3cff, #3f95f0, #157eea);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: zx-flow 6s linear infinite;
}

.zx-hero {
    animation: zx-rise 0.6s ease-out both;
}

.grid > .bg-background-secondary.border {
    animation: zx-rise 0.5s ease-out both;
}

.grid > .bg-background-secondary.border:nth-child(1) { animation-delay: 0.05s; }
.grid > .bg-background-secondary.border:nth-child(2) { animation-delay: 0.12s; }
.grid > .bg-background-secondary.border:nth-child(3) { animation-delay: 0.19s; }
.grid > .bg-background-secondary.border:nth-child(4) { animation-delay: 0.26s; }
.grid > .bg-background-secondary.border:nth-child(5) { animation-delay: 0.33s; }
.grid > .bg-background-secondary.border:nth-child(6) { animation-delay: 0.40s; }
.grid > .bg-background-secondary.border:nth-child(7) { animation-delay: 0.47s; }
.grid > .bg-background-secondary.border:nth-child(8) { animation-delay: 0.54s; }

.bg-background-secondary.border:hover {
    transform: translate3d(0, -4px, 0);
}

.bg-primary {
    background-size: 200% 100% !important;
    transition: background-position 0.4s, transform 0.15s;
}

.bg-primary:hover {
    background-position: 100% 0 !important;
    transform: translate3d(0, -1px, 0);
}

@media (prefers-reduced-motion: reduce) {
    .zx-hero, .zx-hero img, .zx-hero h1 span,
    .grid > .bg-background-secondary.border, .bg-background-secondary.border:hover {
        animation: none !important;
        transform: none !important;
    }
}

body > nav,
body > header,
body > *:has(nav) {
    z-index: 40 !important;
}

body:not(.dark) .bg-background-secondary.border {
    border-color: #d5d8e4 !important;
}

body:not(.dark) .zx-hero img {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #157eea, #7b3cff) border-box;
}

.zx-sections {
    display: grid;
    gap: 56px;
    margin-top: 32px;
    margin-bottom: 56px;
}

.zx-sec-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.zx-sec-sub {
    color: #a7abbb;
    margin: 0 0 22px;
}

.zx-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 16px;
}

.zx-feature,
.zx-steps li,
.zx-company {
    border: 1px solid #1d2031;
    background: #0b0d17;
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    animation: zx-rise 0.5s ease-out both;
}

.zx-feature:hover,
.zx-steps li:hover {
    border-color: rgba(21, 126, 234, 0.6);
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 10px 30px -12px rgba(21, 126, 234, 0.35);
}

.zx-feature h3,
.zx-steps h3,
.zx-company h3 {
    font-weight: 600;
    font-size: 1.05rem;
    margin: 10px 0 6px;
}

.zx-feature p,
.zx-steps p,
.zx-about p {
    color: #a7abbb;
    margin: 0;
    line-height: 1.6;
}

.zx-ico {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #157eea, #7b3cff);
}

.zx-steps {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
}

.zx-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #157eea, #7b3cff);
}

.zx-about {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.zx-about-text p + p {
    margin-top: 12px;
}

.zx-company-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zx-company-head h3 {
    margin: 0;
}

.zx-company dl {
    margin: 14px 0 0;
    display: grid;
    gap: 8px;
}

.zx-company dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
}

.zx-company dt {
    color: #a7abbb;
}

.zx-company dl div:first-child dt {
    color: inherit;
    font-weight: 600;
}

.zx-company dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.zx-features .zx-feature:nth-child(2), .zx-steps li:nth-child(2) { animation-delay: 0.08s; }
.zx-features .zx-feature:nth-child(3), .zx-steps li:nth-child(3) { animation-delay: 0.16s; }
.zx-features .zx-feature:nth-child(4), .zx-steps li:nth-child(4) { animation-delay: 0.24s; }
.zx-features .zx-feature:nth-child(5) { animation-delay: 0.32s; }
.zx-features .zx-feature:nth-child(6) { animation-delay: 0.40s; }

body:not(.dark) .zx-feature,
body:not(.dark) .zx-steps li,
body:not(.dark) .zx-company {
    background: #ffffff;
    border-color: #d5d8e4;
}

@media (max-width: 800px) {
    .zx-about {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .zx-feature, .zx-steps li, .zx-company {
        animation: none !important;
        transform: none !important;
    }
}

body:not(.dark) .zx-sec-sub,
body:not(.dark) .zx-feature p,
body:not(.dark) .zx-steps p,
body:not(.dark) .zx-about p,
body:not(.dark) .zx-company dt {
    color: #565b70;
}

body:not(.dark) .zx-company dl div:first-child dt {
    color: #0b0d17;
}

/* lista de limbi */
.zx-lang-list { min-width: 190px; padding: 2px; }
.zx-lang-item { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 14px; text-align: left; transition: background .15s, color .15s; }
body.dark .zx-lang-item { color: #d6dbf0; }
body.dark .zx-lang-item:hover { background: rgba(21,126,234,.16); color: #fff; }
body.dark .zx-lang-active { background: linear-gradient(90deg, rgba(21,126,234,.28), rgba(123,60,255,.22)); color: #fff; }
body:not(.dark) .zx-lang-item { color: #1d2333; }
body:not(.dark) .zx-lang-item:hover { background: #eaf2fe; }
body:not(.dark) .zx-lang-active { background: #dbe9fd; color: #0d5fc0; }
.zx-lang-active svg { color: #4ea3ff; }
