:root{
  --bg:#030b14;
  --text:#f4f7fb;
  --muted:#a7b6c9;
  --blue:#16b8ff;
  --blue2:#2563eb;
  --panel:#0b1422;
  --line:#1e3b56;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 82% 38%, rgba(0,98,255,.20), transparent 30%),
    radial-gradient(circle at 12% 4%, rgba(0,188,255,.10), transparent 30%),
    linear-gradient(135deg,#03101a 0%,#020812 58%,#020611 100%);
  min-height:100vh;
}
a{text-decoration:none;color:inherit}
.topbar{
  min-height:158px;
  padding:26px 42px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:30px;
  border-bottom:1px solid rgba(22,184,255,.18);
  background:rgba(2,8,18,.70);
  backdrop-filter:blur(18px);
  overflow:hidden;
}
.brand{display:block;flex:0 0 auto}
.brand img{
  width:460px;
  max-width:36vw;
  height:auto;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 0 26px rgba(22,184,255,.20));
}
.brand span{font-size:42px;font-weight:900}
.mainnav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
  padding-top:42px;
  color:#c9d5e3;
  font-size:15px;
  white-space:nowrap;
}
.mainnav a{opacity:.9;transition:.18s}
.mainnav a:hover,.mainnav .active{color:#19bfff;opacity:1}
.mainnav .active{border-bottom:2px solid #19bfff;padding-bottom:10px}
.client-btn{
  padding:13px 18px;
  border:1px solid rgba(22,184,255,.55);
  border-radius:9px;
  color:#fff!important;
  background:rgba(10,22,36,.55);
}
.langs{color:#e5edf7;opacity:.9}
.hero{
  min-height:650px;
  padding:100px 42px 62px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:76px;
  align-items:center;
}
.eyebrow{
  color:#16b8ff;
  font-size:18px;
  font-weight:700;
  letter-spacing:.02em;
  margin-bottom:42px;
}
.hero h1{
  margin:0;
  font-size:clamp(48px,5.5vw,82px);
  line-height:1.08;
  letter-spacing:-.055em;
  font-weight:900;
  text-shadow:0 0 28px rgba(255,255,255,.08);
}
.hero p,.lead{
  max-width:780px;
  margin:28px 0 0;
  font-size:23px;
  line-height:1.55;
  color:var(--muted);
}
.actions{display:flex;gap:28px;margin-top:48px;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:60px;
  padding:0 30px;
  border-radius:12px;
  border:0;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
}
.btn.primary{
  background:linear-gradient(135deg,#20c6ff,#1d54ff);
  color:#fff;
  box-shadow:0 20px 55px rgba(0,104,255,.35);
}
.btn.secondary{
  background:rgba(3,11,20,.38);
  border:1px solid rgba(22,184,255,.6);
}
.hero-right{display:flex;justify-content:center}
.arch-card{
  width:100%;
  max-width:680px;
  padding:42px;
  border-radius:22px;
  background:linear-gradient(145deg,rgba(13,22,35,.88),rgba(7,14,24,.82));
  border:1px solid rgba(101,160,203,.38);
  box-shadow:0 0 0 1px rgba(255,255,255,.03) inset,0 0 60px rgba(22,184,255,.10);
}
.arch-card h2{margin:0 0 28px;font-size:26px;letter-spacing:-.03em}
.arch-item{
  display:grid;
  grid-template-columns:70px 1fr;
  align-items:center;
  min-height:84px;
  padding:0 26px;
  border-radius:13px;
  background:linear-gradient(180deg,rgba(17,32,52,.86),rgba(11,22,36,.86));
  border:1px solid rgba(72,119,160,.32);
}
.arch-item strong{font-size:19px}
.ico{
  color:#16b8ff;
  font-size:34px;
  font-weight:800;
  text-shadow:0 0 22px rgba(22,184,255,.65);
}
.arrow{text-align:center;color:#16b8ff;font-size:26px;line-height:30px}
.tech-strip{
  margin:0 42px 70px;
  padding:30px 0;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  border-top:1px solid rgba(122,159,190,.18);
  border-bottom:1px solid rgba(122,159,190,.18);
}
.tech{
  display:flex;
  gap:20px;
  align-items:center;
  padding:0 22px;
  min-height:90px;
  border-right:1px solid rgba(122,159,190,.18);
}
.tech:last-child{border-right:0}
.tech-icon{
  min-width:60px;height:60px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  color:#16b8ff;font-size:28px;font-weight:900;
  border:1px solid rgba(101,160,203,.42);
  background:rgba(7,17,30,.65);
}
.tech strong{display:block;font-size:18px;margin-bottom:6px}
.tech span{display:block;color:var(--muted);font-size:15px}
.section{padding:70px 42px}
.section h1,.section h2{
  font-size:44px;
  margin:0 0 28px;
  letter-spacing:-.04em;
}
.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid rgba(122,159,190,.22);
  border-radius:18px;
  overflow:hidden;
  background:rgba(3,10,18,.42);
}
.cards article{
  padding:34px;
  border-right:1px solid rgba(122,159,190,.18);
}
.cards article:last-child{border-right:0}
.cards h3{font-size:22px;margin:0 0 12px}
.cards p{color:var(--muted);margin:0;font-size:16px}
.authBox{
  width:min(500px,92vw);
  margin:80px auto;
  padding:34px;
  background:rgba(12,20,34,.86);
  border:1px solid rgba(122,159,190,.25);
  border-radius:24px;
}
.authBox.wide{width:min(760px,92vw)}
.authBox h1{margin-top:0;font-size:36px}
label{display:block;color:#d6e2ef;margin:16px 0 8px;font-weight:700}
input,textarea{
  width:100%;
  margin-top:8px;
  border:1px solid #334155;
  background:#020817;
  color:#fff;
  border-radius:14px;
  padding:14px 15px;
  font:inherit;
}
.notice{
  margin:24px auto 0;
  width:min(900px,92vw);
  padding:14px 18px;
  border-radius:16px;
}
.notice.ok{background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.3)}
.notice.err{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.3)}
.footer{
  margin-top:40px;
  padding:40px 42px;
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  border-top:1px solid rgba(122,159,190,.18);
}
.footer strong{color:#fff}
@media(max-width:1350px){
  .brand img{width:360px}
  .mainnav{gap:14px;font-size:14px}
}
@media(max-width:1100px){
  .topbar{height:auto;flex-direction:column}
  .brand img{width:330px;max-width:90vw}
  .mainnav{padding-top:0;flex-wrap:wrap;justify-content:flex-start}
  .hero{grid-template-columns:1fr;padding-top:70px}
  .tech-strip{grid-template-columns:1fr 1fr}
  .cards{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .topbar,.hero,.section,.footer{padding-left:22px;padding-right:22px}
  .brand img{width:285px}
  .hero h1{font-size:43px}
  .hero p,.lead{font-size:18px}
  .tech-strip{margin-left:22px;margin-right:22px;grid-template-columns:1fr}
  .tech{border-right:0;border-bottom:1px solid rgba(122,159,190,.18)}
  .cards{grid-template-columns:1fr}
  .cards article{border-right:0;border-bottom:1px solid rgba(122,159,190,.18)}
  .footer{flex-direction:column;gap:12px}
}

/* eRNET OFFICIAL LOGO FIX */
.brand{display:flex!important;align-items:center!important;flex:0 0 auto!important;overflow:visible!important;background:transparent!important}
.brand img{
  width:520px!important;
  max-width:36vw!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  display:block!important;
  background:transparent!important;
  border:0!important;
  filter:drop-shadow(0 0 28px rgba(22,184,255,.20))!important;
}
.topbar{
  min-height:150px!important;
  align-items:flex-start!important;
  overflow:hidden!important;
}
.authBox input:-webkit-autofill,
.authBox input:-webkit-autofill:hover,
.authBox input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 0 0 1000px #020817 inset!important;
  caret-color:#fff!important;
}
@media(max-width:1350px){.brand img{width:430px!important;max-width:34vw!important}}
@media(max-width:1100px){.brand img{width:360px!important;max-width:90vw!important}.topbar{min-height:auto!important}}
@media(max-width:650px){.brand img{width:300px!important;max-width:92vw!important}}

/* eRNET transparent PNG logo fix */
.brand{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.brand img{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  width:520px !important;
  max-width:36vw !important;
  height:auto !important;
  display:block !important;
  object-fit:contain !important;
  filter:drop-shadow(0 0 22px rgba(22,184,255,.18)) !important;
}

.topbar{
  overflow:hidden !important;
}

@media(max-width:1350px){
  .brand img{width:420px !important; max-width:42vw !important;}
}

@media(max-width:1100px){
  .brand img{width:340px !important; max-width:90vw !important;}
}

@media(max-width:650px){
  .brand img{width:285px !important; max-width:90vw !important;}
}

/* transparent logo final */
.brand img{
background:transparent !important;
mix-blend-mode:screen;
box-shadow:none !important;
filter:drop-shadow(0 0 18px rgba(0,180,255,.18));
width:430px !important;
height:auto !important;
object-fit:contain;
}

/* ===== RESCUE FIX ===== */

body{
overflow-x:hidden!important;
}

.topbar{
min-height:96px!important;
height:auto!important;
padding:18px 34px!important;
align-items:center!important;
}

.brand{
display:flex!important;
align-items:center!important;
}

.brand img{
width:320px!important;
max-width:320px!important;
height:auto!important;
display:block!important;
background:transparent!important;
mix-blend-mode:screen!important;
}

.mainnav{
padding-top:0!important;
align-items:center!important;
margin-left:auto!important;
}

.hero{
padding-top:70px!important;
margin-top:0!important;
}

.authBox{
display:none!important;
}

.hero-left{
padding-top:30px!important;
}

@media(max-width:1200px){
.brand img{
width:250px!important;
max-width:250px!important;
}
}


/* ===== eRNET official transparent PNG logo - FINAL ===== */
.topbar{
  min-height:118px !important;
  height:auto !important;
  padding:20px 34px !important;
  align-items:center !important;
  overflow:visible !important;
}
.brand{
  display:flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
  background:transparent !important;
}
.brand img{
  width:360px !important;
  max-width:360px !important;
  height:auto !important;
  display:block !important;
  object-fit:contain !important;
  background:transparent !important;
  box-shadow:none !important;
  mix-blend-mode:normal !important;
  filter:drop-shadow(0 0 18px rgba(0,180,255,.16)) !important;
}
.mainnav{
  padding-top:0 !important;
  align-items:center !important;
  margin-left:auto !important;
}
.authBox{
  display:block !important;
}
input, textarea{
  background:#020817 !important;
  color:#fff !important;
}
input:-webkit-autofill,
textarea:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px #020817 inset !important;
  -webkit-text-fill-color:#fff !important;
  caret-color:#fff !important;
}
@media(max-width:1200px){
  .brand img{width:285px !important;max-width:285px !important;}
}
@media(max-width:650px){
  .brand img{width:235px !important;max-width:235px !important;}
}
