/* ============================================================
   EmployHub — premium landing page styles (self-contained).
   Scoped to .eh — does not depend on Tailwind's purged build.
   ============================================================ */
.eh, .eh *, .eh *::before, .eh *::after { box-sizing: border-box; }

.eh {
    --bg:      #06070c;
    --bg-2:    #0a0c15;
    --card:    rgba(255,255,255,.035);
    --card-2:  rgba(255,255,255,.06);
    --border:  rgba(255,255,255,.09);
    --border-2:rgba(255,255,255,.16);
    --text:    #eef1f8;
    --muted:   #9aa3ba;
    --faint:   #6b7490;
    --primary: #5b7cfa;
    --violet:  #9b6bff;
    --cyan:    #22d3ee;
    --pink:    #fb7185;
    --grad:    linear-gradient(115deg, #5b7cfa 0%, #9b6bff 45%, #22d3ee 100%);
    --grad-soft: linear-gradient(115deg, rgba(91,124,250,.18), rgba(155,107,255,.14) 50%, rgba(34,211,238,.12));

    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
    overflow-x: hidden;
}

.eh a { color: inherit; text-decoration: none; }
.eh ::selection { background: rgba(91,124,250,.35); color: #fff; }

/* ---------- layout helpers ---------- */
.eh-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eh-section { position: relative; padding: clamp(64px, 10vw, 130px) 0; }
.eh-center { text-align: center; }
.eh-grid { display: grid; gap: 22px; }
@media (min-width: 720px)  { .eh-cols-2 { grid-template-columns: repeat(2, 1fr); } .eh-cols-3 { grid-template-columns: repeat(3,1fr);} }
@media (min-width: 980px)  { .eh-cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- typography ---------- */
.eh-h1, .eh-h2, .eh-h3, .eh-logo, .eh-stat .n {
    font-family: 'Sora', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.eh-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
    padding: 7px 14px; border-radius: 100px;
    color: #c7d2ff; background: rgba(91,124,250,.10);
    border: 1px solid rgba(91,124,250,.22);
    backdrop-filter: blur(6px);
}
.eh-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(91,124,250,.6); animation: eh-ping 1.8s ease-out infinite; }

.eh-h1 {
    font-size: clamp(40px, 6.4vw, 76px);
    line-height: 1.02; font-weight: 800; letter-spacing: -.03em;
    margin: 22px 0 0;
}
.eh-h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.eh-h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.eh-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 620px; }
.eh-muted { color: var(--muted); }
.eh-faint { color: var(--faint); font-size: 13px; }

.eh-gradtext {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    background-size: 200% auto; animation: eh-pan 6s linear infinite;
}

/* ---------- buttons ---------- */
.eh-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 14px;
    border: 1px solid transparent; cursor: pointer; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s;
    will-change: transform;
}
.eh-btn-primary {
    color: #fff; background: var(--grad); background-size: 160% auto;
    box-shadow: 0 8px 24px -6px rgba(91,124,250,.55), inset 0 1px 0 rgba(255,255,255,.25);
}
.eh-btn-primary:hover { transform: translateY(-2px); background-position: right center; box-shadow: 0 14px 40px -8px rgba(124,107,255,.7), inset 0 1px 0 rgba(255,255,255,.3); }
.eh-btn-primary:active { transform: translateY(0); }
.eh-btn-ghost { color: var(--text); background: rgba(255,255,255,.04); border-color: var(--border); }
.eh-btn-ghost:hover { background: rgba(255,255,255,.09); border-color: var(--border-2); transform: translateY(-1px); }
.eh-btn-lg { padding: 16px 34px; font-size: 16px; border-radius: 16px; }

.eh-link { color: var(--muted); font-weight: 500; transition: color .2s, gap .2s; display: inline-flex; gap: 6px; align-items: center; }
.eh-link:hover { color: #fff; }
.eh-link .arr { transition: transform .25s; }
.eh-link:hover .arr { transform: translateX(4px); }

/* ---------- nav ---------- */
.eh-nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.eh-nav.scrolled { background: rgba(8,10,18,.72); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--border); }
.eh-nav-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; }
.eh-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.eh-logo-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 6px 18px -4px rgba(91,124,250,.6); }
.eh-nav-links { display: none; align-items: center; gap: 28px; font-size: 14.5px; }
.eh-nav-links a { color: var(--muted); transition: color .2s; }
.eh-nav-links a:hover { color: #fff; }
.eh-nav-cta { display: none; align-items: center; gap: 14px; }
.eh-nav-signin { color: var(--muted); font-weight: 500; font-size: 14.5px; transition: color .2s; }
.eh-nav-signin:hover { color: #fff; }
.eh-btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 12px; }
@media (min-width: 860px) { .eh-nav-links, .eh-nav-cta { display: flex; } }

/* ---------- mobile nav (hamburger + glass sheet) ---------- */
.eh-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border-radius: 12px;
    background: rgba(255,255,255,.05); border: 1px solid var(--border); cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.eh-burger span { display: block; height: 2px; width: 100%; background: #e9edf8; border-radius: 2px;
    transition: transform .28s cubic-bezier(.2,.7,.3,1), opacity .2s; }
.eh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.eh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 860px) { .eh-burger { display: none; } }

