
/* =========================================================
   QudratCode University Home / Public Page
   FINAL RESPONSIVE FIX
   ========================================================= */

.uh-page {
    --uh-primary: var(--qc-primary);
    --uh-secondary: var(--qc-secondary);
    --uh-deep: var(--qc-deep);
    --uh-dark: var(--qc-dark);
    --uh-text: var(--qc-text);
    --uh-muted: var(--qc-muted);
    --uh-line: var(--qc-line);
    --uh-soft: #f4f8fc;
    --uh-shadow: 0 16px 42px rgba(36,56,75,0.1);
    overflow-x: hidden;
    font-family: "Cairo", sans-serif;
    color: var(--uh-text);
    background: radial-gradient(circle at top right,rgba(79,172,254,0.15),transparent 30%), radial-gradient(circle at bottom left,rgba(0,242,254,0.11),transparent 32%), var(--uh-soft);
    font-size: 16px;
    font-weight: 600;
}

    .uh-page *,
    .uh-page *::before,
    .uh-page *::after {
        box-sizing: border-box;
    }

.uh-container {
    width: min(1220px,calc(100% - 40px));
    margin-inline: auto;
    min-width: 0;
}

.uh-section {
    padding: 88px 0;
}

.uh-section-soft,
.uh-cta {
    background: linear-gradient(180deg,rgba(79,172,254,0.1),#fff);
}

.uh-section-head {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

    .uh-section-head.align-start {
        max-width: none;
        margin: 0;
        text-align: right;
    }

.uh-chip,
.uh-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    margin-bottom: 13px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.uh-chip {
    border: 1px solid rgba(0,242,254,0.16);
    background: rgba(0,242,254,0.1);
    color: #00f2fe;
}

.uh-section-head h2 {
    margin: 0 0 11px;
    color: var(--uh-deep);
    font-size: clamp(25px,3vw,36px);
    font-weight: 900;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

    .uh-section-head h2 span {
        color: var(--uh-primary);
    }

.uh-section-head p,
.uh-hero-copy > p,
.uh-org-description,
.uh-project-meta,
.uh-feature p,
.uh-empty p,
.uh-hero-search-note,
.uh-cta-copy p {
    color: #244966;
    font-weight: 700;
}

.uh-section-head p {
    margin: 0;
    font-size: 16px;
    line-height: 2.05;
}

/* =========================
   Hero
   ========================= */

.uh-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 83px);
    padding: 70px 0 86px;
    color: var(--uh-text);
    background: radial-gradient(circle at 80% 15%,rgba(79,172,254,0.28),transparent 30%), radial-gradient(circle at 20% 80%,rgba(0,242,254,0.18),transparent 28%), linear-gradient(135deg,rgba(0,242,254,0.1) 0%,rgba(79,172,254,0.1) 52%,#fff 100%);
}

    .uh-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(79,172,254,0.05) 1px,transparent 1px), linear-gradient(90deg,rgba(79,172,254,0.05) 1px,transparent 1px);
        background-size: 44px 44px;
        mask-image: linear-gradient(to bottom,#24384b,transparent 90%);
        pointer-events: none;
    }

.uh-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg,rgba(79,172,254,0.13),rgba(0,242,254,0.08));
    filter: blur(1px);
    pointer-events: none;
}

    .uh-orb.one {
        width: 370px;
        height: 370px;
        top: -210px;
        left: -100px;
    }

    .uh-orb.two {
        width: 260px;
        height: 260px;
        right: 42%;
        bottom: -180px;
    }

    .uh-orb.three {
        width: 90px;
        height: 90px;
        right: 4%;
        top: 18%;
        background: rgba(79,172,254,0.12);
    }

.uh-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr);
    gap: 64px;
    align-items: center;
    min-width: 0;
}

.uh-hero-copy {
    min-width: 0;
}

.uh-hero-badge {
    border: 1px solid rgba(79,172,254,0.22);
    background: rgba(255,255,255,0.75);
    color: var(--uh-primary);
    box-shadow: 0 10px 25px rgba(36,56,75,0.06);
    backdrop-filter: blur(7px);
}

