.umeet-hero {

    max-width:1200px;

    margin:auto;

    padding:
        6rem 1.5rem;

    display:grid;

    grid-template-columns:
        1fr 1fr;

    gap:4rem;

    align-items:center;

}



.hero-badge {

    display:inline-flex;

    align-items:center;

    gap:.5rem;

    background:#eff6ff;

    color:#2563eb;

    padding:.5rem 1rem;

    border-radius:50px;

    font-weight:600;

}



.live-dot {

    width:10px;

    height:10px;

    background:#10b981;

    border-radius:50%;

    display:inline-block;

}



.umeet-hero h1 {

    font-size:
        clamp(3rem,5vw,5rem);

    font-weight:800;

    line-height:1.05;

}



.umeet-hero p {

    font-size:1.2rem;

    color:
        var(--umeet-muted);

    max-width:500px;

}



.hero-actions {

    display:flex;

    gap:1rem;

    margin-top:2rem;

}



.secondary-btn {

    background:white;

    border:
        1px solid var(--umeet-border);

}




/* Meeting Preview */


.meeting-preview {

    background:#111827;

    border-radius:28px;

    overflow:hidden;

    box-shadow:
        0 30px 70px rgba(0,0,0,.25);

}



.preview-header {

    padding:1rem;

    color:white;

    display:flex;

    justify-content:space-between;

}



.preview-screen {

    height:380px;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    color:white;

}



.participant {

    font-size:1.5rem;

}



.self-preview {

    position:absolute;

    bottom:20px;

    right:20px;

    background:#1f2937;

    padding:1rem;

    border-radius:18px;

    color:white;

}



.avatar-circle {

    width:50px;

    height:50px;

    background:#2563eb;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:1.5rem;

}



.preview-controls {

    background:#030712;

    padding:1rem;

    display:flex;

    justify-content:center;

    gap:1.5rem;

    color:white;

}



.leave {

    color:#ef4444;

}



.features {

    max-width:1200px;

    margin:
        3rem auto;

    padding:1.5rem;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:2rem;

}



.feature-card {

    padding:2rem;

}



.how-it-works {

    text-align:center;

    padding:5rem 1rem;

}



.steps {

    display:flex;

    justify-content:center;

    gap:5rem;

}



.steps h3 {

    font-size:3rem;

    color:#2563eb;

}


@media(max-width:900px){

    .umeet-hero{

        grid-template-columns:1fr;

        text-align:center;

    }


    .umeet-hero p{

        margin:auto;

    }


    .hero-actions{

        justify-content:center;

    }


    .features{

        grid-template-columns:1fr;

    }


    .steps{

        flex-direction:column;

        gap:2rem;

    }

}

/* Keep the homepage preview participant centered */

.meeting-preview .preview-screen > .participant {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.umeet-hero-content h1 {
    margin-top: 24px;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
}

.umeet-hero-content > p {
    line-height: 1.75;
}

@media (max-width: 576px) {

    .umeet-hero {
        padding: 3rem 1rem;
        gap: 2.5rem;
    }

    .umeet-hero h1 {
        font-size: clamp(2.3rem, 9vw, 3.2rem);
    }

    .umeet-hero p {
        font-size: 1.05rem;
    }

    .meeting-preview {
        border-radius: 18px;
    }

    .preview-screen {
        height: 260px;
    }

    .preview-controls {
        gap: 1rem;
    }

    .self-preview {
        padding: 0.7rem;
        bottom: 12px;
        right: 12px;
    }

    .features {
        margin: 1.5rem auto;
        gap: 1.25rem;
    }
}

.features .feature-card {
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.features .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.features .feature-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.features .feature-card h3 i {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #6366f1;
}



/* =====================================
   Realistic Homepage Meeting Preview
===================================== */

.umeet-demo {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.22);
}

/* Header */

.umeet-demo .preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #111827;
}

.umeet-demo-live,
.umeet-demo-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
}

.umeet-demo-live .live-dot {
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.umeet-demo-header-right i {
    color: #34d399;
}

/* Video area */

.umeet-demo .umeet-demo-screen {
    height: auto;
    display: block;
    padding: 0 12px;
    background: #111827;
}

.umeet-demo-remote {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #1f2937;
    border-radius: 14px;
    overflow: hidden;
}

.umeet-demo-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Participant name */

.umeet-demo-name,
.umeet-demo-self-name {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    bottom: 12px;
    left: 12px;
    padding: 6px 11px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.umeet-demo-name i,
.umeet-demo-self-name i {
    color: #4ade80;
}

/* Picture-in-picture */

.umeet-demo-self {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 32%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #374151;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    z-index: 3;
}

.umeet-demo-self img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.umeet-demo-self-name {
    left: 6px;
    bottom: 6px;
    padding: 4px 7px;
    font-size: 0.7rem;
}

/* Meeting controls */

.umeet-demo .umeet-demo-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 18px 12px;
    background: #111827;
}

.umeet-demo-control {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 13px;
    color: #f9fafb;
    font-size: 1.15rem;
}

.umeet-demo-end {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

/* Mobile */

@media (max-width: 576px) {

    .umeet-demo {
        border-radius: 18px;
    }

    .umeet-demo .preview-header {
        padding: 12px 14px;
    }

    .umeet-demo .umeet-demo-screen {
        padding: 0 8px;
    }

    .umeet-demo-remote {
        border-radius: 10px;
    }

    .umeet-demo-self {
        width: 35%;
        right: 8px;
        bottom: 8px;
        border-radius: 8px;
    }

    .umeet-demo-name {
        bottom: 8px;
        left: 8px;
        font-size: 0.7rem;
    }

    .umeet-demo-self-name {
        font-size: 0.65rem;
        padding: 3px 5px;
    }

    .umeet-demo .umeet-demo-controls {
        gap: 8px;
        padding: 14px 8px;
    }

    .umeet-demo-control {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 1rem;
    }
}
