.brand-lockup {
    gap: 14px;
    min-width: max-content;
}

.brand-lockup .custom-logo-link {
    display: flex;
    align-items: center;
}

.brand-lockup .custom-logo,
.brand-lockup .company-logo {
    width: 150px;
    height: 58px;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.product-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    line-height: 1;
}

.product-divider {
    display: block;
    width: 1px;
    height: 38px;
    background: #d7deea;
}

.product-identity small {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .61rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-identity strong {
    display: block;
    font-family: Manrope, Arial, sans-serif;
    font-size: 1rem;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-brand .company-logo {
    background: #fff;
    border-radius: 10px;
}

.footer-brand .product-identity,
.footer-brand .product-identity strong {
    color: #fff;
}

.footer-brand .product-identity small {
    color: #aebbd3;
}

.footer-brand .product-divider {
    background: rgba(255,255,255,.25);
}

.centered-actions {
    justify-content: center;
}

@media (max-width: 680px) {
    .brand-lockup { gap: 9px; }
    .brand-lockup .custom-logo,
    .brand-lockup .company-logo {
        width: 112px;
        height: 46px;
    }
    .product-identity { gap: 8px; }
    .product-divider { height: 30px; }
    .product-identity small { font-size: .5rem; }
    .product-identity strong { font-size: .78rem; }
}

/* Premium brand and navigation refinement. */
.site-header {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(214,222,237,.82);
    box-shadow: 0 8px 30px rgba(7,26,85,.045);
}

.header-inner {
    min-height: 86px;
    gap: clamp(16px,2vw,28px);
}

.brand-lockup {
    align-items: center;
    flex: 0 0 auto;
    gap: 13px;
}

.brand-lockup .custom-logo,
.brand-lockup .company-logo {
    display: block;
    width: 136px;
    height: 70px;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
    filter: contrast(1.08) brightness(1.025) saturate(1.08);
}

.product-identity {
    min-height: 44px;
    gap: 13px;
}

.product-divider {
    height: 42px;
    background: linear-gradient(180deg,transparent,#c8d2e4 16%,#c8d2e4 84%,transparent);
}

.product-identity small {
    margin-bottom: 6px;
    color: #68738a;
    font-size: .58rem;
    letter-spacing: .16em;
}

.product-identity strong {
    font-size: .98rem;
    letter-spacing: -.025em;
}

.primary-nav {
    margin-inline: auto;
}

.menu {
    gap: clamp(14px,1.45vw,24px);
}

.menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #10265d;
    font-size: clamp(.79rem,.78vw,.91rem);
    font-weight: 700;
    white-space: nowrap;
}

.menu a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,var(--teal),var(--blue),var(--violet));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.menu a:hover::after,
.menu .current-menu-item > a::after {
    transform: scaleX(1);
}

.header-actions {
    flex: 0 0 auto;
}

.header-actions .button {
    min-height: 44px;
    padding-inline: 18px;
    border-color: #d4ddec;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(7,26,85,.06);
}

.lang-switch {
    color: #16316f;
    border-radius: 10px;
}

.lang-switch:hover {
    background: #f2f6fc;
}

.hero::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    inset-inline-start: -240px;
    bottom: -250px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(9,166,166,.12),transparent 68%);
    pointer-events: none;
}

.hero-card {
    border-color: rgba(205,216,235,.9);
    box-shadow: 0 28px 80px rgba(7,26,85,.14);
}

.trust-strip {
    background: rgba(255,255,255,.9);
}

.benefit-list span {
    padding: 8px 10px;
    border-radius: 999px;
    background: #f6f8fc;
}

.card {
    transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #ced9eb;
    box-shadow: 0 18px 45px rgba(7,26,85,.09);
}

