html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* prevent scroll */
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  text-align: center;

  /* vibrant gradient from your image */
}

body {
  text-align: center;
}

.main {
  max-width: 700px;
  margin: 40px auto; /* center horizontally with margin */
  padding: 0 20px;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.banner-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 80px 0 40px 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.banner-text .normal {
  font-size: 1.8rem;
  color: #fff;
}

.banner-text .for {
  background: #fff;
  color: #5c64ff;
  padding: 6px 14px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  /* default rotation if no JS */
  transform: rotate(-12deg);
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    min-height: 3.5rem;
    /* fixed height to prevent layout jump */
    display: flex;
    /* flex container */
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */
    text-align: center;
}

.steps-area {
    position: relative;
    width: 100%;
    min-height: 140px;
}

.step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.step.active {
    opacity: 1;
    pointer-events: auto;
}

.input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

input[type="text"],
input[type="email"] {
    padding: 14px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    min-width: 250px;
}

button {
    padding: 14px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

button:hover {
    background: #eaeaea;
    transform: scale(1.05);
}

.error {
    margin: 10px;
    padding-top: 10px;
    font-size: 1.6rem;
    color: #ff6b6b;
    min-height: 2em;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.progress-bar {
    margin-top: 20px;
    width: 240px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: #00ff99;
    transition: width 0.4s linear;
}

#statusMessage,
#finalMessage {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
    min-height: 1.2em;
}

@media (max-width:600px) {
    h1 {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    input[type="text"],
    input[type="email"] {
        min-width: 180px;
    }
}