:root {
  --bg: #071016;
  --panel: #0d1a23;
  --panel-2: #102432;
  --text: #f5fbff;
  --muted: #a9bcc8;
  --line: rgba(137, 209, 255, 0.22);
  --cyan: #39d5ff;
  --blue: #1088d8;
  --green: #7ae36d;
  --red: #f05252;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

code {
  color: #d9f7ff;
  background: rgba(57, 213, 255, 0.1);
  border: 1px solid rgba(57, 213, 255, 0.18);
  border-radius: 5px;
  padding: 0.08rem 0.32rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(5, 13, 18, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #051016;
  background: linear-gradient(180deg, var(--cyan), var(--green));
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 22px rgba(57, 213, 255, 0.28);
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 120px 7vw 90px;
  background-image: url("assets/raindrops-hero.png");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(7, 16, 22, 0), var(--bg));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: #72dcff;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.88;
  text-shadow: 0 8px 0 #192d7b, 0 0 36px rgba(57, 213, 255, 0.36);
}

h2 {
  max-width: 840px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-subtitle {
  max-width: 760px;
  color: #d4eaf4;
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: #041016;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(57, 213, 255, 0.24);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 84px 7vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
  gap: 40px;
  align-items: start;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading .muted {
  color: var(--muted);
}

.feature-grid,
.pack-grid,
.install-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pack-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.install-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

article {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 36, 50, 0.72);
  box-shadow: var(--shadow);
}

article p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 1.5rem;
}

.dark-band {
  background: linear-gradient(180deg, #091620, #0b1118);
  border-block: 1px solid rgba(137, 209, 255, 0.14);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.steps span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #051016;
  background: var(--green);
  border-radius: 5px;
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.commands-section {
  background: #061118;
}

.command-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.search-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 44px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b1821;
  padding: 0 12px;
  font: inherit;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0 12px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.filter-button.active {
  color: #041016;
  background: var(--cyan);
}

.command-list {
  display: grid;
  gap: 18px;
}

.command-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(13, 26, 35, 0.78);
}

.command-group h3 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(57, 213, 255, 0.08);
}

.command-row {
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(220px, 1.1fr);
  gap: 18px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(137, 209, 255, 0.12);
}

.command-row:last-child {
  border-bottom: 0;
}

.command-row code {
  display: inline-block;
  width: fit-content;
}

.command-row p {
  margin: 0;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 7vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #050d12;
}

@media (max-width: 980px) {
  .feature-grid,
  .pack-grid,
  .install-grid,
  .steps,
  .intro,
  .command-toolbar {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
    gap: 12px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 82vh;
    padding: 96px 22px 70px;
  }

  .section {
    padding: 64px 22px;
  }

  .command-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    flex-direction: column;
  }
}
