/* =========================================================
   HLH COMPANION
   HIGN LEVEL HACKING / DVDMOMO
   ========================================================= */

:root {
  --bg: #020604;
  --panel: rgba(5, 18, 12, 0.72);
  --panel-strong: rgba(6, 24, 15, 0.9);

  --green: #00ff88;
  --green-bright: #62ffb0;
  --green-dark: #00a95b;

  --text: #f0fff6;
  --muted: #89a697;

  --border: rgba(0, 255, 136, 0.19);
  --border-bright: rgba(0, 255, 136, 0.48);

  --shadow: 0 0 40px rgba(0, 255, 136, 0.12);
}


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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(0, 255, 136, 0.09),
      transparent 38%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;

  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   MATRIX CANVAS
   ========================================================= */

#matrix {
  position: fixed;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: -3;

  opacity: 0.17;

  pointer-events: none;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: -2;

  pointer-events: none;

  background:
    linear-gradient(
      rgba(2, 6, 4, 0.22),
      rgba(2, 6, 4, 0.88)
    );
}

body::after {
  content: "";

  position: fixed;
  inset: 0;

  z-index: -1;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px
    );

  background-size: 100% 4px;

  opacity: 0.45;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
  width: min(1180px, calc(100% - 40px));

  height: 84px;

  margin: 0 auto;

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

  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;

  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 0 12px rgba(0, 255, 136, 0.32)
    );
}

.brand div {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.brand strong {
  font-size: 13px;

  letter-spacing: 1.7px;

  color: #eafff2;
}

.brand span {
  font-family: Consolas, monospace;

  font-size: 11px;

  color: var(--green);

  letter-spacing: 1px;
}

.open-hlh {
  display: flex;
  align-items: center;

  gap: 9px;

  padding: 10px 14px;

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

  border-radius: 8px;

  color: var(--muted);

  font-family: Consolas, monospace;

  font-size: 11px;

  letter-spacing: 1px;

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

.open-hlh:hover {
  color: var(--green);

  border-color: var(--border-bright);

  background: rgba(0, 255, 136, 0.05);
}

.open-hlh span {
  font-size: 15px;
}


/* =========================================================
   MAIN
   ========================================================= */

main {
  width: min(1180px, calc(100% - 40px));

  margin: 0 auto;
}


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

.hero {
  position: relative;

  min-height: 700px;

  padding: 110px 20px 90px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.hero::before {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  top: 30px;
  left: 50%;

  transform: translateX(-50%);

  background:
    radial-gradient(
      circle,
      rgba(0, 255, 136, 0.12),
      transparent 66%
    );

  pointer-events: none;

  z-index: -1;
}

.status-pill {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  padding: 7px 12px;

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

  border-radius: 999px;

  background: rgba(0, 255, 136, 0.035);

  color: var(--green-bright);

  font-family: Consolas, monospace;

  font-size: 10px;

  letter-spacing: 1.5px;
}

.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 10px var(--green);
}

.hero-logo {
  width: 150px;
  height: 150px;

  margin-top: 38px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 0 28px rgba(0, 255, 136, 0.3)
    );
}

.eyebrow {
  margin:
    31px
    0
    10px;

  color: var(--green);

  font-family: Consolas, monospace;

  font-size: 11px;

  letter-spacing: 4px;
}

.hero h1 {
  margin: 0;

  font-size: clamp(54px, 8vw, 94px);

  line-height: 0.95;

  letter-spacing: -4px;

  font-weight: 900;
}

.hero h1 span {
  color: transparent;

  -webkit-text-stroke:
    1px rgba(98, 255, 176, 0.72);

  text-shadow:
    0 0 35px rgba(0, 255, 136, 0.17);
}

.hero-description {
  width: min(610px, 100%);

  margin:
    27px
    auto
    0;

  color: var(--muted);

  font-size: 17px;

  line-height: 1.75;
}


/* =========================================================
   DOWNLOAD BUTTON
   ========================================================= */

.download-area {
  margin-top: 40px;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 15px;
}

.download-button {
  min-width: 285px;

  min-height: 72px;

  padding:
    12px
    18px;

  display: grid;

  grid-template-columns:
    42px
    1fr
    30px;

  align-items: center;

  gap: 12px;

  border:
    1px solid
    rgba(0, 255, 136, 0.68);

  border-radius: 10px;

  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 136, 0.18),
      rgba(0, 255, 136, 0.07)
    );

  box-shadow:
    0 0 30px rgba(0, 255, 136, 0.12),
    inset 0 0 30px rgba(0, 255, 136, 0.03);

  text-align: left;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.download-button:hover {
  transform: translateY(-3px);

  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 136, 0.27),
      rgba(0, 255, 136, 0.1)
    );

  box-shadow:
    0 0 42px rgba(0, 255, 136, 0.22),
    inset 0 0 30px rgba(0, 255, 136, 0.05);
}

