:root {
  --bg: #000;
  --surface: #111;
  --surface-2: #161616;
  --text: #f4f4f4;
  --muted: #b8b8b8;
  --accent: #4cc2ff;
  --line: #2a2a2a;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Inter", "Roboto", Arial, sans-serif;
  line-height: 1.65;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.blueprint-wheel-canvas {
  position: fixed;
  right: 0;
  top: 0;
  width: min(44vw, 680px);
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
  filter: blur(2.6px);
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #fff;
}

.brand-logo {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(76, 194, 255, 0.45));
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  border: 1px solid #3f3f3f;
  background: #141414;
  color: #fff;
  border-radius: 9px;
  padding: 0.42rem 0.75rem;
  font-size: 0.86rem;
  cursor: pointer;
}

.menu-toggle:hover {
  background: #1d1d1d;
}

section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  background:
    radial-gradient(900px 420px at 20% -10%, rgba(76, 194, 255, 0.16), transparent 60%),
    radial-gradient(800px 420px at 85% 0%, rgba(148, 95, 255, 0.12), transparent 60%),
    #000;
}

h1, h2, h3 {
  line-height: 1.25;
  margin-top: 0;
  color: #fff;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  margin-bottom: 1rem;
  max-width: 22ch;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  max-width: 75ch;
  font-size: 1.03rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #2f2f2f;
  color: #cfefff;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  background: rgba(76, 194, 255, 0.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.1rem 1.2rem;
  height: 100%;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.list {
  margin: 0.6rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.list li + li {
  margin-top: 0.35rem;
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.cta {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem 1.2rem;
  background:
    radial-gradient(560px 180px at 50% -10%, rgba(76, 194, 255, 0.2), transparent 75%),
    #0b0b0b;
}

.cta p {
  color: var(--muted);
  margin: 0.35rem auto 0;
  max-width: 65ch;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.72rem 1.15rem;
  border-radius: 10px;
  border: 1px solid #3f3f3f;
  background: #141414;
  color: #fff;
  font-weight: 600;
}

.btn:hover {
  background: #1d1d1d;
  text-decoration: none;
}

footer {
  padding: 2rem 0 2.5rem;
  color: #8b8b8b;
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  border: 1px solid #3f3f3f;
  background: rgba(14, 14, 14, 0.9);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.back-to-top:hover {
  background: rgba(30, 30, 30, 0.96);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 760px) {
  .blueprint-wheel-canvas {
    width: 64vw;
    opacity: 0.6;
  }

  .topbar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
  }

  body {
    padding-top: 4.4rem;
  }

  .topbar-inner {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  .topbar.nav-open .site-nav {
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0.45rem 0 0;
    padding: 0.2rem 0 0.45rem;
    border-top: 1px solid #2a2a2a;
  }

  .site-nav a {
    display: block;
    padding: 0.5rem 0;
  }
}
