:root {
  --bg-primary: #05080c;
  --bg-panel: rgba(10, 16, 26, 0.85);
  --bg-card: rgba(14, 23, 38, 0.7);
  --border-color: rgba(0, 240, 255, 0.22);
  --border-highlight: rgba(0, 240, 255, 0.7);
  
  --cyan-bright: #00f0ff;
  --cyan-dim: #0099aa;
  --radar-green: #00ff77;
  --radar-green-dim: rgba(0, 255, 119, 0.15);
  --warning-amber: #ffaa00;
  --threat-red: #ff3344;
  --threat-red-glow: rgba(255, 51, 68, 0.4);
  --pqc-purple: #c060ff;
  
  --font-mono: 'Consolas', 'Courier New', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: #e0f0f5;
  font-family: var(--font-sans);
  overflow-x: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Scanline and CRT vignette overlay */
body::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  z-index: 100;
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
}

/* TOP STATUS HEADER */
.hud-header {
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.95) 0%, rgba(5, 8, 12, 0.95) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--cyan-dim);
  font-family: var(--font-mono);
}

.hud-telemetry-strip {
  display: flex;
  gap: 24px;
}

.hud-stat-item {
  display: flex;
  flex-direction: column;
}

.hud-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #7b95a5;
  letter-spacing: 0.8px;
  font-family: var(--font-mono);
}

.hud-stat-val {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.hud-stat-val.pqc {
  color: var(--pqc-purple);
}

.hud-stat-val.status-ready {
  color: var(--radar-green);
}

.hud-stat-val.threat {
  color: var(--threat-red);
}

.hud-actions {
  display: flex;
  gap: 12px;
}

.hud-btn {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-btn:hover {
  background: rgba(0, 240, 255, 0.25);
  border-color: var(--cyan-bright);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.hud-btn.danger {
  background: rgba(255, 51, 68, 0.15);
  border-color: var(--threat-red);
  color: var(--threat-red);
}

.hud-btn.danger:hover {
  background: rgba(255, 51, 68, 0.35);
  box-shadow: 0 0 16px var(--threat-red-glow);
}

.hud-btn.airborne {
  background: rgba(0, 255, 119, 0.25) !important;
  border-color: var(--radar-green) !important;
  color: #fff !important;
  box-shadow: 0 0 18px rgba(0, 255, 119, 0.5) !important;
  animation: pulse 1s infinite alternate;
}

.tactical-hud-banner {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(28, 8, 14, 0.96);
  border: 1px solid var(--threat-red);
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 0 30px rgba(255, 51, 68, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { top: 40px; opacity: 0; }
  to { top: 70px; opacity: 1; }
}

/* MAIN GRID LAYOUT */
.main-tactical-grid {
  display: grid;
  grid-template-columns: 460px 1fr 420px;
  gap: 14px;
  padding: 14px;
  flex: 1;
  overflow: hidden;
}

/* TACTICAL PANELS */
.tac-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.panel-header {
  background: rgba(12, 20, 32, 0.8);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cyan-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  background: rgba(0, 255, 119, 0.15);
  color: var(--radar-green);
  border: 1px solid rgba(0, 255, 119, 0.3);
}

/* RADAR SCOPE */
.radar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  background: radial-gradient(circle, rgba(0, 40, 30, 0.4) 0%, rgba(5, 8, 12, 0.95) 70%);
}

#radarCanvas {
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 119, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 119, 0.15), inset 0 0 30px rgba(0, 255, 119, 0.08);
}

.radar-telemetry-footer {
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 8px 0 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #7296a6;
  border-top: 1px dashed rgba(0, 240, 255, 0.15);
  margin-top: 10px;
}

/* CENTER WORKSPACE */
.center-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.tracks-feed {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TRACK CARD */
.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 12px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.track-card.hostile {
  border-color: var(--threat-red);
  background: rgba(36, 12, 18, 0.6);
  box-shadow: 0 0 14px rgba(255, 51, 68, 0.2);
}

.track-card.hostile::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--threat-red);
}

.track-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.track-id {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.track-tags {
  display: flex;
  gap: 6px;
}

.track-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan-bright);
}

