.hero {
    background: radial-gradient(circle at 20% 30%, rgba(0, 191, 165, 0.15), transparent 40%),
        linear-gradient(135deg, #0F172A, #020617);
    padding: 200px 0 100px 0;
    color: #fff;
    /* min-height: 100vh; */
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    /* margin: 0 auto; */
    display: flex;
    /* max-width: var(--max-width); */
    align-items: center;
    gap: 60px;
    position: relative;
}

/* LEFT SIDE */
.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px; 
    padding: 6px 18px;
    font-size: var(--text-size);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 64px;
    font-family: var(--font-family);
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 15px;
}

.highlight {
    background: linear-gradient(90deg,
            var(--primary-color),
            var(--neutral-color),
            var(--secondary-color));
    background-size: 200% auto;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: moveGradient 5s linear infinite;

    position: relative;
    display: inline-block;
}

@keyframes moveGradient {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white-color);
}

.hero-desc {
    width: 60%;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    position: relative;
    background: var(--primary-color);
    color: var(--neutral-color);
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
}

/* circle */
.btn-primary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;

    transform: translate(50%, -50%) scale(0);
    transition: transform 0.6s ease, right 0.6s ease;

    z-index: -1;
}

/* 🔥 hover animation */
.btn-primary:hover::after {
    right: 100%;
    transform: translate(50%, -50%) scale(15);
}

/* ✅ text color change */
.btn-primary:hover {
    color: #fff;
}

.btn-outline {
    position: relative;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
}

.btn-outline::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    /* ✅ variable used */
    transition: left 0.4s ease;
    z-index: -1;
}

/* 🔥 Hover */
.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: var(--neutral-color);
    /* text becomes dark */
}

.hero-image {
    position: relative;
}

.hero-image .dote-pattern {
    z-index: 0;
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 30%;
    height: 40%;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

/* RIGHT SIDE */
.hero-image img {
    width: 100%;

    position: relative;
    z-index: 2;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

.laptop-boy {
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 300px;
}
.laptop-boy img{
    width: 60%;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    .hero-desc {
        width: 80%;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 150px 0 100px 0;
    }
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-desc {
        /* width: 100%; */
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        width: 80%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 120px 0 80px 0;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 20px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
   .btn {
    width: 100%;
    text-align: center;
    padding: 12px 0px;
}
    .hero-image {
        width: 100%;
    }
    .laptop-boy {
        display: none;
    }
}