.eh-mobile-menu {
    position: fixed; left: 12px; right: 12px; top: 70px; z-index: 59;
    background: rgba(10,12,20,.92); backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--border-2); border-radius: 20px; padding: 12px;
    box-shadow: 0 30px 70px -24px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
    opacity: 0; transform: translateY(-12px) scale(.98); transform-origin: top center;
    pointer-events: none; transition: opacity .26s ease, transform .26s cubic-bezier(.2,.7,.3,1);
}
.eh-mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.eh-mobile-menu a { display: block; padding: 14px 16px; border-radius: 13px; font-size: 16px; font-weight: 500; color: var(--text); transition: background .18s; }
.eh-mobile-menu a:active { background: rgba(255,255,255,.06); }
.eh-mobile-menu .eh-mm-cta { display: grid; gap: 10px; padding: 10px 6px 4px; margin-top: 6px; border-top: 1px solid var(--border); }
.eh-mobile-menu .eh-mm-cta .eh-btn { width: 100%; padding: 14px; font-size: 15.5px; }
.eh-mobile-menu .eh-mm-cta .eh-nav-signin { text-align: center; padding: 12px; }
@media (min-width: 860px) { .eh-mobile-menu { display: none; } }
.eh-scroll-lock { overflow: hidden; }

/* ---------- background decor ---------- */
.eh-mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.eh-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.eh-orb.a { width: 520px; height: 520px; top: -160px; left: -120px; background: radial-gradient(circle, rgba(91,124,250,.55), transparent 65%); animation: eh-float 14s ease-in-out infinite; }
.eh-orb.b { width: 460px; height: 460px; top: -60px; right: -120px; background: radial-gradient(circle, rgba(155,107,255,.5), transparent 65%); animation: eh-float 18s ease-in-out infinite reverse; }
.eh-orb.c { width: 420px; height: 420px; bottom: -180px; left: 35%; background: radial-gradient(circle, rgba(34,211,238,.35), transparent 65%); animation: eh-float 22s ease-in-out infinite; }
.eh-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }

