:root {
  --kc-teal: #0B3842;
  --kc-slate: #5F6D76;
  --kc-light: #BBBFC4;
  --kc-navy: #1B154B;
  --white: #ffffff;
  --glass: rgba(255,255,255,.08);
  --line: rgba(187,191,196,.22);
  --glow: rgba(85, 224, 222, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 18%, rgba(95,109,118,.35), transparent 30%),
    radial-gradient(circle at 22% 82%, rgba(27,21,75,.85), transparent 34%),
    linear-gradient(135deg, #071f26 0%, var(--kc-teal) 46%, #08071a 100%);
  overflow-x: hidden;
}

.site-shell {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 100vh;
  padding: 30px 0 42px;
}

.grid-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(187,191,196,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(187,191,196,.13) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 74%, transparent);
}

.ambient { position: fixed; border-radius: 999px; filter: blur(28px); pointer-events: none; }
.ambient-one { width: 320px; height: 320px; right: -90px; top: 110px; background: rgba(187,191,196,.18); }
.ambient-two { width: 240px; height: 240px; left: -80px; bottom: 110px; background: rgba(27,21,75,.52); }

.topbar, .hero, .cards { position: relative; z-index: 1; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand img { width: 210px; max-width: 52vw; display: block; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .02em;
}
.nav-links a:hover { color: var(--white); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 220px);
  padding: 70px 0 50px;
}
.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(187,191,196,.09);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .92;
  letter-spacing: -.065em;
}
.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.primary-action {
  color: #061c22;
  background: linear-gradient(135deg, var(--white), var(--kc-light));
  text-decoration: none;
  font-weight: 800;
  padding: 15px 20px;
  border-radius: 14px;
  box-shadow: 0 0 32px rgba(187,191,196,.24);
}
.status { color: rgba(255,255,255,.74); font-size: 14px; display: inline-flex; align-items: center; gap: 9px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #73fff2; box-shadow: 0 0 18px #73fff2; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; }
.metrics article, .cards article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.metrics article { padding: 18px; }
.metrics strong { display: block; color: var(--kc-light); margin-bottom: 20px; }
.metrics span { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.45; }

.login-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(187,191,196,.28);
  border-radius: 30px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(11,56,66,.86), rgba(27,21,75,.64)),
    rgba(255,255,255,.06);
  box-shadow: 0 28px 90px rgba(0,0,0,.34), 0 0 70px rgba(85,224,222,.12);
}
.panel-glow {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(circle at 75% 10%, rgba(115,255,242,.34), transparent 34%);
}
.panel-header { position: relative; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.62); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.panel-header p { margin: 0; }
.secure-dot { width: 10px; height: 10px; border-radius: 50%; background: #73fff2; box-shadow: 0 0 18px #73fff2; }
.login-panel h2 { position: relative; margin: 26px 0 8px; font-size: 34px; letter-spacing: -.04em; }
.login-note, .disclaimer { position: relative; color: rgba(255,255,255,.64); line-height: 1.55; }
.login-error {
  position: relative; margin: 14px 0 0; padding: 10px 14px;
  background: rgba(255,107,125,.12); border: 1px solid rgba(255,107,125,.45);
  border-radius: 12px; color: #ffb3bd; font-size: 13px; font-weight: 600;
}
.login-form { position: relative; display: grid; gap: 11px; margin-top: 26px; }
.login-form label { color: rgba(255,255,255,.76); font-size: 13px; font-weight: 700; }
.login-form input[type="email"], .login-form input[type="password"] {
  width: 100%;
  border: 1px solid rgba(187,191,196,.24);
  border-radius: 14px;
  padding: 15px 14px;
  color: var(--white);
  background: rgba(0,0,0,.22);
  outline: none;
}
.login-form input:focus { border-color: rgba(115,255,242,.72); box-shadow: 0 0 0 4px rgba(115,255,242,.10); }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 6px 0 12px; }
.checkline { display: inline-flex; align-items: center; gap: 8px; font-weight: 500 !important; }
.form-row a { color: var(--kc-light); text-decoration: none; font-size: 13px; }
button {
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  color: #071f26;
  background: linear-gradient(135deg, #ffffff, #bbbfc4);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 34px rgba(187,191,196,.24);
}
button:hover, .primary-action:hover { transform: translateY(-1px); }
.disclaimer { font-size: 12px; margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards article { padding: 24px; }
.cards span { color: var(--kc-light); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.cards h3 { margin: 14px 0 10px; font-size: 22px; }
.cards p { margin: 0; color: rgba(255,255,255,.66); line-height: 1.6; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .login-panel { max-width: 560px; }
  .metrics, .cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-shell { width: min(100% - 28px, 1180px); padding-top: 18px; }
  .topbar { align-items: flex-start; gap: 22px; }
  .nav-links { display: none; }
  .brand img { width: 190px; }
  .login-panel { padding: 22px; border-radius: 24px; }
  .form-row { align-items: flex-start; flex-direction: column; gap: 10px; }
}
