html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #090D29;
  color: #cdd2de;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

#canvas-container {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

/* Allow mouse events to pass through canvas to the form */
#canvas-container canvas {
  pointer-events: none;
}

/* Page layout */
#page-content {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  pointer-events: auto;
}

@media (min-width: 768px) {
  #page-content { padding: 2rem; }
}

.page-inner {
  width: 100%;
  max-width: 64rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.headings-block {
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.main-heading {
  color: #ffffff;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.sub-heading {
  color: #ffffff;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.25rem 0 0;
}

@media (min-width: 768px) {
  .main-heading, .sub-heading { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .main-heading, .sub-heading { font-size: 3.75rem; }
}

.description {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.description-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 400;
  margin: 0;
}

.description-text + .description-text {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .description-text { font-size: 1rem; }
}

#interestForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Logo */
#logo {
  width: 110px;
  max-width: 28vw;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(0,0,0,0.45));
}

/* Coming Soon gradient text */
.coming-soon {
  background: linear-gradient(to right, #DC3DF7, #00E3DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.875rem;
  font-weight: 800;
  padding: 0.5rem;
  display: block;
}

@media (min-width: 768px) {
  .coming-soon { font-size: 3.75rem; }
}

/* Form inputs */
.form-input {
  width: 100%;
  max-width: 384px;
  padding: 10px 16px;
  border-radius: 8px;
  background-color: #0D182E;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.1);
  outline: none;
  font-size: 1rem;
  transition: box-shadow 0.2s;
  display: block;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-input:focus {
  box-shadow: 0 0 0 2px #65D4B0;
}

/* CTA button */
.cta-button {
  width: 100%;
  max-width: 384px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  border: none;
  cursor: pointer;
  background: linear-gradient(to right, #DC3DF7, #00E3DB);
  box-shadow: 0 10px 30px -10px rgba(0, 227, 219, 0.6);
  transition: box-shadow 0.2s, transform 0.1s;
}

.cta-button:hover {
  box-shadow: 0 14px 36px -12px rgba(220, 61, 247, 0.65);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* User type toggle */
.user-type-toggle {
  display: flex;
  width: 100%;
  max-width: 384px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.user-type-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background-color: #0D182E;
  color: rgba(255,255,255,0.45);
  transition: background 0.2s, color 0.2s;
}

.user-type-btn:first-child {
  border-right: 1px solid rgba(255,255,255,0.1);
}

.user-type-btn.active-customer {
  background-color: #00E3DB;
  color: #090D29;
}

.user-type-btn.active-business {
  background-color: #00E3DB;
  color: #ffffff;
}

/* Collapsible business name field */
#businessNameWrapper {
  width: 100%;
  max-width: 384px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

#businessNameWrapper.visible {
  max-height: 80px;
  opacity: 1;
}

/* Success / error messages */
.msg {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 12px;
  display: none;
}
.msg.success { color: #00E3DB; }
.msg.error   { color: #DC3DF7; }
