/* ===============================
   HERO
================================ */

.explore-hero {
    min-height: auto;
    padding: 70px 0 20px;

    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 0;
}

/* ===============================
   LEFT
================================ */

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 12px 20px;
    border-radius: 999px;

    background: var(--glass);
    border: 1px solid var(--border);

    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;

    backdrop-filter: blur(18px);
}

.hero-content h1 {
    margin-top: 30px;
    margin-bottom: 30px;

    font-size: clamp(70px, 8vw, 110px);
    line-height: .9;
    font-weight: 900;
    letter-spacing: -5px;

    color: var(--heading);
}

.hero-content h1 span {
    color: var(--az-purple);
}

.hero-content p {
    max-width: 520px;

    color: var(--text2);
    font-size: 18px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 40px;
}

/* ===============================
   RIGHT
================================ */

.hero-right {
    position: relative;
    min-height: 200px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;

    width: 520px;
    height: 520px;
    border-radius: 50%;

    background: radial-gradient(rgba(139, 92, 246, .32),
            transparent 68%);

    filter: blur(130px);
    opacity: .9;
    pointer-events: none;
}

/* ===============================
   MACBOOK
================================ */

.macbook-wrapper {
    position: relative;
    width: 760px;

    animation: floatLaptop 8s ease-in-out infinite;
}

.hero-macbook {
    width: 100%;
    position: relative;
    z-index: 2;

    filter: drop-shadow(0 28px 70px rgba(0, 0, 0, .25));
}

body.dark .hero-macbook,
body.theme-dark .hero-macbook {
    filter:
        drop-shadow(0 35px 90px rgba(0, 0, 0, .65)) drop-shadow(0 0 48px rgba(139, 92, 246, .18));
}

.macbook-screen {
    position: absolute;

    left: 9.2%;
    top: 9.9%;

    width: 81.5%;
    height: 79%;

    object-fit: cover;
    object-position: top;

    border-radius: 5px;
    z-index: 1;

    background: var(--card);
}

/* ===============================
   PHONE
================================ */

.phone-wrapper {
    position: absolute;

    right: -80px;
    bottom: 90px;

    width: 155px;
    height: 320px;

    overflow: hidden;
    border-radius: 28px;

    background: var(--card);
    border: 1px solid var(--border);

    box-shadow:
        0 24px 60px rgba(17, 24, 39, .18),
        0 0 42px rgba(139, 92, 246, .18);

    transform: rotate(6deg);
    z-index: 10;

    animation: floatPhone 6s ease-in-out infinite;
}

body.dark .phone-wrapper,
body.theme-dark .phone-wrapper {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .70),
        0 0 50px rgba(139, 92, 246, .25);
}

.phone-preview {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top;
}

/* ===============================
   ANIMATION
================================ */

@keyframes floatLaptop {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatPhone {

    0%,
    100% {
        transform: rotate(6deg) translateY(0);
    }

    50% {
        transform: rotate(6deg) translateY(-18px);
    }
}

/* ===============================
   RESPONSIVE
================================ */

@media(max-width:1024px) {

    .explore-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 34px;
        padding: 60px 0 20px;
    }

    .hero-content p {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-right {
        min-height: 420px;
    }

    .macbook-wrapper {
        width: min(720px, 100%);
    }
}

@media(max-width:768px) {

    .explore-hero {
        padding: 42px 0 16px;
        gap: 24px;
        overflow: hidden;
    }

    .hero-badge {
        padding: 10px 16px;
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 52px;
        line-height: .95;
        letter-spacing: -3px;
        margin-top: 22px;
        margin-bottom: 22px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 28px;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-right {
        min-height: 310px;
        overflow: hidden;
    }

    .hero-glow {
        width: 320px;
        height: 320px;
        filter: blur(90px);
    }

    .macbook-wrapper {
        width: 100%;
        max-width: 360px;
    }

    .phone-wrapper {
        width: 82px;
        height: 172px;
        right: 8px;
        bottom: 42px;
        border-radius: 18px;
    }
}

@media(max-width:480px) {

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-right {
        min-height: 285px;
    }

    .phone-wrapper {
        width: 76px;
        height: 160px;
        right: 4px;
        bottom: 38px;
    }
}