@media (max-width: 1180px) {
    .header-inner { gap: 16px; }
    .brand-lockup .custom-logo,
    .brand-lockup .company-logo { width: 116px; height: 60px; }
    .product-identity { gap: 9px; }
    .product-identity strong { font-size: .86rem; }
    .menu { gap: 13px; }
    .menu a { font-size: .78rem; }
}

@media (max-width: 1040px) {
    .nav-toggle { display: block; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 86px;
        inset-inline: 20px;
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255,255,255,.98);
        box-shadow: 0 24px 60px rgba(7,26,85,.15);
    }
    .primary-nav.open { display: block; }
    .menu { align-items: stretch; flex-direction: column; }
    .menu a { width: 100%; }
}

@media (max-width: 680px) {
    .header-inner { min-height: 74px; }
    .brand-lockup .custom-logo,
    .brand-lockup .company-logo { width: 94px; height: 48px; }
    .product-divider { height: 30px; }
    .product-identity small { margin-bottom: 4px; font-size: .46rem; }
    .product-identity strong { font-size: .72rem; }
    .primary-nav { top: 74px; }
}

/* v1.0.4: product positioning and restrained logo-derived palette. */
:root {
    --brand-deep: #061b4f;
    --brand-blue: #1688ea;
    --brand-teal: #08aaa8;
    --brand-violet: #7257df;
    --brand-pink: #ea3f8d;
    --brand-orange: #f28a2a;
    --brand-surface: #f5f8fd;
}

.brand-lockup {
    gap: 15px;
}

.product-identity {
    align-self: center;
    min-height: 48px;
    gap: 14px;
}

.product-copy {
    display: grid;
    align-content: center;
    gap: 6px;
    min-width: 78px;
}

.product-kicker {
    color: #6d778d;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1;
    text-transform: uppercase;
}

.product-name {
    color: var(--brand-deep);
    font-family: Manrope,Arial,sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1;
    white-space: nowrap;
}

.product-divider {
    height: 46px;
}

.footer-brand .product-kicker {
    color: #aebbd3;
}

.footer-brand .product-name {
    color: #fff;
}

