:root {
    --bg: #f5f8ff;
    --glass: rgba(255, 255, 255, 0.72);
    --line: rgba(37, 99, 235, 0.12);
    --text: #0f172a;
    --muted: #64748b;
    --blue: #2563eb;
    --green: #16a34a;
}

* {
    font-family: Inter, sans-serif;
}

body {
    margin: 0;
    background: radial-gradient(circle at 10% 0%, #dbeafe 0, transparent 32%),
        radial-gradient(circle at 90% 10%, #e0e7ff 0, transparent 30%),
        linear-gradient(180deg, #f8fbff, #eef4ff);
    color: var(--text);

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.hero {
    text-align: center;
    padding: 56px 20px 28px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero p {
    color: var(--muted);
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(30, 64, 175, 0.1),
        0 2px 8px rgba(15, 23, 42, 0.04);
}

.videoWrap {
    position: relative;
    height:300px;
    border-radius:18px;
    overflow:hidden;
    background: #dbeafe;
}

#video {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: #dbeafe;
    object-fit: cover;
    display: block;

    clip-path: inset(8% 8% 8% 8% round 16px);
}

#canvas {
    display: none;
}

.frame {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 8%;
    bottom: 8%;
    border: 2px dashed rgba(37, 99, 235, .75);
    border-radius: 16px;
    pointer-events: none;
}

.scan {
    position: absolute;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #2563eb;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.55);
    animation: scan 2.2s infinite;
}

@keyframes scan {
    0% {
        top: 18%;
    }

    50% {
        top: 78%;
    }

    100% {
        top: 18%;
    }
}

.field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.badge-ai {
    background: #2563eb;
}

.conf {
    font-size: 0.75rem;
    background: #dcfce7;
    color: #166534;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.logoBox {
    height: 76px;
    border: 2px dashed rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.5);
}

.skeleton {
    height: 15px;
    border-radius: 8px;
    background: linear-gradient(90deg, #e2e8f0, #bfdbfe, #e2e8f0);
    background-size: 200% 100%;
    animation: sh 1.2s infinite;
}

@keyframes sh {
    to {
        background-position: -200% 0;
    }
}

#resultCard {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature {
    padding: 22px;
    text-align: center;
}

.feature i {
    font-size: 2rem;
    color: #2563eb;
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}


.contactBox {
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 14px;
    padding: 12px 14px;
    min-width: 0;
}

.contactName {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.contactDesignation {
    font-size: .8rem;
    color: #64748b;
    margin-bottom: 6px;
}

.contactDetail {
    font-size: .85rem;
    color: #334155;
    margin-top: 3px;
}

.contactDetail i {
    color: #2563eb;
    margin-right: 5px;
}

#contactsList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media(max-width:767px) {
    #contactsList {
        grid-template-columns: 1fr;
    }
}