:root{
  --text:#0b1220;
  --muted:#e9eef8;
  --muted2: rgba(233,238,248,.82);
  --glass: rgba(255,255,255,.60);
  --glass2: rgba(255,255,255,.70);
  --stroke: rgba(255,255,255,.22);
  --shadow: 0 20px 60px rgba(0,0,0,.22);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%
  overflow-x:hidden;
  -webkit-overflow-scrolling: touch;
}

body{
  margin:0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display","SF Pro Text","Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  overflow-x:hidden;
  background-image: url("bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.overlay{
  position:fixed;
  inset:0;
  background:
    radial-gradient(1000px 600px at 20% 10%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(1000px 600px at 70% 30%, rgba(0,0,0,.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.34));
  pointer-events:none;
  z-index:-1;
}

a{color:inherit;text-decoration:none}
.container{
  width:min(1080px, calc(100% - 40px));
  margin:0 auto;
  padding:28px 0 60px;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}
.brand img{
  width:42px;
  height:42px;
  border-radius:14px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.brand .name{
  font-weight:800;
  letter-spacing:.8px;
  color:#ffffff;
}
.brand .sub{
  font-size:12px;
  color: var(--muted2);
  margin-top:2px;
}

.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.menu{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.menu a{
  padding:10px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.92);
  font-weight:700;
  letter-spacing:.2px;
}
.menu a.active{
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.18);
}

.lang{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lang button{
  border: 0;
  cursor:pointer;
  padding:10px 12px;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,.84);
  font-weight:800;
  letter-spacing:.2px;
}
.lang button.active{
  background: rgba(255,255,255,.22);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

.hero{
  margin-top:28px;
  padding:34px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.97);
font-weight:800;
  font-size:12px;
}

.h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height:1.04;
  letter-spacing:-.8px;
  color: rgba(255,255,255,.97);
  text-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.p{
  margin:0;
  color: rgba(255,255,255,.92);
font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
  text-shadow: 0 10px 28px rgba(0,0,0,.22);
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:20px;
}

.primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.80);
  box-shadow: 0 16px 50px rgba(0,0,0,.24);
  font-weight:900;
  letter-spacing:.2px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.primary:hover{transform: translateY(-1px); box-shadow: 0 22px 60px rgba(0,0,0,.26);}
.primary:active{transform: translateY(0px); box-shadow: 0 14px 44px rgba(0,0,0,.22);}

.secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.22);
  font-weight:900;
  color: rgba(255,255,255,.95);
}

