/* =========================
   BROCKWILDE
   ========================= */

:root {

  --bg: #050607;
  --bg-soft: #0c0f13;

  --text: #f5f7fa;
  --muted: #98a2b3;

  --line: rgba(255,255,255,0.08);
  --panel: rgba(255,255,255,0.03);

  --glow-a: rgba(124, 92, 255, 0.18);
  --glow-b: rgba(90, 196, 255, 0.12);

  --max-width: 1380px;
}

/* =========================
   RESET
   ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  position: relative;
}

/* =========================
   BACKGROUND ATMOSPHERE
   ========================= */

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;

  background-image:
    radial-gradient(circle at 20% 20%, white 0.6px, transparent 0.6px),
    radial-gradient(circle at 80% 70%, white 0.5px, transparent 0.5px);

  background-size: 28px 28px;
}

.gradient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.gradient-a {
  width: 600px;
  height: 600px;

  top: -180px;
  left: -120px;

  background: var(--glow-a);
}

.gradient-b {
  width: 500px;
  height: 500px;

  right: -100px;
  bottom: -180px;

  background: var(--glow-b);
}

/* =========================
   TOPBAR
   ========================= */

.topbar {
  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;

  padding:
    34px
    40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative;
  z-index: 10;
}

.brand {
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  font-weight: 600;

  opacity: 0.92;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--muted);

  font-size: 0.94rem;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

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

/* =========================
   HERO
   ========================= */

.hero {

  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;

  min-height: calc(100vh - 120px);

  padding:
    60px
    40px
    100px;

  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 60px;

  position: relative;
}

/* =========================
   ORBITAL SYSTEM
   ========================= */

.orbital-wrapper {
  position: relative;

  width: 520px;
  height: 520px;

  margin: 0 auto;
}

.orbital-ring {
  position: absolute;
  inset: 0;

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}

.ring-1 {
  animation: rotateSlow 18s linear infinite;
}

.ring-2 {
  inset: 35px;
  animation: rotateReverse 24s linear infinite;
}

.ring-3 {
  inset: 80px;
  animation: rotateSlow 30s linear infinite;
}

.core-glow {

  position: absolute;

  inset: 120px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,0.16) 0%,
      rgba(124,92,255,0.08) 35%,
      transparent 72%
    );

  filter: blur(10px);
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* =========================
   HERO CONTENT
   ========================= */

.hero-content {
  max-width: 720px;
}

.eyebrow {
  color: var(--muted);

  text-transform: uppercase;
  letter-spacing: 0.22em;

  font-size: 0.72rem;

  margin-bottom: 26px;
}

h1 {

  font-size: clamp(3.4rem, 7vw, 7rem);

  line-height: 0.92;
  letter-spacing: -0.06em;

  font-weight: 500;

  margin-bottom: 30px;
}

.subtext {

  color: var(--muted);

  font-size: 1.12rem;
  line-height: 1.9;

  max-width: 620px;

  margin-bottom: 42px;
}

/* =========================
   BUTTONS
   ========================= */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.actions a {
  text-decoration: none;

  padding:
    15px
    24px;

  border-radius: 999px;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.actions a:hover {
  transform: translateY(-2px);
}

.primary-btn {
  background: var(--text);
  color: #000;

  font-weight: 500;
}

.secondary-btn {

  border: 1px solid var(--line);

  background: rgba(255,255,255,0.02);

  color: var(--text);
}

/* =========================
   SYSTEMS SECTION
   ========================= */

.systems {

  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;

  padding:
    40px
    40px
    120px;
}

.section-label {

  color: var(--muted);

  letter-spacing: 0.24em;
  font-size: 0.72rem;

  margin-bottom: 34px;
}

.grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));

  gap: 22px;
}

.card {

  background: var(--panel);

  border: 1px solid var(--line);

  border-radius: 26px;

  padding: 28px;

  backdrop-filter: blur(10px);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.card:hover {

  transform: translateY(-4px);

  border-color: rgba(255,255,255,0.16);

  background: rgba(255,255,255,0.045);
}

.card span {

  color: var(--muted);

  font-size: 0.74rem;
  letter-spacing: 0.18em;

  display: block;

  margin-bottom: 18px;
}

.card h3 {

  font-size: 1.35rem;
  font-weight: 500;

  margin-bottom: 14px;
}

.card p {

  color: var(--muted);

  line-height: 1.75;
  font-size: 0.98rem;
}

/* =========================
   FOOTER
   ========================= */

footer {

  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;

  padding:
    0
    40px
    36px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color: var(--muted);

  font-size: 0.82rem;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1080px) {

  .hero {

    grid-template-columns: 1fr;

    padding-top: 40px;

    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .actions {
    justify-content: center;
  }

  .orbital-wrapper {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 720px) {

  .topbar {

    flex-direction: column;
    align-items: flex-start;

    gap: 18px;

    padding:
      26px
      24px;
  }

  .hero,
  .systems,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .orbital-wrapper {
    width: 300px;
    height: 300px;
  }

  footer {

    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
  }

  nav {
    gap: 18px;
    flex-wrap: wrap;
  }
}
