body {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
  background: rgb(218, 235, 224);
  color: #382b22;
  padding: 40px 0;
  overflow-y: auto;
}

.container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section {
  background: rgba(255, 255, 255, 0.4);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
}

.section h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #382b22;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.category-group {
  margin-bottom: 30px;
}

.category-title {
  font-size: 1.2rem;
  color: #665c54;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  border-bottom: 2px solid rgba(177, 133, 151, 0.3);
  padding-bottom: 5px;
  display: inline-block;
  width: 100%;
}

.alert {
  background: #fff0f0;
  color: #9c2e2e;
  padding: 15px;
  border-radius: 12px;
  border: 2px solid #f9c4d2;
  text-align: center;
  font-weight: 600;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.grid-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

button {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  font-size: 1rem;
  font-family: inherit;
  min-width: 180px;
  /* Ensure buttons have consistent width */
}

button.learn-more {
  font-weight: 600;
  color: #382b22;
  padding: 1em 1.5em;
  background: #fff0f0;
  border: 2px solid #b18597;
  border-radius: 2em;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}

button.learn-more::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f9c4d2;
  border-radius: inherit;
  box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
  transform: translate3d(0, 0.75em, -1em);
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
  z-index: -1;
}

button.learn-more:hover {
  background: #ffe9e9;
  transform: translate(0, 0.50em);
}

button.learn-more:hover::before {
  box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
  transform: translate3d(0, 0.5em, -1em);
}

button.learn-more:active {
  background: #ffe9e9;
  transform: translate(0em, 0.75em);
}

button.learn-more:active::before {
  box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  transform: translate3d(0, 0, -1em);
}

button img {
  vertical-align: middle;
  margin-right: 8px;
  width: 20px;
  height: 20px;
}

/* Badge Styles */
.badge-container {
  display: flex;
  gap: 5px;
  margin-top: 5px;
  font-size: 0.7rem;
}

.badge {
  padding: 2px 6px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

.badge-ts {
  background-color: #0044cc;
  /* Tailscale Blue */
}

.badge-wg {
  background-color: #880000;
  /* WireGuard Red-ish */
}

.badge-tn {
  background-color: #cc6600;
  /* Tunnel Orange */
}

.badge-lan {
  background-color: #28a745;
  /* LAN Green */
}

.badge-pg {
  background-color: #6f42c1;
  /* Pangolin Purple */
}

.badge-zt {
  background-color: #17a2b8;
  /* Zero Trust Cyan */
}

.legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #665c54;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.header-logo img {
  max-width: 350px;
  height: auto;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  opacity: 0.8;
}

.footer-logo img {
  max-width: 350px;
  height: auto;
}