/* /assets/css/hero.css
   Premium app hero, crisp, orderly, consistent with dashboard
   Requires Bootstrap 5 + Bootstrap Icons
*/

.hero-pro{
  padding: 34px 0 18px 0;
}

.hero-pro-shell{
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: stretch;
}

/* Main hero surface */
.hero-pro-main{
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(900px 540px at 12% 0%, rgba(43,108,255,0.14), transparent 62%),
    radial-gradient(820px 520px at 92% 12%, rgba(25,135,84,0.11), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.62));
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.08);
  padding: 26px 26px;
  overflow: hidden;
}

.hero-pro-brand{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.hero-pro-mark{
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,108,255,0.12);
  border: 1px solid rgba(43,108,255,0.20);
  color: rgba(35,95,230,1);
  font-size: 18px;
}

.hero-pro-name{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(15, 23, 42, 0.94);
  line-height: 1.1;
}

.hero-pro-tagline{
  color: rgba(15, 23, 42, 0.66);
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.25;
}

.hero-pro-title{
  margin: 10px 0 0 0;
  font-size: 2.45rem;
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.94);
  max-width: 20ch;
}

.hero-pro-lead{
  margin: 12px 0 0 0;
  max-width: 72ch;
  font-size: 1.07rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.76);
}

/* Feature chips */
.hero-pro-badges{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pro-chip{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.74);
  color: rgba(15, 23, 42, 0.80);
  font-weight: 700;
  line-height: 1.05;
}

.hero-pro-chip i{
  color: rgba(25,135,84,0.95);
  font-size: 1.05rem;
}

/* Actions */
.hero-pro-actions{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pro-btn{
  height: 46px;
  border-radius: 999px;
  font-weight: 780;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-left: 16px;
  padding-right: 16px;
}

.hero-pro-btn-soft{
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: rgba(255,255,255,0.70) !important;
}

/* Trust line */
.hero-pro-trust{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(15, 23, 42, 0.68);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-pro-trust i{
  margin-top: 2px;
  color: rgba(25,135,84,0.95);
}

/* Right panel */
.hero-pro-panel{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.hero-pro-card{
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.08);
  overflow: hidden;
}

.hero-pro-card-head{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-pro-card-icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.hero-pro-card-icon.is-primary{ background: rgba(35,95,230,1); }
.hero-pro-card-icon.is-success{ background: rgba(25,135,84,1); }

.hero-pro-card-title{
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(15, 23, 42, 0.94);
  line-height: 1.1;
}

.hero-pro-card-sub{
  color: rgba(15, 23, 42, 0.68);
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.25;
}

.hero-pro-card-body{
  padding: 16px 16px;
}

.hero-pro-field{
  margin-bottom: 12px;
}

.hero-pro-card-body .form-label{
  font-weight: 750;
  color: rgba(15, 23, 42, 0.82);
}

.hero-pro-card-body .form-control{
  border-radius: 14px;
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255,255,255,0.90);
}

.hero-pro-card-body .form-control:focus{
  border-color: rgba(43,108,255,0.35);
  box-shadow: 0 0 0 0.22rem rgba(43,108,255,0.18);
}

/* Logged in KV rows */
.hero-pro-kv{
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-pro-kv-row{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.72);
}

.hero-pro-kv-row .k{
  color: rgba(15, 23, 42, 0.70);
  font-weight: 750;
}

.hero-pro-kv-row .v{
  color: rgba(15, 23, 42, 0.92);
  font-weight: 850;
  text-align: right;
}

/* Panel actions */
.hero-pro-panel-actions{
  display: grid;
  gap: 10px;
}

.hero-pro-links{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-weight: 750;
  font-size: 0.95rem;
}

.hero-pro-links a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(35, 95, 230, 1);
}

.hero-pro-links a:hover{
  text-decoration: underline;
}

.hero-pro-mini{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(15, 23, 42, 0.66);
  font-size: 0.93rem;
  line-height: 1.4;
}

.hero-pro-mini i{
  margin-top: 2px;
  color: rgba(15, 23, 42, 0.60);
}

/* Note below panel */
.hero-pro-panel-note{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.64);
  color: rgba(15, 23, 42, 0.68);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-pro-panel-note i{
  margin-top: 2px;
  color: rgba(15, 23, 42, 0.62);
}

/* Responsive */
@media (max-width: 992px){
  .hero-pro-shell{
    grid-template-columns: 1fr;
  }
  .hero-pro-main{
    padding: 22px 18px;
  }
  .hero-pro-title{
    font-size: 2.10rem;
    max-width: none;
  }
}

@media (max-width: 520px){
  .hero-pro-actions .btn{
    width: 100%;
  }
  .hero-pro-links{
    flex-direction: column;
    align-items: flex-start;
  }
}
