/* GeoStream Client Portal */

:root {
  --bg: #030608;
  --panel: rgba(8, 20, 28, .72);
  --line: rgba(120, 190, 220, .22);
  --text: #f5f8fa;
  --muted: #9caab2;
  --cyan: #16c9df;
  --blue: #199fe0;
  --max: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(15, 99, 136, .42), transparent 32rem),
    radial-gradient(circle at 14% 0%, rgba(12, 94, 132, .32), transparent 24rem),
    linear-gradient(180deg, #03090d 0%, #020405 70%);
}

.page-glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  left: -17rem;
  top: -21rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 184, 236, .5), rgba(10, 75, 110, .18) 48%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.site-header {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  min-width: 245px;
}

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

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(0,0,0,.34);
  backdrop-filter: blur(12px);
}

.main-nav a {
  color: #e8edf0;
  text-decoration: none;
  padding: 10px 17px;
  border-radius: 22px;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(19, 174, 226, .15);
  color: white;
}

.login-button,
.primary-button {
  color: white;
  text-decoration: none;
  background: linear-gradient(100deg, #1c9fd7, #18b9df);
  border-radius: 24px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(16, 168, 220, .16);
}

.login-button:hover,
.primary-button:hover {
  filter: brightness(1.1);
}

.hero {
  width: min(980px, calc(100% - 48px));
  margin: 128px auto 96px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  padding: 9px 17px;
  border: 1px solid rgba(24, 195, 232, .55);
  border-radius: 22px;
  color: #d9f8ff;
  background: rgba(13, 127, 166, .08);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}

.hero h1 {
  margin: 28px 0 20px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .99;
  letter-spacing: -3px;
}

.hero h1 span {
  color: var(--cyan);
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  color: #aebbc2;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.primary-button {
  padding: 14px 24px;
}

.primary-button span {
  margin-left: 9px;
}

.secondary-button {
  padding: 13px 23px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  color: #eef4f6;
  text-decoration: none;
  background: rgba(255,255,255,.035);
}

.portal-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.portal-card {
  min-height: 190px;
  padding: 28px;
  position: relative;
  display: flex;
  gap: 18px;
  color: white;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(12, 32, 42, .78), rgba(4, 10, 14, .82));
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 195, 232, .52);
  background: linear-gradient(145deg, rgba(12, 43, 57, .9), rgba(4, 12, 17, .9));
}

.card-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #a8f4ff;
  background: rgba(19, 180, 220, .12);
  border: 1px solid rgba(19, 180, 220, .2);
  font-size: 19px;
}

.card-kicker {
  color: #5fd7ed;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  margin-bottom: 7px;
}

.portal-card h2 {
  margin: 0 0 9px;
  font-size: 22px;
}

.portal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
  max-width: 280px;
}

.card-arrow {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: #5fd7ed;
  font-size: 20px;
}

.status-strip {
  width: min(var(--max), calc(100% - 48px));
  margin: 18px auto 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  color: #aebbc2;
  background: rgba(255,255,255,.025);
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, .65);
}

.status-strip strong {
  color: #d8f8e8;
  font-weight: 600;
}

.status-note {
  margin-left: auto;
  color: #68777f;
}

.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 70px auto 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #65747c;
  font-size: 12px;
}

@media (max-width: 900px) {
  .brand { min-width: 0; }
  .brand-logo { width: 180px; }
  .main-nav { display: none; }
  .login-button { margin-left: auto; }
  .portal-grid { grid-template-columns: 1fr; }
  .hero { margin-top: 90px; }
}

@media (max-width: 560px) {
  .site-header { width: calc(100% - 28px); }
  .brand-logo { width: 165px; }
  .hero, .portal-grid, .status-strip, .site-footer { width: calc(100% - 28px); }
  .hero h1 { letter-spacing: -2px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .site-footer { flex-direction: column; }
}
