:root {
  --bg: #0c0a18;
  --surface: #121a27;
  --text: #e8eefc;
  --muted: #9aacca;
  --accent: #7100ff;
  --border: #27344a;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  min-height: 100vh;
  background-color: #090a14;
  background-image:
    radial-gradient(1200px 700px at 85% 10%, rgba(113, 0, 255, 0.2), transparent 60%),
    linear-gradient(155deg, #090a14 0%, #0f1020 55%, #15142b 100%);
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
  width: min(1250px, calc(100% - 2rem));
  margin: 1rem auto;
  padding: 1.1rem 1rem;
  min-height: 54px;
  border: 1px solid color-mix(in oklab, #ffffff 18%, transparent);
  border-radius: 14px;
  background: rgba(18, 26, 39, 0.42);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: fade-up 520ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  .navbar,
  .page,
  .bottom-content,
  .footbar {
    animation: none;
  }
}

.logo {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #dbe7ff;
  font-size: 1.05rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: color 120ms ease, background-color 120ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-links a.active {
  color: #ffffff;
  background: rgba(113, 0, 255, 0.45);
}

.page {
  width: min(1250px, calc(100% - 2rem));
  margin: 2rem auto;
  min-height: calc(100vh - 130px);
  display: grid;
  place-items: center;
  animation: fade-up 520ms ease both;
  animation-delay: 120ms;
}

.hero {
  max-width: 760px;
  text-align: center;
}

.hero h2 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hero p {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--muted);
}

.bottom-content {
  width: min(1250px, calc(100% - 2rem));
  margin: -0.25rem auto 0;
  padding: 2rem 0 1.2rem;
  border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  display: grid;
  gap: 0.8rem;
  animation: fade-up 520ms ease both;
  animation-delay: 240ms;
}

.bottom-content h3 {
  margin: 0;
  font-size: 1.15rem;
}

.bottom-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footbar {
  width: 100%;
  margin-top: 0.75rem;
  padding: 1.8rem 0 1.95rem;
  background: rgba(18, 26, 39, 0.4);
  border-top: 1px solid color-mix(in oklab, #ffffff 16%, transparent);
  border-bottom: 1px solid color-mix(in oklab, #ffffff 10%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  color: #ffffff;
  animation: fade-up 520ms ease both;
  animation-delay: 340ms;
}

.footbar-inner {
  width: min(1250px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) minmax(430px, 2.8fr) minmax(220px, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.footbar-company {
  margin: 0;
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.footbar-columns {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.footbar-col {
  display: flex;
  flex-direction: column;
  min-width: 130px;
  gap: 0.5rem;
}

.footbar-col h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.footbar-col a {
  display: block;
  color: #edf3ff;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.35;
}

.footbar-col a:hover,
.footbar-col a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footbar-brand {
  justify-self: end;
  align-self: center;
  padding-top: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
}

.footbar-mark {
  opacity: 0.95;
}

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .page {
    min-height: calc(100vh - 170px);
  }

  .footbar {
    padding: 1.25rem 0 1.5rem;
  }

  .footbar-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footbar-company {
    font-size: 1.5rem;
  }

  .footbar-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footbar-brand {
    justify-self: start;
  }
}

.hero-actions {
  margin-top: 1.15rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border-radius: 9px;
  border: 1px solid color-mix(in oklab, #ffffff 20%, transparent);
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.btn:hover,
.btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.btn-primary {
  background: rgba(113, 0, 255, 0.45);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: rgba(113, 0, 255, 0.62);
}
