:root {
  --slh-blue: #234b8e;
  --slh-blue-dark: #163366;
  --wa-deep: #075e54;
  --wa-green: #25d366;
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #14213d;
  --muted: #5c6b82;
  --border: #dfe7f2;
  --success-bg: #e7f8ef;
  --success-fg: #0b6e3d;
  --warn-bg: #fff4e5;
  --warn-fg: #9a5b00;
  --danger-bg: #fdecea;
  --danger-fg: #b42318;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.topbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

.brand-text-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-software {
  font-size: 20px;
  font-weight: 800;
  color: var(--slh-blue);
  letter-spacing: -0.3px;
}

.brand-hub {
  font-size: 16px;
  font-weight: 700;
  color: var(--slh-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--slh-blue);
  background: #ebf2fd;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav-links {
    width: 100%;
    order: 3;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    justify-content: center;
    gap: 14px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.94;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--slh-blue);
  color: #fff;
}

.btn-wa {
  background: var(--wa-green);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--slh-blue);
  border-color: var(--border);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger-fg);
}

.hero {
  padding: 42px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.section {
  padding: 44px 0;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.badge-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e6eefc;
  color: var(--slh-blue);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--text);
}

.lead {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(17, 36, 78, 0.05);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8effc;
  color: var(--slh-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-box {
  background: linear-gradient(135deg, var(--slh-blue) 0%, var(--wa-deep) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-top: 18px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 12px;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--slh-blue);
}

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.alert {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 12px;
}

.alert-success {
  background: var(--success-bg);
  color: var(--success-fg);
}

.alert-error {
  background: var(--danger-bg);
  color: var(--danger-fg);
}

.alert-warn {
  background: var(--warn-bg);
  color: var(--warn-fg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--slh-blue);
  margin-top: 4px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  text-align: left;
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.pill-active {
  background: var(--success-bg);
  color: var(--success-fg);
}

.pill-unused {
  background: #e6eefc;
  color: var(--slh-blue);
}

.pill-expired {
  background: var(--warn-bg);
  color: var(--warn-fg);
}

.pill-revoked {
  background: var(--danger-bg);
  color: var(--danger-fg);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
}

footer {
  margin-top: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

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

footer strong {
  color: var(--slh-blue);
}

.hidden {
  display: none !important;
}
