.tc-waitlist {
    background: linear-gradient(180deg, #537DA7 0%, #382C79 100%);
    padding: 96px 0;
}

.tc-waitlist__states {
    display: grid;
    grid-template-columns: 1fr;
}

.tc-waitlist__form-state,
.tc-waitlist__success-state {
    grid-column: 1;
    grid-row: 1;
    transition:
        opacity 600ms cubic-bezier(0.16, 0.84, 0.44, 1),
        transform 600ms cubic-bezier(0.16, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.tc-waitlist__form-state {
    opacity: 1;
    transform: translateY(0);
}

.tc-waitlist__success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 16px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
}

.tc-waitlist.is-success .tc-waitlist__form-state {
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
}

.tc-waitlist.is-success .tc-waitlist__success-state {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tc-waitlist__success-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-waitlist__success-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
}

.tc-waitlist__success-body {
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    max-width: 640px;
}

@media (prefers-reduced-motion: reduce) {
    .tc-waitlist__form-state,
    .tc-waitlist__success-state {
        transition-duration: 1ms;
    }
}

.tc-waitlist__title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 32px !important;
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 800;
    line-height: 1.25;
}

.tc-waitlist__card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    max-width: 582px;
    margin: 0 auto;
    box-shadow: 0 24px 48px -12px rgba(20, 15, 53, 0.25);
}

.tc-waitlist__intro {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
    text-align: left;
    margin-bottom: 24px !important;
}

.tc-form__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.tc-form__input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    background-color: #ffffff;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tc-form__input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(56, 44, 121, 0.15);
}

.tc-form__field {
    margin-bottom: 16px;
}

.tc-form__submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-500);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.tc-form__submit:hover,
.tc-form__submit:focus {
    background-color: var(--primary-700);
}

.tc-form__note {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 16px !important;
}

@media (max-width: 575.98px) {
    .tc-waitlist {
        padding: 64px 0;
    }
    .tc-waitlist__card {
        padding: 24px;
    }
}