.track-tag.rf {
  background: rgba(255, 170, 0, 0.15);
  color: var(--warning-amber);
  border: 1px solid rgba(255, 170, 0, 0.3);
}

.track-tag.rf-silent {
  background: rgba(255, 51, 68, 0.2);
  color: var(--threat-red);
  border: 1px solid rgba(255, 51, 68, 0.4);
  font-weight: 700;
}

.track-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.metric-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 6px;
  border-radius: 3px;
}

.metric-label {
  font-size: 0.6rem;
  color: #7b95a5;
  text-transform: uppercase;
}

.metric-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e0f0f5;
}

.confidence-bar-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.bar-bg {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--radar-green), var(--warning-amber), var(--threat-red));
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* SLEW-TO-CUE PTZ CAMERA HUD */
.ptz-hud-box {
  height: 200px;
  background: #020406;
  border-top: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
}

.ptz-canvas-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#ptzCanvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT COLUMN: PQC LEDGER & EFFECTORS */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.pqc-ledger-box {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pqc-entry {
  background: rgba(20, 14, 32, 0.6);
  border: 1px solid rgba(192, 96, 255, 0.25);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.pqc-entry-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--pqc-purple);
  font-weight: 700;
}

.pqc-hash {
  color: #8da2b0;
  word-break: break-all;
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 2px;
}

.effector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 8px;
}

.effector-card.active {
  border-color: var(--threat-red);
  box-shadow: 0 0 12px var(--threat-red-glow);
}

.effector-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.status-pill {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 700;
}

.status-pill.armed {
  background: rgba(0, 255, 119, 0.2);
  color: var(--radar-green);
}

.status-pill.firing {
  background: rgba(255, 51, 68, 0.3);
  color: var(--threat-red);
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 240, 255, 0.5);
}

/* Swarm Threat Optimization Styles */
.swarm-threat-item {
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid rgba(255, 51, 68, 0.25);
  border-left: 3px solid var(--threat-red);
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.swarm-threat-item.tier1 {
  border-left-color: #ff2233;
  background: rgba(30, 10, 15, 0.7);
}

.swarm-threat-item.tier2 {
  border-left-color: var(--warning-amber);
}

.swarm-threat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.threat-tier-pill {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
}

.threat-tier-pill.tier1 {
  background: rgba(255, 51, 68, 0.25);
  color: #ff3344;
  border: 1px solid rgba(255, 51, 68, 0.5);
}

.threat-tier-pill.tier2 {
  background: rgba(255, 170, 0, 0.25);
  color: #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.5);
}

.effector-match-tag {
  background: rgba(0, 255, 119, 0.15);
  border: 1px solid rgba(0, 255, 119, 0.4);
  color: var(--radar-green);
  padding: 1px 5px;
  border-radius: 2px;
  font-size: 0.68rem;
}

/* Authentication Modal Overlay */
.auth-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3, 7, 14, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-modal-card {
  background: rgba(10, 18, 28, 0.95);
  border: 1px solid var(--border-highlight);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.25);
  border-radius: 6px;
  width: 90%;
  max-width: 440px;
  padding: 20px;
  font-family: var(--font-sans);
}

.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  padding-bottom: 8px;
}

.auth-tab-btn {
  background: none;
  border: none;
  color: #7b95a5;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-bright);
  border: 1px solid var(--border-color);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #8ba2b0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-field input {
  background: rgba(5, 10, 18, 0.9);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 10px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  outline: none;
}

