/* --- User Provided Styles for Banner --- */
body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.investor-check-banner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 620px;
  overflow: hidden;
  border-radius: 18px;
  box-sizing: border-box;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #f43b35 0%, #d82328 50%, #b91422 100%);
}

/* Background */
.ic-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ic-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
}

.ic-circle-1 {
  width: 360px;
  height: 360px;
  right: -130px;
  top: 80px;
}

.ic-circle-2 {
  width: 220px;
  height: 220px;
  left: 35%;
  bottom: -90px;
}

/* Layout */
.ic-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding: 72px 42px 76px 58px;
  box-sizing: border-box;
}

.ic-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 690px;
  min-width: 0;
}

.ic-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.ic-title {
  margin: 0 0 20px 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -1.8px;
  color: #fff;
}

.ic-subtitle {
  max-width: 640px;
  margin: 0 0 24px 0;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.22;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
}

.ic-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-bottom: 28px;
}

.ic-point {
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.ic-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 16px;
  padding: 18px 30px 18px 34px;
  border-radius: 999px;
  background: #fff;
  color: #d51e28;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(80,0,0,0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.ic-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(80,0,0,0.34);
}

.ic-cta-main {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.ic-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d51e28;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.ic-note {
  max-width: 650px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
}

/* Right */
.ic-right {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ic-photo-wrap {
  position: absolute;
  right: -24px;
  bottom: -76px;
  width: 350px;
  height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.ic-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 28px rgba(70,0,0,0.28));
}

.ic-speaker-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 54px;
  width: min(330px, 100%);
  box-sizing: border-box;
  padding: 18px 18px 20px 18px;
  border-radius: 20px;
  background: rgba(120,0,10,0.64);
  border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(70,0,0,0.26);
}

.ic-speaker-role {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.ic-speaker-name {
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 900;
}

.ic-speaker-desc {
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,0.86);
}

/* Bottom */
.ic-bottom-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 16px 28px;
  background: rgba(130,0,12,0.42);
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 900px) {
  .investor-check-banner {
    min-height: auto;
    border-radius: 16px;
  }

  .ic-content {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 22px 88px 22px;
  }

  .ic-left {
    align-items: flex-start;
  }

  .ic-label {
    font-size: 11px;
    line-height: 1.25;
  }

  .ic-title {
    font-size: 44px;
    letter-spacing: -1px;
  }

  .ic-subtitle {
    font-size: 20px;
  }

  .ic-points {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ic-point {
    font-size: 15px;
  }

  .ic-cta {
    width: 100%;
    box-sizing: border-box;
  }

  .ic-cta-main {
    font-size: 22px;
  }

  .ic-right {
    min-height: 430px;
    overflow: hidden;
  }

  .ic-photo-wrap {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 70px;
    width: 310px;
    height: 420px;
  }

  .ic-speaker-card {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
  }

  .ic-bottom-strip {
    font-size: 13px;
    padding: 13px 18px;
  }
}

@media (max-width: 480px) {
  .ic-title {
    font-size: 38px;
  }

  .ic-subtitle {
    font-size: 18px;
  }

  .ic-photo-wrap {
    width: 280px;
    height: 380px;
  }

  .ic-speaker-name {
    font-size: 23px;
  }
}


/* --- Modal & Form Styles --- */
.hidden {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(0) scale(1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.modal-overlay.hidden .modal-container {
  transform: translateY(20px) scale(0.95);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #0f172a;
}

.modal-content {
  padding: 40px;
}

.form-header {
  text-align: center;
  margin-bottom: 24px;
}

.form-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.form-header p {
  color: #64748b;
  font-size: 15px;
  margin: 0;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.input-group-row {
  display: flex;
  gap: 16px;
}

.input-group label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.form-hint {
  font-size: 12px;
  color: #d51e28;
  margin-top: -10px;
  margin-bottom: 4px;
  font-weight: 500;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.input-group input::placeholder {
  color: #94a3b8;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #d51e28;
  box-shadow: 0 0 0 3px rgba(213, 30, 40, 0.15);
  background: #fff;
}

.input-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px top 50%;
  background-size: 10px auto;
}

.submit-btn {
  margin-top: 10px;
  padding: 14px;
  background: #d51e28;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: inherit;
}

.submit-btn:hover {
  background: #b91422;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(213, 30, 40, 0.25);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.outline-btn {
  background: transparent;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.outline-btn:hover {
  background: #f1f5f9;
  box-shadow: none;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success-message, .error-message {
  text-align: center;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon {
  width: 50px;
  height: 50px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
  font-size: 24px;
  font-weight: bold;
}

.success-message h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #0f172a;
}

.success-message p {
  color: #64748b;
  line-height: 1.5;
  font-size: 15px;
}

.error-message {
  padding: 12px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 14px;
}

@media (max-width: 480px) {
  .modal-content {
    padding: 30px 20px;
  }
  
  .input-group-row {
    flex-direction: column;
    gap: 16px;
  }
}