.button:not(.secondary) {
    background: linear-gradient(115deg,var(--brand-deep),#123b8b);
    box-shadow: 0 12px 30px rgba(6,27,79,.18);
}

.button:not(.secondary):hover {
    box-shadow: 0 16px 35px rgba(6,27,79,.24);
}

.header-actions .button.secondary {
    color: var(--brand-deep);
    background: linear-gradient(#fff,#fff) padding-box,
        linear-gradient(120deg,rgba(8,170,168,.55),rgba(22,136,234,.55),rgba(114,87,223,.45)) border-box;
    border: 1px solid transparent;
}

.eyebrow {
    color: #176fd0;
}

.eyebrow::before {
    width: 30px;
    background: linear-gradient(90deg,var(--brand-teal),var(--brand-blue),var(--brand-violet),var(--brand-pink),var(--brand-orange));
}

.section.alt {
    background:
        radial-gradient(circle at 10% 15%,rgba(8,170,168,.055),transparent 24%),
        radial-gradient(circle at 88% 78%,rgba(114,87,223,.055),transparent 28%),
        var(--brand-surface);
}

.card {
    border-color: #e0e7f2;
    box-shadow: 0 10px 32px rgba(6,27,79,.05);
}

.card-icon {
    box-shadow: 0 9px 22px rgba(22,136,234,.18);
}

.benefit-list span {
    color: #17346e;
    border: 1px solid #e4eaf4;
    background: linear-gradient(180deg,#fff,#f6f9fd);
}

.phone {
    border-color: var(--brand-deep);
    box-shadow: 0 28px 65px rgba(6,27,79,.16);
}

.site-footer {
    background:
        radial-gradient(circle at 12% 5%,rgba(8,170,168,.14),transparent 30%),
        radial-gradient(circle at 90% 90%,rgba(114,87,223,.14),transparent 30%),
        var(--brand-deep);
}

@media (max-width: 1180px) {
    .brand-lockup { gap: 11px; }
    .product-identity { gap: 9px; }
    .product-copy { min-width: 66px; gap: 5px; }
    .product-kicker { font-size: .5rem; }
    .product-name { font-size: .85rem; }
}

@media (max-width: 680px) {
    .brand-lockup { gap: 7px; }
    .product-identity { min-height: 34px; gap: 7px; }
    .product-copy { min-width: 56px; gap: 4px; }
    .product-kicker { font-size: .42rem; letter-spacing: .13em; }
    .product-name { font-size: .7rem; }
}

/* v1.0.5: clearly visible premium treatment. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg,var(--brand-teal),var(--brand-blue) 36%,var(--brand-violet) 64%,var(--brand-pink) 82%,var(--brand-orange));
}

.product-identity {
    padding: 8px 12px 8px 9px;
    border: 1px solid #dce5f2;
    border-radius: 14px;
    background:
        radial-gradient(circle at 0 0,rgba(8,170,168,.12),transparent 45%),
        linear-gradient(135deg,#fff,#f5f8fd);
    box-shadow: 0 8px 22px rgba(6,27,79,.08);
}

.product-divider {
    width: 3px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(180deg,var(--brand-teal),var(--brand-blue),var(--brand-violet));
}

.product-name {
    color: #0a2a70;
}

.header-actions .button.secondary {
    color: #fff;
    background: linear-gradient(115deg,var(--brand-deep),#174b9e) padding-box;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(6,27,79,.2);
}

.header-actions .button.secondary:hover {
    color: #fff;
    box-shadow: 0 14px 30px rgba(6,27,79,.28);
}

.hero {
    background:
        radial-gradient(circle at 82% 18%,rgba(22,136,234,.15),transparent 30%),
        radial-gradient(circle at 10% 12%,rgba(8,170,168,.12),transparent 27%),
        radial-gradient(circle at 50% 100%,rgba(114,87,223,.08),transparent 34%),
        linear-gradient(180deg,#fff,#f4f8fd);
}

.hero h1,
.section-head h2 {
    color: var(--brand-deep);
}

.hero .lead {
    color: #485675;
}

.trust-strip {
    box-shadow: 0 14px 35px rgba(6,27,79,.045);
}

.grid.four > .card {
    position: relative;
    overflow: hidden;
}

.grid.four > .card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg,var(--brand-teal),var(--brand-blue));
}

.grid.four > .card:nth-child(4n+2)::after {
    background: linear-gradient(90deg,var(--brand-blue),var(--brand-violet));
}

.grid.four > .card:nth-child(4n+3)::after {
    background: linear-gradient(90deg,var(--brand-violet),var(--brand-pink));
}

.grid.four > .card:nth-child(4n+4)::after {
    background: linear-gradient(90deg,var(--brand-pink),var(--brand-orange));
}

.footer-brand .product-identity {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.07);
    box-shadow: none;
}

@media (max-width: 1180px) {
    .product-identity { padding: 7px 9px 7px 7px; }
}

@media (max-width: 680px) {
    .product-identity {
        padding: 6px 7px 6px 5px;
        border-radius: 10px;
    }
    .product-divider { width: 2px; height: 27px; }
}

/* v1.0.7: high-contrast premium footer lockup. */
.footer-brand {
    width: fit-content;
    padding: 9px 13px 9px 9px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0,8,35,.24);
}

.footer-brand .company-logo {
    width: 136px;
    height: 70px;
    padding: 0;
    border-radius: 10px;
    background: #fff;
    mix-blend-mode: normal;
    filter: contrast(1.08) brightness(1.025) saturate(1.08);
}

.footer-brand .product-identity {
    border-color: #dce5f2;
    background:
        radial-gradient(circle at 0 0,rgba(8,170,168,.12),transparent 45%),
        linear-gradient(135deg,#fff,#f5f8fd);
    box-shadow: none;
}

.footer-brand .product-kicker {
    color: #6d778d;
}

.footer-brand .product-name {
    color: var(--brand-deep);
}

.footer-brand .product-divider {
    background: linear-gradient(180deg,var(--brand-teal),var(--brand-blue),var(--brand-violet));
}

@media (max-width: 680px) {
    .footer-brand {
        padding: 7px 9px 7px 7px;
        border-radius: 14px;
    }
    .footer-brand .company-logo {
        width: 104px;
        height: 54px;
    }
}

/* v1.0.10: static HR module cards with no movement. */
#features .grid.four > .card,
#features .grid.four > .card.reveal,
#features .grid.four > .card.reveal.visible {
    opacity: 1;
    transform: none;
    transition: border-color .2s ease,box-shadow .2s ease;
}

#features .grid.four > .card:hover {
    transform: none;
}

/* v1.0.9: smaller, simple modern premium HR module cards. */
#features .grid.four {
    gap: 16px;
}

