/* ----- RESET & BASE ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f3f3f0;
  padding: 24px;
  font-family: "Inter", sans-serif;
  color: #111;
}
.logo-img {
  height: 170px;
  width: auto;
  object-fit: contain;
  max-height: 50px; /* Adjust the height as needed */
}

/* ----- MAIN CONTAINER ----- */
.signup-container {
  max-width: 1500px;
  margin: auto;
  background: #fafaf8;
  border: 1px solid #e7e7e2;
  /* border-radius: 32px; */
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 920px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.visible > *:nth-child(1) {
  transition-delay: 0.06s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(2) {
  transition-delay: 0.12s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(3) {
  transition-delay: 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(4) {
  transition-delay: 0.24s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(5) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(6) {
  transition-delay: 0.36s;
  opacity: 1;
  transform: translateY(0);
}

/* ===== FORM SIDE ===== */
.form-side {
  padding: 60px 56px;
  background: #fafaf8;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo i {
  color: #3663ff;
  font-size: 26px;
}

.header h1 {
  font-size: 54px;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 14px;
  font-weight: 800;
  color: #1a1a1a;
}
.header h1 span {
  color: #3663ff;
}
.header p {
  color: #6b7280;
  font-size: 17px;
  max-width: 500px;
  line-height: 1.6;
}

/* ----- FORM ELEMENTS ----- */
.form-card {
  margin-top: 36px;
}

.input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e2e6ee;
  border-radius: 12px;
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  background: white;
  transition: all 0.3s ease;
}
.input:focus {
  outline: none;
  border-color: #3663ff;
  box-shadow: 0 0 0 4px rgba(54, 99, 255, 0.08);
  transform: translateY(-1px);
}
.input:hover {
  border-color: #b0b8c8;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

textarea.input {
  min-height: 70px;
  resize: vertical;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.grid-full {
  grid-column: span 2;
}

.otp-row {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 12px;
  align-items: center;
}

.btn {
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary {
  background: #3663ff;
  color: white;
  box-shadow: 0 4px 16px rgba(54, 99, 255, 0.2);
}
.btn-primary:hover {
  background: #2952d9;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(54, 99, 255, 0.35);
}
.btn-secondary {
  background: white;
  border: 1.5px solid #e2e6ee;
  color: #1f2a44;
}
.btn-secondary:hover {
  border-color: #3663ff;
  background: #f4f7ff;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

/* Labels */
label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2a44;
  margin-bottom: 6px;
}
label i {
  color: #3663ff;
  font-size: 15px;
}
.required {
  color: #dc2626;
  margin-left: 2px;
}

.hint {
  font-size: 12px;
  color: #7c8fb0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hint i {
  color: #3663ff;
  font-size: 12px;
}

.password-wrapper {
  position: relative;
  width: 100%;
}
.password-wrapper .input {
  margin-bottom: 0;
  padding-right: 48px;
}
.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #7c8fb0;
  font-size: 18px;
  padding: 5px;
  transition: color 0.2s;
}
.toggle-password:hover {
  color: #3663ff;
}

/* Alerts */
.alert {
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alert-danger {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #dc2626;
}
.alert-danger i {
  color: #dc2626;
}
.alert-success {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #16a34a;
}
.alert-success i {
  color: #16a34a;
}

.options {
  margin: 16px 0 10px;
  text-align: center;
}
.options a {
  color: #3663ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}
.options a:hover {
  color: #2952d9;
  text-decoration: underline;
}

/* Footer */
.footer {
  margin-top: 28px;
}
.copyright {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7c8fb0;
  font-size: 14px;
}
.circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #3663ff;
}

/* ===== RIGHT SIDE - REWORKED ===== */
.right-side {
  background: #0a1a4a;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative pattern */
.right-side::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(138, 164, 255, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.right-side .brand {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.right-side .brand i {
  color: #8aa4ff;
  font-size: 32px;
}

.right-side .tagline {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.right-side .tagline span {
  color: #8aa4ff;
}

.right-side .description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 380px;
  line-height: 1.7;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* Stats Grid - Cleaner */
.right-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.right-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px 20px;
  transition: all 0.3s ease;
}
.right-stat:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}
.right-stat .number {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  display: block;
  line-height: 1;
}
.right-stat .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  display: block;
}

/* Feature Pills - New Style */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}
.feature-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.feature-pill:hover {
  background: rgba(138, 164, 255, 0.15);
  border-color: rgba(138, 164, 255, 0.2);
  transform: translateY(-2px);
}
.feature-pill i {
  color: #8aa4ff;
  font-size: 12px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal-content {
  background: white;
  padding: 44px 40px;
  max-width: 440px;
  width: 90%;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-icon {
  width: 72px;
  height: 72px;
  background: #eef3ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #3663ff;
  font-size: 34px;
}
.modal-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.modal-content p {
  color: #5b6f96;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.6;
}
.modal-btn {
  background: #3663ff;
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal-btn:hover {
  background: #2952d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(54, 99, 255, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .signup-container {
    grid-template-columns: 1fr;
  }
  .right-side {
    order: -1;
    padding: 40px 40px 32px;
  }
  .form-side {
    padding: 40px 36px;
  }
  .right-side .tagline {
    font-size: 32px;
  }
  .header h1 {
    font-size: 44px;
  }
  .right-stat .number {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  /* .wrapper {
    margin: 0 auto;
  } */
  body {
    padding: 0px;
  }
  .signup-container {
    /* border-radius: 20px; */
    /* padding: 0px; */
    min-height: auto;
  }
  .form-side {
    padding: 28px 20px;
  }
  .right-side {
    padding: 28px 24px;
  }
  .header h1 {
    font-size: 34px;
  }
  .right-side .tagline {
    font-size: 28px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .grid-full {
    grid-column: span 1;
  }
  .otp-row {
    grid-template-columns: 1fr;
  }
  .buttons {
    flex-direction: column;
  }
  .buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .right-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .right-stat {
    padding: 14px 16px;
  }
  .right-stat .number {
    font-size: 26px;
  }
  .feature-pills {
    gap: 6px;
  }
  .feature-pill {
    font-size: 12px;
    padding: 5px 14px;
  }
}

@media (max-width: 480px) {
  /* .wrapper {
    margin: 0 auto;
  } */
  .form-side {
    padding: 20px 16px;
  }
  .right-side {
    padding: 24px 18px;
  }
  .header h1 {
    font-size: 28px;
  }
  .right-side .tagline {
    font-size: 24px;
  }
  .right-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .right-stat {
    padding: 12px 14px;
    border-radius: 12px;
  }
  .right-stat .number {
    font-size: 22px;
  }
  .right-stat .label {
    font-size: 12px;
  }
  .logo {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .input {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
  }
  .btn {
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 10px;
  }
  .modal-content {
    padding: 30px 24px;
  }
  .feature-pills {
    padding-top: 16px;
  }
  .feature-pill {
    font-size: 11px;
    padding: 4px 12px;
  }
}
