
/* Page-specific styles for login.html. Keeps existing site nav/footer/layout from style.css */
.login-page{
  background:
    radial-gradient(1200px 320px at 50% 100%, rgba(49,188,213,.10), transparent 55%),
    linear-gradient(180deg,#ffffff 0%,var(--bg-muted) 100%);
}
.login-page main.container{
  max-width:1280px;
}
.login-hero{
  text-align:center;
  padding:54px 0 26px;
}
.login-title{
  margin:0;
  font-size:52px;
  letter-spacing:-0.04em;
  line-height:1.04;
}
.login-title .accent{
  background:linear-gradient(135deg,var(--teal),var(--blue));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.login-subtitle-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-top:14px;
}
.login-subtitle-line{
  width:54px;
  height:1px;
  background:var(--border);
}
.login-subtitle{
  font-size:21px;
  color:var(--muted);
}
.login-subcopy{
  margin-top:12px;
  font-size:18px;
  color:var(--muted);
}
.portal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
  padding:8px 0 18px;
}
.portal-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.portal-top{
  padding:22px 24px 18px;
  color:#fff;
  position:relative;
}
.portal-top::after{
  content:"";
  position:absolute;
  left:24px;
  right:24px;
  bottom:0;
  height:1px;
  background:rgba(255,255,255,.20);
}
.portal-card.investor .portal-top{
  background:
    radial-gradient(480px 170px at 0 0, rgba(49,188,213,.18), transparent 55%),
    linear-gradient(135deg,var(--navy),var(--teal));
}
.portal-card.creator .portal-top{
  background:
    radial-gradient(480px 170px at 100% 0, rgba(40,91,152,.12), transparent 55%),
    linear-gradient(135deg,var(--blue),var(--teal));
}
.portal-status{
  position:absolute;
  top:18px;
  right:20px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}
.portal-status-dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background:#d9e4f7;
}
.portal-status-dot.live{background:var(--green)}
.portal-title-row{
  display:flex;
  align-items:center;
  gap:16px;
}
.portal-icon{
  width:58px;
  height:58px;
  border-radius:20px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
}
.portal-icon img{
  width:28px;
  height:28px;
  filter:brightness(2);
}
.portal-name{
  margin:0;
  font-size:28px;
  font-weight:800;
  letter-spacing:-0.02em;
}
.portal-name-tag{
  font-size:11px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:rgba(255,255,255,.70);
  vertical-align:middle;
}
.portal-tagline{
  margin:3px 0 0;
  font-size:17px;
  color:rgba(255,255,255,.88);
}
.portal-body{
  padding:16px 20px 18px;
  background:rgba(255,255,255,.92);
}
.portal-preview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.portal-panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px 16px;
  box-shadow:0 8px 24px rgba(14,42,89,.06);
  min-width:0;
  overflow:hidden;
}
.portal-panel-title{
  font-size:13px;
  font-weight:800;
  color:var(--muted);
  margin:0 0 10px;
  white-space:nowrap;
}
.portal-micro-label{
  font-size:10px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--teal);
  margin:-6px 0 8px;
}
.portal-disclaimer{
  font-size:11px;
  color:var(--muted);
  margin:10px 0 0;
  text-align:center;
}
.portal-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px;
  border-radius:14px;
  background:var(--bg-muted);
  border:1px solid var(--border);
}
.portal-row + .portal-row{margin-top:8px}
.portal-row-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.portal-mini-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(49,188,213,.12), rgba(40,91,152,.16));
  border:1px solid var(--border);
  flex:0 0 34px;
}
.portal-mini-icon.creator{
  background:linear-gradient(135deg, rgba(40,91,152,.12), rgba(14,42,89,.14));
}
.portal-mini-icon img{
  width:18px;
  height:18px;
}
.portal-agent-name{
  font-weight:700;
  font-size:13.5px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.portal-spark{
  width:44px;
  height:22px;
  border-radius:8px;
  border:1px solid var(--border);
  background:linear-gradient(90deg, rgba(40,91,152,.08), rgba(49,188,213,.14), rgba(49,188,213,.04));
  flex:0 0 44px;
}
.portal-metric{
  font-weight:800;
  font-size:14px;
  color:var(--green);
  white-space:nowrap;
}
.portal-metric.purple{color:var(--teal)}
.portal-donut{
  width:86px;
  height:86px;
  border-radius:999px;
  margin:2px auto 10px;
  position:relative;
  background:conic-gradient(var(--green) 0 25%, var(--blue) 25% 60%, var(--teal) 60% 100%);
}
.portal-donut::after{
  content:"";
  position:absolute;
  inset:16px;
  background:#fff;
  border-radius:999px;
}
.portal-big-number{
  font-size:18px;
  font-weight:900;
  text-align:center;
  letter-spacing:-0.02em;
}
.portal-legend{
  display:grid;
  gap:7px;
  margin-top:10px;
}
.portal-legend-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  color:var(--muted);
}
.portal-legend-left{
  display:flex;
  align-items:center;
  gap:8px;
}
.portal-legend-dot{
  width:9px;
  height:9px;
  border-radius:99px;
}
.portal-bar-chart{
  display:flex;
  align-items:flex-end;
  gap:8px;
  height:96px;
  margin-top:10px;
}
.portal-bar{
  flex:1;
  border-radius:10px 10px 4px 4px;
  background:linear-gradient(180deg, var(--teal), var(--blue));
}
.portal-feature-list{
  display:grid;
  gap:12px;
  padding:16px 10px 10px;
}
.portal-feature{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:14px;
  color:var(--muted);
  font-weight:650;
}
.portal-feature img{
  width:22px;
  height:22px;
  flex:0 0 22px;
}
.portal-actions{
  padding:6px 10px 0;
}
.portal-button{
  width:100%;
  height:52px;
  border:none;
  border-radius:14px;
  font-size:16px;
  font-weight:800;
  letter-spacing:-0.01em;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 12px 26px rgba(16,35,71,.16);
}
.portal-button.investor{
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:rgba(255,255,255,.78);
  box-shadow:none;
}
.portal-button.creator{
  background:linear-gradient(135deg,var(--blue),var(--navy));
}
.portal-subaction{
  text-align:center;
  margin-top:12px;
  color:var(--muted);
  font-size:14px;
  font-weight:650;
}
.portal-subaction a{
  color:inherit;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding-bottom:2px;
  border-bottom:2px solid currentColor;
}
.portal-subaction.creator-link a{color:var(--teal)}
.login-trust-strip{
  margin:18px 0;
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:18px 22px;
}
.login-trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.login-trust-item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--muted);
}
.login-trust-item + .login-trust-item{
  border-left:1px solid var(--border);
}
.login-trust-item img{
  width:30px;
  height:30px;
}
@media (max-width:980px){
  .login-title{font-size:44px}
  .portal-grid{grid-template-columns:1fr}
  .login-trust-grid{grid-template-columns:1fr 1fr}
  .login-trust-item + .login-trust-item{border-left:none}
}
@media (max-width:700px){
  .login-title{font-size:36px}
  .login-subtitle-wrap{gap:10px}
  .login-subtitle-line{width:30px}
  .login-subtitle{font-size:18px}
  .portal-preview-grid,.login-trust-grid{grid-template-columns:1fr}
}