.windows-icon {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  color: var(--green);

  font-size: 32px;
}

.download-text {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.download-text small {
  color: var(--muted);

  font-family: Consolas, monospace;

  font-size: 9px;

  letter-spacing: 1.6px;
}

.download-text strong {
  color: #ffffff;

  font-size: 19px;

  letter-spacing: 1px;
}

.download-arrow {
  color: var(--green);

  font-size: 24px;

  text-align: center;
}

.version-info {
  display: flex;
  align-items: center;

  gap: 9px;

  color: #668174;

  font-family: Consolas, monospace;

  font-size: 10px;
}

.version-info .separator {
  color: var(--green-dark);
}


/* =========================================================
   FEATURES
   ========================================================= */

.features {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

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

  border-radius: 12px;

  overflow: hidden;

  background:
    rgba(3, 12, 8, 0.66);

  backdrop-filter:
    blur(15px);

  box-shadow:
    var(--shadow);
}

.feature-card {
  position: relative;

  min-height: 255px;

  padding:
    32px
    28px;

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

  transition:
    background 0.2s ease;
}

.feature-card:last-child {
  border-right: none;
}

.feature-card:hover {
  background:
    rgba(0, 255, 136, 0.045);
}

.feature-card::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  background: var(--green);

  transition:
    width 0.25s ease;

  box-shadow:
    0 0 10px var(--green);
}

.feature-card:hover::after {
  width: 100%;
}

.feature-icon {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  margin-bottom: 25px;

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

  border-radius: 7px;

  background:
    rgba(0, 255, 136, 0.06);

  color: var(--green);

  font-family: Consolas, monospace;

  font-size: 16px;
}

.feature-card h2 {
  margin:
    0
    0
    13px;

  font-family: Consolas, monospace;

  font-size: 13px;

  letter-spacing: 1.3px;

  color: #eafff2;
}

.feature-card p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.75;
}


/* =========================================================
   LOCAL CONNECTION
   ========================================================= */

.local-section {
  position: relative;

  margin-top: 110px;

  padding:
    55px
    60px;

  overflow: hidden;

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

  border-radius: 12px;

  background:
    linear-gradient(
      120deg,
      rgba(5, 22, 14, 0.92),
      rgba(2, 8, 5, 0.9)
    );

  box-shadow:
    var(--shadow);
}

.local-glow {
  position: absolute;

  width: 330px;
  height: 330px;

  right: -120px;
  top: -130px;

  border-radius: 50%;

  background:
    rgba(0, 255, 136, 0.11);

  filter:
    blur(80px);

  pointer-events: none;
}

.local-heading {
  display: flex;
  align-items: center;

  gap: 20px;
}

.terminal-mark {
  width: 60px;
  height: 60px;

  flex: 0 0 auto;

  display: grid;
  place-items: center;

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

  border-radius: 8px;

  background:
    rgba(0, 255, 136, 0.055);

  color: var(--green);

  font-family: Consolas, monospace;

  font-size: 19px;

  box-shadow:
    inset 0 0 20px
    rgba(0, 255, 136, 0.04);
}

.local-heading p {
  margin:
    0
    0
    6px;

  color: var(--green);

  font-family: Consolas, monospace;

  font-size: 10px;

  letter-spacing: 2px;
}

.local-heading h2 {
  margin: 0;

  font-size: 30px;
}

.local-description {
  width: min(680px, 100%);

  margin:
    28px
    0
    0;

  color: var(--muted);

  line-height: 1.8;

  font-size: 14px;
}

.address {
  width: fit-content;

  margin-top: 30px;

  display: flex;
  align-items: center;

  gap: 12px;

  padding:
    11px
    14px;

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

  border-radius: 7px;

  background:
    rgba(0, 0, 0, 0.26);
}

.address-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 10px var(--green);
}

