/* 1. Force strict fixed dimensions on the main browser frame */
#hero-browser-frame.hero-browser-frame {
    width: 100% !important;
    max-width: 1200px !important; /* Adjust your desired width */
    height: 700px !important; /* Adjust your desired fixed height */
    min-height: 700px !important;
    max-height: 700px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* 2. Top bar takes its natural height */
#hero-browser-frame .browser-top {
    flex: 0 0 auto !important;
}

/* 3. Media frame fills the exact remaining space inside the fixed box */
#hero-browser-frame .media-frame--hero {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 0 !important; /* Forces flex child to respect parent container height */
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 4. Force image to scale inside without dictating container size */
#hero-browser-frame #hero-preview-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Shows full image without distortion or cropping */
    display: block !important;
    background:transparent;
}


/****/

/* Hero Mockup Outer Container */
.hero-mockup-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Floating Glass Info Card (Right Side Alignment) */
.hero-info-card {
    position: absolute;
    right: -100px;
    bottom: -20px;
    z-index: 15;
    width: 320px;
    padding: 20px;
    background: white;
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 18px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.15);
    color: #f8fafc;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-8px);
    }
}

.hero-info-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hero-info-card__badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-info-card__status {
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.hero-info-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-info-card__desc {
    font-size: 0.85rem;
    line-height: 1.45;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.hero-info-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .hero-info-card__features .chip {
        font-size: 0.75rem;
        font-weight: 600;
        padding: 4px 10px;
        background: rgba(56, 189, 248, 0.12);
        border: 1px solid rgba(56, 189, 248, 0.25);
        color: #7dd3fc;
        border-radius: 9999px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

/* Responsive Handling for Smaller Screens */
@media (max-width: 991px) {
    .hero-info-card {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 16px;
        animation: none;
    }
}

/*****/

