:root{
  --bg0:#070814;
  --bg1:#0b0d1f;
  --card:#0e1026;
  --stroke: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --shadow: rgba(0,0,0,.5);

  --ok:#3be37a;
  --warn:#ffd24a;
  --hot:#ff6a3d;

  --p1:#f6c945; /* yellow-ish */
  --p2:#7c4dff; /* purple-ish */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 20% 15%, rgba(124,77,255,.16), transparent 55%),
    radial-gradient(900px 520px at 80% 20%, rgba(246,201,69,.14), transparent 55%),
    radial-gradient(800px 480px at 50% 90%, rgba(59,227,122,.08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{ color:inherit; }

.wrap{
  max-width: 1100px;
  padding: 28px 18px 34px;
  margin: 0 auto;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width: 240px;
}

.logo{
  width:54px;
  height:54px;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.brand-text{ line-height:1.2; }
.brand-name{
  font-weight:600;
  letter-spacing:.12em;
  font-size: 18px;
}
.brand-sub{
  font-size: 12px;
  color:var(--muted);
  margin-top: 4px;
}

.status-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 40px var(--shadow);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
}

.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background: var(--warn);
  box-shadow: 0 0 0 6px rgba(255,210,74,.12);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse{
  0%,100%{ transform:scale(1); opacity:1; }
  50%{ transform:scale(1.25); opacity:.75; }
}

.card{
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,.55);
}

.card-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px 14px;
  background: rgba(0,0,0,.22);
  border-bottom: 1px solid var(--stroke);
}

.window-controls{ display:flex; gap:8px; }
.wc{
  width:10px;height:10px;border-radius:50%;
  display:inline-block;
  opacity:.9;
}
.wc.red{ background:#ff5f56; }
.wc.yellow{ background:#ffbd2e; }
.wc.green{ background:#27c93f; }

.card-title{
  font-size: 12px;
  color: var(--muted);
}

.terminal{
  padding: 18px 18px 16px;
}

.lines{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height: 230px;
}

.line{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.prompt{
  color: rgba(255,255,255,.35);
}

.muted{ color: var(--muted); }
.ok{ color: var(--ok); font-weight:600; }
.warn{ color: var(--warn); font-weight:600; }
.hot{ color: var(--hot); font-weight:600; }

.kv{
  display:flex;
  gap:10px;
  align-items:center;
}

.check{
  width:22px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  color: var(--ok);
  font-weight:600;
}

.module{
  color: rgba(255,255,255,.8);
  letter-spacing:.08em;
}

.progress-block{
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,.12);
}

.progress-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 10px;
}

.percent{
  font-weight:600;
  letter-spacing:.04em;
  color: rgba(255,255,255,.82);
}

.bar{
  position:relative;
  height: 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  overflow:hidden;
}

.bar-fill{
  height:100%;
  width:0%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--p1), var(--p2));
  box-shadow: 0 0 22px rgba(124,77,255,.25);
  transition: width .25s linear;
}

.bar-glow{
  position:absolute;
  inset:-40px -40px -40px -40px;
  background:
    radial-gradient(240px 80px at 30% 50%, rgba(246,201,69,.08), transparent 60%),
    radial-gradient(240px 80px at 70% 50%, rgba(124,77,255,.08), transparent 60%);
  pointer-events:none;
}

.footer-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.12);
}

.shout{
  font-weight:600;
  letter-spacing:.14em;
  color: rgba(255,255,255,.82);
}

.cursor{
  color: rgba(255,255,255,.55);
  animation: blink 1s steps(2, jump-none) infinite;
}

@keyframes blink{
  0%,49%{ opacity:1; }
  50%,100%{ opacity:0; }
}

.contact{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  font-size: 12px;
}

.link{
  color: rgba(255,255,255,.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.link:hover{ border-bottom-color: rgba(255,255,255,.45); }

.bottom{
  margin-top: 16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  font-size: 12px;
}

/* Mobile tweaks */
@media (max-width: 640px){
  .topbar{ flex-direction:column; align-items:flex-start; }
  .status-pill{ align-self:stretch; justify-content:center; }
  .lines{ min-height: 260px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .dot, .cursor{ animation: none !important; }
  .bar-fill{ transition:none !important; }
}