.address code {
  color: #d7ffe7;

  font-size: 12px;
}

.address > span:last-child {
  color: var(--green);

  font-family: Consolas, monospace;

  font-size: 9px;

  letter-spacing: 1.2px;
}


/* =========================================================
   REQUIREMENTS
   ========================================================= */

.requirements {
  margin-top: 110px;

  padding:
    70px
    0;

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 90px;

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

  border-bottom:
    1px solid
    var(--border);
}

.section-label {
  margin:
    0
    0
    15px;

  color: var(--green);

  font-family: Consolas, monospace;

  font-size: 10px;

  letter-spacing: 2.4px;
}

.requirements h2 {
  margin:
    0
    0
    18px;

  font-size: 36px;
}

.requirements > div:first-child > p:last-child {
  max-width: 500px;

  margin: 0;

  color: var(--muted);

  line-height: 1.8;

  font-size: 14px;
}

.requirement-list {
  display: flex;
  flex-direction: column;
}

.requirement-list > div {
  display: flex;
  align-items: center;

  gap: 20px;

  min-height: 62px;

  border-bottom:
    1px solid
    var(--border);
}

.requirement-list > div:first-child {
  border-top:
    1px solid
    var(--border);
}

.requirement-list span {
  color: var(--green);

  font-family: Consolas, monospace;

  font-size: 10px;
}

.requirement-list p {
  margin: 0;

  color: #d8eee1;

  font-size: 13px;
}


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

footer {
  min-height: 150px;

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

  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;

  gap: 12px;
}

.footer-brand img {
  width: 38px;
  height: 38px;

  object-fit: contain;
}

.footer-brand div {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.footer-brand strong {
  font-size: 11px;

  letter-spacing: 1px;
}

.footer-brand span {
  color: var(--muted);

  font-size: 10px;
}

.footer-links {
  display: flex;

  gap: 25px;
}

.footer-links a {
  color: var(--muted);

  font-family: Consolas, monospace;

  font-size: 10px;

  letter-spacing: 0.8px;

  transition:
    color 0.2s ease;
}

.footer-links a:hover {
  color: var(--green);
}

.copyright {
  color: #557064;

  font-family: Consolas, monospace;

  font-size: 10px;
}


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

@media (max-width: 950px) {

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

  .feature-card {
    border-bottom:
      1px solid
      var(--border);
  }

  .feature-card:nth-child(2) {
    border-right: none;
  }

  .feature-card:nth-child(3),
  .feature-card:nth-child(4) {
    border-bottom: none;
  }

  .requirements {
    grid-template-columns: 1fr;

    gap: 50px;
  }
}


@media (max-width: 650px) {

  .navbar {
    width:
      min(
        100% - 26px,
        1180px
      );
  }

  main {
    width:
      min(
        100% - 26px,
        1180px
      );
  }

  .brand strong {
    font-size: 10px;
  }

  .brand span {
    font-size: 9px;
  }

  .open-hlh {
    padding: 9px;
  }

  .open-hlh {
    font-size: 0;
  }

  .open-hlh span {
    font-size: 17px;
  }


  .hero {
    min-height: 640px;

    padding:
      80px
      8px
      70px;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .hero h1 {
    font-size: 52px;

    letter-spacing: -3px;
  }

  .hero-description {
    font-size: 14px;
  }


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

  .feature-card {
    border-right: none;

    border-bottom:
      1px solid
      var(--border) !important;
  }

  .feature-card:last-child {
    border-bottom: none !important;
  }


  .local-section {
    padding:
      38px
      25px;
  }

  .local-heading {
    align-items: flex-start;
  }

  .local-heading h2 {
    font-size: 24px;
  }

  .address {
    width: 100%;

    flex-wrap: wrap;
  }


  .requirements {
    margin-top: 70px;

    padding:
      55px
      5px;

    gap: 40px;
  }

  .requirements h2 {
    font-size: 30px;
  }


  footer {
    padding:
      40px
      0;

    flex-direction: column;

    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;

    gap: 12px;
  }
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes pulse {

  0%,
  100% {
    opacity: 1;

    box-shadow:
      0 0 8px
      var(--green);
  }

  50% {
    opacity: 0.45;

    box-shadow:
      0 0 18px
      var(--green);
  }
}

.status-dot,
.address-dot {
  animation:
    pulse
    2s
    ease-in-out
    infinite;
}