.uh-hero h1 {
    margin: 0 0 18px;
    color: var(--uh-dark);
    font-size: clamp(36px,5vw,62px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

    .uh-hero h1 span {
        display: block;
        color: transparent;
        text-shadow: none;
        background: linear-gradient(135deg,var(--uh-primary),var(--uh-secondary));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.uh-hero-copy > p {
    max-width: 680px;
    margin: 0 0 27px;
    font-size: 16px;
    line-height: 2.05;
}

.uh-actions {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
}

.uh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 15px;
    font: 800 15px "Cairo",sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: .25s;
    max-width: 100%;
}

    .uh-btn:hover {
        transform: translateY(-3px);
    }

.uh-btn-white {
    border: 0;
    background: #fff;
    color: var(--uh-deep);
    box-shadow: 0 13px 30px rgba(36,73,102,0.16);
}

.uh-btn-glass {
    border: 1px solid rgba(79,172,254,0.24);
    background: rgba(79,172,254,0.08);
    color: var(--uh-deep);
    box-shadow: 0 8px 20px rgba(36,56,75,0.05);
    backdrop-filter: blur(7px);
}

    .uh-btn-glass:hover {
        background: rgba(79,172,254,0.14);
        border-color: rgba(79,172,254,0.34);
    }

.uh-btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg,var(--uh-primary),var(--uh-secondary));
    box-shadow: 0 11px 26px rgba(79,172,254,0.24);
}

.uh-btn-soft {
    border: 1px solid var(--uh-line);
    background: #fff;
    color: var(--uh-deep);
}

.uh-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
}

    .uh-trust span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-size: 15px;
        font-weight: 700;
        color: #244966;
    }

    .uh-trust i {
        width: 27px;
        height: 27px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        background: rgba(79,172,254,0.12);
        color: var(--uh-primary);
    }

/* =========================
   Hero visual
   ========================= */

.uh-visual {
    position: relative;
    min-height: 480px;
    min-width: 0;
}

.uh-browser {
    position: absolute;
    inset: 20px 0 20px 25px;
    overflow: hidden;
    border: 1px solid rgba(79,172,254,0.18);
    border-radius: 28px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 26px 70px rgba(36,56,75,0.15);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transform-origin: center;
}

.uh-browser-top {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid var(--uh-line);
    background: rgba(79,172,254,0.1);
}

.uh-browser-dots {
    display: flex;
    gap: 6px;
}

    .uh-browser-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: linear-gradient(135deg,var(--uh-primary),var(--uh-secondary));
    }

.uh-browser-address {
    width: 55%;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--uh-line);
    border-radius: 9px;
    background: #fff;
    color: #4facfe;
    font-size: 9px;
}

.uh-browser-body {
    display: grid;
    grid-template-columns: 112px 1fr;
    height: calc(100% - 54px);
}

.uh-mock-sidebar {
    padding: 16px 11px;
    background: linear-gradient(180deg,rgba(0,242,254,0.1),rgba(0,242,254,0.1));
    border-left: 1px solid var(--uh-line);
}

.uh-mock-logo {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg,var(--uh-primary),var(--uh-secondary));
    font-size: 17px;
}

.uh-mock-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 7px;
    margin-bottom: 7px;
    border-radius: 9px;
    color: #2f3b4a;
    font-size: 8px;
    font-weight: 800;
}

    .uh-mock-link.active {
        background: #fff;
        color: #00f2fe;
        box-shadow: 0 6px 16px rgba(36,73,102,0.08);
    }

.uh-mock-content {
    padding: 20px;
    min-width: 0;
}

.uh-mock-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

    .uh-mock-greeting strong {
        color: var(--uh-deep);
        font-size: 13px;
    }

    .uh-mock-greeting span {
        padding: 5px 8px;
        border-radius: 7px;
        background: rgba(0,242,254,0.1);
        color: #00f2fe;
        font-size: 7px;
    }

.uh-mock-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 9px;
    margin-bottom: 14px;
}