/* ---------- hero ---------- */
.eh-hero { position: relative; z-index: 1; padding-top: 116px; padding-bottom: 64px; }
.eh-hero-grid { display: grid; gap: 40px; align-items: center; }
.eh-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 560px) {
    .eh-hero-cta { flex-direction: column; align-items: stretch; }
    .eh-hero-cta .eh-btn { width: 100%; }
}
@media (min-width: 1000px) { .eh-hero { padding-top: 150px; padding-bottom: 90px; } .eh-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

/* hero preview card */
.eh-preview { position: relative; perspective: 1200px; }
.eh-card-3d {
    position: relative; border-radius: 22px; padding: 18px;
    background: linear-gradient(160deg, rgba(20,24,38,.9), rgba(12,15,26,.82));
    border: 1px solid var(--border); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
    transform-style: preserve-3d; transition: transform .2s ease-out; animation: eh-floaty 7s ease-in-out infinite;
}
.eh-pv-head { display: flex; align-items: center; gap: 7px; padding: 4px 4px 14px; }
.eh-pv-dot { width: 11px; height: 11px; border-radius: 50%; background: #2a3046; }
.eh-pv-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.eh-pv-panel { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.eh-bar { height: 9px; border-radius: 6px; background: rgba(255,255,255,.08); margin: 9px 0; }
.eh-bar.w1 { width: 80%; } .eh-bar.w2 { width: 60%; } .eh-bar.w3 { width: 92%; background: var(--grad-soft); } .eh-bar.w4{width:45%;}
.eh-score { display: grid; place-items: center; gap: 4px; padding: 8px 0; }
.eh-ring { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--primary) 0 86%, rgba(255,255,255,.08) 86% 100%); position: relative; }
.eh-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #0b0e17; }
.eh-ring span { position: relative; font-size: 26px; font-weight: 800; }
.eh-chip { font-size: 11px; padding: 4px 9px; border-radius: 8px; background: rgba(34,211,238,.12); color: #67e8f9; border: 1px solid rgba(34,211,238,.25); display: inline-block; }
.eh-badge-float { position: absolute; padding: 10px 14px; border-radius: 13px; background: rgba(14,17,28,.92); border: 1px solid var(--border-2); box-shadow: 0 16px 40px -12px rgba(0,0,0,.7); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(8px); }
.eh-badge-float.one { top: -18px; right: -10px; animation: eh-floaty 6s ease-in-out infinite; }
.eh-badge-float.two { bottom: -20px; left: -16px; animation: eh-floaty 8s ease-in-out infinite reverse; }
@media (max-width: 600px) {
    .eh-preview { margin: 6px 4px 0; }
    .eh-badge-float { font-size: 11.5px; padding: 8px 11px; }
    .eh-badge-float.one { top: -12px; right: 2px; }
    .eh-badge-float.two { bottom: -14px; left: 2px; }
}
@media (max-width: 420px) { .eh-pv-body { grid-template-columns: 1fr; } }

/* ---------- marquee ---------- */
.eh-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.eh-marquee-track { display: flex; gap: 56px; width: max-content; animation: eh-marquee 26s linear infinite; }
.eh-marquee span { color: var(--faint); font-weight: 700; font-size: 17px; letter-spacing: .02em; white-space: nowrap; }

/* ---------- stats ---------- */
.eh-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media (min-width: 760px) { .eh-stats { grid-template-columns: repeat(4,1fr); } }
.eh-stat { text-align: center; padding: 26px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.eh-stat .n { font-size: clamp(30px,3.4vw,42px); font-weight: 800; letter-spacing: -.02em; }
.eh-stat .l { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* ---------- feature cards (gradient border + glow) ---------- */
.eh-card {
    position: relative; border-radius: 20px; padding: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
    border: 1px solid var(--border); overflow: hidden;
    transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, box-shadow .3s;
}
.eh-card::after { /* hover glow follows nothing; static sheen */
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
}
.eh-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(91,124,250,.45); }
.eh-card:hover::after { opacity: .9; }
.eh-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; background: var(--grad-soft); border: 1px solid var(--border); }
.eh-card h3 { margin: 0 0 7px; }
.eh-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- steps ---------- */
.eh-steps { display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 880px) { .eh-steps { grid-template-columns: repeat(3,1fr); } }
.eh-step { position: relative; padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.eh-step .num { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #fff; margin-bottom: 14px; box-shadow: 0 8px 20px -6px rgba(91,124,250,.6); }

/* ---------- testimonials ---------- */
.eh-quote { padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); text-align: left; transition: transform .3s, border-color .3s; }
.eh-quote:hover { transform: translateY(-4px); border-color: var(--border-2); }
.eh-stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.eh-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad); }

/* ---------- CTA banner ---------- */
.eh-cta { position: relative; border-radius: 28px; padding: clamp(40px,6vw,72px) 24px; text-align: center; overflow: hidden;
    background: linear-gradient(135deg, rgba(91,124,250,.16), rgba(155,107,255,.13) 55%, rgba(34,211,238,.10));
    border: 1px solid var(--border-2); }
.eh-cta .eh-orb { opacity: .4; }

/* ---------- footer ---------- */
.eh-footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--faint); font-size: 13.5px; }
.eh-footer a:hover { color: #fff; }

/* ---------- scroll reveal ---------- */
.eh-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.eh-reveal.in { opacity: 1; transform: none; }
.eh-reveal[data-d="1"]{transition-delay:.08s}.eh-reveal[data-d="2"]{transition-delay:.16s}.eh-reveal[data-d="3"]{transition-delay:.24s}
.eh-reveal[data-d="4"]{transition-delay:.32s}.eh-reveal[data-d="5"]{transition-delay:.4s}.eh-reveal[data-d="6"]{transition-delay:.48s}

/* ---------- keyframes ---------- */
@keyframes eh-pan { to { background-position: 200% center; } }
@keyframes eh-ping { 0%{box-shadow:0 0 0 0 rgba(91,124,250,.55)} 70%{box-shadow:0 0 0 7px rgba(91,124,250,0)} 100%{box-shadow:0 0 0 0 rgba(91,124,250,0)} }
@keyframes eh-float { 0%,100%{transform:translate(0,0)} 50%{transform:translate(26px,-30px)} }
@keyframes eh-floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes eh-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .eh *, .eh *::before, .eh *::after { animation: none !important; transition: none !important; }
    .eh-reveal { opacity: 1; transform: none; }
}
