/* =========================
   HERO SECTION
========================= */

.hero {

    position: relative;

    min-height: 900px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #080b12;

}


/* =========================
   BACKGROUND
========================= */

.hero-bg {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(

            circle at 75% 45%,

            rgba(108, 99, 255, 0.22),

            transparent 32%

        ),

        radial-gradient(

            circle at 15% 80%,

            rgba(81, 72, 229, 0.12),

            transparent 30%

        ),

        linear-gradient(

            135deg,

            #080b12 0%,

            #0b0f19 50%,

            #080b12 100%

        );

}


/* =========================
   DECORATIVE LIGHTS
========================= */

.hero-light {

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.18;

    pointer-events: none;

}

.hero-light-1 {

    top: 5%;

    right: -180px;

    background: #6c63ff;

}

.hero-light-2 {

    bottom: -250px;

    left: 15%;

    background: #5148e5;

}


/* =========================
   HERO WRAPPER
========================= */

.hero-wrapper {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

    padding-top: 80px;

}


/* =========================
   HERO CONTENT
========================= */

.hero-content {

    max-width: 650px;

    padding-bottom: 30px;

}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 28px;

    padding: 9px 16px;

    background: rgba(108, 99, 255, 0.1);

    border: 1px solid rgba(108, 99, 255, 0.25);

    border-radius: 100px;

    color: var(--accent-light);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.3px;

}

.hero-badge::before {

    content: '';

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--accent-light);

    box-shadow: 0 0 12px var(--accent-light);

}

.hero h1 {

    margin-bottom: 28px;

    font-size: clamp(42px, 5vw, 72px);

    line-height: 1.08;

    letter-spacing: -2.5px;

    font-weight: 800;

}

.hero h1 span {

    display: block;

    color: var(--accent-light);

}

.hero-content > p {

    max-width: 600px;

    margin-bottom: 36px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================
   HERO BUTTONS
========================= */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 42px;

}


/* =========================
   FEATURES
========================= */

.hero-features {

    display: grid;

    grid-template-columns: repeat(2, max-content);

    gap: 15px 30px;

}

.feature {

    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--text-secondary);

    font-size: 13px;

}

.feature i {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: rgba(108, 99, 255, 0.15);

    color: var(--accent-light);

    font-size: 9px;

}


/* =========================
   HERO IMAGE
========================= */

.hero-image {

    position: relative;

    min-height: 580px;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =========================
   MOCKUP
========================= */

.mockup {

    position: relative;

    z-index: 2;

    width: 620px;

    max-width: 100%;

    filter: drop-shadow(

        0 30px 50px rgba(0, 0, 0, 0.5)

    );

    animation: laptopFloat 6s ease-in-out infinite;

}

.mockup::before {

    content: '';

    position: absolute;

    inset: 15% 10% 10%;

    z-index: -1;

    background: rgba(108, 99, 255, 0.3);

    filter: blur(70px);

    border-radius: 50%;

}

.mockup img {

    width: 100%;

    height: auto;

}


/* =========================
   FLOATING CARDS
========================= */

.floating-card {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px 19px;

    background: rgba(17, 23, 34, 0.85);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 14px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(15px);

    color: #ffffff;

    font-size: 13px;

    font-weight: 500;

    white-space: nowrap;

}

.floating-card i {

    color: var(--accent-light);

    font-size: 18px;

}

.card-1 {

    top: 12%;

    left: -4%;

    animation: cardFloatOne 5s ease-in-out infinite;

}

.card-2 {

    right: -5%;

    top: 38%;

    animation: cardFloatTwo 5.5s ease-in-out infinite;

}

.card-3 {

    bottom: 12%;

    left: 8%;

    animation: cardFloatThree 6s ease-in-out infinite;

}


/* =========================
   GRID DECORATION
========================= */

.hero-image::before {

    content: '';

    position: absolute;

    width: 550px;

    height: 550px;

    background-image:

        linear-gradient(

            rgba(255, 255, 255, 0.035) 1px,

            transparent 1px

        ),

        linear-gradient(

            90deg,

            rgba(255, 255, 255, 0.035) 1px,

            transparent 1px

        );

    background-size: 40px 40px;

    mask-image: radial-gradient(

        circle,

        black 25%,

        transparent 70%

    );

    opacity: 0.5;

}


/* =========================
   SCROLL INDICATOR
========================= */

.scroll-down {

    position: absolute;

    bottom: 35px;

    left: 50%;

    z-index: 5;

    display: flex;

    align-items: flex-start;

    justify-content: center;

    width: 26px;

    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 20px;

    transform: translateX(-50%);

}

.scroll-down span {

    width: 4px;

    height: 8px;

    margin-top: 8px;

    border-radius: 5px;

    background: var(--accent-light);

    animation: scrollMove 2s ease-in-out infinite;

}


/* =========================
   ANIMATIONS
========================= */

@keyframes laptopFloat {

    0%,

    100% {

        transform: translateY(0) rotate(0deg);

    }

    50% {

        transform: translateY(-15px) rotate(1deg);

    }

}

@keyframes cardFloatOne {

    0%,

    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-15px);

    }

}

@keyframes cardFloatTwo {

    0%,

    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(12px);

    }

}

@keyframes cardFloatThree {

    0%,

    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

}

@keyframes scrollMove {

    0% {

        opacity: 0;

        transform: translateY(0);

    }

    30% {

        opacity: 1;

    }

    70% {

        opacity: 1;

    }

    100% {

        opacity: 0;

        transform: translateY(15px);

    }

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .hero-wrapper {

        gap: 30px;

    }

    .hero h1 {

        font-size: 58px;

    }

    .hero-image {

        min-height: 500px;

    }

    .card-1 {

        left: 0;

    }

    .card-2 {

        right: 0;

    }

}

@media (max-width: 900px) {

    .hero {

        min-height: auto;

        padding: 150px 0 100px;

    }

    .hero-wrapper {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .hero-content {

        max-width: 800px;

        margin: 0 auto;

    }

    .hero-content > p {

        margin-right: auto;

        margin-left: auto;

    }

    .hero-buttons {

        justify-content: center;

    }

    .hero-features {

        justify-content: center;

    }

    .hero-image {

        min-height: 500px;

        margin-top: 30px;

    }

    .mockup {

        width: 600px;

    }

}

@media (max-width: 600px) {

    .hero {

        padding-top: 130px;

        padding-bottom: 80px;

    }

    .hero h1 {

        font-size: 40px;

        letter-spacing: -1.5px;

    }

    .hero-content > p {

        font-size: 15px;

    }

    .hero-buttons {

        flex-direction: column;

        width: 100%;

    }

    .hero-buttons .btn {

        width: 100%;

    }

    .hero-features {

        grid-template-columns: 1fr;

        justify-content: start;

        text-align: left;

    }

    .hero-image {

        min-height: 360px;

    }

    .floating-card {

        padding: 11px 13px;

        font-size: 10px;

    }

    .floating-card i {

        font-size: 14px;

    }

    .card-1 {

        top: 5%;

        left: 0;

    }

    .card-2 {

        top: 40%;

        right: 0;

    }

    .card-3 {

        bottom: 5%;

        left: 0;

    }

    .scroll-down {

        display: none;

    }

}