.uh-mock-stat {
    padding: 11px;
    border: 1px solid var(--uh-line);
    border-radius: 13px;
    background: #fff;
}

    .uh-mock-stat i {
        color: var(--uh-primary);
        font-size: 13px;
    }

    .uh-mock-stat strong,
    .uh-mock-stat span {
        display: block;
    }

    .uh-mock-stat strong {
        margin-top: 8px;
        color: var(--uh-deep);
        font-size: 15px;
    }

    .uh-mock-stat span {
        color: #6c757d;
        font-size: 7px;
    }

.uh-mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.uh-mock-card {
    padding: 12px;
    border: 1px solid var(--uh-line);
    border-radius: 13px;
    background: rgba(79,172,254,0.1);
}

.uh-mock-cover {
    height: 55px;
    display: grid;
    place-items: center;
    margin-bottom: 9px;
    border-radius: 10px;
    background: linear-gradient(135deg,rgba(79,172,254,0.18),rgba(0,242,254,0.12));
    color: var(--uh-primary);
    font-size: 18px;
}

.uh-line {
    height: 6px;
    margin-top: 6px;
    border-radius: 99px;
    background: rgba(0,242,254,0.16);
}

    .uh-line.short {
        width: 65%;
    }

.uh-floating {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 16px;
    background: rgba(255,255,255,0.95);
    color: var(--uh-deep);
    box-shadow: 0 15px 35px rgba(36,73,102,0.16);
    animation: uhFloat 5s ease-in-out infinite;
}

    .uh-floating i {
        width: 35px;
        height: 35px;
        display: grid;
        place-items: center;
        border-radius: 11px;
        color: #fff;
        background: linear-gradient(135deg,var(--uh-primary),var(--uh-secondary));
    }

    .uh-floating strong,
    .uh-floating span {
        display: block;
    }

    .uh-floating strong {
        font-size: 10px;
    }

    .uh-floating span {
        color: var(--uh-muted);
        font-size: 8px;
    }

    .uh-floating.one {
        top: 0;
        right: -24px;
    }

    .uh-floating.two {
        bottom: 0;
        left: -20px;
        animation-delay: -2.5s;
    }

@keyframes uhFloat {
    50% {
        transform: translateY(-10px);
    }
}

/* =========================
   Metrics
   ========================= */

.uh-metrics {
    position: relative;
    z-index: 3;
    margin-top: -42px;
}

.uh-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    overflow: hidden;
    border: 1px solid var(--uh-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--uh-shadow);
}

.uh-metric {
    position: relative;
    padding: 24px;
    text-align: center;
}

    .uh-metric:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 0;
        top: 22%;
        bottom: 22%;
        width: 1px;
        background: var(--uh-line);
    }

    .uh-metric i {
        color: var(--uh-primary);
        font-size: 20px;
    }

    .uh-metric strong {
        display: block;
        margin: 6px 0 2px;
        color: var(--uh-deep);
        font-size: 28px;
        font-weight: 900;
    }

    .uh-metric span {
        color: var(--uh-muted);
        font-size: 14px;
        font-weight: 700;
    }

/* =========================
   Organizations
   ========================= */

.uh-org-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}

.uh-org-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--uh-line);
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(36,73,102,0.07);
    transition: .3s;
}

    .uh-org-card::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(var(--uh-primary),var(--uh-secondary));
    }

    .uh-org-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 22px 48px rgba(36,73,102,0.12);
    }

.uh-org-top,
.uh-org-identity,
.uh-org-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.uh-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid rgba(0,242,254,0.16);
    border-radius: 999px;
    background: rgba(0,242,254,0.1);
    color: #00f2fe;
    font-size: 14px;
    font-weight: 800;
}

.uh-org-identity {
    justify-content: flex-start;
    margin: 18px 0 14px;
    min-width: 0;
}

    .uh-org-identity > div:last-child {
        min-width: 0;
    }

.uh-org-logo {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    flex: 0 0 68px;
    overflow: hidden;
    border: 1px solid var(--uh-line);
    border-radius: 19px;
    background: linear-gradient(135deg,rgba(79,172,254,0.18),rgba(0,242,254,0.12));
    color: var(--uh-primary);
    font-size: 27px;
}

    .uh-org-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 7px;
    }

