:root {
  --avante-cyan: #38e8ff;
  --avante-red: #e41e2e;
  --avante-grey: #8f959c;
  --avante-bg: #050608;
  --avante-card: #12151c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(56, 232, 255, 0.12), transparent),
    radial-gradient(900px 500px at 90% 20%, rgba(228, 30, 46, 0.08), transparent),
    var(--avante-bg);
  color: #e8eaef;
}

.portal-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.portal-brand img {
  max-height: 72px;
  width: auto;
}

.portal-brand h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.portal-brand p {
  margin: 6px 0 0;
  color: var(--avante-grey);
  font-size: 0.95rem;
  max-width: 520px;
}

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card-module {
  background: var(--avante-card);
  border: 1px solid rgba(56, 232, 255, 0.18);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.15s;
}

.card-module:hover {
  border-color: rgba(56, 232, 255, 0.45);
  transform: translateY(-2px);
}

.card-module h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--avante-cyan);
}

.card-module p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #c5cad3;
  flex: 1;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--avante-grey);
}

.btn-avante {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-avante-primary {
  background: linear-gradient(135deg, var(--avante-cyan), #1fa8c9);
  color: #041015;
}

.btn-avante-secondary {
  background: transparent;
  color: var(--avante-cyan);
  border: 1px solid rgba(56, 232, 255, 0.5);
}

.btn-avante-accent {
  background: var(--avante-red);
  color: #fff;
}

.footer-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--avante-grey);
}