.auth-field input:focus {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.auth-error {
  color: var(--threat-red);
  background: rgba(255, 51, 68, 0.12);
  border: 1px solid rgba(255, 51, 68, 0.3);
  padding: 6px 10px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.auth-field select {
  background: rgba(5, 10, 18, 0.95);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 10px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  outline: none;
  cursor: pointer;
}

.auth-field select:focus {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* ==========================================================================
   PRICING & CUSTOMER PLANS MODAL
   ========================================================================== */
.pricing-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(1, 4, 8, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
}

.pricing-modal-card {
  background: rgba(6, 14, 24, 0.96);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.15), inset 0 0 30px rgba(0, 0, 0, 0.8);
  border-radius: 6px;
  width: 100%;
  max-width: 1080px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  padding: 4px 16px;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.billing-toggle-btn {
  background: none;
  border: none;
  color: #7b95a5;
  padding: 6px 14px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-toggle-btn.active {
  background: rgba(0, 240, 255, 0.2);
  color: var(--cyan-bright);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .pricing-plans-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: rgba(8, 18, 30, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.12);
}

.plan-card.recommended {
  border-color: var(--radar-gold);
  background: linear-gradient(180deg, rgba(255, 179, 0, 0.08) 0%, rgba(8, 18, 30, 0.95) 100%);
  box-shadow: 0 0 25px rgba(255, 179, 0, 0.18);
}

.plan-card.enterprise {
  border-color: var(--pqc-purple);
  background: linear-gradient(180deg, rgba(192, 96, 255, 0.08) 0%, rgba(8, 18, 30, 0.95) 100%);
}

.plan-card-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 8px;
}

.plan-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
}

.plan-card-tagline {
  font-size: 0.72rem;
  color: #7b95a5;
  margin-bottom: 16px;
  min-height: 32px;
}

.plan-price-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.plan-price-amount {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--cyan-bright);
}

.plan-card.recommended .plan-price-amount {
  color: var(--radar-gold);
}

.plan-card.enterprise .plan-price-amount {
  color: var(--pqc-purple);
}

.plan-price-period {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #7b95a5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.plan-feature-list li {
  font-size: 0.75rem;
  color: #a4bcc9;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.plan-feature-list li::before {
  content: "✔";
  color: var(--radar-green);
  font-weight: 700;
  font-size: 0.75rem;
}

.plan-select-btn {
  width: 100%;
  justify-content: center;
  padding: 10px;
  font-size: 0.78rem;
  margin-top: auto;
}

/* ==========================================================================
   FIRST WEB PAGE LAYER // DEFENSE PORTAL LANDING GATE
   ========================================================================== */
.portal-landing-layer {
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 15%, rgba(0, 240, 255, 0.09) 0%, rgba(2, 6, 12, 0.98) 75%);
  color: #e2f1f8;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  z-index: 999;
  position: relative;
}

.portal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 36px;
  background: rgba(3, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(192, 96, 255, 0.2));
  border: 1px solid var(--cyan-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.portal-contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-bright);
  text-decoration: none;
  transition: all 0.2s ease;
}

.portal-contact-pill:hover {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--cyan-bright);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.portal-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portal-hero h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin: 16px 0 12px 0;
  background: linear-gradient(135deg, #ffffff 40%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.portal-hero p.lead {
  font-size: 1.05rem;
  color: #a0b8c7;
  max-width: 820px;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.portal-notice-box {
  background: rgba(255, 179, 0, 0.08);
  border: 1px solid rgba(255, 179, 0, 0.3);
  border-radius: 6px;
  padding: 12px 20px;
  max-width: 780px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--radar-gold);
  line-height: 1.4;
}

.portal-section-title {
  text-align: center;
  margin: 50px 0 25px 0;
}

.portal-section-title h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.portal-section-title p {
  font-size: 0.85rem;
  color: #7b95a5;
  margin: 0;
}

.innovations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto 50px auto;
  padding: 0 24px;
}

@media (max-width: 900px) {
  .innovations-grid {
    grid-template-columns: 1fr;
  }
}

.innovation-card {
  background: rgba(5, 14, 25, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: all 0.25s ease;
}

.innovation-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-bright);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.12);
}

.innovation-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.innovation-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.innovation-desc {
  font-size: 0.8rem;
  color: #8da6b5;
  line-height: 1.5;
}

.portal-auth-container {
  max-width: 480px;
  margin: 0 auto 60px auto;
  background: rgba(6, 16, 28, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.15);
  border-radius: 6px;
  padding: 28px;
}

.dashboard-lock-banner {
  background: rgba(255, 51, 68, 0.12);
  border: 1px solid rgba(255, 51, 68, 0.35);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #ff9da6;
  line-height: 1.45;
}

.portal-footer {
  border-top: 1px solid rgba(0, 240, 255, 0.15);
  padding: 30px 24px;
  text-align: center;
  background: rgba(2, 6, 12, 0.98);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #7b95a5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
  justify-content: center;
  padding: 10px;
  font-size: 0.78rem;
  margin-top: auto;
}