.uh-org-identity h3,
.uh-project-card h3,
.uh-feature h3 {
    color: var(--uh-deep);
    font-size: 19px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.uh-org-identity h3 {
    margin: 0 0 5px;
}

.uh-org-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #244966;
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.uh-org-description {
    min-height: 52px;
    margin: 0 0 17px;
    font-size: 15px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.uh-org-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    margin-bottom: 17px;
}

.uh-org-stat {
    min-width: 0;
    padding: 10px 6px;
    border: 1px solid var(--uh-line);
    border-radius: 12px;
    background: rgba(79,172,254,0.1);
    text-align: center;
}

    .uh-org-stat i {
        color: var(--uh-primary);
        font-size: 12px;
    }

    .uh-org-stat strong,
    .uh-org-stat span {
        display: block;
    }

    .uh-org-stat strong {
        margin-top: 4px;
        color: var(--uh-deep);
        font-size: 16px;
    }

    .uh-org-stat span {
        color: var(--uh-muted);
        font-size: 14px;
        font-weight: 700;
    }

.uh-org-footer {
    padding-top: 16px;
    border-top: 1px solid var(--uh-line);
}

    .uh-org-footer > span,
    .uh-project-footer > span {
        color: var(--uh-muted);
        font-size: 14px;
        font-weight: 800;
    }

.uh-section-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* =========================
   Features
   ========================= */

.uh-features {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
    align-items: center;
}

.uh-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.uh-feature {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--uh-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(36,73,102,0.06);
}

    .uh-feature i {
        width: 41px;
        height: 41px;
        display: grid;
        place-items: center;
        margin-bottom: 11px;
        border-radius: 13px;
        background: linear-gradient(135deg,rgba(79,172,254,0.18),rgba(0,242,254,0.12));
        color: var(--uh-primary);
    }

    .uh-feature h3 {
        margin: 0 0 6px;
    }

    .uh-feature p {
        margin: 0;
        font-size: 15px;
        line-height: 1.9;
    }

.uh-feature-visual {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
    border: 1px solid var(--uh-line);
    border-radius: 32px;
    background: radial-gradient(circle at top right,rgba(79,172,254,0.18),transparent 30%), linear-gradient(135deg,#fff,rgba(0,242,254,0.1));
    box-shadow: var(--uh-shadow);
    overflow: hidden;
}

.uh-core {
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
    border-radius: 36px;
    color: #fff;
    background: linear-gradient(135deg,var(--uh-primary),var(--uh-secondary));
    box-shadow: 0 22px 45px rgba(79,172,254,0.25);
    font-size: 49px;
}

.uh-visual-node {
    position: absolute;
    width: 145px;
    padding: 13px;
    border: 1px solid var(--uh-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(36,73,102,0.09);
}

    .uh-visual-node strong,
    .uh-visual-node span {
        display: block;
    }

    .uh-visual-node strong {
        color: var(--uh-deep);
        font-size: 11px;
    }

    .uh-visual-node span {
        margin-top: 3px;
        color: var(--uh-muted);
        font-size: 8px;
    }

    .uh-visual-node.n1 {
        top: 38px;
        right: 32px;
    }

    .uh-visual-node.n2 {
        top: 38px;
        left: 32px;
    }

    .uh-visual-node.n3 {
        bottom: 38px;
        right: 32px;
    }

    .uh-visual-node.n4 {
        bottom: 38px;
        left: 32px;
    }

/* =========================
   Search
   ========================= */

.uh-search-card {
    padding: 28px;
    border: 1px solid var(--uh-line);
    border-radius: 27px;
    background: #fff;
    box-shadow: var(--uh-shadow);
}

.uh-search-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.uh-search-form {
    display: grid;
    grid-template-columns: 155px minmax(280px,2fr) repeat(2,minmax(150px,1fr));
    gap: 11px;
}

    .uh-search-form .uh-search-actions {
        grid-column: span 2;
    }

.uh-field {
    position: relative;
    min-width: 0;
}

    .uh-field i {
        position: absolute;
        right: 14px;
        top: 50%;
        z-index: 1;
        transform: translateY(-50%);
        color: var(--uh-primary);
        font-size: 15px;
    }

.uh-input {
    width: 100%;
    height: 54px;
    padding: 0 38px 0 12px;
    border: 1px solid var(--uh-line);
    border-radius: 14px;
    background: rgba(79,172,254,0.1);
    color: var(--uh-dark);
    font: 700 15px "Cairo",sans-serif;
    outline: none;
    transition: .2s;
}

.uh-field select.uh-input {
    padding-right: 12px;
}

.uh-input:focus {
    border-color: var(--uh-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79,172,254,0.11);
}

.uh-search-actions {
    display: flex;
    gap: 11px;
    align-items: stretch;
}

.uh-semantic-btn {
    border: 0;
    white-space: nowrap;
    background: linear-gradient(135deg,#244966,#4facfe);
    color: #fff;
}

.uh-semantic-status {
    display: none;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 13px;
    background: rgba(0,242,254,0.1);
    color: #244966;
    font-size: 14px;
    font-weight: 800;
}

    .uh-semantic-status.visible {
        display: flex;
    }

    .uh-semantic-status.error {
        background: rgba(255,193,7,0.1);
        color: #ffc107;
    }

.uh-semantic-empty {
    display: none;
    margin-top: 20px;
    padding: 30px 18px;
    text-align: center;
    border: 1px dashed #00f2fe;
    border-radius: 18px;
    background: #fff;
    color: #244966;
    font-size: 16px;
    font-weight: 800;
}

    .uh-semantic-empty.visible {
        display: block;
    }

/* =========================
   Projects
   ========================= */

.uh-project-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 19px;
}

.uh-project-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 21px;
    border: 1px solid var(--uh-line);
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 13px 36px rgba(36,73,102,0.07);
    transition: .3s;
}

    .uh-project-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 22px 46px rgba(36,73,102,0.12);
    }

.uh-project-cover {
    height: 135px;
    display: grid;
    place-items: center;
    margin: -21px -21px 18px;
    background: linear-gradient(135deg,rgba(79,172,254,0.2),rgba(0,242,254,0.15));
    color: var(--uh-primary);
    font-size: 43px;
}

.uh-project-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 11px;
}

