:root{
  --blue:#0b66c3;
  --blue2:#0a5ab0;
  --ink:#0f172a;
  --muted:#5b6474;
  --bg:#ffffff;
  --soft:#f3f6fb;
  --line:#e7edf6;

  --shadow: 0 18px 40px rgba(0,0,0,.18);
  --shadow2: 0 12px 28px rgba(15,23,42,.10);

  --radius: 14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
}

.wrap{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

.brand-blue{color:var(--blue)}

/* TOP BAR */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
  min-width: 240px;
}

.brand-mark{
  display:inline-flex;
  align-items:flex-end;
  font-family: Montserrat, Arial, sans-serif;
  font-weight:800;
  line-height:1;
  letter-spacing:-2px;
  font-size:40px;
}
.nb-n{color:#111}
.nb-b{color:var(--blue)}

.brand-text{display:flex; flex-direction:column; gap:2px}
.brand-name{
  font-family: Montserrat, Arial, sans-serif;
  font-weight:800;
  letter-spacing:.6px;
  font-size:16px;
}
.brand-tag{
  font-size:12px;
  color:var(--muted);
  margin-top:-2px;
}

/* NAV */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
  font-weight:500;
}
.nav a{
  text-decoration:none;
  color:#1f2937;
  opacity:.9;
}
.nav a:hover{opacity:1}

.nav-btn{
  padding:10px 14px;
  background:var(--blue);
  color:#fff !important;
  border-radius:10px;
  box-shadow:0 10px 24px rgba(11,102,195,.22);
}

/* HERO */
.hero{
  position:relative;
  min-height:580px;
  display:flex;
  align-items:stretch;
  border-bottom:1px solid var(--line);
}

.hero-bg{
  position:absolute; inset:0;
  background: url("img/banner.jpg") center/cover no-repeat;
  filter:saturate(1.05);
  	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.hero-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 18% 35%, rgba(0,0,0,.35), transparent 60%),
    linear-gradient(to right, rgba(10,14,24,.62), rgba(10,14,24,.34), rgba(10,14,24,.10));
}

/* subtle "network" lines overlay, similar to render */
.hero-overlay::after{
  content:"";
  position:absolute; inset:0;
  background: url("img/net.png") left bottom/1200px auto no-repeat;
  opacity:.22;
  mix-blend-mode: screen;
  pointer-events:none;
}

.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.12fr .88fr;
  gap:28px;
  padding:74px 0;
}

.hero-left{ color:#fff; padding-right:10px; }
.hero-left h1{
  font-family: Montserrat, Arial, sans-serif;
  font-size:56px;
  line-height:1.05;
  margin:0 0 10px;
  letter-spacing:-1px;
}
.hero-sub{
  font-size:18px;
  opacity:.92;
  margin:0 0 22px;
}

.hero-copy p{
  margin:10px 0;
  max-width:540px;
  opacity:.92;
  font-size:16px;
}
.hero-easter{ opacity:.85; margin-top:16px !important; }

.hero-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(6px);
  font-size:13px;
  opacity:.95;
}

.hero-right{
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
}

/* LOGIN CARD */
.login-card{
  width:min(420px, 100%);
  background:rgba(10,14,24,.68);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  color:#fff;
}

