:root{
     --moon-green:#82e4ad;
     --moon-purple:#7b62ce;
     --moon-ink:#0f172a;
     --moon-muted:#64748b;
   }

/* White page feel */
body{
  background:#fff;
  color: var(--moon-ink);
}

/* Layout: left image + right form */
.split-shell{
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

/* LEFT: image panel */
.left-hero{
  position: relative;
  flex: 1 1 50%;
  min-height: 100vh;
  background-image: url('../img/curved-images/curved6.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 0 0 24px 0;   /* TL TR BR BL */
  	
}

/* overlay gradient on top of image so text is readable */
.left-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(110deg,
      rgba(15,23,42,.70) 0%,
      rgba(15,23,42,.45) 35%,
      rgba(15,23,42,.15) 70%,
      rgba(15,23,42,.05) 100%
    ),
    radial-gradient(900px 600px at 20% 20%, rgba(123,98,206,.35), transparent 60%),
    radial-gradient(900px 600px at 70% 30%, rgba(130,228,173,.25), transparent 60%);    
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  padding: 110px 48px 48px; /* espaço no topo para a navbar */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  color: #fff;
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  width: fit-content;
  font-size: 13px;
  letter-spacing: .2px;
}

.dot{
  width:10px;height:10px;border-radius:99px;
  background: linear-gradient(to right, var(--moon-green), var(--moon-purple));
}

.hero-title{
  font-size: 44px;
  line-height: 1.05;
  font-weight: 900;
  margin: 8px 0 0 0;
  letter-spacing: -0.5px;
}

.text-gradient{
  background-image: linear-gradient(to right, rgba(255,255,255,.86), rgba(255,255,255,.86));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle{
  max-width: 520px;
  color: rgba(255,255,255,.82);
  font-size: 20px;
}

.hero-list{
  margin: 8px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 540px;
}

.hero-list li{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  color: rgba(255,255,255,.86);
  font-size: 16px;
}

.hero-icon{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  flex: 0 0 auto;
}

/* RIGHT: form column */
.right-form{
  flex: 1 1 50%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  background:#fff;
}

.form-wrap{
  width: 100%;
  max-width: 460px;
}

.logo-wrap{
  display:flex;
  justify-content:center;
  margin-bottom: 10px;
}

.card-soft{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(15,23,42,.10);
  overflow: hidden;
}

.card-soft-header{
  padding: 18px 18px 10px 18px;
  text-align: center;
}

.card-soft-header h4{
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.card-soft-header .sub{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(15,23,42,.60);
}

.card-soft-body{
  padding: 16px 18px 18px 18px;
}

.form-control{
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.98);
}

.form-control:focus{
  border-color: rgba(123,98,206,.50);
  box-shadow: 0 0 0 .22rem rgba(123,98,206,.14);
}

.btn-moonu{
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  background-image: linear-gradient(to right, var(--moon-green), var(--moon-purple));
  box-shadow: 0 14px 30px rgba(123,98,206,.18);
  transition: transform .12s ease, opacity .12s ease;
}
.btn-moonu:hover{ opacity: .96; transform: translateY(-1px); color:#fff; }

.fineprint{
  font-size: 12px;
  color: rgba(15,23,42,.62);
}

.link-moonu{
  color: var(--moon-purple);
  font-weight: 800;
  text-decoration: none;
}
.link-moonu:hover{ text-decoration: underline; }

.turnstile-slot{
  display:flex;
  justify-content:center;
  margin: 12px 0 6px 0;
  padding: 10px 0;
  border-radius: 14px;    
}

.alert-success{
  border-radius: 14px;
  border: 0;
  background: linear-gradient(to right, rgba(130,228,173,.92), rgba(123,98,206,.92));
  color:#fff;
}
.alert-warning{
  border-radius: 14px;
  border: 0;
  background: linear-gradient(to right, rgba(130,228,173,.92), rgba(123,98,206,.92));
  color:#fff;
}

/* Mobile: stack */
@media (max-width: 991px){
  .split-shell{ flex-direction: column; }
  .left-hero{ min-height: 42vh; }
  .hero-content{ padding: 100px 20px 32px; }
  .hero-title{ font-size: 30px; }
  .right-form{ min-height: auto; padding: 28px 16px 42px 16px; }
}

.logo-signup-wrap {
  line-height: 1;
  margin-bottom: -8px;
}

.signup-logo {
  display: block;
  height: auto;  
  margin: -8px auto -10px;
}

.card-soft-header {
  margin-top: 0;
  padding-top: 0;
}


.signup-success-dialog {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.signup-success-modal {
  position: relative;
  border: 0;
  border-radius: 24px;
  padding: 34px 28px 30px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  background: #ffffff;
}

.signup-success-modal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, #17c1e8, #5e72e4);
}

.signup-success-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  opacity: 0.45;
}

.signup-success-close:hover {
  opacity: 0.75;
}

.signup-success-icon-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 18px;
}

.signup-success-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(23, 193, 232, 0.14), rgba(94, 114, 228, 0.14));
  color: #17c1e8;
  font-size: 32px;
  box-shadow: inset 0 0 0 1px rgba(23, 193, 232, 0.16);
}

.signup-success-body {
  text-align: center;
}

.signup-success-title {
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: #344767;
  margin-bottom: 10px;
}

.signup-success-text {
  font-size: 0.98rem;
  color: #344767;
  margin-bottom: 8px;
}

.signup-success-description {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #67748e;
  margin-bottom: 24px;
  white-space: pre-line;
}

.signup-success-button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #17c1e8, #5e72e4);
  box-shadow: 0 10px 24px rgba(23, 193, 232, 0.24);
}

.signup-success-button:hover,
.signup-success-button:focus {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(23, 193, 232, 0.32);
}

@media (max-width: 576px) {
  .signup-success-dialog {
    max-width: calc(100% - 32px);
  }

  .signup-success-modal {
    padding: 30px 22px 26px;
    border-radius: 20px;
  }
}

.password-rules {
  color: #6c757d;
  line-height: 1.5;
}

.password-rules div::before {
  content: "• ";
}

.password-rules div.is-valid {
  color: #198754;
}

.password-rules div.is-valid::before {
  content: "✓ ";
}

.password-rules div.is-invalid {
  color: #dc3545;
}

.password-rules div.is-invalid::before {
  content: "× ";
}