.uh-project-card h3 {
    margin: 0 0 12px;
    line-height: 1.65;
}

.uh-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 13px;
}

.uh-tag {
    max-width: 100%;
    padding: 5px 8px;
    border: 1px solid var(--uh-line);
    border-radius: 8px;
    background: rgba(79,172,254,0.1);
    color: #4facfe;
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.uh-project-meta {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.uh-project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--uh-line);
}

.uh-empty {
    padding: 55px 20px;
    border: 1px dashed rgba(0,242,254,0.16);
    border-radius: 23px;
    background: rgba(79,172,254,0.1);
    text-align: center;
}

    .uh-empty i {
        width: 70px;
        height: 70px;
        display: grid;
        place-items: center;
        margin: 0 auto 14px;
        border-radius: 22px;
        color: var(--uh-primary);
        background: linear-gradient(135deg,rgba(79,172,254,0.18),rgba(0,242,254,0.12));
        font-size: 28px;
    }

    .uh-empty h3 {
        margin: 0 0 7px;
        color: var(--uh-deep);
    }

    .uh-empty p {
        margin: 0 0 16px;
        font-size: 15px;
    }

/* =========================
   CTA
   ========================= */

.uh-cta {
    padding: 30px 0 90px;
}

.uh-cta-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 37px 40px;
    border-radius: 28px;
    color: #fff;
    background: radial-gradient(circle at top right,rgba(255,255,255,0.26),transparent 34%), linear-gradient(135deg,var(--uh-primary),var(--uh-secondary));
    box-shadow: 0 22px 55px rgba(79,172,254,0.22);
}

    .uh-cta-card::after {
        content: "";
        position: absolute;
        width: 230px;
        height: 230px;
        left: -80px;
        top: -130px;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
    }

    .uh-cta-copy,
    .uh-cta-card .uh-actions {
        position: relative;
        z-index: 1;
    }

.uh-cta h2 {
    margin: 0 0 7px;
    font-size: 27px;
    font-weight: 900;
}

.uh-cta p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #fff;
}

.uh-cta-card .uh-btn-glass {
    border-color: rgba(255,255,255,0.38);
    background: rgba(255,255,255,0.13);
    color: #fff;
}

