
:root {
  --bg: #080d18;
  --surface: #0e1625;
  --border: #223047;
  --text: #edf3ff;
  --muted: #91a0b8;
  --blue: #5b8cff;
  --cyan: #49d9ed;
  --green: #67e8b1;
  --font: "DM Sans", sans-serif;
  --heading: "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.grid-bg {
  background-image:
    linear-gradient(rgba(91, 140, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 140, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Navigation */

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 24, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(145, 160, 184, .12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.8px;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--blue), var(--cyan));
  color: #07101e;
  font-weight: 700;
}

.cyan {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.footer-links a {
  transition: color .2s;
}

.nav-links a:hover,
.footer-links a:hover {
  color: white;
}

.nav-cta,
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 19px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: .25s ease;
  cursor: pointer;
}

.nav-cta,
.btn-primary {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
}

.nav-cta:hover,
.btn-primary:hover {
  background: #76a0ff;
  border-color: #76a0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91, 140, 255, .2);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: white;
  padding: 8px;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  padding: 112px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  right: -150px;
  top: -160px;
  background: rgba(46, 95, 208, .13);
  filter: blur(100px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid rgba(91, 140, 255, .27);
  border-radius: 100px;
  color: #b9ccff;
  background: rgba(91, 140, 255, .07);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 26px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(103, 232, 177, .7);
  flex-shrink: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

h1 {
  font-size: clamp(42px, 5.2vw, 66px);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(100deg, #6c99ff 10%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  color: var(--muted);
  font-size: 17px;
  max-width: 520px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 38px;
}

.btn {
  padding: 14px 21px;
}

.btn-secondary {
  color: #dce6fa;
  background: rgba(255, 255, 255, .025);
  border: 1px solid #2a3951;
}

.btn-secondary:hover {
  border-color: var(--blue);
  background: rgba(91, 140, 255, .08);
}

.hero-note {
  color: var(--muted);
  font-size: 12px;
}

/* Dashboard preview */

.visual-wrap {
  position: relative;
  min-width: 0;
}

.visual-wrap::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: rgba(63, 109, 238, .17);
  filter: blur(70px);
  border-radius: 50%;
}

.dashboard {
  position: relative;
  background: rgba(13, 22, 37, .94);
  border: 1px solid #293b56;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
  transform: perspective(1000px) rotateY(-3deg);
}

.dashboard-top {
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  gap: 10px;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35435a;
}

.window-dots span:first-child { background: #ff6d7c; }
.window-dots span:nth-child(2) { background: #ffc66d; }
.window-dots span:nth-child(3) { background: #67e8b1; }

.dashboard-body {
  padding: 22px;
}

.dash-title {
  font-size: 16px;
  margin-bottom: 5px;
  letter-spacing: -.4px;
}

.dash-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 17px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .018);
  border-radius: 9px;
  min-width: 0;
}

.metric-label {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 10px;
}

.metric-value {
  font-family: var(--heading);
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 600;
  letter-spacing: -.8px;
  overflow-wrap: anywhere;
}

.metric-foot {
  font-size: 10px;
  margin-top: 7px;
  color: var(--green);
}

.metric-foot.blue {
  color: #91b1ff;
}

.scan-panel {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 14px;
}

.scan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 15px;
}

.tag {
  padding: 4px 7px;
  font-size: 9px;
  color: var(--cyan);
  background: rgba(73, 217, 237, .08);
  border-radius: 4px;
  white-space: nowrap;
}

.scan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  font-size: 10px;
  min-width: 0;
}

.scan-row code {
  color: #d5e1f7;
  min-width: 0;
  overflow-wrap: anywhere;
}

.scan-label {
  color: var(--muted);
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}

.severity {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #ff7185;
  flex-shrink: 0;
}

.severity.medium { background: #ffcb72; }
.severity.low { background: var(--green); }

.dash-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
}

.live-label {
  color: var(--green);
  white-space: nowrap;
}

/* Sections */

.section {
  padding: 100px 0;
}

.section-header {
  max-width: 650px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-label {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 18px;
}

.section-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* Tools */

.tools-section {
  background: #0a101d;
  border-top: 1px solid rgba(145, 160, 184, .08);
  border-bottom: 1px solid rgba(145, 160, 184, .08);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tool-card {
  position: relative;
  padding: 30px;
  background: linear-gradient(145deg, #131e30, #0c1422);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: #4769a2;
}

.tool-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(91, 140, 255, .28);
  border-radius: 12px;
  background: rgba(91, 140, 255, .09);
  color: #8cb0ff;
  font-size: 28px;
}

.cyan-icon {
  color: var(--cyan);
  border-color: rgba(73, 217, 237, .25);
  background: rgba(73, 217, 237, .07);
}

.tool-status {
  font-size: 10px;
  color: var(--green);
  border: 1px solid rgba(103, 232, 177, .2);
  background: rgba(103, 232, 177, .05);
  padding: 5px 9px;
  border-radius: 100px;
}

.tool-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -.8px;
}

.tool-card > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 23px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd6e8;
  font-size: 13px;
}

.check {
  color: var(--green);
  font-weight: 700;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8eb0ff;
  font-size: 13px;
  font-weight: 700;
  transition: gap .2s;
}

.tool-link:hover {
  gap: 15px;
}

.cyan-link {
  color: var(--cyan);
}

/* How it works */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.step {
  padding: 25px 20px;
  border-top: 1px solid var(--border);
}

.step-number {
  font-family: var(--heading);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 24px;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 13px;
  letter-spacing: -.5px;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

/* CTA */

.cta-section {
  padding: 30px 0 100px;
}

.cta-box {
  text-align: center;
  padding: 68px 30px;
  border: 1px solid #2a4268;
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(73, 217, 237, .12), transparent 60%),
    linear-gradient(130deg, #101c31, #0c1423);
}

.cta-box h2 {
  max-width: 620px;
  margin: 0 auto 18px;
}

.cta-box p {
  color: var(--muted);
  font-size: 14px;
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.9;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(145, 160, 184, .12);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer .brand {
  font-size: 17px;
}

.footer .brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.footer-copy,
.footer-links {
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 22px;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive layout */

@media (max-width: 900px) {
  .hero {
    padding: 80px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-content {
    max-width: 690px;
  }

  .visual-wrap {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }

  .dashboard {
    transform: none;
  }

  .tool-card {
    padding: 23px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 560px);
  }

  .navbar {
    height: 68px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 67px;
    padding: 22px 24px;
    background: #0c1423;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 68px 0 75px;
  }

  h1 {
    font-size: clamp(39px, 10vw, 55px);
    letter-spacing: -1.8px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .dashboard-body {
    padding: 15px;
  }

  .metric {
    padding: 12px;
  }

  .section {
    padding: 75px 0;
  }

  .section-header {
    margin-bottom: 35px;
  }

  .tools-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    padding: 24px;
  }

  .step {
    padding: 20px 5px;
  }

  .step-number {
    margin-bottom: 13px;
  }

  .cta-section {
    padding: 15px 0 70px;
  }

  .cta-box {
    padding: 48px 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