.login-head{
  padding:22px 22px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.login-title{
  font-family: Montserrat, Arial, sans-serif;
  font-weight:800;
  letter-spacing:.2px;
  font-size:20px;
}
.login-note{
  margin-top:6px;
  font-size:13px;
  opacity:.85;
}

.alert{
  margin:16px 22px 0;
  padding:12px 12px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  font-size:13px;
}

.login-form{ padding:18px 22px 22px; }

.field{ display:block; margin-bottom:14px; }
.field-label{
  display:block;
  font-size:12px;
  opacity:.9;
  margin-bottom:6px;
}
.field input{
  width:100%;
  padding:13px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(10,14,24,.60);
  color:#fff;
  outline:none;
}
.field input:focus{
  border-color: rgba(11,102,195,.9);
  box-shadow: 0 0 0 4px rgba(11,102,195,.22);
}

.checkline{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  opacity:.92;
  margin:6px 0 14px;
}
.checkline input{ transform: translateY(1px); }

.btn-primary{
  width:100%;
  border:0;
  padding:13px 14px;
  border-radius:12px;
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  color:#fff;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(11,102,195,.22);
}
.btn-primary:hover{ filter:brightness(1.03); }

.login-help{
  margin-top:12px;
  font-size:12px;
  opacity:.80;
  text-align:center;
}

/* CONTENT SECTIONS */
.section{ padding:64px 0; }
.section-soft{
  background: var(--soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.about-grid{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:28px;
  align-items:start;
}
h2{
  font-family: Montserrat, Arial, sans-serif;
  font-weight:800;
  letter-spacing:-.3px;
  margin:0 0 10px;
  font-size:34px;
}
.about-hello{ font-size:55px; margin:12px 0 0; }
.about-right p{ margin:10px 0; font-size:16px; color:#111827; }
.about-muted{ color:var(--muted) !important; }

.feature-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:16px;
}
.feature{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px 14px;
  box-shadow: var(--shadow2);
  text-align:center;
}
.feature-ico{ font-size:26px; margin-bottom:8px; }
.feature-title{
  font-weight:800;
  font-family: Montserrat, Arial, sans-serif;
  margin-bottom:6px;
}
.feature-desc{
  font-size:13px;
  color:var(--muted);
  line-height:1.35;
}

.footer{
  position:relative;
  overflow:hidden;
  padding:26px 0;
  background:#070a10;
  color:#cbd5e1;
}

.footer-bg,
.footer-overlay{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
}

.footer-bg{
  background: url("img/footer.jpg") center/cover no-repeat;
  opacity:.18;
  filter:saturate(1.05) contrast(1.05);
}

.footer-overlay{
  background:
    radial-gradient(900px 260px at 18% 0%, rgba(255,255,255,.12), transparent 55%),
    radial-gradient(900px 240px at 85% 30%, rgba(11,102,195,.14), transparent 60%),
    linear-gradient(to bottom, rgba(8,10,14,.55), rgba(8,10,14,.82));
}

.footer::before{
  content:"";
  position:absolute; left:0; right:0; top:0;
  height:2px;
  z-index:1;
  background: linear-gradient(90deg, transparent, rgba(11,102,195,.65), transparent);
  opacity:.75;
  pointer-events:none;
}

.footer::after{
  content:"";
  position:absolute; left:0; right:0; top:18px;
  height:1px;
  z-index:1;
  background: rgba(255,255,255,.08);
  pointer-events:none;
}

.footer-inner{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  padding-top:14px;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:280px;
}

.footer-mark{
  font-size:46px;
  line-height:1;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

/* Fix the black "N" in footer */
.footer .nb-n{ color:#eaf2ff; opacity:.95; }
.footer .nb-b{ color:var(--blue); }

.footer-name{
  font-family: Montserrat, Arial, sans-serif;
  font-weight:800;
  letter-spacing:.6px;
  font-size:18px;
  color:#fff;
  text-shadow: 0 10px 18px rgba(0,0,0,.55);
}

.footer-tag{
  font-size:12px;
  color:#a9bbd3;
  margin-top:4px;
  text-shadow: 0 8px 16px rgba(0,0,0,.45);
}

.footer-right{
  font-size:12px;
  color:#a9bbd3;
  letter-spacing:.3px;
  text-shadow: 0 8px 16px rgba(0,0,0,.45);
}

@media (max-width: 640px){
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
}


/* RESPONSIVE */
@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
    padding:52px 0;
  }
  .hero-right{ justify-content:flex-start; }
  .hero-left h1{ font-size:42px; }

  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .about-grid{ grid-template-columns: 1fr; }

  /* mobile nav: hide links, show only the button */
  .nav a{ display:none; }
  .nav .nav-btn{ display:inline-flex; }
}

@media (max-width: 520px){
  .wrap{ width:calc(100% - 28px); }

  .brand{ min-width: unset; }
  .brand-mark{ font-size:34px; }
  .brand-name{ font-size:14px; }
  .brand-tag{ font-size:11px; }

  .hero-left h1{ font-size:34px; }
  .hero-sub{ font-size:16px; }

  .login-card{ border-radius:16px; }
  .footer-inner{ gap:10px; }
  .footer-mark{ font-size:40px; }
}