/* =========================
   Hero live search
   ========================= */

.uh-hero-search {
    max-width: 760px;
    margin-top: 25px;
    padding: 11px;
    border: 1px solid rgba(255,255,255,0.42);
    border-radius: 20px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 44px rgba(36,56,75,0.18);
    backdrop-filter: blur(18px);
}

.uh-hero-search-row {
    display: grid;
    grid-template-columns: 155px minmax(0,1fr) auto;
    gap: 9px;
}

.uh-search-kind {
    width: 100%;
    height: 56px;
    padding: 0 14px;
    border: 1px solid #e7eef7;
    border-radius: 14px;
    outline: 0;
    background: #fff;
    color: #244966;
    font: 800 14px "Cairo",sans-serif;
}

.uh-hero-search-field {
    position: relative;
    min-width: 0;
}

.uh-live-results {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    left: 0;
    z-index: 80;
    display: none;
    max-height: 360px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(79,172,254,0.22);
    border-radius: 17px;
    background: rgba(255,255,255,0.99);
    box-shadow: 0 22px 52px rgba(36,56,75,0.18);
}

    .uh-live-results.visible {
        display: grid;
        gap: 5px;
    }

.uh-live-result {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px;
    border-radius: 12px;
    color: #2f3b4a;
    text-decoration: none;
    text-align: right;
}

    .uh-live-result[hidden] {
        display: none !important;
    }

    .uh-live-result:hover,
    .uh-live-result.active {
        background: rgba(0,242,254,0.1);
        color: #244966;
    }

    .uh-live-result > i:first-child {
        position: static;
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        transform: none;
        border-radius: 12px;
        color: #fff;
        background: linear-gradient(135deg,#4facfe,#00f2fe);
    }

    .uh-live-result strong,
    .uh-live-result small {
        display: block;
    }

    .uh-live-result strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
    }

    .uh-live-result small {
        margin-top: 2px;
        color: #6c757d;
        font-size: 11px;
        font-weight: 700;
    }

    .uh-live-result .fa-arrow-left {
        position: static;
        transform: none;
        color: #4facfe;
    }

.uh-live-empty {
    padding: 18px 12px;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
    font-weight: 800;
}

.uh-hero-search-field i {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #4facfe;
}

.uh-hero-search-input {
    width: 100%;
    height: 56px;
    padding: 0 48px 0 16px;
    border: 1px solid #e7eef7;
    border-radius: 14px;
    outline: 0;
    background: #fff;
    color: #2f3b4a;
    font: 700 15px "Cairo",sans-serif;
}

    .uh-hero-search-input:focus {
        border-color: #4facfe;
        box-shadow: 0 0 0 4px rgba(79,172,254,0.13);
    }

.uh-hero-search .uh-btn {
    min-height: 56px;
}

.uh-hero-search-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 9px 5px 0;
    font-size: 13px;
    font-weight: 700;
}

/* =========================
   Local SVG icons
   ========================= */

.uh-page .uh-local-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -.14em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================
   Reveal
   ========================= */

.uh-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease,transform .7s ease;
}

    .uh-reveal.visible {
        opacity: 1;
        transform: none;
    }

/* =========================================================
   Tablet
   ========================================================= */