.card{
  padding:16px;
  border-radius: 18px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.card h3{
  margin:0 0 8px;
  font-size: 14px;
  letter-spacing:.2px;
  color: rgba(255,255,255,.97);
}
.card p{
  margin:0;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  line-height: 1.55;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
@media (max-width: 860px){
  .cards{grid-template-columns: 1fr;}
}


.card h3{
  margin:0 0 8px;
  font-size: 14px;
  letter-spacing:.2px;
  color: rgba(255,255,255,.97);
}
.card p{
  margin:0;
  color: rgba(255,255,255,.90);
  font-size: 13px;
  line-height: 1.55;
}

.section{
  margin-top:18px;
  padding:22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.section h2{
  margin:0 0 10px;
  font-size: 16px;
  letter-spacing:.2px;
  color: rgba(255,255,255,.97);
}
.section p, .section li{
  color: rgba(255,255,255,.86);
  line-height:1.6;
}
.list{
  margin:10px 0 0;
  padding-left:18px;
}

.job{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:18px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  margin-top:10px;
}
.job .title{
  font-weight:900;
  color:#fff;
}
.job .meta{
  color: rgba(255,255,255,.80);
  font-size: 12px;
  margin-top:4px;
}
.pill{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.20);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-weight:800;
  font-size:12px;
  white-space:nowrap;
}

.footer{
  margin-top:22px;
  color: rgba(255,255,255,.84);
  font-size: 12px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  text-shadow: 0 10px 26px rgba(0,0,0,.22);
}

/* Mobile optimization */
@media (max-width: 720px){
.container{ width: calc(100% - 24px); padding:18px 0 44px; }
  .nav{ gap:10px; align-items:flex-start; }
  .brand{ min-width: 0; gap:10px; }
  .brand img{ width:38px; height:38px; border-radius:12px; }
  .brand .name{ font-size:14px; letter-spacing:.6px; }
  .brand .sub{ font-size:11px; }
  .nav-right{ width:100%; gap:10px; justify-content:space-between; }
  .menu{ display:flex; flex-wrap:wrap; gap:6px; }
  .menu a{ padding:8px 10px; font-size:12px; }
   /* no menu bar on mobile */
  .lang{ padding:6px; gap:6px; }
  .lang button{ padding:8px 10px; font-size:12px; }
  .hero{ margin-top:16px; padding:20px; }
  .h1{ font-size: clamp(30px, 8.2vw, 44px); }
  .p{ font-size:15px; }
  .cta-row{ gap:10px; }
  .primary, .secondary{ width:100%; justify-content:center; }
  .cards{ grid-template-columns: 1fr; }
  .section{ padding:18px; }
  .footer{ flex-direction:column; align-items:flex-start; }
}

/* Always-on background (mobile-safe) */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image: url("bg.jpg");
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  transform: translateZ(0);
  z-index:-2;
}

/* Overlay sits above background */
.overlay{ z-index:-1; }

/* Avoid horizontal scrolling on mobile */
img, svg, video, canvas{max-width:100%; height:auto;}
.hero, .section, .card, .container{max-width:100%;}

/* Scroll reveal (subtle pop) */
.reveal{
  opacity: 0;
  transform: translateY(10px) scale(.985);
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0) scale(1);
}
.risk-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:12px;
}
@media (max-width: 860px){
  .risk-grid{ grid-template-columns: 1fr; }
}
.risk-item{
  padding:16px;
  border-radius: 18px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.risk-item .n{
  width: 32px; height:32px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  color:#fff;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  margin-bottom:10px;
}
.risk-item .t{
  font-weight:900;
  color: rgba(255,255,255,.95);
  margin-bottom:6px;
}
.risk-item .d{
  color: rgba(255,255,255,.92);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 720px){
  .nav{ align-items:center; }
  .nav-right{ width:auto; gap:8px; justify-content:flex-end; }
  .menu{ display:flex; flex-wrap:nowrap; gap:6px; padding:6px; border-radius:14px; }
  .menu a{ padding:7px 8px; font-size:11px; border-radius:10px; }
  .lang{ padding:6px; gap:4px; border-radius:14px; }
  .lang button{ padding:7px 8px; font-size:11px; border-radius:10px; }
  .container{ width: calc(100% - 20px); }
}

@media (max-width: 720px){
  .cta-row{ width:100%; flex-direction:column; align-items:stretch; }
  .primary, .secondary{ width:100%; justify-content:center; text-align:center; }
}

/* Hover pop for cards (desktop) */
@media (hover: hover) and (pointer: fine){
  .card, .risk-item, .job{
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
  }
  .card:hover, .risk-item:hover, .job:hover{
    transform: translateY(-6px);
    background: rgba(255,255,255,.28);
    border-color: rgba(255,255,255,.24);
    box-shadow: 0 22px 60px rgba(0,0,0,.22);
  }
}

/* Button hover glow (desktop) */
@media (hover: hover) and (pointer: fine){
  .primary, .secondary, .menu a, .lang button{
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
  }
  .primary:hover, .secondary:hover{
    transform: translateY(-2px);
    box-shadow:
      0 18px 55px rgba(0,0,0,.24),
      0 0 0 1px rgba(255,255,255,.30),
      0 0 28px rgba(255,255,255,.55);
  }
  .menu a:hover, .lang button:hover{
    box-shadow:
      0 0 0 1px rgba(255,255,255,.22),
      0 0 18px rgba(255,255,255,.38);
  }
}
