* {
  box-sizing: border-box;
}

:root {
  --bg: #05070b;
  --panel: #0d121a;
  --panel-2: #111925;
  --text: #f5f7fb;
  --muted: #a9b3c3;
  --blue: #17a8ff;
  --blue-2: #006dff;
  --line: rgba(255,255,255,.09);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  background: rgba(5,7,11,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(0,109,255,.25), transparent 34%),
    linear-gradient(180deg, rgba(5,7,11,.15), rgba(5,7,11,.98)),
    url("logo-trackqc.png") center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,7,12,.25), rgba(4,7,12,.93));
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 90px 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .16em;
  font-size: .82rem;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 1;
  letter-spacing: -.05em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.lead {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(23,168,255,.28);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: none;
}

.section {
  padding: 100px 6vw;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.card h3 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(23,168,255,.12);
  border: 1px solid rgba(23,168,255,.3);
  color: var(--blue);
  font-weight: 900;
}

.section-dark {
  background: #080c12;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.split > p {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0;
}

.contact {
  text-align: center;
}

.contact p {
  color: var(--muted);
}

.contact a {
  color: var(--blue);
  font-weight: 700;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 900px) {
  nav a:not(.btn) {
    display: none;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .brand span {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 22px;
  }

  footer {
    flex-direction: column;
  }
}
