@keyframes gridMove {
    0% { transform: rotateX(60deg) translateY(0) }
    to { transform: rotateX(60deg) translateY(60px) }
}
@keyframes pulseDot {
    0%, to { opacity: 1 }
    50% { opacity: .5 }
}
@keyframes floatHero {
    0%, to { transform: rotateY(10deg) rotateX(5deg) translateY(0) }
    50% { transform: rotateY(10deg) rotateX(5deg) translateY(-20px) }
}
@keyframes floatStat {
    0%, to { transform: translateY(0) }
    50% { transform: translateY(-10px) }
}
@keyframes floatHeroMobile {
    0%, to { transform: rotateY(5deg) rotateX(5deg) translateY(0) }
    50% { transform: rotateY(5deg) rotateX(5deg) translateY(-10px) }
}
.wx-hero-section {
    position: relative;
    min-height: 100vh;
    background-color: #030508;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 8% 80px;
}
.wx-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    perspective: 1000px;
}
.wx-grid-floor {
    position: absolute;
    width: 200%;
    height: 130%;
    bottom: -50%;
    inset-inline-end: -50%;
    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: 60px 60px;
    transform: rotateX(60deg);
    mask-image: linear-gradient(to top,#000 0,transparent 60%);
    animation: gridMove 20s linear infinite;
}
.wx-hero-glow {
    position: absolute;
    top: -20%;
    inset-inline-start: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,rgba(0,210,255,.15)0,transparent 70%);
    filter: blur(80px);
}
.wx-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.wx-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}
.wx-status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}
.wx-badge-text {
    font-size: .85rem;
    color: #e2e8f0;
    font-weight: 500;
}
.wx-hero-title {
    font-size: clamp(2.8rem,6vw,4.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 25px;
}
.wx-gradient-text {
    background: linear-gradient(-135deg,#fff 0,#00d2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
.wx-gradient-text::after {
    content: "";
    position: absolute;
    bottom: 5px;
    inset-inline-end: 0;
    width: 100%;
    height: 10px;
    background: rgba(0,210,255,.2);
    z-index: -1;
    transform: skewX(15deg);
}
.wx-hero-desc {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}
.wx-hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}
.wx-btn-primary {
    padding: 16px 35px;
    background: linear-gradient(-135deg,#00d2ff,#3a7bd5);
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,210,255,.3);
    transition: .3s;
    gap: 10px;
}
.wx-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,210,255,.5);
}
.wx-btn-glass, .wx-btn-primary, .wx-trust-mini {
    display: flex;
    align-items: center;
}
.wx-btn-glass {
    padding: 16px 35px;
    background: rgba(255,255,255,.05);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.1);
    transition: .3s;
    gap: 10px;
}
.wx-btn-glass:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
}
.wx-trust-mini {
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,.05);
    padding-top: 25px;
    width: fit-content;
}
.wx-avatars {
    display: flex;
}
.wx-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #030508;
    margin-inline-start: -10px;
}
.wx-trust-text {
    font-size: .9rem;
    color: var(--text-dim);
}
.wx-trust-text strong {
    color: #fff;
    display: block;
    font-size: 1.1rem;
}
.wx-hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}
.wx-glass-card {
    background: rgba(20,25,35,.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,.5);
    position: absolute;
    transition: .1s;
}
.card-main {
    width: 400px;
    height: 280px;
    z-index: 2;
    padding: 20px;
    transform: rotateY(10deg) rotateX(5deg);
    animation: floatHero 6s ease-in-out infinite;
}
.card-back {
    width: 350px;
    height: 250px;
    z-index: 1;
    top: 20px;
    inset-inline-start: -40px;
    background: linear-gradient(-135deg,rgba(0,210,255,.1),rgba(58,123,213,.1));
    transform: rotateY(10deg) rotateX(5deg) translateZ(-50px);
    animation: floatHero 6s ease-in-out infinite reverse;
}
.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.red { background: #ff5f56 }
.yellow { background: #ffbd2e }
.green { background: #27c93f }
.card-body-mockup {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mock-line {
    height: 10px;
    background: rgba(255,255,255,.1);
    border-radius: 5px;
}
.title { width: 60% }
.sub { width: 40% }
.mock-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.mock-box {
    flex: 1;
    height: 80px;
    background: rgba(255,255,255,.05);
    border-radius: 10px;
}
.code-snippet {
    margin-top: 30px;
    font-family: monospace;
    color: var(--accent-blue);
    font-size: .9rem;
    background: rgba(0,0,0,.3);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}
.wx-floating-stat {
    position: absolute;
    bottom: 50px;
    inset-inline-end: -20px;
    background: #0f172a;
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
    animation: floatStat 4s ease-in-out infinite;
}
.wx-floating-stat i { color: #10b981 }
.wx-floating-stat span { font-weight: 700; color: #fff }

@media (max-width: 992px) {
    .wx-hero-section {
        padding: 140px 5% 60px;
        min-height: auto;
        display: block;
    }
    .wx-hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .wx-hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .wx-hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    .wx-hero-desc {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 30px;
    }
    .wx-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .wx-btn-glass, .wx-btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
    .wx-hero-visual {
        height: 320px;
        margin-top: 20px;
        transform: none;
    }
    .card-main {
        width: 85vw;
        height: auto;
        aspect-ratio: 4/3;
        transform: rotateY(5deg) rotateX(5deg);
        animation: floatHeroMobile 4s ease-in-out infinite;
    }
    .card-back {
        width: 80vw;
        height: 200px;
        top: 10px;
        inset-inline-start: -10px;
        opacity: .6;
        transform: rotateY(5deg) rotateX(5deg) translateZ(-30px);
    }
    .wx-floating-stat {
        inset-inline-end: 0;
        bottom: 20px;
        padding: 10px 15px;
        font-size: .8rem;
    }
    .wx-grid-floor {
        opacity: .3;
        bottom: -20%;
    }
}
