:root {
  --bg: #050912;
  --bg-2: #080e17;
  --panel: #111b2a;
  --panel-2: #0d1421;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fbff;
  --muted: #8ea0ba;
  --soft: #c8d4e6;
  --violet: #8b3ffc;
  --violet-2: #b58cff;
  --cyan: #54d8ff;
  --green: #25d58a;
  --amber: #ffc42e;
  --red: #ff5f79;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  padding: 0 48px;
  background: rgba(5, 9, 18, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 950; }
.brand-mark {
  width: 24px;
  height: 24px;
  border: 3px solid var(--violet-2);
  border-radius: 8px 8px 10px 10px;
  transform: rotate(45deg) scale(0.82);
}
.site-nav nav { display: flex; gap: 28px; margin-left: auto; color: #c8d3e5; font-size: 13px; font-weight: 800; }
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; color: #dfe7f5; font-size: 13px; font-weight: 850; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), #9e55ff);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(139, 63, 252, 0.28);
}
.btn-small { min-height: 38px; padding: 0 15px; }
.btn-dark { background: #090f1c; border: 1px solid var(--line); box-shadow: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(400px, 0.82fr) minmax(600px, 1.18fr);
  gap: 34px;
  padding: 104px 48px 58px;
  background:
    radial-gradient(circle at 18% 22%, rgba(139, 63, 252, 0.22), transparent 34rem),
    radial-gradient(circle at 84% 14%, rgba(84, 216, 255, 0.10), transparent 36rem),
    #050912;
}
.hero-copy { padding-top: 32px; }
h1 {
  max-width: 660px;
  margin: 0 0 18px;
  font-size: clamp(46px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}
.hero-copy h1 {
  color: #ffffff;
}
.lede {
  max-width: 590px;
  color: #b8c5d8;
  font-size: 17px;
  font-weight: 650;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-actions.centered { justify-content: center; }

.product-frame {
  align-self: start;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: #060a12;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.app-shell { display: grid; grid-template-columns: 152px 1fr; min-height: 580px; }
.app-shell aside {
  background: #0a101a;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  padding: 18px 14px;
}
.app-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 44px; font-weight: 950; }
.app-brand span { width: 22px; height: 22px; border: 2px solid var(--violet-2); border-radius: 7px; }
.app-shell aside p {
  margin: 24px 0 9px;
  color: #52627a;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.app-shell aside a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: #9ba9bd;
  font-size: 13px;
  font-weight: 850;
}
.app-shell aside a.active { color: #fff; background: rgba(139, 63, 252, 0.13); }
.app-main { min-width: 0; padding: 24px; background: #060b13; }
.app-top { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.app-top h2 { margin: 0; font-size: 28px; }
.app-top span { color: #8fa3bd; font-weight: 750; }
.app-top button {
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), #9e55ff);
  color: #fff;
  padding: 11px 13px;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-grid div:nth-child(4) { display: none; }
.stat-grid div {
  min-height: 108px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #132033, #0e1726);
  padding: 14px;
}
.stat-grid span { display: block; color: #b4c1d3; font-size: 12px; font-weight: 950; }
.stat-grid strong { display: block; margin-top: 8px; font-size: 30px; }
.stat-grid em { color: var(--green); font-size: 12px; font-style: normal; font-weight: 950; }
.app-table {
  margin-top: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #121d2d, #0e1725);
  overflow: hidden;
}
.table-head { display: flex; align-items: center; gap: 18px; padding: 18px; }
.table-head h3 { margin: 0; font-size: 22px; }
.search { margin-left: auto; width: min(260px, 42%); border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 8px; background: #080d17; color: #6f8098; padding: 10px 12px; font-size: 12px; font-weight: 750; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
th, td { overflow: hidden; padding: 13px 10px; border-top: 1px solid rgba(148, 163, 184, 0.10); text-align: left; text-overflow: ellipsis; white-space: nowrap; }
th { background: #0b1220; color: #8294ae; font-size: 11px; font-weight: 950; }
td { color: #dfe8f7; font-weight: 850; }
.low { color: var(--green); }
.medium, .review { color: var(--amber); }
.fixes { color: var(--red); }

.logo-strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 48px 32px;
  background: #050912;
  color: #c4d0e2;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}
.logo-strip span { color: #687a94; font-size: 11px; text-transform: uppercase; }

.feature-card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.feature-card-row article {
  min-height: 232px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #101827;
  padding: 26px 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}
.feature-card-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 24px;
  border: 1px solid rgba(139, 63, 252, 0.18);
  border-radius: 50%;
  background: #ffffff;
  color: var(--violet);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 28px rgba(139, 63, 252, 0.16);
}
.feature-card-row h3 { margin: 0 0 10px; font-size: 18px; }
.feature-card-row p { margin: 0; color: #5d6a7d; font-size: 14px; font-weight: 700; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  padding: 94px 48px;
  background: #070b13;
}
.split h2, .workflow h2, .cta h2 {
  margin: 14px 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}
.split p { max-width: 620px; color: #aebdd1; font-size: 16px; font-weight: 680; }
.split ul { list-style: none; padding: 0; margin: 26px 0 0; color: #dae4f4; font-weight: 850; }
.split li { margin: 12px 0; }
.split li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--violet-2); }
.mini-board {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #111c2d, #0b1220);
  padding: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
}
.mini-title { display: flex; justify-content: space-between; color: #dfe7f5; font-weight: 950; }
.mini-title span { color: var(--muted); font-size: 13px; }
.risk-score {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  margin: 30px 0 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 24px;
}
.risk-score span { color: #9badc4; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.risk-score strong { grid-row: span 2; color: #ffffff; font-size: 76px; line-height: 0.9; }
.risk-score em { color: #ffb4c0; font-style: normal; font-weight: 950; }
.risk-lines p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 18px;
  margin: 15px 0;
  color: #c8d4e6;
  font-weight: 850;
}
.risk-lines p::after {
  content: "";
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--red) calc(var(--value) * 1%), rgba(255,255,255,0.08) 0);
}
.risk-lines b { color: var(--red); }

.workflow {
  position: relative;
  overflow: hidden;
  padding: 86px 48px 92px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  color: #101827;
  text-align: center;
}
.workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(84, 216, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 84% 0%, rgba(139, 63, 252, 0.12), transparent 25rem);
  pointer-events: none;
}
.workflow > * {
  position: relative;
  z-index: 1;
}
.workflow-intro {
  max-width: 610px;
  margin: 0 auto;
  color: #64748b;
  font-size: 16px;
  font-weight: 700;
}
.workflow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 40px auto 0;
}
.workflow-steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 42px;
  height: 2px;
  background: linear-gradient(90deg, rgba(139, 63, 252, 0.08), rgba(139, 63, 252, 0.34), rgba(84, 216, 255, 0.24));
}
.workflow article {
  position: relative;
  min-height: 210px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 24px 18px 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  text-align: left;
}
.workflow b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 26px;
  border: 1px solid rgba(139, 63, 252, 0.18);
  border-radius: 50%;
  background: #ffffff;
  color: var(--violet);
  font-size: 12px;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 28px rgba(139, 63, 252, 0.16);
}
.workflow h3 { margin: 0 0 10px; font-size: 18px; }
.workflow article p { margin: 0; color: #627085; font-size: 13px; font-weight: 700; }

.cta {
  padding: 82px 48px;
  background: radial-gradient(circle at 50% 0, rgba(139, 63, 252, 0.30), transparent 32rem), #070b13;
  text-align: center;
}
.cta p { margin: 0 auto; max-width: 640px; color: #b6c3d5; font-size: 16px; font-weight: 700; }

@media (max-width: 1180px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { background: #050912; }
  .product-frame { overflow-x: auto; }
  .app-shell { min-width: 900px; }
  .feature-card-row { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps::before { display: none; }
}

@media (max-width: 760px) {
  .site-nav { padding: 0 20px; }
  .site-nav nav, .nav-actions a:first-child { display: none; }
  .hero, .split, .workflow, .cta { padding-left: 20px; padding-right: 20px; }
  .feature-card-row, .logo-strip, .workflow-steps { grid-template-columns: 1fr; }
  .logo-strip { text-align: left; }
  h1 { font-size: 44px; }
  .workflow { text-align: left; }
  .workflow-intro { margin-left: 0; }
  .workflow article { min-height: 0; }
}
