/* /connect: the conference "digital card". Same language as smartstaff.bg:
   warm paper, Jost, coloured glass lettering, one frosted card over a soft photo. */
@font-face{font-family:Jost;src:url(/hr-check/assets/jost-regular.ttf) format("truetype");font-weight:300 500;font-display:swap}
@font-face{font-family:Jost;src:url(/hr-check/assets/jost-bold.ttf) format("truetype");font-weight:600 900;font-display:swap}
:root{
  --coral:#E0604F;--coral-deep:#A6382C;--coral-pale:#FDECE6;--olive:#5A7042;--olive-soft:#E6EFDA;--sun:#FFC433;
  --ink:#1B1F1C;--text:#262A27;--muted:#656966;--paper:#FBF8F3;--line:#E9E0D5;--white:#fff;
  --shadow-sm:0 1px 2px rgb(60 40 30/.05),0 4px 14px -6px rgb(60 40 30/.1);
  --shadow:0 2px 4px rgb(60 40 30/.05),0 24px 50px -18px rgb(60 40 30/.22),0 50px 100px -40px rgb(166 56 44/.25);
  --ease:cubic-bezier(.22,1,.36,1)
}
*{box-sizing:border-box}
html{background:var(--paper)}
body{margin:0;min-height:100svh;color:var(--text);font-family:Jost,"Century Gothic",Arial,sans-serif;-webkit-font-smoothing:antialiased;display:grid;place-items:center;padding:40px 16px}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid var(--coral);outline-offset:4px;border-radius:18px}
::selection{background:rgb(224 96 79/.22);color:var(--ink)}

/* Soft photo behind the frosted card (fades in; the page reads fine without it) */
.backdrop{position:fixed;inset:0;z-index:-1;background:
  radial-gradient(80% 60% at 85% 0%,rgb(224 96 79/.22),transparent 70%),
  radial-gradient(70% 50% at 0% 100%,rgb(90 112 66/.18),transparent 70%),
  var(--paper)}
.backdrop::after{content:"";position:absolute;inset:0;background:url(/images/home-hero.jpg) center/cover no-repeat;opacity:.28;filter:saturate(1.1)}

.card{position:relative;width:100%;max-width:520px;padding:40px 40px 28px;border-radius:36px;
  background:rgb(255 255 255/.74);border:1px solid rgb(255 255 255/.8);box-shadow:var(--shadow),inset 0 1px 0 rgb(255 255 255/.9);
  -webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%)}
.hero{text-align:center}
.logo{display:block;width:120px;height:auto;margin:0 auto 26px}

h1{font-size:clamp(40px,9vw,52px);line-height:1.02;font-weight:800;letter-spacing:-.035em;margin:0 0 16px}
.glass-ink,.glass-coral{-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-bottom:.06em;background-size:100% 100%,220% 100%;background-position:0 0,0 0}
.glass-ink{background-image:linear-gradient(180deg,rgb(255 255 255/.32) 0%,rgb(255 255 255/.1) 46%,transparent 47%),linear-gradient(100deg,#1b1f1c 0%,#3b423c 45%,#1b1f1c 100%);filter:drop-shadow(0 1px 0 rgb(255 255 255/.8)) drop-shadow(0 5px 6px rgb(27 31 28/.12))}
.glass-coral{background-image:linear-gradient(180deg,rgb(255 255 255/.5) 0%,rgb(255 255 255/.18) 46%,transparent 47%),linear-gradient(100deg,#a6382c 0%,#e0604f 30%,#f08a6e 52%,#e0604f 74%,#b8443a 100%);filter:drop-shadow(0 1px 0 rgb(255 255 255/.85)) drop-shadow(0 6px 8px rgb(166 56 44/.18))}
.intro{font-size:16px;line-height:1.6;color:var(--muted);max-width:330px;margin:0 auto 30px}

nav{display:grid;gap:12px}
.social{display:flex;gap:16px;align-items:center;min-height:68px;padding:14px 18px;background:var(--white);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-sm);
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s var(--ease)}
.icon{width:22px;height:22px;flex-shrink:0}
.icon-img{width:40px;height:40px;flex-shrink:0;border-radius:11px;box-shadow:0 6px 14px -6px rgb(224 96 79/.55),0 0 0 1px rgb(255 255 255/.6) inset;transition:transform .3s var(--ease)}
.featured{border-color:rgb(224 96 79/.35)}
.services .icon-img{box-shadow:0 0 0 2px rgb(255 255 255/.55),0 6px 14px -6px rgb(120 30 20/.45)}
.link-copy{flex:1;min-width:0}
.link-copy strong{display:block;font-size:18px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.link-copy small{display:block;font-size:13px;color:var(--muted);margin-top:1px}
.arrow{display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:var(--paper);color:var(--ink);font-size:16px;flex-shrink:0;transition:transform .25s var(--ease),background .25s var(--ease),color .25s var(--ease)}

.services{display:flex;align-items:center;gap:14px;margin:18px 0 0;min-height:64px;padding:12px 12px 12px 22px;border-radius:999px;background:var(--coral);color:var(--white);
  box-shadow:inset 0 1px 0 rgb(255 255 255/.35),0 12px 26px -12px rgb(166 56 44/.7);transition:transform .25s var(--ease),background .25s var(--ease)}
.services .link-copy strong{font-size:16px;font-weight:700;color:var(--white)}
.services .arrow{background:rgb(255 255 255/.22);color:var(--white)}

footer{text-align:center;padding-top:24px}
footer small{font-size:12px;color:var(--muted)}

@media(hover:hover){
  .social:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:rgb(224 96 79/.45)}
  .social:hover .icon-img,.services:hover .icon-img{transform:scale(1.06) rotate(-3deg)}
  .social:hover .arrow{background:var(--coral);color:var(--white);transform:translate(2px,-2px)}
  .services:hover{background:var(--coral-deep);transform:translateY(-2px)}
  .services:hover .arrow{transform:translate(2px,-2px)}
}
a:active{transform:scale(.98)}

/* Arrival: the card rises, its rows follow */
@media(prefers-reduced-motion:no-preference){
  .card{animation:rise .7s var(--ease) both}
  .hero,.social,.services{animation:rise .6s var(--ease) both}
  .hero{animation-delay:.08s}.social:nth-child(1){animation-delay:.16s}.social:nth-child(2){animation-delay:.22s}.social:nth-child(3){animation-delay:.28s}.social:nth-child(4){animation-delay:.34s}.services{animation-delay:.4s}
}
@keyframes rise{from{opacity:0;transform:translateY(16px)}}

@media(max-width:600px){
  body{padding:0;place-items:stretch}
  .card{border-radius:0;min-height:100svh;padding:32px 22px 22px;border:0}
  .logo{width:104px;margin-bottom:22px}
  .intro{font-size:15px;margin-bottom:26px}
}
@media(prefers-reduced-transparency:reduce){.card{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(prefers-contrast:more){.glass-ink,.glass-coral{-webkit-text-fill-color:currentColor;background:none;filter:none}.glass-ink{color:var(--ink)}.glass-coral{color:var(--coral-deep)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