@media(max-width:1050px) {
    .uh-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .uh-hero {
        padding-top: 60px;
    }

    .uh-visual {
        width: min(620px,100%);
        margin: auto;
    }

    .uh-features {
        grid-template-columns: 1fr;
    }

    .uh-feature-visual {
        min-height: 390px;
    }

    .uh-search-form {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

        .uh-search-form .uh-field:first-child {
            grid-column: 1 / -1;
        }

    .uh-search-actions {
        grid-column: 1 / -1;
    }

        .uh-search-actions .uh-btn {
            flex: 1;
        }

    .uh-project-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media(max-width:750px) {
    .uh-container {
        width: calc(100% - 20px);
    }

    .uh-section {
        padding: 36px 0;
    }

    .uh-section-head {
        margin-bottom: 22px;
    }

        .uh-section-head h2 {
            font-size: 1.28rem;
            margin-bottom: 7px;
        }

        .uh-section-head p {
            font-size: .67rem;
            line-height: 1.6;
        }

    .uh-chip,
    .uh-hero-badge {
        padding: 5px 8px;
        font-size: .56rem;
        gap: 5px;
    }

    .uh-hero {
        min-height: auto;
        padding: 32px 0 48px;
    }

    .uh-hero-grid {
        gap: 22px;
    }

    .uh-hero h1 {
        margin-bottom: 10px;
        font-size: 1.7rem;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .uh-hero-copy > p {
        margin-bottom: 16px;
        font-size: .68rem;
        line-height: 1.65;
    }

    .uh-actions {
        gap: 6px;
    }

    .uh-btn {
        min-height: 38px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: .58rem;
        gap: 5px;
    }

    .uh-trust {
        gap: 8px 12px;
        margin-top: 16px;
    }

        .uh-trust span {
            font-size: .56rem;
            gap: 5px;
        }

        .uh-trust i {
            width: 22px;
            height: 22px;
            border-radius: 7px;
        }

    .uh-visual {
        min-height: 330px;
    }

    .uh-browser {
        inset: 10px 0;
        border-radius: 18px;
        transform: none;
    }

    .uh-floating.one {
        right: 4px;
    }

    .uh-floating.two {
        left: 4px;
    }

    .uh-metrics {
        margin-top: -24px;
    }

    .uh-metrics-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        border-radius: 14px;
    }

    .uh-metric {
        padding: 12px 7px;
    }

        .uh-metric:nth-child(2)::after {
            display: none;
        }

        .uh-metric:nth-child(-n+2) {
            border-bottom: 1px solid var(--uh-line);
        }

        .uh-metric i {
            font-size: 14px;
        }

        .uh-metric strong {
            font-size: .9rem;
        }

        .uh-metric span {
            font-size: .48rem;
        }

    .uh-org-grid,
    .uh-project-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .uh-org-card,
    .uh-project-card {
        padding: 12px;
        border-radius: 14px;
    }

    .uh-org-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 12px;
    }

    .uh-org-identity {
        margin: 10px 0 8px;
        gap: 8px;
    }

        .uh-org-identity h3,
        .uh-project-card h3,
        .uh-feature h3 {
            font-size: .72rem;
        }

    .uh-org-location,
    .uh-org-description,
    .uh-project-meta,
    .uh-feature p {
        font-size: .56rem;
        line-height: 1.5;
    }

    .uh-org-description {
        min-height: auto;
        margin-bottom: 9px;
    }

    .uh-pill,
    .uh-tag {
        font-size: .49rem;
        padding: 4px 6px;
    }

    .uh-org-stats {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 5px;
        margin-bottom: 9px;
    }

    .uh-org-stat {
        padding: 7px 4px;
    }

        .uh-org-stat strong {
            font-size: .65rem;
        }

        .uh-org-stat span {
            font-size: .43rem;
        }

    .uh-org-footer,
    .uh-project-footer {
        gap: 6px;
        padding-top: 8px;
    }

        .uh-org-footer > span,
        .uh-project-footer > span {
            font-size: .48rem;
        }

    .uh-features {
        gap: 20px;
    }

    .uh-feature-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 7px;
        margin-top: 14px;
    }

    .uh-feature {
        padding: 9px;
        border-radius: 11px;
    }

        .uh-feature i {
            width: 29px;
            height: 29px;
            margin-bottom: 6px;
            border-radius: 9px;
        }

    .uh-feature-visual {
        min-height: 300px;
        border-radius: 18px;
    }

    .uh-core {
        width: 90px;
        height: 90px;
        border-radius: 25px;
        font-size: 30px;
    }

    .uh-visual-node {
        width: 112px;
        padding: 8px;
        border-radius: 10px;
    }

        .uh-visual-node strong {
            font-size: .5rem;
        }

        .uh-visual-node span {
            font-size: .4rem;
        }

        .uh-visual-node.n1,
        .uh-visual-node.n3 {
            right: 10px;
        }

        .uh-visual-node.n2,
        .uh-visual-node.n4 {
            left: 10px;
        }

    .uh-search-card {
        padding: 12px;
        border-radius: 14px;
    }

    .uh-search-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .uh-search-form {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 6px;
    }

        .uh-search-form .uh-field:first-child {
            grid-column: 1 / -1;
        }

    .uh-search-actions {
        grid-column: 1 / -1;
        gap: 6px;
    }

    .uh-input {
        height: 38px;
        padding: 0 30px 0 8px;
        border-radius: 9px;
        font-size: .55rem;
    }

    .uh-field i {
        right: 10px;
        font-size: .58rem;
    }

    .uh-project-cover {
        height: 85px;
        margin: -12px -12px 10px;
        font-size: 27px;
    }

    .uh-project-card h3 {
        margin-bottom: 7px;
    }

    .uh-tags {
        gap: 4px;
        margin-bottom: 7px;
    }

    .uh-empty {
        padding: 25px 10px;
        border-radius: 14px;
    }

        .uh-empty i {
            width: 42px;
            height: 42px;
            margin-bottom: 8px;
            border-radius: 12px;
            font-size: 18px;
        }

        .uh-empty p {
            font-size: .56rem;
        }

    .uh-cta {
        padding: 18px 0 36px;
    }

    .uh-cta-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 18px 14px;
        border-radius: 16px;
    }

    .uh-cta h2 {
        font-size: .9rem;
    }

    .uh-cta p {
        font-size: .56rem;
        line-height: 1.5;
    }

    .uh-hero-search {
        margin-top: 14px;
        padding: 7px;
        border-radius: 12px;
    }

    .uh-hero-search-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .uh-search-kind,
    .uh-hero-search-input {
        height: 38px;
        border-radius: 9px;
        font-size: .55rem;
    }

    .uh-hero-search-input {
        padding: 0 34px 0 8px;
    }

    .uh-hero-search-field i {
        right: 11px;
    }

    .uh-hero-search .uh-btn {
        min-height: 38px;
        width: 100%;
    }

    .uh-hero-search-note {
        margin-top: 6px;
        font-size: .5rem;
    }

    .uh-live-results {
        max-height: 250px;
        padding: 5px;
        border-radius: 11px;
    }

    .uh-live-result {
        grid-template-columns: 32px minmax(0,1fr) auto;
        gap: 6px;
        padding: 6px;
        border-radius: 8px;
    }

        .uh-live-result > i:first-child {
            width: 32px;
            height: 32px;
            border-radius: 8px;
        }

        .uh-live-result strong {
            font-size: .55rem;
        }

        .uh-live-result small {
            font-size: .44rem;
        }
}

