:root {
  --bg: #070b17;
  --bg-soft: rgba(19, 28, 51, 0.62);
  --text: #eef4ff;
  --muted: #a8b4d9;
  --primary: #44d1ff;
  --primary-strong: #00b7ff;
  --border: rgba(110, 148, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at 10% 20%, #111c36, var(--bg) 45%);
  color: var(--text);
  min-height: 100%;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.28;
  pointer-events: none;
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  padding: 1rem 0;
  backdrop-filter: blur(5px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.08rem;
  font-weight: 800;
}

.logo span {
  color: var(--primary);
}

.hero {
  padding: 6rem 0 4rem;
}

.eyebrow {
  color: var(--primary);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin: 0 0 1rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  max-width: 14ch;
}

.subtitle {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.btn {
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-strong), var(--primary));
  color: #001019;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(7, 11, 23, 0.28);
}

.btn-ghost:hover,
.cta:hover {
  border-color: rgba(136, 173, 255, 0.38);
  background: rgba(20, 31, 56, 0.44);
}

.cta {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding-bottom: 4rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px rgba(54, 77, 135, 0.08) inset;
}

.card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

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

.contact {
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 3rem 0 4.5rem;
}

.contact h2 {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
}

.contact p {
  color: var(--muted);
  margin: 0.9rem 0 1.5rem;
}

.footer {
  border-top: 1px solid rgba(81, 106, 172, 0.15);
}

.footer-content {
  padding: 1.2rem 0 1.8rem;
}

.footer p {
  color: #7f93c5;
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 4.2rem;
  }
}
