.hero {

    min-height: 100vh;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;
}

.hero-container {

    width: 100%;

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 60px;

    position: relative;

    z-index: 2;
}

/* ====================== */
/* BG */
/* ====================== */

.hero-bg-grid {

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);

    background-size: 60px 60px;

    mask-image: radial-gradient(circle at center,
            black 30%,
            transparent 90%);

    pointer-events: none;
}

/* ====================== */
/* LEFT */
/* ====================== */

.hero-content {

    position: relative;

    z-index: 3;

    animation: heroFadeLeft 1s ease;
}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 12px 18px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .05);

    border: 1px solid var(--border);

    margin-bottom: 25px;

    backdrop-filter: blur(20px);

    font-size: 14px;

    color: var(--text-secondary);
}

.hero-badge span {

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #00ff88;

    box-shadow:
        0 0 15px #00ff88;
}

.hello {

    font-size: 18px;

    color: var(--secondary);

    margin-bottom: 10px;

    font-weight: 600;
}

.hero-title {

    font-size: 90px;

    line-height: 1;

    margin-bottom: 14px;

    background:
        linear-gradient(to right,
            var(--hero-title-1),
            var(--hero-title-2));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

.hero-subtitle {

    font-size: 38px;

    color: var(--text-secondary);

    margin-bottom: 30px;

    font-weight: 500;
}

.description {

    max-width: 620px;

    line-height: 2;

    color: var(--text-muted);

    font-size: 16px;
}

/* ====================== */
/* STATS */
/* ====================== */

.hero-stats {

    display: flex;

    gap: 18px;

    margin-top: 40px;

    flex-wrap: wrap;
}

.hero-stat {

    min-width: 120px;

    padding: 22px;

    border-radius: 24px;

    background:
        var(--glass-bg);

    border: 1px solid var(--border);

    backdrop-filter: blur(25px);
}

.hero-stat h3 {

    font-size: 28px;

    margin-bottom: 8px;
}

.hero-stat span {

    color: var(--text-muted);

    font-size: 14px;
}

/* ====================== */
/* BUTTON */
/* ====================== */

.hero-buttons {

    margin-top: 45px;

    display: flex;

    gap: 16px;

    flex-wrap: wrap;
}

/* ====================== */
/* RIGHT */
/* ====================== */

.hero-image-area {

    position: relative;

    height: 700px;

    display: flex;

    align-items: center;

    justify-content: center;

    animation: heroFadeRight 1s ease;
}

.hero-image-wrap {

    width: 420px;
    height: 520px;

    border-radius: 40px;

    overflow: hidden;

    position: relative;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, .08),
            rgba(255, 255, 255, .02));

    border: 1px solid var(--border);

    backdrop-filter: blur(30px);

    box-shadow:
        0 30px 80px rgba(108, 92, 231, .25);

    animation:
        floatImage 5s ease-in-out infinite;
}

.hero-image {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

/* ====================== */
/* ORBIT */
/* ====================== */

.hero-orbit {

    position: absolute;

    border: 1px dashed rgba(255, 255, 255, .12);

    border-radius: 50%;

    animation:
        rotateOrbit linear infinite;
}

.orbit1 {

    width: 540px;
    height: 540px;

    animation-duration: 20s;
}

.orbit2 {

    width: 680px;
    height: 680px;

    animation-duration: 35s;

    animation-direction: reverse;
}

/* ====================== */
/* FLOATING CARD */
/* ====================== */

.floating-card {

    position: absolute;

    padding: 16px 22px;

    border-radius: 22px;

    background:
        var(--glass-bg-strong);

    border: 1px solid var(--border);

    backdrop-filter: blur(25px);

    display: flex;

    align-items: center;

    gap: 12px;

    font-weight: 600;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .15);

    animation:
        floatingCard 4s ease-in-out infinite;
}

.floating-card i {

    color: var(--secondary);

    font-size: 20px;
}

.card1 {

    top: 18%;
    left: -20px;
}

.card2 {

    right: -10px;
    top: 30%;

    animation-delay: 1s;
}

.card3 {

    bottom: 20%;
    left: 20px;

    animation-delay: 2s;
}

/* ====================== */
/* ANIMATION */
/* ====================== */

@keyframes heroFadeLeft {

    from {

        opacity: 0;

        transform:
            translateX(-60px);
    }

    to {

        opacity: 1;

        transform:
            translateX(0);
    }
}

@keyframes heroFadeRight {

    from {

        opacity: 0;

        transform:
            translateX(60px);
    }

    to {

        opacity: 1;

        transform:
            translateX(0);
    }
}

@keyframes floatImage {

    0%,
    100% {

        transform:
            translateY(0);
    }

    50% {

        transform:
            translateY(-18px);
    }
}

@keyframes rotateOrbit {

    from {

        transform: rotate(0deg);
    }

    to {

        transform: rotate(360deg);
    }
}

@keyframes floatingCard {

    0%,
    100% {

        transform:
            translateY(0);
    }

    50% {

        transform:
            translateY(-10px);
    }
}

.hero-buttons .btn {

    padding: 16px 34px;

    border-radius: 18px;

    text-decoration: none;

    color: white;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;

    position: relative;

    overflow: hidden;

    border: 1px solid transparent;

    backdrop-filter: blur(20px);

    font-weight: 600;

    letter-spacing: .3px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;
}

.hero-buttons .primary {

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    box-shadow:
        0 15px 35px rgba(108, 92, 231, .35);
}

.hero-buttons .btn.secondary {

    background:
        var(--glass-bg);

    border:
        1px solid var(--border);

    color:
        var(--text);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);
}

.hero-buttons .btn.secondary i {

    color: var(--secondary);
}

.hero-buttons .btn.secondary:hover {

    background:
        var(--glass-bg-strong);
}

.hero-buttons .btn:hover {

    transform:
        translateY(-6px) scale(1.03);

    box-shadow:
        var(--shadow);
}

[data-theme="light"] .hero-orbit {

    border:
        1px dashed rgba(0, 0, 0, .08);
}

[data-theme="light"] .floating-card {

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .08);
}

[data-theme="light"] .hero-image-wrap {

    box-shadow:
        0 25px 60px rgba(108, 92, 231, .12);
}

[data-theme="light"] .hero-buttons .secondary {

    background:
        rgba(255, 255, 255, .8);
}

/* ====================== */
/* MOBILE */
/* ====================== */

@media(max-width:768px) {

    .hero {

        padding-top: 130px;

        min-height: auto;
    }

    .hero-container {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-image-area {

        order: -1;

        height: auto;
    }

    .hero-image-wrap {

        width: 280px;
        height: 360px;

        border-radius: 32px;
    }

    .orbit1 {

        width: 360px;
        height: 360px;
    }

    .orbit2 {

        width: 440px;
        height: 440px;
    }

    .hero-content {

        text-align: center;
    }

    .hero-title {

        font-size: 58px;
    }

    .hero-subtitle {

        font-size: 28px;
    }

    .description {

        font-size: 14px;

        line-height: 1.9;

        margin: auto;
    }

    .hero-buttons {

        width: 100%;
    }

    .btn {

        flex: 1;
    }

    .hero-stats {

        justify-content: center;
    }

    .hero-stat {

        flex: 1;

        min-width: 100px;

        padding: 18px;
    }

    .hero-stat h3 {

        font-size: 22px;
    }

    .floating-card {

        padding: 12px 16px;

        font-size: 12px;

        border-radius: 18px;
    }

    .card1 {

        left: 0;
        top: 10%;
    }

    .card2 {

        right: 0;
    }

    .card3 {

        bottom: 10%;
        left: 0;
    }
}