/* =========================================================
   Small mobile
   ========================================================= */

@media(max-width:520px) {
    .uh-actions {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .uh-btn {
        width: 100%;
    }

    .uh-trust {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .uh-visual {
        display: none;
    }

    .uh-hero-grid {
        display: block;
    }

    .uh-metrics {
        margin-top: -18px;
    }

    .uh-feature-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .uh-feature-visual {
        min-height: 260px;
    }

    .uh-org-footer,
    .uh-project-footer {
        align-items: stretch;
        flex-direction: column;
    }

        .uh-org-footer .uh-btn,
        .uh-project-footer .uh-btn {
            width: 100%;
        }
}

@media(max-width:380px) {
    .uh-container {
        width: calc(100% - 12px);
    }

    .uh-hero h1 {
        font-size: 1.45rem;
    }

    .uh-actions,
    .uh-trust,
    .uh-feature-list,
    .uh-search-form {
        grid-template-columns: 1fr;
    }

        .uh-search-form .uh-field:first-child,
        .uh-search-actions {
            grid-column: auto;
        }

    .uh-search-actions {
        flex-direction: column;
    }

    .uh-metrics-grid {
        grid-template-columns: 1fr;
    }

    .uh-metric {
        border-bottom: 1px solid var(--uh-line);
    }

        .uh-metric::after {
            display: none !important;
        }

        .uh-metric:last-child {
            border-bottom: 0;
        }
}

/* =========================
   Reduced motion
   ========================= */

@media(prefers-reduced-motion:reduce) {
    .uh-floating {
        animation: none;
    }

    .uh-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