#features .grid.four > .card {
    min-height: 238px;
    padding: 18px;
    border-color: #e3e8f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(6,27,79,.045);
}

#features .grid.four > .card::after {
    inset: 0 auto auto 18px;
    width: 48px;
    height: 3px;
    border-radius: 0 0 999px 999px;
}

body.rtl #features .grid.four > .card::after {
    right: 18px;
    left: auto;
}

#features .grid.four > .card .card-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 11px;
    font-size: .82rem;
    box-shadow: 0 7px 16px rgba(22,136,234,.14);
}

#features .grid.four > .card h3 {
    min-height: 2.25em;
    margin-bottom: 8px;
    font-size: .98rem;
    line-height: 1.14;
}

#features .grid.four > .card p {
    font-size: .81rem;
    line-height: 1.48;
}

#features .grid.four > .card:hover {
    transform: translateY(-3px);
    border-color: #d3ddea;
    box-shadow: 0 14px 30px rgba(6,27,79,.075);
}

@media (max-width: 960px) {
    #features .grid.four > .card {
        min-height: 220px;
    }
}

@media (max-width: 680px) {
    #features .grid.four {
        gap: 12px;
    }
    #features .grid.four > .card {
        min-height: 0;
        padding: 17px;
    }
    #features .grid.four > .card h3 {
        min-height: 0;
    }
}

/* v1.0.8: compact premium treatment for homepage HR module cards only. */
#features .grid.four {
    gap: 18px;
    align-items: stretch;
}

#features .grid.four > .card {
    display: flex;
    min-height: 292px;
    padding: 22px 22px 20px;
    flex-direction: column;
    border: 1px solid #dfe6f1;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0,rgba(22,136,234,.055),transparent 34%),
        #fff;
    box-shadow: 0 10px 28px rgba(6,27,79,.055);
}

#features .grid.four > .card::after {
    height: 3px;
}

#features .grid.four > .card .card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    border-radius: 12px;
    font-size: .92rem;
    box-shadow: 0 9px 20px rgba(22,136,234,.18);
}

#features .grid.four > .card h3 {
    min-height: 2.35em;
    margin: 0 0 10px;
    color: var(--brand-deep);
    font-size: 1.05rem;
    line-height: 1.18;
    letter-spacing: -.018em;
}

#features .grid.four > .card p {
    margin: 0;
    color: #59657b;
    font-size: .88rem;
    line-height: 1.58;
}

#features .grid.four > .card:hover {
    transform: translateY(-5px);
    border-color: #cbd8eb;
    box-shadow: 0 18px 42px rgba(6,27,79,.1);
}

@media (max-width: 960px) {
    #features .grid.four > .card {
        min-height: 250px;
    }
}

@media (max-width: 680px) {
    #features .grid.four {
        gap: 14px;
    }
    #features .grid.four > .card {
        min-height: 0;
        padding: 20px;
    }
    #features .grid.four > .card h3 {
        min-height: 0;
    }
}
